MV Fix / Compatibility issues for kotonoha* - Critical Animation, Actor State Color with Yanfly Battle Engine

Good morning / afternoon / evening

I humbly request your assistance once more.

I didn't really know exactly where to put this because it feels like a request as well!

I am using Yanfly's Battle Engine Core

And this plugin

the latter plugin makes it so it plays an animation in battle when a critical hit is triggered... but for some reason, the damage popup (the default one) becomes all bugged up and it just flies upward...?

Is it possible to create some sort of patch or fix to make these two scripts function well and that way the default popup shows up as it normally should?

Any help is greatly appreciated!

Is it possible to create some sort of patch or fix to make these two scripts function well?

Any help is greatly appreciated!
I’ve moved this JS Plug-in Requests.
From the looks of it, it's probably because both those plugins are trying to override the same default RPG Maker code.

If I may make a suggestion, why not directly edit Yanfly's Battle Engine Core to play the critical animation?

Look for the following on line 3309 of Yanfly's Battle Engine Core
JavaScript:
    if (result.critical) {
        this.setupCriticalEffect();
    }

Add target.startAnimation(AnimationID, false, 0); somewhere in the function, like so (replace AnimationID with the ID of the animation you want to play)

JavaScript:
    if (result.critical) {
        target.startAnimation(AnimationID, false, 0);
        this.setupCriticalEffect();
    }

And there you have it!
Sorry but that did not do anything, I even tested it in a clean project and it's still giving the same problem, the damage numbers just fly upwards out of the screen...
It worked for me on a clean project with only Battle Engine Core...

Are you still using the critical animation plugin? If so, disable or remove it. Since you're adding the code to play the animation directly to battle engine core, you won't need the other plugin anymore.
I managed to make it work, thanks alot for this, though I wasn't able to make it work with
Aries' shake effects... !

But this is okay, it works for me!
This thread is being closed due to being solved. If you find you do need it later, you can report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/fix-compatibility-issues-for-kotonoha-critical-animation-actor-state-color-with-yanfly-battle-engine.159126/