Ok it is still in working stages but heres what i have so far...
Name : Actor 1 Switch Trigger : None
@>conditional Branch : Variable [0001: Actor 1 P/Actor 2 ==1
@>Change Party Member: Add [Actor 2] Initialize
@>Contol Variables:[0002: Actor 1 P/Actor 2 -=1
@>
: Else
@>
: Branch End
@>Conditional Branch [Actor 4] Is In The Party
@>Control Variables: [0003: Actor 3 P/Actor 4 +=1
@>Change Party Member: Remove [Actor 4]
@>
: Else
@>
: Branch End
@>Conditional Branch: [Potion] In Invintory
@>Control Variables:[0004: Actor 3 Potions]+=[Potion]In Invintory
@>
: Else
@>
: Branch End
@> Change Party Member: Add [Actor 1]
@> Change Party Member: Remove [Actor 3]
As You Might Of Guessed You Need A Variable For Every Item And Actor Used.
Also If You Wish To Reverse The Prosess I Will Currently Be Typing Up The Other Halve.