Update encounter-phase.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-28 21:35:06 -04:00 committed by GitHub
parent 70152c23cd
commit 0b9c411912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
}