void main()
{
    object oPC = GetPCSpeaker();
    int iPortraitID = GetPortraitId(oPC) - 1;
    SetPortraitId(oPC, iPortraitID);
    FloatingTextStringOnCreature("Portrait name = " + GetPortraitResRef(oPC) + ", Portrait ID = " + IntToString(iPortraitID), oPC, FALSE);
}
