Save-Point
Dying on Game Map - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Dying on Game Map (/thread-2470.html)



Dying on Game Map - blink_ - 03-06-2008

Dying on Game Map
by Arbiter

Wasn't sure where to post this, so feel free to move to the relevant forum section (too many possibilities for this topic)

Well I noticed a while ago by chance that you can't die on the map (outside of battle) which is a bit daft to leave that feature out, also when you are at zero hp and you enter battle only then do you get the game over screen.

Now I don't know how many of you know the fact that when your party dies on the map from terrain damage nothing happens until you go into battle, but for those who do and haven't solved the problem here is an easy guide.

1. Open up the script editor and click on the Game_Map tab on the left to display it's code
2. Either scroll down or use the 'find' method (Ctrl + F) and look for frame update (at the bottom of the page)
it looks like this
Content Hidden

3. Now paste this little peice of code underneath the end below refresh and above the commented line # if scrolling.
Code:
if $game_party.all_dead?
      $scene = Scene_Gameover.new
    end
It should now look like this
Content Hidden