summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2022-02-10 22:55:14 -0800
committerGitHub <noreply@github.com>2022-02-10 22:55:14 -0800
commit16d8e144888299dc2804579ad4b6c77bef8bd5bb (patch)
tree9e551b369f97a3ad86f07f15247d50889b759209 /include
parent37b8803cdcd0fa0aad5dfc9ea21af05014514281 (diff)
parent4860ed1fe023da98867df36e7f35eb7ad581000f (diff)
Merge pull request #368 from Henny022p/item-metadata
Diffstat (limited to 'include')
-rw-r--r--include/itemMetaData.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/itemMetaData.h b/include/itemMetaData.h
new file mode 100644
index 00000000..0beeb634
--- /dev/null
+++ b/include/itemMetaData.h
@@ -0,0 +1,41 @@
+#ifndef TMC_ITEMMETADATA_H
+#define TMC_ITEMMETADATA_H
+
+#include "global.h"
+
+typedef enum {
+ MENU_SLOT_SWORD,
+ MENU_SLOT_GUST_JAR,
+ MENU_SLOT_CANE,
+ MENU_SLOT_BOOMERANG,
+ MENU_SLOT_SHIELD,
+ MENU_SLOT_MOLE_MITTS,
+ MENU_SLOT_LANTERN,
+ MENU_SLOT_BOMBS,
+ MENU_SLOT_PEGASUS_BOOTS,
+ MENU_SLOT_ROCS_CAPE,
+ MENU_SLOT_OCARINA,
+ MENU_SLOT_BOW,
+ MENU_SLOT_BOTTLE0,
+ MENU_SLOT_BOTTLE1,
+ MENU_SLOT_BOTTLE2,
+ MENU_SLOT_BOTTLE3,
+ MENU_SLOT_SAVE_BUTTON,
+ MENU_SLOT_SAVE_BUTTON_JP,
+ MENU_SLOT_COUNT = MENU_SLOT_SAVE_BUTTON_JP
+} ItemMenuTableSlot;
+
+typedef struct ItemMetaData {
+ u8 menuSlot;
+ u8 unk1;
+ u8 unk2;
+ u8 unk3; // flags? bit 0x2 makes pickup cutscene appear every time
+ u8 unk4;
+ u8 unk5;
+ u8 unk6;
+ u8 unk7;
+} ItemMetaData;
+
+extern const ItemMetaData gItemMetaData[];
+
+#endif // TMC_ITEMMETADATA_H