2017-10-12 07:06:19 +00:00
|
|
|
#ifndef GUARD_DECORATION_INVENTORY_H
|
|
|
|
#define GUARD_DECORATION_INVENTORY_H
|
2018-11-18 18:37:18 +00:00
|
|
|
|
|
|
|
struct DecorationInventory
|
|
|
|
{
|
2017-10-22 22:55:07 +00:00
|
|
|
u8 *items;
|
|
|
|
u8 size;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct DecorationInventory gDecorationInventories[];
|
2017-10-12 07:06:19 +00:00
|
|
|
|
2018-11-18 18:37:18 +00:00
|
|
|
void SetDecorationInventoriesPointers(void);
|
2017-10-12 07:06:19 +00:00
|
|
|
void ClearDecorationInventories(void);
|
2019-04-06 17:41:55 +00:00
|
|
|
s8 GetFirstEmptyDecorSlot(u8 category);
|
2020-02-23 15:46:22 +00:00
|
|
|
u8 CheckHasDecoration(u8 decor);
|
|
|
|
u8 DecorationAdd(u8 decor);
|
|
|
|
u8 DecorationCheckSpace(u8 decor);
|
|
|
|
s8 DecorationRemove(u8 decor);
|
2019-04-06 17:41:55 +00:00
|
|
|
void CondenseDecorationsInCategory(u8 category);
|
|
|
|
u8 GetNumOwnedDecorationsInCategory(u8 category);
|
|
|
|
u8 GetNumOwnedDecorations(void);
|
2017-10-12 07:06:19 +00:00
|
|
|
|
|
|
|
#endif // GUARD_DECORATION_INVENTORY_H
|