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

@@ -83,7 +83,8 @@ BattleHandlers::AbilityOnHPDroppedBelowHalf.add(:EMERGENCYEXIT,
next false if !battle.pbCanRun?(battler.index)
battle.pbShowAbilitySplash(battler,true)
battle.pbHideAbilitySplash(battler)
battle.pbDisplay(_INTL("{1} fled from battle!",battler.pbThis)) { pbSEPlay("Battle flee") }
pbSEPlay("Battle flee")
battle.pbDisplay(_INTL("{1} fled from battle!",battler.pbThis))
battle.decision = 3 # Escaped
next true
end