Help with enemy summoning?

Hi! As the title suggests, I'm trying to implement a system where one of the boss's attacks is to call in another enemy as "reinforcement." I know what I want to do will require scripts to some degree. I haven't been able to find any good scripts that would accomplish what my goal is (at least ones that would work with MV). The way I want it to work is when the enemy uses the skill that summons in another enemy, they stay while the base enemy disappears from battle. Not killed or anything as once the new enemy dies, they'd come back to finish the fight. I have it set up in engine without scripts to get it so the boss can summon in the enemy using the skill and they appear. The part I'm having trouble with is getting the boss to disappear while the other enemy is on screen.

I tried to transform the boss into the new enemy. My idea was to log the boss's HP in a variable for what they were at when they switched and then to switch them back, using the variable for the HP, once the new enemy died. However, every time I tried, it just exited the battle. I also want to ask if there's a way for me to disable the skill once used. I want it to be a one-time thing as the enemy they summon is more of a henchman-type deal, rather than a typical enemy you'd see in regular battle. If there's no way for this to be done, that's okay. I can work it to obviously not rely on that but I wanted to check as this would be the ideal way for this to work in my eyes.

Either way, thanks for reading! 🙂
Sounds completely possible in engine tbh. Put a switch on the skill, turn switch on in turn 0 of that troop, put common event on the skill that turns off switch after usage.

The summoning sounds like the default "Enemy appear midway" so just do that. You can try making the henchmen immune to knockout, that will prevent the battle from ending. Put an if condition in your troop event that brings back the boss, then kill the henchmen whenever one or both henchmen are at 1 or 0 hp.

As for getting rid of the boss enemy, just kill it via the common event and revive it with the troop page that has the if henchmen hp= 0 condition.

Not sure about preserving the HP of boss enemy, but this should work unless I'm horribly mistaken.
No scripts needed... first make the enemy hidden in the troop event by choosing "appear halfway "

Then make a new event page in that troop that runs when hp is low or whenever you want to summon it. In this page make the enemy appear (there is an event command for that.
I’m still learning a lot about what RPG Maker can do, so thank you for explaining this as it will for sure help! I’m always happy to find ways to pull things off in the engine without scripts (although that’s not always the case obviously). I didn’t realize that summoning the enemy instead of transforming and then just killing off the boss until they’re needed again would work. Either way, I will definitely be testing this out! Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-enemy-summoning.152767/