//Created by Esreyr Fears //on February 2nd, 2006 //Change the PC back their original Race & Head & Wings & Tail #include "alt_shape_inc" void main() { //Get the PC & widget to store the information on object oPC = GetPCSpeaker(); object oAltshapeWidget = GetItemPossessedBy(oPC, "alt_shape_conv"); if (oAltshapeWidget == OBJECT_INVALID) return; //Set the appropriate 'Change-to' variable SetLocalInt(oAltshapeWidget, "change_face", GetLocalInt(oAltshapeWidget, "slot1_face" ) ); SetLocalInt(oAltshapeWidget, "change_shape", GetLocalInt(oAltshapeWidget, "slot1_shape" ) ); SetLocalInt(oAltshapeWidget, "change_pheno", GetLocalInt(oAltshapeWidget, "slot1_pheno" ) ); SetLocalInt(oAltshapeWidget, "change_tail", GetLocalInt(oAltshapeWidget, "slot1_tail" ) ); SetLocalInt(oAltshapeWidget, "change_wing", GetLocalInt(oAltshapeWidget, "slot1_wing" ) ); //Change the PC's Race appearance makeChanges(oPC, oAltshapeWidget); }