mirror of
https://github.com/zeldaret/tmc
synced 2026-07-10 15:13:59 -04:00
Merge pull request #368 from Henny022p/item-metadata
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user