Switching main character mid game

Hi there! Does anyone know of a way to have two main characters, pick one at the beginning, and be able to switch back and forth between the two at any point in the game? I'm working on a game where you play as two characters, and the interactions between the player and the game depend on the character you currently are. Is there a way to do this?

Thanks!
You can either set up a single actor, and use the Change Actor Name, Change Actor Class, Change Actor Sprite commands to switch between them, or you can set up two actors, and use the Change Party Members to add one and remove the other each time you need to. If they are going to be in different locations, you'll also need a Transfer Player command in there when you switch between them.

Original thread: https://forums.rpgmakerweb.com/threads/switching-main-character-mid-game.49258/