mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-18 06:51:08 +00:00
Implement better solution to Fake Out issue
This commit is contained in:
parent
10cacbe5af
commit
bed98ad304
@ -1152,7 +1152,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||||||
const pokemon = this.getPokemon();
|
const pokemon = this.getPokemon();
|
||||||
|
|
||||||
// Compensate for turn spent summoning
|
// Compensate for turn spent summoning
|
||||||
if (pokemon.scene.currentBattle.turn > 1)
|
if (pokemon.scene.currentBattle.turnCommands[this.fieldIndex]?.command === Command.POKEMON)
|
||||||
pokemon.battleSummonData.turnCount--;
|
pokemon.battleSummonData.turnCount--;
|
||||||
|
|
||||||
if (this.batonPass && pokemon)
|
if (this.batonPass && pokemon)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user