From e2a76d1f0fd978f285edf1dbc0f6e87cf89c63ce Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 13 Sep 2017 15:43:40 -0400 Subject: Added "Orre" flag to Pokémon serialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See wiki for more information on why. --- gba/source/serialize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gba/source') 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( pki->pokeball = sub3->pokeball; pki->altAbility = sub3->altAbility; pki->language = bpkm->language & 7; + pki->orre = (sub3->metGame == 15); // Derive nature from the personality value. pki->nature = (bpkm->personality % 25); -- cgit 1.4.1