# If it's not possible to escape
if $game_temp.battle_can_escape == false
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
return
end
when 2 # escape
# If it's not possible to escape
if $game_temp.battle_can_escape == false
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
return
end
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Escape processing
# (Escape processing code here)
noobo;211717 said:When you play a battle you have four options.
Defend
Fight
Escape
Skill
Retlaf;212482 said:Edit: My apologies, I misread your question.
Find the code where you process the escape selection (most likely within Scene_Battle3). Place the following code prior to any processing you would normally make.
It will look something like this:Code:# If it's not possible to escape if $game_temp.battle_can_escape == false # Play buzzer SE $game_system.se_play($data_system.buzzer_se) return end
Code:when 2 # escape # If it's not possible to escape if $game_temp.battle_can_escape == false # Play buzzer SE $game_system.se_play($data_system.buzzer_se) return end # Play decision SE $game_system.se_play($data_system.decision_se) # Escape processing # (Escape processing code here)