[Bug] removing destroy() calls on enemy pokemon after BattleEndPhase and breaks endless %50 waves (#3461)
This commit is contained in:
parent
e820163505
commit
638a0a66b5
|
@ -2581,15 +2581,6 @@ export class BattleEndPhase extends BattlePhase {
|
|||
|
||||
this.scene.updateModifiers().then(() => this.end());
|
||||
}
|
||||
|
||||
end() {
|
||||
// removing pokemon at the end of a battle
|
||||
for (const p of this.scene.getEnemyParty()) {
|
||||
p.destroy();
|
||||
}
|
||||
|
||||
super.end();
|
||||
}
|
||||
}
|
||||
|
||||
export class NewBattlePhase extends BattlePhase {
|
||||
|
|
Loading…
Reference in New Issue