MZ Battle Animations playing twice with MOG's Battle HUD

Hello, everyone! Happy 2026!

While helping out a friend we ran into a problem: We're using MOG's Battle HUD classic II and Visu's BattleCore and the battle animations on actors are playing doubled. The correct animation plays out but another one plays to the right of the target and really low on the screen. Consequently, the sound also doubles.

The correct animation seems to be handled by MOG's plugin cuz we managed to isolate the animation. The other one appears to be cause by BattleCore, but since we cannot see its code we can't isolate the function to cancel it.

As an extra bonus, the damage/healing numbers also only pop up on Party Member 1's position. If Party Member 2 gets damaged, the pop up number shows on #1.

Any ideas on how to solve these?

Looks sorta like this btw:

Preview.jpg
Of course you could try to mess with the obfuscated code, but here's a suggestion. Comment out the animation that's coming from MOG plugin and then put offsets in your battle animations in database so that the VisuStella animation aligns with the faces (make different animations for enemies) LOL.

Then go to console and check VisuStella code for Sprite_Actor.prototype.damageOffsetX or Sprite_Battler.prototype.damageOffsetX
I haven't tested but try and modify that so that you add to the value that gets returned based on the index of the actor. (Also maybe comment out damage popup stuff from MOG plugin.)
Of course you could try to mess with the obfuscated code, but here's a suggestion. Comment out the animation that's coming from MOG plugin and then put offsets in your battle animations in database so that the VisuStella animation aligns with the faces (make different animations for enemies) LOL.

Then go to console and check VisuStella code for Sprite_Actor.prototype.damageOffsetX or Sprite_Battler.prototype.damageOffsetX
I haven't tested but try and modify that so that you add to the value that gets returned based on the index of the actor. (Also maybe comment out damage popup stuff from MOG plugin.)

That's an interesting solution, very Macguyvering, lol. The problem is that it would not only mostly double the animations in the database but you'd also need to set every spell to play different animations if enemy / actor. Maybe then every skill/spell would necessarily have a custom action sequence and a event just to check which animation to play based on target/user.

I dunno, that seems like a lot of work, thanks for the suggestion though. I think we might indeed have to go this route.

The easiest way would have been to find a way to just comment out / override whatever code BattleCore used to process animation requests.
Yeah, I've no motivation at the moment trying to check and see if I could find it in the obfuscated code.

But anyway, maybe you can also modify the code where it checks for animation offset or change the database offset on the fly depending if the target is enemy or actor.

Also, can't you remove the animations and do them through action sequences (you can give position with JS code with VS commands)?

Original thread: https://forums.rpgmakerweb.com/threads/battle-animations-playing-twice-with-mogs-battle-hud.181732/