mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 07:10:53 -04:00
27 lines
562 B
C
27 lines
562 B
C
#ifndef D_POUCH_H
|
|
#define D_POUCH_H
|
|
|
|
#include "common.h"
|
|
#include "d/a/d_a_itembase.h"
|
|
|
|
s32 summarizePouchContents(s32 *, s32 *, s32 *);
|
|
|
|
u32 convertFilePouchSlot(s32 fileSlot);
|
|
s32 convertLytPouchSlot(s32 fileSlot);
|
|
s32 getPouchSlotCount(bool unk);
|
|
bool isItemExtraAmmo(s32 item);
|
|
bool isItemMedal(s32 item);
|
|
bool hasAnyShields();
|
|
bool isItemShield(s32 item);
|
|
|
|
#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
|