diff options
author | ultima-soul <akshayjhanji@hotmail.com> | 2020-08-26 22:07:54 -0700 |
---|---|---|
committer | ultima-soul <akshayjhanji@hotmail.com> | 2020-08-26 22:07:54 -0700 |
commit | e7a40439106607c371982deac943a93789a3be5c (patch) | |
tree | e61b00276ff1252617fb2da55c58703978ac5678 /include/constants/pokemon.h | |
parent | ac696c3c3921ad89bf0e98043f9e03a25af9094e (diff) |
Decompile rest of script_pokemon_util.
Diffstat (limited to 'include/constants/pokemon.h')
-rw-r--r-- | include/constants/pokemon.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index 2ae4964d..a6acb188 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -296,6 +296,17 @@ enum MonGender MON_GENDERLESS = 2 }; +// Constants for AdjustFriendship +#define FRIENDSHIP_EVENT_GROW_LEVEL 0 +#define FRIENDSHIP_EVENT_VITAMIN 1 // unused, handled by PokemonUseItemEffects +#define FRIENDSHIP_EVENT_BATTLE_ITEM 2 // unused, handled by PokemonUseItemEffects +#define FRIENDSHIP_EVENT_LEAGUE_BATTLE 3 +#define FRIENDSHIP_EVENT_LEARN_TMHM 4 +#define FRIENDSHIP_EVENT_WALKING 5 +#define FRIENDSHIP_EVENT_FAINT_SMALL 6 +#define FRIENDSHIP_EVENT_HEAL_FIELD_PSN 7 +#define FRIENDSHIP_EVENT_FAINT_LARGE 8 // If opponent was >= 30 levels higher. See AdjustFriendshipOnBattleFaint + // TODO: Identify the rest of these enum BaseStat { BASE_HP = 0, |