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

Script Name: gc_tat1colr_prev
----------------------------------------------------------
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, "TAT1_COLOR");
 int nColor;
 nColor = nIndex -1;
 if(nColor == 175)
 { nColor = 1; }

 SetLocalInt(oPC, "TAT1_COLOR", nColor);

 SetColor(oPC, COLOR_CHANNEL_TATTOO_1, nColor);

}