MV always trigger evade motion on attack miss

random thing that bothers me is that when attacks fail (effectively the same as the target evading the attack) in sideview the target doesnt do the evade motion, meaning sometimes when the miss text shows up the target just stands there
so ideally theres some easy workaround for this (mostly because i just want the evade animation to see more use)
if it helps i use yanflys animated sv battlers
i havent been able to find a setting in any of the other yanfly battle plugins but if there is one thatd be good too
bumping this because its bothering me again
Not sure if there's a way to do this with Yanfly's stuff, but...

You could try saving this as a .js file and importing it as a plugin (untested):
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Battlers use evade motion when missed by an action.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/177131/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function(alias) {
  Game_Battler.prototype.performMiss = function() {
    alias.apply(this, arguments);
    this.requestMotion("evade");
  };
})(Game_Battler.prototype.performMiss);
it works perfectly tysm!!!!!!!!
Hi. Does this work on yanfly battle engine core?
The OP said they were using Yanfly's Animated Sideview Battlers, which is an extension for Battle Engine Core. So I would imagine that it does work with BEC! You could always try it for yourself~

It seems it worked for the OP, so:

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/always-trigger-evade-motion-on-attack-miss.177131/