this is a very short tutorial for making a item that revives the party instead of getting a gameover.
first make the item [i just call it a recall but you can name it something else]
then create a common event like this
<>branch if recall is possessed:
<>full heal:entire part
<>
else handler:
<>game over
<>
now go to battle layout and set the random encounter death handler to call common event then select the event that has youre recall.
if you dont understand the event im either not descriptive enough or youre an idiot.