KRespawnPoint XP

KRespawnPoint XP
Version 1.2.1

by Kyonides
​

Introduction

This script lets you avoid ending the game with just another Game Over screen. It shows you 4 options to choose from like going back to a previously saved respawn point or visiting a healer NPC on some specific map (who may send you back to the previous map) or loading a saved game or if you feel terrible for your loss, you may still check out the same old final screen.

The built-in comments should help you learn how to properly use the script. Just keep in mind that the first Constant you may find is intended to configure the player's XY coordinates (just in case he ever visits a healer) not the healer's.

You might also face the enemy in battle once more if using a Non-ARPG kind of battle system, meaning it can't be a Zelda like system or the Lycan ABS or other similar battle systems.

About the Latest Update

I transformed a few other Constants into KRP Module variables that can be modified at will in game. Then I created new Game System's Return variables to let you go back to the previous map even if it is not a respawn point. This might be specially useful after visiting the healer.

Now there are a couple of extra script calls that you might want to learn about by simply reading the comments I have embedded in my script.


FAQ

It is also available for VX and VX Ace.

Terms & Conditions

Free for any game.
Due credit is not optional but a must.
Do not adopt stray cats, blue squirrels in dire need of coffee or wandering zombies!
That's it!
I think there is an error in the script
For the loss of a percentage of gold when you are defeated
line 197 :

"class Game_Party
def lose_money
money = @Gold * KRP.lose_gold_percent
gain_gold(-money.round)"

if you set KRP.lose_gold_percent is equal to more than 0
the result will always be 0

the correct formula should be :

"class Game_Party
def lose_money
money = @Gold / KRP.lose_gold_percent
gain_gold(-money.round)"

with that formula if you have a KRP.lose_gold_percent = 10 and 1k gold
you will have 900 after visit a healer or a respawn.

I haven't looked for it yet. but maybe there is the same error on other commands that use percentage :

-KRP.hp_recover_percent
-KRP.sp_recover_percent
-KRP.lose_exp_percent

Original thread: https://forums.rpgmakerweb.com/threads/krespawnpoint-xp.157767/