MV How Can I make enemy waves attack?

Hi, I downloaded plugin from this page

https://himeworks.com/2020/08/custom-page-conditions-mv/

Now I want to make enemy wave in same battle

sample is

wave 1 - You will fight some bat when you defeat all bat you will go to wave 2 (next event page) but you still in this battle not finish fight

wave 2 - You will fight some slime when you defeat all slime you will go to wave 3 (Boss)

wave 3 - You will fight boss and finished battle

But my problem is when plugin activated once, It will be stop run and finished battle on phase 2 not going in phase 3

Please anyone have some idea or tips let me know

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-enemy-waves-attack.133015/