Changing max battler number mid-game?

Hi all,

I have a combat system set up that allows for X max party members to exist, and Y max battlers on the field.

I want to be able to give my player additional party members AND additional battlers as he/she gets more powerful.

So like early game you can have 2 party members, but only 1 fights at a time.

Then you learn to get 3 party members, and 2 can fight. etc.

Eventually I want to go to like 7 party members, and 4 battlers.

I already have the command to change max party members as the game progresses figured out, but does anyone know how to change the max battler number as the game progresses?

Thanks,
Murg
That depends on how you are doing all of this:

I have a combat system set up that allows for X max party members to exist, and Y max battlers on the field

I already have the command to change max party members as the game progresses figured out,

Show us what you've already got set up
To change the max battle party members (and only that) you can use this script :
Code:
Game_Party.prototype.maxBattleMembers = function() {
  return $gameVariables.value(X);
};
(replace with the id of the variable you want tu use)
However, be aware that if your battle interface can't handle more than 4 battlers it will get messy from 5 battlers. In that case, I'd advise you to rather look for some plugin that help managing the battling party size.

Original thread: https://forums.rpgmakerweb.com/threads/changing-max-battler-number-mid-game.106222/