mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Updated switch summon phase comment
This commit is contained in:
parent
33c7971b91
commit
b6b8aa0e39
@ -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) {
|
||||
pokemon.resetTurnData();
|
||||
pokemon.turnData.switchedInThisTurn = true;
|
||||
|
Loading…
Reference in New Issue
Block a user