mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Don't reset turn count or used moves array at the start of a new wave
This commit is contained in:
parent
a8c9065d57
commit
18e70fd477
@ -2577,12 +2577,6 @@ export class BattleEndPhase extends BattlePhase {
|
|||||||
this.scene.unshiftPhase(new GameOverPhase(this.scene, true));
|
this.scene.unshiftPhase(new GameOverPhase(this.scene, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const pokemon of this.scene.getField()) {
|
|
||||||
if (pokemon) {
|
|
||||||
pokemon.resetBattleSummonData();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const pokemon of this.scene.getParty().filter(p => p.isAllowedInBattle())) {
|
for (const pokemon of this.scene.getParty().filter(p => p.isAllowedInBattle())) {
|
||||||
applyPostBattleAbAttrs(PostBattleAbAttr, pokemon);
|
applyPostBattleAbAttrs(PostBattleAbAttr, pokemon);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user