diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-09-25 13:49:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-25 13:49:34 -0400 |
commit | 44f8d694ce5760fba5272936cfe3ab1fe48537a8 (patch) | |
tree | 59ef21892a02c9d266f5cac36872458bdbe0de61 /include/pokemon_summary_screen.h | |
parent | 6539884c8850aca6c2057017dba9c3d78ca15784 (diff) | |
parent | 0e217e22d8fa3e075416cb332435c3756548357e (diff) |
Merge pull request #86 from jiangzhengwenjz/battle
battle
Diffstat (limited to 'include/pokemon_summary_screen.h')
-rw-r--r-- | include/pokemon_summary_screen.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/pokemon_summary_screen.h b/include/pokemon_summary_screen.h new file mode 100644 index 000000000..7b250b647 --- /dev/null +++ b/include/pokemon_summary_screen.h @@ -0,0 +1,36 @@ +#ifndef GUARD_POKEMON_SUMMARY_SCREEN_H +#define GUARD_POKEMON_SUMMARY_SCREEN_H + +#include "main.h" + +extern u8 gLastViewedMonIndex; + +extern const u8 *const gMoveDescriptionPointers[]; +extern const u8 *const gNatureNamePointers[]; + +void ShowPokemonSummaryScreen(u8 mode, void *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void)); +void ShowSelectMovePokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u16); +void ShowPokemonSummaryScreenSet40EF(u8 mode, struct BoxPokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void)); +u8 sub_8138B2C(void); +void SummaryScreen_SetUnknownTaskId(u8 a0); +void SummaryScreen_DestroyUnknownTask(void); + +// The Pokemon Summary Screen can operate in different modes. Certain features, +// such as move re-ordering, are available in the different modes. +enum PokemonSummaryScreenMode +{ + PSS_MODE_NORMAL, + PSS_MODE_UNK1, + PSS_MODE_BOX, + PSS_MODE_SELECT_MOVE, +}; + +enum PokemonSummaryScreenPage +{ + PSS_PAGE_INFO, + PSS_PAGE_SKILLS, + PSS_PAGE_BATTLE_MOVES, + PSS_PAGE_CONTEST_MOVES, +}; + +#endif // GUARD_POKEMON_SUMMARY_SCREEN_H |