Temporary party members?

Hi everybody,

I took some inspiration from a freeware RPG Maker game called SlimeQuest for my game, and I'm wondering if I can remove certain party members after a battle (the party members are summoned with a skill). Can I do this in the normal engine, or do I need plugins?

Thanks,
AAAAAAAAA_Man

Edit: thanks for the help everybody! also i'm new here so i didnt know double-posting was frowned upon.
i am truly sorry for every person who's good at rpg maker answering my dumb inquries
Returning to the map, a common event (parallel process) can check to see if there is a certain party member; and then remove them. If there are only a handful of "temp" actors then you can use the basic Conditional Branch options.
If actor4 is in party...remove actor4.
If actor5 is in party...remove actor5

Otherwise, you could use a Conditional Branch Script that check the party for actors with a certain tag. Like <temp> or something in the actor's notebox.

$gameParty._actors.some((id) =>$gameActors._data[id].meta.temp)
Which should evaluate true or false, if some actor in the party has a <temp> tag.

Edit: no wait, that's dumb. That wouldn't specify who need to go, just that someone would have to go.
With states, you could just give every temporary member a state (Like a common event at the start of your game), make a common event that removes all party members with that state. Easily customizable however you want too.

Also, double posting is frowned upon here, use the edit button.
You probably have to write a plugin, like SGHarlekin said some sort of variable like a flag can be used, and then clear that variable after the battle.

Original thread: https://forums.rpgmakerweb.com/threads/temporary-party-members.150811/