What to Modify in Party Change Script (Party Reserve > 10)

I found this useful script for allowing the player to customize their party by keeping a list of party members in "reserve" and allowing them to switch out party members as needed. The problem is, I'd like to make a game with more than ten possible party members, and I'm having some difficulty assessing what in this script I need to change in order to make that happen.

Near as I can tell, this is the line that controls how many party members can go in reserve: (it's Line 86 under "Scene Switch")
@reserve_window = Window_SwitchReserve.new(10)

I can change the number in parenthesis just fine, but when I test out the party switch screen, all party members past the first ten are offscreen, entirely invisible to the player.

I've tried tinkering with these numbers (Lines 51-53 under "Window_SwitchReserve") but that doesn't appear to do much of anything (at least, not anything useful.)
# 2 columns, 5 rows @column_max = 2 @row_max = 5

Likewise, I've tried tinkering with these numbers (Lines 22-25, also under "Window_SwitchReserve") but that does even less:
def initialize(max_size) # initialize the window and its contents super(256, 128, 384, 352) self.contents = Bitmap.new(width - 32, height - 32)

I'm at a loss for what to do. I'm sorry, I'm very new to RGSS, otherwise I'd figure this out on my own. Ideally I'd make the party member select screen scroll down to make additional party members visible, but looking at this script I'm not sure whether that's even possible. Instead, I've been trying to squeeze more columns and rows into the reserve window grid so that more party members can fit, but I haven't had any luck doing that either. Any help would be appreciated.
If changing both of the first two things you had discovered (e.g. to a max of 20 entries and 4 columns, retaining 5 rows) doesn't do the job though more should not be necessary, the script may be crap.

Looking at the date of its original creation, RPGXP wasn't even out for three months when the script was made and almost everyone who tried Ruby-coding back then just started learning.

~炬燵あ
If changing both of the first two things you had discovered (e.g. to a max of 20 entries and 4 columns, retaining 5 rows) doesn't do the job though more should not be necessary, the script may be crap.

Looking at the date of its original creation, RPGXP wasn't even out for three months when the script was made and almost everyone who tried Ruby-coding back then just started learning.

~炬燵あ

Ah, crumbs, alright. I was afraid of that.

The script still does what it's supposed to, so I'm not gonna throw it out wholesale just yet, at least until I find/make something better. It's so frustrating that the script works, it just doesn't have a way to scroll the menu up.

I guess now my plan is to keep using this script until I get good enough with RGSS to make my own that does the same thing. Thanks for the tip.

Original thread: https://forums.rpgmakerweb.com/threads/what-to-modify-in-party-change-script-party-reserve-10.156738/