Fix: Made the "Battle flee" sound effect play before the "Fled from b… (#51)

* Fix: Made the "Battle flee" sound effect play before the "Fled from battle" messages
This commit is contained in:
Derxwna Kapsyla
2020-10-28 14:41:18 -04:00
committed by GitHub
parent e290d1dd45
commit a28eadb9af
4 changed files with 20 additions and 10 deletions

View File

@@ -8,7 +8,8 @@ class PokeBattle_Battler
if tryFlee && @battle.wildBattle? && opposes? &&
@battle.rules["alwaysflee"] && @battle.pbCanRun?(@index)
pbBeginTurn(choice)
@battle.pbDisplay(_INTL("{1} fled from battle!",pbThis)) { pbSEPlay("Battle flee") }
pbSEPlay("Battle flee")
@battle.pbDisplay(_INTL("{1} fled from battle!",pbThis))
@battle.decision = 3
pbEndTurn(choice)
return true