Help! - keeping track of party members

It's been a while since I last posted (mainly because I was only using trial version of rpg maker and only now have a maker that has events) and after about half an hour of searching I couldn't figure out how to:

1- have more than 4 members in the party (perferably a la pokemon as the game is going to be more pokemon mystery dungoun than standard rpg)

2- keep track of members that are unlocked but not in party (again possibly a la pokemon)

Before you try to tell me this would be too big for a new rpg maker: (warning wall of text in spoiler - but it's needed to proove I know what I'm doing)

Spoiler
there are 500 variables in rpgmaker and 99 events per page: if I (somehow - I need at LEAST 1 to be a entrance/exit probably at least 2) use all of them then I could have 1 variable per pokemon for current hp, 1 vaiable per pokemon for current mp [i am changing the system from 4 moves with pp for that move to a shared mp pool with mp cost per move but nearly unlimited moves to help with ease] How to determin hp? Variable number Event*2-1 (event 1*2-1 get's me enemy #1's hp) How to determine mp? Variable number Event*2 ... so if I have a max of 99 events I would need a max of 198 variables for enimies OUT OF 500 WHICH I WILL BE USING FOR ALMOST NOTHING ELSE (maybe 1 for time of day, badges MAYBE?, you get the idea ) - The problem I think I would have to this regard is re-balancing the pokemon for a game designed to -let's face it- be against other people and balance it against a cpu. In other words If I go through with this and pokemon theme I'll end up having to make sure that almost all the pokemon end up about equal power wise so they could be equally 'main' characters no matter who you happen to have without being so overpowering that it doesn't matter who you pick. (let's face it - name 3 bug type pokemon you can use in terniments effectively that does not have a mega stone for it: now name 3 psychic type fully evolved pokemon you CAN'T use in turniments effectively both questions might take a look through the bulbapedia...)

Yes - I am a math/science programer I can handle what effectively ends up as an array of stats
Do you want more than 4 in battle, or just in the party? If you mean in the party, that was always doable, just keep adding them. The extras are in reserve until you add them with the formation command.

If you mean in battle, that requires a script. You may want to look up Yanfly's script, but to do what you want you will want to look up Yanfly Party Manager, in there you can change a variable to make it so that you have more than 4 in battle.

For those unlocked and not in party, not sure what you mean. Maybe you are using party for what we call those that participate in battle?

Original thread: https://forums.rpgmakerweb.com/threads/help-keeping-track-of-party-members.37798/