Poison damage at start of Action instead of turn? Similar to Slay the Spire (STS)

I'm using Visustella Plugins inclunding using Grid Battle and Press Turn System and I can't for the life of me figure out how to make enemies take damage at the start of their action / turn. Similar to how more modern RPGs like Expedition 33, Slay the Spire, etc etc go.

I can get poison at the start of party turns, but I can't do it at the start of their action.

edit: searched alot and figured it out myself, so feel free to close this topic. This is what I ended up going with, so enemy takes poison damage at start of turn with animation and if they die they collapse getting rid of themselves.
Only issue I've run across is that if there is two poisoned enemies both who will die this action from poison, the first one dies like normal. the second one will perform an action, then die.

<JS Post-Start Action>
var damage = Math.ceil((user.atk + user.mat) * 0.5)
$gameTemp.requestAnimation([target], 59);
a.gainHp(-damage);
a.startDamagePopup();
if (a.isDead()){a.performCollapse();}
a.clearResult();
</JS Post-Start Action>

Original thread: https://forums.rpgmakerweb.com/threads/poison-damage-at-start-of-action-instead-of-turn-similar-to-slay-the-spire-sts.177333/