if $game_actors[1].hp == 1
then
$scene = Scene_Gameover.new
return
end
#==============================================================================
# ** Scene_Map **Check for Actors alive. SDK 2.4 Version.
#------------------------------------------------------------------------------
# This class performs map screen processing.
#==============================================================================
class Scene_Map
#--------------------------------------------------------------------------
# * Alias Listings
#--------------------------------------------------------------------------
alias_method :meph_scene_map_update, :update
#--------------------------------------------------------------------------
# * Update
#--------------------------------------------------------------------------
def update
meph_scene_map_update
map_all_dead?
end
#--------------------------------------------------------------------------
# * Map All Dead?
# Check if x.Actors are/is dead.
#--------------------------------------------------------------------------
def map_all_dead?
if $game_party.actors[0].hp <= 0
$scene = Scene_Gameover.new
end
end
end
if $game_party.actors[0].hp <= 0