Different action upon dying.

Instead of resetting to the latest save point, I want to have the player teleport back to the latest visited "checkpoint," similar to Pokemon. What is the easiest way to do this, I've been trying to figure it out for a while now.

Thanks in advance.
You can costumize your game over with this: https://forums.rpgmakerweb.com/index.php?threads/custom-game-over-behavior.55072/
Set a variable at each one of these points so you can properly manage where your character has been to. For example, if the character last visited Checkpoint 2, set an event to mark said variable as 2. Then in the game over map/common event, create a condition for each value (9 checkpoints, 9 numbers for example). If the number is 2 then you character will be sent in checkpoint 2.

I've moved this thread to Plugin Requests. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/different-action-upon-dying.107538/