2017-09-20 01:47:15 +00:00
|
|
|
#ifndef GUARD_item_menu_H
|
|
|
|
#define GUARD_item_menu_H
|
|
|
|
|
|
|
|
// Exported type declarations
|
2018-02-02 13:03:48 +00:00
|
|
|
struct BagStruct
|
|
|
|
{
|
2018-03-04 17:41:07 +00:00
|
|
|
void (*bagCallback)(void);
|
|
|
|
u8 location;
|
2018-02-02 13:03:48 +00:00
|
|
|
u8 pocket;
|
|
|
|
u8 unk6[2];
|
2018-03-04 17:41:07 +00:00
|
|
|
u16 cursorPosition[5];
|
|
|
|
u16 scrollPosition[5];
|
2018-02-02 13:03:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct BagStruct gUnknown_0203CE58;
|
2017-09-20 01:47:15 +00:00
|
|
|
|
2018-03-04 17:41:07 +00:00
|
|
|
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;
|
|
|
|
|
2017-09-20 01:47:15 +00:00
|
|
|
// Exported RAM declarations
|
|
|
|
|
2017-11-16 13:36:51 +00:00
|
|
|
extern u16 gSpecialVar_ItemId;
|
2017-11-10 02:48:27 +00:00
|
|
|
|
2017-09-20 01:47:15 +00:00
|
|
|
// Exported ROM declarations
|
2018-03-12 08:26:20 +00:00
|
|
|
void sub_81AAC14(void);
|
2017-09-20 01:47:15 +00:00
|
|
|
void sub_81AAC50(void);
|
2017-09-20 15:48:11 +00:00
|
|
|
void sub_81AAC70(void);
|
2018-02-02 13:03:48 +00:00
|
|
|
void bag_menu_mail_related(void);
|
2017-09-20 01:47:15 +00:00
|
|
|
|
2018-03-27 22:33:08 +00:00
|
|
|
void CB2_BagMenuFromStartMenu(void);
|
|
|
|
|
2017-09-20 01:47:15 +00:00
|
|
|
#endif //GUARD_item_menu_H
|