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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gba/source/serialize.c b/gba/source/serialize.c index 12afbdc..069418d 100644 --- a/gba/source/serialize.c +++ b/gba/source/serialize.c
@@ -91,6 +91,7 @@ void PokemonIntermediateInit(
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 & 7; 93 pki->language = bpkm->language & 7;
94 pki->orre = (sub3->metGame == 15);
94 95
95 // Derive nature from the personality value. 96 // Derive nature from the personality value.
96 pki->nature = (bpkm->personality % 25); 97 pki->nature = (bpkm->personality % 25);