Updated switch summon phase comment

This commit is contained in:
Bertie690 2025-04-30 19:02:09 -04:00
parent 33c7971b91
commit b6b8aa0e39

View File

@ -241,7 +241,7 @@ export class SwitchSummonPhase extends SummonPhase {
} }
} }
// Reset turn data if not initial switch (since it gets initialized to an empty object by default) // Reset turn data if not initial switch (since it gets initialized to an empty object on turn start)
if (this.switchType !== SwitchType.INITIAL_SWITCH) { if (this.switchType !== SwitchType.INITIAL_SWITCH) {
pokemon.resetTurnData(); pokemon.resetTurnData();
pokemon.turnData.switchedInThisTurn = true; pokemon.turnData.switchedInThisTurn = true;