$_original_Scene_Battle = Scene_Battle.clone unless $_original_Scene_Battle
class Scene_Battle < $_original_Scene_Battle
def judge
@_phase5_stopped = false
original = super
return (!@_phase5_stopped) && original
end
def start_phase5
if $game_troop.enemies.any?{|e|e.hp != 0}
@_phase5_stopped = true
$game_troop.enemies.each{|e|e.hidden = false}
return
end
super
end
end
$_original_Scene_Battle = Scene_Battle.clone unless $_original_Scene_Battle
class Scene_Battle < $_original_Scene_Battle
def judge
@_phase5_stopped = false
original = super
return (!@_phase5_stopped) && original
end
def start_phase5
if $game_troop.enemies.any?{|e|e.hp != 0}
@_phase5_stopped = true
$game_troop.enemies.each{|e|e.hidden = false}
return
end
super
end
end