ARC Engine switching actors

Hi,
I'm making a game with the ARC engine for RPG Maker VX Ace.

I'm trying to make a system similar to Donkey Kong 64 and Super Mario 64 DS in where you can switch characters with their own abilities.

I keep getting the error " Line 57: no method error
Undefined method 'size' for nil:NilClass"

Can anyone help me out
Moved to: RGSSx Script Support
Please edit your post to include a link to the web page where you got the script. That way, if people need to check anything before giving advice, they don't have to go hunting for it.

One common reason for getting a no method error is putting in a script and then opening the game with an existing save file. When you put in a new script, you almost always have to start from New Game again. Is that what you did?

Original thread: https://forums.rpgmakerweb.com/threads/arc-engine-switching-actors.108841/