Tips & Tricks – Auto-Life – RPG Maker MV

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

Auto-Life, also known as Reraise, is a status effect in many Final Fantasy games. It will revive a battler the moment the battler dies. This Tips & Tricks video will show you how to accomplish this using Yanfly Engine Plugins and RPG Maker MV!

Get the copy/paste version of the code here: 

Remember to change all of the values in red to fit your game’s settings.

<Category: Bypass Death Removal>

<Custom Deselect Effect>
// Check if the target's HP is 0 or is currently in the death state.
if (target.hp <= 0 || target.isDead()) {
  // Play the auto-life animation on target.
  target.startAnimation(49);
  // Set the amount of HP recovered to 10%.
  var rate = 0.10;
  // Calculate the HP healed.
  var heal = Math.floor(target.mhp * rate);
  // Remove the Auto-Life state.
  target.removeState(stateId);
  // Heal the target.
  target.gainHp(heal);
  // Make the damage popup show for the heal.
  target.startDamagePopup();
  // Clear the target's results.
  target.clearResult();
}
</Custom Deselect Effect>

Happy reraising!

Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!