about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);