Fixed using Pursuit against a switcher preventing using the next move

This commit is contained in:
Maruno17
2022-06-18 21:13:30 +01:00
parent 79f5e5d4aa
commit 9a03b25755
5 changed files with 73 additions and 86 deletions

View File

@@ -46,14 +46,6 @@ class Battle::Battler
pbEndTurn(choice)
return false
end
# Turn is skipped if Pursuit was used during switch
if @effects[PBEffects::Pursuit]
@effects[PBEffects::Pursuit] = false
pbCancelMoves
pbEndTurn(choice)
@battle.pbJudge
return false
end
# Use the move
PBDebug.log("[Move usage] #{pbThis} started using #{choice[2].name}")
PBDebug.logonerr {