Could someone please make a script or edit this small script so after it goes to scene party switcher, it returns to the battle instead of taking you out of the battle.
Thanks
def all_dead?
if $game_party.actors.size == 0
return false
end
for actor in @actors
if actor.hp > 0
return false
end
for actor in @actors
if actor.hp == 0
$scene = Scene_PartySwitcher.new
return false
end
if actor.index >= 4
return false
end
end
return false
end
end
end
if $game_party.actors.size == 0
return false
end
for actor in @actors
if actor.hp > 0
return false
end
for actor in @actors
if actor.hp == 0
$scene = Scene_PartySwitcher.new
return false
end
if actor.index >= 4
return false
end
end
return false
end
end
end
Thanks