Fix issue which caused gen2 pokemon to be received as an egg when they shouldn't be. (most PCNY pokémon SHOULD be in egg form though)

This commit is contained in:
Philippe Symons 2024-08-20 12:57:53 +02:00
parent 63278da157
commit 0ac60b6c02

View File

@ -100,7 +100,7 @@ void DistributionPokemonListScene::injectPokemon(const void* data)
// gen2_prepareDistributionPokemon() + addPokemon() gives me access to the resulting Gen2TrainerPokemon instance
// in which things are done like IV generation, OT name decision, OT id, shininess
gen2_prepareDistributionPokemon(gen2Reader_, (*g2Poke), statsContext->poke_g2, trainerName);
gen2Reader_.addPokemon(statsContext->poke_g2, trainerName);
gen2Reader_.addPokemon(statsContext->poke_g2, g2Poke->isEgg, trainerName);
gen2Reader_.finishSave();
break;
default: