Yanfly Row FOrmation Question

I'm trying to create a combat system using some of the Yanfly's plugin:


YEP.38 – Battle System – Charge Turn Battle http://yanfly.moe/2015/12/05/yep-38-battle-system-charge-turn-battle/


YEP.54 – Row Formation http://yanfly.moe/2016/01/02/yep-54-row-formation/


YEP.15 – Base Troop Events http://yanfly.moe/2015/10/18/yep-15-base-troop-events/


(and all the necessary requirement, of course)


My problem is how update the enemy row during battle.


For now i have create a base battle event -> Condition End Turn, Span Turn


script event: $gameTroop.updateRows()


Simple and working. But NOT in the first turn of the enemy.


I explain: my characters kill the first row enemy. On the second row is present a enemy that can only attack IF is in the first row.


When is the turn of this enemy, it pass.


When is the turn of this enemy AGAIN, it attack.


So, i'm doing it wrong in some way that i don't know.


I was thinking that this condition and span will check for the event at the end of every single battler. Is not the way it work?


I even used YEP.102 – Auto Switches – RPG Maker MV http://yanfly.moe/2016/05/20/yep-102-auto-switches-rpg-maker-mv/ 


to use the "In Battle" switch to change the Condition of the battle event. But nothing change.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-row-formation-question.62227/