summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-05-04 00:10:25 -0700
committerYamaArashi <shadow962@live.com>2017-05-04 00:21:04 -0700
commitd7284694ec3543b84074f52938ea5e6666e17599 (patch)
treef401f21a422181f09bc7ff7f1c24025543823009 /include/pokemon.h
parentf492004cb605a45b0b43e94121a0f504d7fb10cc (diff)
decompile time_events
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index e0ad7136c..39bde80cb 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -114,6 +114,8 @@
#define TYPE_DRAGON 0x10
#define TYPE_DARK 0x11
+#define PARTY_SIZE 6
+
enum {
NATURE_HARDY,
NATURE_LONELY,
@@ -376,8 +378,8 @@ struct PokemonStorage
u8 unkArray[14];
};
-extern struct Pokemon gPlayerParty[6];
-extern struct Pokemon gEnemyParty[6];
+extern struct Pokemon gPlayerParty[PARTY_SIZE];
+extern struct Pokemon gEnemyParty[PARTY_SIZE];
void ZeroBoxMonData(struct BoxPokemon *boxMon);
void ZeroMonData(struct Pokemon *mon);