Summon via Eventing help

Well I'm half-way there. For some reason, I can't seem to get the battle events to read multiple conditional branches within themselves. It's defeating the event where if all enemies have 'knock-out,' it will remove the summon from battle and return your actors. If I only have a 2 enemy battle screen, I can have 2 separate event pages that check each enemies HP individually through the event trigger and then 1 conditional branch that checks the condition of the other monster before completing the end-battle common event, replacing the summon with your memorized party.


But then this method only works with 2 enemy battles which we know would be extremely limiting.


I can post what I have if you want and maybe you can debug this and get it working. I'm stumped though.


Your Spell Should do:


Simple make a spell that has no target and activates the Summon Party Replacer common event. Use whatever animation you like, I suggest something that blanks out the screen for a moment so that it doesn't look funny with your character swaps. If you are using Yanfly's ATB battle system, you will definitely want to do this because of the face swap glitch.


Common Event: Summon Party Replacer


<>If: Player 1 is in party (DO this for each party member in-game)


----<>Control Variables: #??? Player 1 HP = HP of Player 1


----<>Control Variables: #??? Player 1 MP = MP of Player 1


----<>Control Switches: #??? Player 1 is in Party


----<>


   : Else


----<>


----END


<>Control Variables: #??? Summon Level = Level of Summoner


<>Control Variables: #??? Summon Level -= 1


<>Change Party Members: Remove ALL


<>Change Level: Summon, + (Level of Summoner)


<>Recover All: Summon


<>Change Party Members: Add Summon


<>Control Switch: #??? Summon Active = ON


Your Battle End common event should look like:


<>Change Party Member: Remove Summon


<>If: Player 1 is in Party is ON (DO this for each party member in-game)


----<>Change Party Members: Add Player 1


----<>Change HP: Player 1, + {Player 1 HP}


----<>Change MP: Player 1, + {Player 1 MP}


These 2 common events do work correctly. It's the enemy HP check that I am having an issue with. The 2 enemy method allows the event to work before end-battle exp processing, therefore your actual party will gain the experience instead of the summon. If you don't mind your summon claiming the experience, you could, instead of having the game automatically track your summons level with the level of your summoner, have your summon claim the battle experience and gain its own levels separately.


I am using Yanfly's ATB battle system in tandem with this ability. For compatibility's sake, I would need the edited version of this to work with this battle system. I am not opposed to working with a scripted version as this skill would likely need an event page in every single enemy team.

Original thread: https://forums.rpgmakerweb.com/threads/summon-via-eventing-help.56748/