How to start a new battle in middle of the current battle?

Hi all!


Please help me undertand one little thing:


I want to start a new battle after a certain enemy (1) dies, even if another enemies still live.



I have a battle event:


condition: when Enemy HP (1) <=1%  


text: check


event: Battle Processing: troop 2


When enemy dies, i saw text, but new battle doesn't start. What i do wrong?


(I use plugin EndPhaseTriggers by Hime)

example.png
Try this


BattleManager.setup(X, true/false, true/false);


SceneManager.goto(Scene_Battle);


X for troop id


First true/false is for allowing to Escape, 2nd true/false is for allowing the player to los

Original thread: https://forums.rpgmakerweb.com/threads/how-to-start-a-new-battle-in-middle-of-the-current-battle.60138/