diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-04-09 20:06:14 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-04-09 20:06:14 -0400 |
commit | 45a2675c9de2644b546e59240d8482a7dfc5c9d7 (patch) | |
tree | 8c045e88ce39b04e132ad055c6bdcda6aac7e490 /include | |
parent | 4987b746365ec09af10bc2a1ce11dbffaa284b50 (diff) | |
parent | 1f60ac0f857da06bd8a678f7150c42cc94940f3f (diff) |
Merge branch 'master' into nohara
Diffstat (limited to 'include')
-rw-r--r-- | include/pokemon.h | 19 | ||||
-rw-r--r-- | include/pokemon_summary_screen.h | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 8864aee8a..82ec9d644 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -118,6 +118,25 @@ #define TYPE_DRAGON 0x10 #define TYPE_DARK 0x11 +#define FRIENDSHIP_EVENT_GROW_LEVEL 0x0 +#define FRIENDSHIP_EVENT_VITAMIN 0x1 // unused +#define FRIENDSHIP_EVENT_BATTLE_ITEM 0x2 // unused +#define FRIENDSHIP_EVENT_LEAGUE_BATTLE 0x3 +#define FRIENDSHIP_EVENT_LEARN_TMHM 0x4 +#define FRIENDSHIP_EVENT_WALKING 0x5 +#define FRIENDSHIP_EVENT_FAINT_SMALL 0x6 +#define FRIENDSHIP_EVENT_FAINT_OUTSIDE_BATTLE 0x7 +#define FRIENDSHIP_EVENT_FAINT_LARGE 0x8 + +#define STATUS_PRIMARY_NONE 0x0 +#define STATUS_PRIMARY_POISON 0x1 +#define STATUS_PRIMARY_PARALYSIS 0x2 +#define STATUS_PRIMARY_SLEEP 0x3 +#define STATUS_PRIMARY_FREEZE 0x4 +#define STATUS_PRIMARY_BURN 0x5 +#define STATUS_PRIMARY_POKERUS 0x6 +#define STATUS_PRIMARY_FAINTED 0x7 + #define PARTY_SIZE 6 #define MAX_TOTAL_EVS 510 #define NUM_STATS 6 diff --git a/include/pokemon_summary_screen.h b/include/pokemon_summary_screen.h index 945e810a3..f1dbe0089 100644 --- a/include/pokemon_summary_screen.h +++ b/include/pokemon_summary_screen.h @@ -61,7 +61,7 @@ struct PokemonSummaryScreenStruct void ShowPokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u8); void ShowSelectMovePokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u16); u8 sub_809FA30(void); -u8 pokemon_ailments_get_primary(u32); +u8 GetPrimaryStatus(u32); u8 GetMonStatusAndPokerus(); u8 *sub_80A1E9C(u8 *dest, const u8 *src, u8); u8 *PokemonSummaryScreen_CopyPokemonLevel(u8 *dest, u8 level); |