diff options
Diffstat (limited to 'include/pokemon.h')
-rwxr-xr-x | include/pokemon.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 2f8a57d38..9dd7ba06c 100755 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -392,9 +392,14 @@ struct BattleMove u8 secondaryEffectChance; u8 target; u8 priority; - u32 flags; + u8 flags; + u8 pad[3]; }; +#define FLAG_PROTECT_AFFECTED 0x2 +#define FLAG_MAGICCOAT_AFFECTED 0x4 +#define FLAG_SNATCH_AFFECTED 0x8 + struct PokemonStorage { /*0x00*/ u8 currentBox; @@ -574,6 +579,7 @@ void sub_8040B8C(void); void SetWildMonHeldItem(void); u8 *sub_8040D08(); bool32 sub_8040D3C(u16 species, u8 *name, u8 language); +s8 sub_8040A54(struct Pokemon *, u8); u16 GetMonEVCount(struct Pokemon *); #endif // GUARD_POKEMON_H |