mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 16:56:11 +00:00
Update IVs in dex on evolution
This commit is contained in:
parent
880433a7f8
commit
7400ba0503
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user