Battle Loss: return to map instead of Game Over. How?

● ARCHIVED · READ-ONLY
Started by CavaliereHoScudo 4 posts View original ↗
  1. Title says it all.

    I am trying to recreate a mechanic present in some games (like Pokemon), where if you lose a battle your character is forced back to a safe point instead of getting a Game Over.
    As of now I have been able to recreate this with Events that have a battle at some point, but not with random encounters. Maybe I should do that through the Battle Events from the Troop screen, or with Common Events, but I thought it would be best to ask for advice first.
  2. impossible without scripts, but there are scripts for this - both those who redirect battles and those who redirect gameover functions.
  3. Easy, when creating battle processing, create a conditional “if loss...” statement, then call a common event that presents a “game over screen” then teleports the player to a save point.

    Hope this helps! ^^
  4. As long as you only have ONE character I have...
    A workaround:
    1. Make your characters immortal
    2. in the troop events, you use the condition "When character HP = 0%"
    2.1 the event has to first give the player at least 1hp (otherwise you will be game over at the end of the event) activate a switch of choice and stop the battle
    3 on the over-world you have to make an parallel event that activates if the switch of choice is on
    3.1 the event will turn the switch of choice off and does the wanted teleport

    If you have more than one hero it gets a little more complicated:
    1. same
    2. create a state that hero unable to move (quasi-death)
    3. create one hero-check switch per hero and have them turned on
    4. you need 1+party_members troop even pages
    4.1 Page 1 will activate if a certain switch is on
    4.1 page 2 to n will activate if a heroes hero-check switch is on AND their respective HP = 0%
    (character switch 1 and hero1 HP = 0% for example)
    4.2 2 to n give their respective hero the quasi-death state
    4.2.1 each of these pages needs to turn of their respective hero-check switch
    4.3 2 to n all need a conditional branch in themselves that checks if ALL the other heroes have the quasi-death state. Do it as an conditional branch inside a conditional branch until it checks for all heroes.
    4.3.1 if YES, it the certain switch will turn on
    4.4 Page one will give at least one hero at least 1 hp and stops the battle
    5. same over-world event for the teleport that activates id a certain switch is turned on, but it will also turn back on all the hero-check switches AND turns of a certain switch