mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-29 21:12:45 +02:00
Update encounter-phase.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
70152c23cd
commit
0b9c411912
@ -336,7 +336,8 @@ export class EncounterPhase extends BattlePhase {
|
||||
}
|
||||
|
||||
for (const pokemon of globalScene.getPlayerParty()) {
|
||||
// Only reset wave data, not battle data
|
||||
// Currently, a new wave is not considered a new battle if there is no arena reset
|
||||
// Therefore, we only reset wave data here
|
||||
if (pokemon) {
|
||||
pokemon.resetWaveData();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user