document menuAction variables

This commit is contained in:
Seth Barberee
2023-04-09 16:22:17 -07:00
parent a76aa6d797
commit 261ba2c4c2
15 changed files with 136 additions and 135 deletions

View File

@@ -33,7 +33,7 @@ struct unkStruct_203B3F8
s16 unk4;
u16 unk6;
struct PokemonStruct *pokemon;
u32 unkC;
u32 menuAction;
struct MenuStruct unk10;
u32 unk60;
u32 unk64;

View File

@@ -12,7 +12,7 @@ struct unkStruct_203B204
s32 currState;
u32 fallbackState;
u32 chosenAmount;
u32 unk10;
u32 menuAction;
struct MenuItem unk14[8];
u16 unk54[8];
u32 unk64;

View File

@@ -18,10 +18,9 @@ struct unkStruct_203B2BC
u16 moveID;
struct Move moves[8];
u16 moveIDs[4]; // some list of move IDs
u32 unk70;
s32 unk74;
u32 unk78;
u32 menuAction1;
u32 menuAction2;
u32 menuAction3;
struct MenuStruct unk7C;
u8 fill80[0xFD - 0xCC];
u32 unkFD;

View File

@@ -10,14 +10,13 @@ struct unkStruct_203B208
// size: 0x14C
u32 unk0;
u32 currState;
u32 unk8;
struct Item unkC;
u32 unk10;
u32 fallbackState;
struct Item storedItem;
u32 itemIndex;
u8 id; // another id?
u8 fill15[0x3];
u32 unk18;
u32 unk1C;
u32 unk20;
u32 menuAction1;
u32 menuAction2;
u32 menuAction3;
struct MenuItem unk24[5];
u16 unk4C[5];
struct MenuStruct unk58;
@@ -42,12 +41,12 @@ struct unkStruct_203B20C
{
u32 state;
u8 unk4[4];
struct Item unk8;
u32 unkC;
struct Item item;
u32 itemIndex;
u8 id;
u32 unk14;
u32 unk18;
u32 unk1C;
u32 menuAction1;
u32 menuAction2;
u32 menuAction3;
struct MenuItem unk20[8];
u16 unk60[8];
struct MenuStruct unk70;
@@ -64,4 +63,13 @@ struct unkStruct_203B20C
struct UnkTextStruct2 unkF0[4];
};
enum KangaskhanStorageStates {
KANGASKHAN_STORAGE_INIT = 0,
KANGASKHAN_STORAGE_MAIN_MENU = 1,
KANGASKHAN_STORAGE_EXIT = 4,
KANGASKHAN_STORAGE_NO_INV_ITEMS = 5,
KANGASKHAN_STORAGE_TOO_MANY_ITEMS = 6,
KANGASKHAN_STORAGE_IS_MONEY_USED_TM = 9,
};
#endif

View File

@@ -16,8 +16,8 @@ struct unkStruct_203B304
u8 fill10[0x50 - 0x10];
u8 unk50;
u8 fill51[0x64 - 0x51];
u32 unk64;
u32 unk68;
u32 menuAction1;
u32 menuAction2;
struct MenuStruct unk6C;
struct MenuItem unkBC[8];
u16 unkFC[8];