End Phase Triggers

Ok, so... more issues.


I have, early in the game, a "demo fight" where one of the characters shows you how to battle by using a forced action to kill a monster.  However, with this script added, after killing that monster, the battle doesn't end and just keeps going forever.


I tried changing "process_forced_action" at line 119 to "process_forced_action unless BattleManager.process_win_loss" and that fixes the "demo fight going on forever" issue, but then the $game.troop_all.dead? trigger also stops working completely.


Any suggestions?

Original thread: https://forums.rpgmakerweb.com/threads/end-phase-triggers.5154/