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