Getting to only 4 Party members

So, I watched this video to help me understand how to invite party members to your team.

www.youtube.com/watch?v=lxRisuHgPpQ&list=PLcS6QL7fKwyas7voxuz6o9yM_EWwhK8eP&index=10

And I have one question.

I'm trying to make it where you can only have 4 members (Including you) in your party.
help.png


The problem I'm having is that I'm not sure what to put in. And when I talk to the other character that's Recruitable,
it adds in a 5th Party member.

help1.png


I'm looking for... something to help tell the game that there's only supposed to be 4 Members (Including you) in your party.
I'm not sure what that would look like on the Event page.
Doesn't the control variables -> game data -> other -> party give you the party size?
Then you can put it in a conditional that if that variable is less than 4, you can add another member.
Doesn't the control variables -> game data -> other -> party give you the party size?
Then you can put it in a conditional that if that variable is less than 4, you can add another member.
Either that, or you can also just do it manually.


What you do is adding +1 to a variable whenever someone joins the party. Then you start every recruitable npc interaction with a conditional branch kinda like so:
1735556969248.png

If you want the player to be able to reassemble, you just remove all party member and reset that variable to 1.

Original thread: https://forums.rpgmakerweb.com/threads/getting-to-only-4-party-members.174291/