Fixed triggering a battle upon turning causing the player to take a step after it

This commit is contained in:
Maruno17
2020-10-28 21:04:37 +00:00
parent a28eadb9af
commit a28aa5b4ad
3 changed files with 3 additions and 1 deletions

View File

@@ -140,7 +140,7 @@ class PokeBattle_Battle
rate += @runCommand*30
end
if rate>=256 || @battleAI.pbAIRandom(256)<rate
pbSEPlay("Battle flee")
pbSEPlay("Battle flee")
pbDisplayPaused(_INTL("You got away safely!"))
@decision = 3
return 1