diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-03-30 16:49:08 -0400 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-03-30 16:49:08 -0400 |
commit | 069a7e71fc8bd0886fe2d5c39bb96d8fee0d798b (patch) | |
tree | 191d39f28270fb43feaca1d128274ef317968869 /include/item_menu.h | |
parent | 3006ff177b1020c0270ff33f48b3216c9d5381b1 (diff) | |
parent | a5cd6e8ef4717aad4a055d5acb6ef250e359fc45 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex
Diffstat (limited to 'include/item_menu.h')
-rw-r--r-- | include/item_menu.h | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/include/item_menu.h b/include/item_menu.h index 5c1b26faa..68393c9ee 100644 --- a/include/item_menu.h +++ b/include/item_menu.h @@ -4,24 +4,58 @@ // Exported type declarations struct BagStruct { - void *func; - u8 unk4; + void (*bagCallback)(void); + u8 location; u8 pocket; u8 unk6[2]; - u16 unk8[5]; - u16 unk12[5]; - void *unk1C; + u16 cursorPosition[5]; + u16 scrollPosition[5]; }; extern struct BagStruct gUnknown_0203CE58; +struct UnkBagStruct +{ + void (*unk0)(void); + u8 unk4[0x800]; + u8 unk804[12]; + u8 unk810[7]; + u8 unk817; + u8 unk818; + u8 unk819; + u8 unk81A; + u8 unk81B:4; + u8 unk81B_1:2; + u8 unk81B_3:1; + u8 unk81B_2:1; + u8 filler3[2]; + u8 unk81E; + u8 unk81F; + const u8* unk820; + u8 unk824; + u8 unk825; + u8 filler[2]; + u8 unk828; + u8 unk829[5]; + u8 unk82E[6]; + s16 unk834; + u8 filler4[0xE]; + u8 unk844[32][32]; + u8 filler2[4]; +}; + +extern struct UnkBagStruct *gUnknown_0203CE54; + // Exported RAM declarations extern u16 gSpecialVar_ItemId; // Exported ROM declarations +void sub_81AAC14(void); void sub_81AAC50(void); void sub_81AAC70(void); void bag_menu_mail_related(void); +void CB2_BagMenuFromStartMenu(void); + #endif //GUARD_item_menu_H |