Enemy Action Patterns with a State condition not working properly.

Looking at the script, I can't determine which part should be moved because as Andar said, the turn concept was completely redefined...

In my eyes, everything looks fine, and it seems that it sets the action just right before the battler "acts"... so it might be that the game's event processing simply don't catch the redefined turn mechanic of the script...
I'm moving this to Script Support, since the issue seems to be particularly related to the way a custom script has changed the default behaviour.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-action-patterns-with-a-state-condition-not-working-properly.18177/