about summary refs log tree commit diff stats
path: root/gba/source/serialize.c
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-08-29 19:12:06 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-08-29 19:12:06 -0400
commit0882d1020d75bbddc8e8fbe30aed435e8814988a (patch)
tree02738c847cfd68b40e9d6cff1aec0761b86f657a /gba/source/serialize.c
parentc9e6a144ea5500b50dce6353862da0f85fd72176 (diff)
downloadgen3uploader-0882d1020d75bbddc8e8fbe30aed435e8814988a.tar.gz
gen3uploader-0882d1020d75bbddc8e8fbe30aed435e8814988a.tar.bz2
gen3uploader-0882d1020d75bbddc8e8fbe30aed435e8814988a.zip
Added base stats for all of Deoxys's Formes
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 {