MV Yanfly's Action Sequence & Row Formation

This is for MV.

I'm trying to figure out if there's a way to move an enemy battler within an action sequence?

I can't find anything. Most of what's in the Row Formation plugin are skill, item, actor, enemy note tags. I'm needing the code to add right within an action sequence's <target> etc. Basically, I have an ability with an IF statement...

If the target is affected by a state... move forward 1 row (this is what I can't find). Else... they use a ranged ability.

Thanks to anyone that can help with this. 🙂
Probably something like this:
JavaScript:
eval: if (target.isStateAffected(n)) {target.setRow(target.row() + 1)}
Where "n" is the state ID.

As for acquiring the target; I don't remember if it's "target" or "b" or if either would work at all - Yanfly doesn't usually mention these things in the documentation.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-action-sequence-row-formation.149545/