Yanfly Animated SideView Enemies - Modification

In this script you can add a notetag in the enemy notebox to enable or disable breathing.
<Breathing>
<No Breathing>

What I would like to do is be able to add a notetag to the state notebox to override the one in the enemy notebox while it is active. Once the state is no longer active, the effect would cease as well, reverting to whatever is in the enemy notebox.

This is needed for various states such as frozen/petrified, in which the battlers should not be breathing, as well as states such as levitate, which would add in the <Floating> effect.

This could likely be done with a snippet. I am willing to pay for this to be done. Thanks!

Yanfly Animated SideView Enemies

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-animated-sideview-enemies-modification.95662/