illusion will break before evolution

This commit is contained in:
Lylian 2025-04-01 23:48:01 +02:00
parent 4a98c18a23
commit 4e42173118

View File

@ -71,6 +71,7 @@ export class LevelUpPhase extends PlayerPartyMemberPokemonPhase {
if (!this.pokemon.pauseEvolutions) { if (!this.pokemon.pauseEvolutions) {
const evolution = this.pokemon.getEvolution(); const evolution = this.pokemon.getEvolution();
if (evolution) { if (evolution) {
this.pokemon.breakIllusion()
globalScene.unshiftPhase(new EvolutionPhase(this.pokemon, evolution, this.lastLevel)); globalScene.unshiftPhase(new EvolutionPhase(this.pokemon, evolution, this.lastLevel));
} }
} }