Reappearing Enemies

I'm trying to wrap my head around this, so bear with me.

Ok, so I have a Black Knight the characters will be fighting. The witch is in the background. Now at about 75% of his health being whittled down, the witch decides to summon a purple bat. During this round of fighting this bat will be resurrected to help with buffing the Knight and fighting the characters.
Then at 50% of his health, the witch changes tactics and starts summoning different colored Bats. All in all I have 4 Different Bats that can be summoned, but I want to only have one bat on the screen at a time. Every time a bat gets defeated, a new one will eventually replace it.

So, I'm assuming that a Dead (knocked out) enemy isn't the same as an enemy who hasn't appeared yet. That being said, I realize that I will have to use Variables and Switches but I think I need to think about how to implement this.
Not sure what the question is...

Just link the summon skill to a random 1-4 variable that decides which bat to spawn.
basically you need one troop event for each possible bat, and if that bat is killed then the troop event sets an invisible state on the witch.
the witch has an action pattern that only allows the summoning skill to be used if that state is there (so it can't be triggered unless the previous bat was killed).

you migth have to use different states for different summonings or have events check what should be summoned as well - that depends on the details of what exactly you want to have when. And in its more complex variants you'll need switches or variables - but the basic sequence can be done with the state for controlling the action pattern and a common event for the summoning skill deciding what to summon.
"death" only kicks in when the HP of the enemy is below 1, so you might want to tune it so that any attack would cause more than 3 damage, to account for the case where the bats might be left at 2 HP, and watch for that 2 HP to trigger the fake death.

pair that with a state that would prevent actual death, and you get a cycling effect: lower to less than 2, fade out, heal, respawn, take damage, repeat.
I thought I had the sequence right, but apparently I goofed somewhere. Needless to say, but it seems as if I have more than one bat appearing. I'll keep trying. I think I can make it simplistic.
if you want better help, we need to see what you've done. That means screenshots of the troop events, action patterns and common events used.
Well, I'll send some screens if I Don't get it right next time around. I'm going to gut part of the code and redo it. I'll get this eventually.

Looks like I finally figured it out. It took forever though. Next, I need to add in some skills and such for the bats to do, but that shouldn't be very hard. Also, I'll put in some random insults for the witch to spout.

Original thread: https://forums.rpgmakerweb.com/threads/reappearing-enemies.108650/