Need help to prevent Gameover - using ABS.

Is there anyway on how to prevent a gameover outside the battle, becaus im using Falcao Pearl ABS and basicly what im looking for is if i die on map somehow i would be teleported to another area or if i died of a trap and lost HP i would be teleported, maybe a spawning place for a character, appreciated your help, thanks!

EDIT! I found out how to solve the problem, close this thread if you want.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-to-prevent-gameover-using-abs.20232/