MV YEP Visual State FX layered above battle animations?

Anyone else using YEP Battle Engine Core and Visual State FX and notice their battle animations are layered below the state animations in the side view battle? In the Battle Engine Core I know there's a side view actor priority setting and I've played with that a bit. It only works the way I want it to (battle animations, like a curing item, plays layered OVER the visual state fx animation) when I give enemies the priority in the setting, yet it only works correctly on an actor but incorrectly on an enemy strangely enough.

I've reorganized my YEP plugins to how they are on his site, but it still functions incorrectly.

If anyone has experienced this and figured it out, or knows of a possible way to correct it, I'd appreciate the assistance.

Thanks!

EDIT:

I just found what could be a good fix here in the forum when I searched battle animation z depth.

Using the code below works, and it's somewhat customizable. You just need to add TPZH (that can be changed I think) to the end of the animation name in the database. I found that the this.z = 4 is what works for me. A -1 will put the animation behind the actor. Looks like you could just list a bunch of ifs with various strings and give them all their own z depths.

Code:
var animation_position = Sprite_Animation.prototype.updatePosition;
Sprite_Animation.prototype.updatePosition = function() {
    animation_position.call(this)
    if (this._animation.name.contains("TPZH")) {
        this.z = -1;
    } else {
        this.z = 8;
    }
};

Original thread: https://forums.rpgmakerweb.com/threads/yep-visual-state-fx-layered-above-battle-animations.169524/