Instant Turn in battle

I saw this script for MV

https://forums.rpgmakerweb.com/index.php?threads/instant-turn-battle.58464/

And I'm wondering if there's something like this in vxace, I know there's Free Turn Battle by yanfly but it requires Ace battle engine and I want something simpler.

I just want that in Agi order the actor with the highest Agi takes the turn, then the next actor with the highest Agi and so on, and if there's a tie in Agi between the actors you choose and if the tie is with an enemy, the actor goes first and then the enemy.

Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/instant-turn-in-battle.171173/