mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 06:12:19 +02:00
illusion will break before evolution
This commit is contained in:
parent
4a98c18a23
commit
4e42173118
@ -71,6 +71,7 @@ export class LevelUpPhase extends PlayerPartyMemberPokemonPhase {
|
||||
if (!this.pokemon.pauseEvolutions) {
|
||||
const evolution = this.pokemon.getEvolution();
|
||||
if (evolution) {
|
||||
this.pokemon.breakIllusion()
|
||||
globalScene.unshiftPhase(new EvolutionPhase(this.pokemon, evolution, this.lastLevel));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user