diff options
Diffstat (limited to 'include/pokemon_summary_screen.h')
-rw-r--r-- | include/pokemon_summary_screen.h | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/include/pokemon_summary_screen.h b/include/pokemon_summary_screen.h index 2b8f96316..f70337677 100644 --- a/include/pokemon_summary_screen.h +++ b/include/pokemon_summary_screen.h @@ -3,16 +3,16 @@ #include "main.h" -extern u8 gLastViewedMonIndex; - -extern const u8 *const gMoveDescriptionPointers[]; -extern const u8 *const gNatureNamePointers[]; +extern const u8 * const gMoveDescriptionPointers[]; +extern const u8 * const gNatureNamePointers[]; void ShowSelectMovePokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u16); -void ShowPokemonSummaryScreenSet40EF(u8 mode, struct BoxPokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void)); u8 GetMoveSlotToReplace(void); void SummaryScreen_SetUnknownTaskId(u8 a0); void SummaryScreen_DestroyUnknownTask(void); +u8 GetLastViewedMonIndex(void); +void ShowPokemonSummaryScreen(struct Pokemon * party, u8 cursorPos, u8 lastIdx, void (*callback)(void), u8 a4); +void sub_8138B38(u8); // The Pokemon Summary Screen can operate in different modes. Certain features, // such as move re-ordering, are available in the different modes. @@ -20,20 +20,51 @@ enum PokemonSummaryScreenMode { PSS_MODE_NORMAL, PSS_MODE_UNK1, - PSS_MODE_BOX, PSS_MODE_SELECT_MOVE, + PSS_MODE_FORGET_MOVE, + PSS_MODE_UNK4, + PSS_MODE_BOX, }; enum PokemonSummaryScreenPage { PSS_PAGE_INFO, PSS_PAGE_SKILLS, - PSS_PAGE_BATTLE_MOVES, - PSS_PAGE_CONTEST_MOVES, + PSS_PAGE_MOVES, + PSS_PAGE_MOVES_INFO, + PSS_PAGE_UNK4, + PSS_PAGE_MOVE_DELETER, }; -s32 GetLastViewedMonIndex(void); -void ShowPokemonSummaryScreen(struct Pokemon * party, u8 cursorPos, u8 lastIdx, void (*callback)(void), u8 a4); -void sub_8138B38(u8); +enum PokemonSummaryScreenState3270 +{ + PSS_STATE3270_0, + PSS_STATE3270_1, + PSS_STATE3270_2, + PSS_STATE3270_3, + PSS_STATE3270_4, + PSS_STATE3270_5, + PSS_STATE3270_6 +}; + +enum PokemonSummaryScreenStat +{ + PSS_STAT_ATK, + PSS_STAT_DEF, + PSS_STAT_SPA, + PSS_STAT_SPD, + PSS_STAT_SPE +}; + +#define TAG_PSS_UNK_64 0x64 +#define TAG_PSS_UNK_65 0x65 +#define TAG_PSS_UNK_66 0x66 +#define TAG_PSS_UNK_67 0x67 +#define TAG_PSS_UNK_6E 0x6E +#define TAG_PSS_UNK_78 0x78 +#define TAG_PSS_UNK_82 0x82 +#define TAG_PSS_UNK_8C 0x8C +#define TAG_PSS_UNK_96 0x96 +#define TAG_PSS_UNK_A0 0xA0 #endif // GUARD_POKEMON_SUMMARY_SCREEN_H |