Make party go to specific location when they die

Is there a way to change the script so that when the party loses any battle they just go back to a specific place with all changes since the last save kept intact, rather that just the last save point?  
Are you using evented battles or random battles (I don't even remember if XP HAS random battles)


If you're using evented battles, check the box that says Continue Even When Losing (or whatever - don't have it in front of me right now). Then in the When Lose section, do a transfer to the specific place. You might need to revive them so they don't just gameover anyway.
these are random battles, and I am using rpgmaker vx ace
https://grimoirecastle.wordpress.com/rgss3-scripts/utility-scripts/game-over-common-event/

Use that script and make the common event teleport the party (and heal it where neccessary)
That script did not work.  I asked the creator if he/she could help me fix it, but there have been several complaints since January that have gone unanswered, so I'm going to assume that script will never be fixed.  Does anyone else know how to accomplish the thing this topic is asking for?
OK that script works now

Original thread: https://forums.rpgmakerweb.com/threads/make-party-go-to-specific-location-when-they-die.40640/