about summary refs log tree commit diff stats
path: root/gba
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-11 19:19:07 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-11 19:19:07 -0400
commit98fec850efde05daa72259c937b1eac05b2c695a (patch)
tree1da9763216f1c7cf028f4c4cebbdb88b8e8edf35 /gba
parent6ceeb199181d64031f4173cfbffa066f5b9796b8 (diff)
downloadgen3uploader-98fec850efde05daa72259c937b1eac05b2c695a.tar.gz
gen3uploader-98fec850efde05daa72259c937b1eac05b2c695a.tar.bz2
gen3uploader-98fec850efde05daa72259c937b1eac05b2c695a.zip
Fixed bug where Pokémon's language was not serialized properly
Diffstat (limited to 'gba')
-rw-r--r--gba/source/serialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gba/source/serialize.c b/gba/source/serialize.c index ddd3ef2..12afbdc 100644 --- a/gba/source/serialize.c +++ b/gba/source/serialize.c
@@ -90,7 +90,7 @@ void PokemonIntermediateInit(
90 pki->metLocation = sub3->metLocation; 90 pki->metLocation = sub3->metLocation;
91 pki->pokeball = sub3->pokeball; 91 pki->pokeball = sub3->pokeball;
92 pki->altAbility = sub3->altAbility; 92 pki->altAbility = sub3->altAbility;
93 pki->language = bpkm->language & 3; 93 pki->language = bpkm->language & 7;
94 94
95 // Derive nature from the personality value. 95 // Derive nature from the personality value.
96 pki->nature = (bpkm->personality % 25); 96 pki->nature = (bpkm->personality % 25);