MV Graphic that follows SV Sprite

Basically what I want is to have small graphics above a battler's sprite that appear and disappear based on State and State Counters. Unfortunately, this is proving quite the challenge.

Initially I thought this could be accomplished through a parallel common event but learned that those do not work in battle. I tried using Base Troop Events and show picture commands, however I end up with two issue: one is that the game ends up stuck and that I can only set the picture to appear based on battler's home position, meaning the graphics won't follow the battler as they move.

Another option was using Yanfly's Visual State Effects, but the issue with that one is that it can only display one graphic at a time, and I need at least three to be shown at the same time for my purposes.

Does anyone have any ideas or clues how this might be accomplished?
A plugin that lets you run parallel common events in battle:


You can also check the code how they add sprites on the battlers and imitate that to add your own.
Wasn't exactly able to find what I wanted in a plugin, however examining the code of some plugins, it looked like the best way to do this was to use child sprites that get attached to the main battler sprite. Though my JS knowledge is lacking to code a plugin like that, with help from some AI prompts I managed to work out a script that does exactly what I wanted.

Original thread: https://forums.rpgmakerweb.com/threads/graphic-that-follows-sv-sprite.183033/