Document PSS functions

This commit is contained in:
DizzyEggg
2018-12-10 21:36:52 +01:00
parent 431e7e7e5c
commit c2d8876174
8 changed files with 369 additions and 609 deletions

View File

@@ -60,5 +60,6 @@ void CB2_BagMenuFromStartMenu(void);
u8 sub_81ABB2C(u8 pocketId);
bool8 UseRegisteredKeyItemOnField(void);
void CB2_GoToSellMenu(void);
void GoToBagMenu(u8 bagMenuType, u8 pocketId, void ( *postExitMenuMainCallback2)());
#endif //GUARD_item_menu_H

View File

@@ -66,7 +66,7 @@ struct PokemonStorageSystemData
{
u8 state;
u8 boxOption;
u8 unk_0002;
u8 screenChangeType;
u8 unk_0003;
u8 taskId;
u8 unk_0005;
@@ -102,8 +102,19 @@ struct PokemonStorageSystemData
u8 field_CEF[181];
struct PokemonMarkMenu field_DA4;
struct UnkPSSStruct_2002370 field_1E5C;
u8 field_20A4[400];
u16 field_2234;
u8 field_20A4[220];
u8 field_2180;
u8 field_2181;
u8 field_2182;
u8 field_2183;
u8 field_2184;
u8 field_2185;
u8 field_2186;
u8 field_2187;
u8 field_2188;
struct BoxPokemon *field_218C;
u8 field_2190[164];
u16 movingItem;
};
extern struct UnkPSSStruct_2002370 *gUnknown_02039D04;

View File

@@ -4,6 +4,7 @@
void ShowPokemonSummaryScreen(u8 mode, void *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void));
void sub_81C4F98(u8, void(*)(void));
void ShowSelectMovePokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u16);
void ShowPokemonSummaryScreenSet40EF(u8 mode, struct BoxPokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void));
// The Pokemon Summary Screen can operate in different modes. Certain features,
// such as move re-ordering, are available in the different modes.
@@ -11,7 +12,7 @@ enum PokemonSummaryScreenMode
{
PSS_MODE_NORMAL,
PSS_MODE_UNK1,
PSS_MODE_UNK2,
PSS_MODE_BOX,
PSS_MODE_SELECT_MOVE,
};