diff options
| author | robojumper <robojumper@gmail.com> | 2025-05-09 18:28:45 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-05-10 22:20:16 +0200 |
| commit | 4c5dede891ea0934d77bfcee8f50f9702c949031 (patch) | |
| tree | ffac19613501deb82a6bdced221111510fe6feb4 /include/d/d_pouch.h | |
| parent | 378c19269740113da8ca3fc4579ea6fd1d6d946e (diff) | |
d_message OK (via dFlow_c)
Diffstat (limited to 'include/d/d_pouch.h')
| -rw-r--r-- | include/d/d_pouch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/d/d_pouch.h b/include/d/d_pouch.h index a65d0097..80d671d1 100644 --- a/include/d/d_pouch.h +++ b/include/d/d_pouch.h @@ -2,11 +2,22 @@ #define D_POUCH_H #include "common.h" +#include "d/a/d_a_itembase.h" u32 convertFilePouchSlot(s32 fileSlot); s32 convertLytPouchSlot(s32 fileSlot); s32 getPouchSlotCount(bool unk); bool isItemExtraAmmo(s32 item); bool isItemMedal(s32 item); +bool hasAnyShields(); + +#define POUCH_SLOT_NONE 8 + +u8 adventurePouchFindItemSlot(ITEM_ID item); +u32 adventurePouchCountItem(ITEM_ID itemId); + +#define ITEM_CHECK_SLOT_NONE 60 + +u16 itemCheckFindItemSlot(ITEM_ID item); #endif |
