summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-04-06 14:54:47 -0700
committerMarcus Huderle <huderlem@gmail.com>2018-04-06 14:54:47 -0700
commitcbf2c5c2a9539f74d57f141f233b47923566e838 (patch)
treedca65bd5ea75a0e5caacb84c5ce01169c0e259f6 /include/pokemon.h
parent888109935e9c35d6794c340759e4fd8c8c96760d (diff)
Decompile a bunch of battle_9
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index 169045c0c..90d384d91 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -312,6 +312,8 @@ struct UnknownPokemonStruct
/*0x2B*/u8 friendship;
};
+#define BATTLE_STATS_NO 8
+
struct BattlePokemon
{
/*0x00*/ u16 species;
@@ -329,7 +331,7 @@ struct BattlePokemon
/*0x17*/ u32 spDefenseIV:5;
/*0x17*/ u32 isEgg:1;
/*0x17*/ u32 altAbility:1;
- /*0x18*/ s8 statStages[8];
+ /*0x18*/ s8 statStages[BATTLE_STATS_NO];
/*0x20*/ u8 ability;
/*0x21*/ u8 type1;
/*0x22*/ u8 type2;