Update IVs in dex on evolution

This commit is contained in:
Flashfyre 2024-04-03 09:23:45 -04:00
parent 880433a7f8
commit 7400ba0503

View File

@ -2115,6 +2115,7 @@ export class PlayerPokemon extends Pokemon {
}); });
}; };
if (!this.scene.gameMode.isDaily || this.metBiome > -1) { if (!this.scene.gameMode.isDaily || this.metBiome > -1) {
this.scene.gameData.updateSpeciesDexIvs(this.species.speciesId, this.ivs);
this.scene.gameData.setPokemonSeen(this, false); this.scene.gameData.setPokemonSeen(this, false);
this.scene.gameData.setPokemonCaught(this, false).then(() => updateAndResolve()); this.scene.gameData.setPokemonCaught(this, false).then(() => updateAndResolve());
} else } else