Victor's ATB Battle engine

I'm using Victor's ATB Battle system, and I've encountered a problem, where in a battle I've evented someone to join mid-battle, say some dialogue, a conditional branch to detect whether or not an environment was changed, and a remove immortality state of the enemy. Now, I've tested it a few times, and I thought that the dialogue was the main problem, but only when coupled with everything else. But then I moved the dialogue to another event page that adds some enemies, and it didn't happen. So then, I created an item that damages the enemy just enough to procc both event pages at once, and my new conclusion is that it takes too long to process, and disrupts the way the battle system computes time or something.

Is there a way to fix it so, the battle system doesn't break down every time I use a semi-complicated event page?
event 1.PNG event 2.PNG battlle.PNG
what do you have on page 1?
Woops, my bad. Here it is:
page1.PNG
bump
Hi! I know it's a year later, but I get to the same problem. Battle Events based on turn not working, but changing to to enemy hp percentage should, at least with full wait.
Hi @hornoktibor - I'll approve your post and leave this thread open since the question hasn't been solved, but in the future, please don't bump help threads that are more than (about) 30 days old. Post a new help topic with your question instead, and link back to the old one if it provides important information.

Original thread: https://forums.rpgmakerweb.com/threads/victors-atb-battle-engine.112688/