Implementing a multi-stage battle; how to stop battles from ending immediately.

Hey, everyone!

I was looking to see if anyone has found a way to implement a multi-stage troop battle where multiple enemies can be fought/killed and then the next stage of a battle can commence after some dialog.

I am using MV.

I have found a way to make the stages move on in single enemy battles, but as soon as I add in more enemies, it just won't work out. I am trying to rig a system using the 'Immortal' state, and adding/removing it based on if they are at 0HP.

It is based on this thread that I found: https://forums.rpgmakerweb.com/inde...o-stop-battle-from-immediately-ending.136271/

It mentions a plugin that can do this type of thing, but I am not sure what kind of plugin to look for. I found an SRD plugin and a HIME plugin, but neither do exactly what it is. There's probably one out there, but if anyone knows how to make the 'immortal' state work, or knows of a plugin, please let me know. I've been trying (unsuccessfully) for days.

Thanks in advance!
it can be done with an immortal state, no matter how many enemies you have.
if it didn't work for you, then you made mistakes with the required troop events for handling the immortal state.

please post screenshots of what you had done and we can tell you where you went wrong.
Yea, I looked around for some form of a tutorial to follow, but I was unable to locate one. Here are the screenshots for what I was able to come up with, that semi-worked.


Screenshot 2023-12-11 062116.png
Screenshot 2023-12-11 062305.png
Screenshot 2023-12-11 062345.png
This should be in MV Support - the rules post for the Game Mechanics forum says it's not for how to implement something in your game.

Your troop events look weird. What is "GobboFight_P1"?
1702305360731.png

What's the point of this? You're giving the enemy a state, then immediately asking whether it has that state - how could that ever be no?

Then what's the point of storing the enemy HP into a variable and then making that variable be -10000? You don't use it for anything else, and that seems like a weird number.

The trigger for your troop event should be the enemy has no HP.

1702305440821.png


Then you pop up the dialogue, and when it's done you remove immortal to let it die.
Your main problem is that you tried to do everything in one troop event.
you'll need one troop event to run on turn 0 to give the immortal state to all enemies.
then as said above one event for each enemy conditioned on HP=0

The HP = 0 events would count up how many enemies are dead and if all are dead trigger the next phase before removing the imortal state from the last enemy.
I am using an invisible, untargetable "Arena Dummy" enemy for my battle arena sequence. You defeat the normal enemies, the Arena Dummy remains, the game checks if the Dummy is the only enemy standing, if yes, it spins the handicap wheel and summons another bunch of enemies.
I am using an invisible, untargetable "Arena Dummy" enemy for my battle arena sequence.
That sounds like it could work - how are you making your dummy untargetable?

If you're using a plugin for that, it seems like it would be easier to either use the immortal state method described above, or Hime's End Phase Triggers so you don't need any kind of workaround for the troop events to execute.
That sounds like it could work - how are you making your dummy untargetable?

If you're using a plugin for that, it seems like it would be easier to either use the immortal state method described above, or Hime's End Phase Triggers so you don't need any kind of workaround for the troop events to execute.
Yes, I use a plugin for the dummy to be untargetable. I find this method to be better because there's proper pacing: all enemies of the previous batch die normally before the next batch emerges on the same battlefield.
That's cool. Just for the reference of anyone else going through the thread,

I find this method to be better because there's proper pacing: all enemies of the previous batch die normally before the next batch emerges on the same battlefield.
The same would be true of using the End Phase Triggers.
That's cool. Just for the reference of anyone else going through the thread,


The same would be true of using the End Phase Triggers.
You see, I already have a different need for the untargetables plugin, namely for creating the Eject state. So I prefer to use the plugin I already have rather than installing an entirely new one and playing the incompatibilities gamble again.

Original thread: https://forums.rpgmakerweb.com/threads/implementing-a-multi-stage-battle-how-to-stop-battles-from-ending-immediately.163762/