Tips & Tricks – Mirror Move (Pokémon) – 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.

Mirror Move is a skill from the Pokémon game series that allows you to copy the last used action of the target against them. Here’s how to recreate the effect in RPG Maker MV!

You can grab the copy/paste code here: Insert the following code into your game’s global passive.

<Custom Action Start Effect>
var action = user.currentAction();
user._lastUsedSkill = user._lastUsedSkill || 1;
if (action && action.isSkill()) {
  user._lastUsedSkill = action.item().id;
}
</Custom Action Start Effect>

Insert the following code into your Mirror Move skill’s notebox.

<After Eval>
var id = target._lastUsedSkill || 1;
BattleManager.queueForceAction(user, id, -2);
</After Eval>

Please wait while you are redirected...or Click Here if you do not want to wait.