I'm using another script that has it's own game over check.
That's the code it uses to check game over, and sense I'm not too keen on using Ruby I was curious on if I could change it to run a common event instead of just going to game over. Thanks
def check_gameover
return unless $game_party.in_battle
SceneManager.goto(Scene_Gameover) if $game_party.all_dead?
end
end
return unless $game_party.in_battle
SceneManager.goto(Scene_Gameover) if $game_party.all_dead?
end
end
That's the code it uses to check game over, and sense I'm not too keen on using Ruby I was curious on if I could change it to run a common event instead of just going to game over. Thanks