summaryrefslogtreecommitdiff
path: root/include/decoration_inventory.h
blob: f43b91d7a1ad87287b60f7ebb85e1a4262bda3a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GUARD_DECORATION_INVENTORY_H
#define GUARD_DECORATION_INVENTORY_H

struct DecorationInventory
{
    u8 *items;
    u8 size;
};

extern struct DecorationInventory gDecorationInventories[];

void SetDecorationInventoriesPointers(void);
void ClearDecorationInventories(void);
s8 GetFirstEmptyDecorSlot(u8 category);
u8 CheckHasDecoration(u8 decor);
u8 DecorationAdd(u8 decor);
u8 DecorationCheckSpace(u8 decor);
s8 DecorationRemove(u8 decor);
void CondenseDecorationsInCategory(u8 category);
u8 GetNumOwnedDecorationsInCategory(u8 category);
u8 GetNumOwnedDecorations(void);

#endif // GUARD_DECORATION_INVENTORY_H