Script Snippet Request - Enemy Battler Breathing + Float

Good Morning / Day / Afternoon / Evening everyone.

I have tried to use Moghunter's battler motion script, unfortunately, it seems to always freeze my game whenever i use it

Is there a way to program a simple Breath or Float effect for my enemy battlers?
Soulpour777 has a breath effect script and an animated battlers script that does float and breath.
http://rmrk.net/index.php?topic=49245.0
Thank you for this, it will make the battles in my Game a bit more visually appealing. Already have some cool phantasy star like frontal visual battlers plus a rocking battle music, this will add a lot of visual hmph to my battles.
Not meaning to revive this thread! But the link it broken, and I was also curious if there was a script like this for RPG Maker VX Ace!? Mog’s is great! Just incompatible with side view battlers it seems - was just curious if there might an alternative way to get breathing and float effects?
There is a version here:

OMG! This is PERFECT! OH! IT actually works too. Thank you so much!

But um, is Anyone familiar enough with Ruby that could make a suggestion to a small edit? This seems to be working great, cept I think the orientation of the Breath effect is causing an issue where the enemies actually look like their floating.

I'm using TheoAllen's battlers, so here is a reference with the shadows turned on to show that the battlers seem to be shifted 'up' from where they are placed on the field:
ezgif-7-93286d3976bf.gif


Without the breath effect they sit a few pixels down where the shadows are. This can be fiddled with by changing the location and making the enemies sit further down and turning off shadows - but the problem is some enemies that are bigger have a wider gap and thus float higher.

I double checked to make sure 'floating' wasn't enabled, it's strictly the breathing effect for this graphic.

I think it's something to do with the Breath Effects point of origin, and I wasn't sure if that was something that could be adjusted?

If not it's ok! Just trying to make it work with the battle system I'm using. But HEY! No crashes!
Someone made a "fix" here, but I am not sure what it does:
Someone made a "fix" here, but I am not sure what it does:
Thank you for the response BCj - I’m going to keep playing with it - Looks like that might be the same script, Euphoria is the one who edited the original posted.

also seems to be ‘float’ values. Which is good to have too for sure.

Original thread: https://forums.rpgmakerweb.com/threads/script-snippet-request-enemy-battler-breathing-float.103862/