/*--------------------------------------------------------

Script Name: gc_haircolr_next
----------------------------------------------------------
Created By: Genisys(Guile)
Created On: 3/25/09
----------------------------------------------------------

This script changes the PC's Skin color in a conversation.

NOTE: It adds +1 to the color index of their current color.

----------------------------------------------------------*/
void main()
{
 object oPC = GetPCSpeaker();
 int nIndex = GetLocalInt(oPC, "HAIR_COLOR");
 int nColor;
 nColor = nIndex +1;
 if(nColor == 175)
 { nColor = 1; }

 SetLocalInt(oPC, "HAIR_COLOR", nColor);
 SetColor(oPC, COLOR_CHANNEL_HAIR, nColor);

}