mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Let eternatus keep stat changes when changing form (#2728)
This commit is contained in:
parent
a6091de5df
commit
49e5ad764c
@ -280,7 +280,6 @@ export class QuietFormChangePhase extends BattlePhase {
|
||||
end(): void {
|
||||
if (this.pokemon.scene?.currentBattle.battleSpec === BattleSpec.FINAL_BOSS && this.pokemon instanceof EnemyPokemon) {
|
||||
this.scene.playBgm();
|
||||
this.pokemon.summonData.battleStats = [ 0, 0, 0, 0, 0, 0, 0 ];
|
||||
this.scene.unshiftPhase(new PokemonHealPhase(this.scene, this.pokemon.getBattlerIndex(), this.pokemon.getMaxHp(), null, false, false, false, true));
|
||||
this.pokemon.findAndRemoveTags(() => true);
|
||||
this.pokemon.bossSegments = 5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user