Fighting against a party member

Long story short, I'm trying to set up an event where you can fight one of your party members.


My goal: set it up so that you fight the party member exactly as they are at the moment; all equipment, spells, etc. My knowledge of Ruby is near non-existent, so i'd rather avoid scripting. The two main characters are essentially sharing a body, so I want a fight where you choose who is in control for the next scene.


Tried doing it using variables, setting a variable to actors member id, then calling battle based on that variable, but it just makes me fight slimes.


Is this even possible, or am I going to have to go to scripting?


Thank you in advance.


*Not on my computer, as soon as I can i'll link screenshots of what I did.
There is a script that will do this already, and it's probably the only way you'll get it done if you want them to have all the actor's current settings.  I don't know what it's called, but you can search the Master Script List for it, or do a search in the RGSS3 Scripts forum.
You have to add the character to both the enemies and troops tabs, and when you call a battle processing scene, do something like


Conditional Branch: $game_party.members[0] = $game_actors[x] 


Battle Processing [enemy name]


Else


Battle Processing [enemy 2 name]


Branch End


X is the actor ID in the database. 
Yanfly has a script that does this (and more) as an add-on to Enemy Levels.


Doppelganger Might be a little hard to find due to the name... Probably what @Shaz was talking about.

Original thread: https://forums.rpgmakerweb.com/threads/fighting-against-a-party-member.67360/