about summary refs log tree commit diff stats
path: root/gba/source/serialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gba/source/serialize.c')
-rw-r--r--gba/source/serialize.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gba/source/serialize.c b/gba/source/serialize.c index 086e751..4a80bdf 100644 --- a/gba/source/serialize.c +++ b/gba/source/serialize.c
@@ -11,9 +11,6 @@
11#include "exptables.h" 11#include "exptables.h"
12#include "dexorder.h" 12#include "dexorder.h"
13 13
14#define UNOWN_SPECIES_INDEX 201
15#define SHEDINJA_SPECIES_INDEX 303
16
17enum Stat { 14enum Stat {
18 StatAttack, 15 StatAttack,
19 StatDefense, 16 StatDefense,
@@ -63,7 +60,7 @@ void PokemonIntermediateInit(
63 struct PokemonSubstruct2* sub2 = GetBoxPokemonSubstruct2(bpkm); 60 struct PokemonSubstruct2* sub2 = GetBoxPokemonSubstruct2(bpkm);
64 struct PokemonSubstruct3* sub3 = GetBoxPokemonSubstruct3(bpkm); 61 struct PokemonSubstruct3* sub3 = GetBoxPokemonSubstruct3(bpkm);
65 62
66 const struct SmallBaseStats* baseStats = &gSmallBaseStats[sub0->species]; 63 const struct SmallBaseStats* baseStats = BaseStatsForSpecies(sub0->species);
67 64
68 for (int i=0; i<POKEMON_NAME_LENGTH; i++) 65 for (int i=0; i<POKEMON_NAME_LENGTH; i++)
69 { 66 {