MV Help: Adding an animation to Alistair's Blocking Plugin

Greetings Makers

I found that Alistair's Blocking plugin fits all my needs except that it doesn't natively support an animation. I am also using Yep_BuffStatesCore and Yep_AutoPassiveStates and Yep_X_VisualStateFX. I think using a script within a passive state to detect the block and then apply the animation would be the best route to tackle my problem. However, I don't know scripting well and do not know what the right condition is to put in. I tried to look through the plugin code to see what i could do. This is what I have tried. Also with <custom respond effect>. Thank you for your help.

<Custom Establish Effect>
if (this.makeBlocking <= 0) {
target.startAnimation(139);
}
</Custom Establish Effect>
Well, I didn't download the plugin, but the plugin says that it has an option to use an SE when blocking. Can you just put that start animation script into the plugin code to where the play SE code is located? Then you just need to reference the correct target. Don't know what the direct reference is, but you can try and get the target with Yanfly through a state into a variable with like:

<Custom Initiate Effect>
$gameVariables.setValue(11, target);
</Custom Initiate Effect>

Then it would be like in the plugin $gameVariables.value(11).startAnimation(139);

Worth a try, LOL.

Original thread: https://forums.rpgmakerweb.com/threads/help-adding-an-animation-to-alistairs-blocking-plugin.175854/