Hi there,
I'm working on a game right now where I do not want death to actually restart the game. Ideally, I'd liek to be able to, upon zero HP of the last party member in my team, call a common event. I think the area I'd need to tamper with in the script is here :
# * Defeat Processing
#--------------------------------------------------------------------------
def self.process_defeat
$game_message.add(sprintf(Vocab:😀efeat, $game_party.name))
wait_for_message
if @can_lose
revive_battle_members
replay_bgm_and_bgs
SceneManager.return
else
SceneManager.goto(Scene_Gameover)
end
battle_end(2)
return true
....buuuut I'm not sure what i'm doing exactly 😀 Am I on the right track? or is there another way to interrupt 0hp defeat with a common event outside of scripting? Thanks, any thoughts will be appreciated!
I'm working on a game right now where I do not want death to actually restart the game. Ideally, I'd liek to be able to, upon zero HP of the last party member in my team, call a common event. I think the area I'd need to tamper with in the script is here :
# * Defeat Processing
#--------------------------------------------------------------------------
def self.process_defeat
$game_message.add(sprintf(Vocab:😀efeat, $game_party.name))
wait_for_message
if @can_lose
revive_battle_members
replay_bgm_and_bgs
SceneManager.return
else
SceneManager.goto(Scene_Gameover)
end
battle_end(2)
return true
....buuuut I'm not sure what i'm doing exactly 😀 Am I on the right track? or is there another way to interrupt 0hp defeat with a common event outside of scripting? Thanks, any thoughts will be appreciated!