<Custom Apply Effect>
//Gives the party the items to equip
user._bodyArmorToSwapTo = $dataArmors[20];
user._headArmorToSwapTo = $dataArmors[34];
$gameParty.gainItem(user._bodyArmorToSwapTo, 1);
$gameParty.gainItem(user._headArmorToSwapTo, 1);
//Gets the user's starting body armor
user._startingClothes = user._equips[3]._itemId;
user._startingHelm = user._equips[2]._itemId;
//Changes the user's body and head armor to the new armor, in this case 20 for the body and 34 for the helm
user.changeEquip(3,$dataArmors[20]);
user.changeEquip(2,$dataArmors[34]);
</Custom Apply Effect>
<Custom Victory Effect>
user.changeEquip(3,$dataArmors[user._startingClothes]);
user.changeEquip(2,$dataArmors[user._startingHelm]);
$gameParty.loseItem(user._bodyArmorToSwapTo, 1);
$gameParty.loseItem(user._headArmorToSwapTo, 1);
user.removeState(stateId);
</Custom Victory Effect>
<Custom Leave Effect>
user.changeEquip(3,$dataArmors[user._startingClothes]);
user.changeEquip(2,$dataArmors[user._startingHelm]);
$gameParty.loseItem(user._bodyArmorToSwapTo, 1);
$gameParty.loseItem(user._headArmorToSwapTo, 1);
</Custom Leave Effect>
<Custom Escape Effect>
user.changeEquip(3,$dataArmors[user._startingClothes]);
user.changeEquip(2,$dataArmors[user._startingHelm]);
$gameParty.loseItem(user._bodyArmorToSwapTo, 1);
$gameParty.loseItem(user._headArmorToSwapTo, 1);
</Custom Escape Effect>