Tips & Tricks – Judgment (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.

Arceus, a legendary Pokémon, has a signature move named Judgment. Judgment’s specialty is that it changes elements based on certain elemental items that Arceus has equipped! This Tips & Tricks video will show you how to replicate that effect!

Find the copy/paste version of the code here: 

Place this inside of your skill’s notebox:

// This will move the user to the target if the weapon is melee
// or else it'll be standing from afar.
<Whole Action>
if user.attackMotion() !== 'missile'
 move user: targets, front, 20
else
 perform start
end
</Whole Action>

// This will play the user's attack animation. Then, it will check
// user for specific equipped weapons. If the matched weapon is
// present on the user, then force an element and play an animation
// that varies depending on the element used.
<target action>
motion standby: user
wait for movement
face user: target
motion attack: user
wait: 10
attack animation: target
wait for animation
if user.hasWeapon($dataWeapons[1])
 force element: Fire
 animation 130: target
else if user.hasWeapon($dataWeapons[2])
 force element: Ice
 animation 134: target
else if user.hasWeapon($dataWeapons[3])
 force element: Volt
 animation 138: target
else if user.hasWeapon($dataWeapons[4])
 force element: Water
 animation 142: target
else if user.hasWeapon($dataWeapons[5])
 force element: Earth
 animation 146: target
else if user.hasWeapon($dataWeapons[6])
 force element: Wind
 animation 150: target

end
action effect
clear element
wait for animation
</target action>

Happy judging!

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