Tag Team Duo Battle System? Not sure how to make it work...

I'd like to have a system where two characters act as one unit in battle, with individual HP and MP but only one is active at a time though both appear together on the battle screen.

The leader stands in front and is the target of enemy attacks, basically how an actor in battle would normally function. The backup stands behind and has no direct effect on the battle for the moment, but the leader's skill menu includes the backup's skills, and selecting one of those has the backup use that skill and become the new leader. The backup will also become the new leader if the previous leader goes to 0 HP.

Whenever a tag-in occurs (other than for when the leader is KO), it builds up a special meter for the character switching in (likely handled through a variable), which can be expended on super moves where both characters participate. However if both characters fill their special meter, they can temporarily fuse into a powerful single character that has their combined current HP. I could imagine handling the transformation through some summon events and using variables to set the HP.

There are only two characters/actors (aside from the fusion), and I don't have to take stats into account since all attacks do fixed amounts of damage depending on states. I'm thinking of just using variables rather than the HP or MP stats for the actors. The main issues here are the leader/backup formation, switching, and "dual tech" skills.

Any advice for plugins, action sequences, etc would be greatly appreciated!

Original thread: https://forums.rpgmakerweb.com/threads/tag-team-duo-battle-system-not-sure-how-to-make-it-work.136226/