diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 20:00:36 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 20:00:36 +0100 |
commit | 1b0cfb075723af7b457ec118eca2888df449bf9e (patch) | |
tree | 10d1e3635e50be6b4909f56097652fe4b989e373 /include/pokemon.h | |
parent | 032dd251e628debd1ec7774fa42b6e7d39b3d83b (diff) |
Party Size and Num Stats
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 7cf043ba3..3e69845e6 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -151,7 +151,6 @@ #define STATUS_PRIMARY_FAINTED 0x7 #define MAX_TOTAL_EVS 510 -#define NUM_STATS 6 #define UNOWN_FORM_COUNT 28 struct PokemonSubstruct0 @@ -293,8 +292,6 @@ struct Unknown_806F160_Struct struct SpriteFrameImage *frameImages; }; -#define BATTLE_STATS_NO 8 - struct BattlePokemon { /*0x00*/ u16 species; @@ -312,7 +309,7 @@ struct BattlePokemon /*0x17*/ u32 spDefenseIV:5; /*0x17*/ u32 isEgg:1; /*0x17*/ u32 altAbility:1; - /*0x18*/ s8 statStages[BATTLE_STATS_NO]; + /*0x18*/ s8 statStages[NUM_BATTLE_STATS]; /*0x20*/ u8 ability; /*0x21*/ u8 type1; /*0x22*/ u8 type2; |