void main()
{

object oPC = GetLastUsedBy();

if (!GetIsPC(oPC)) return;

int nVar = GetLocalInt(oPC, "GongCombo");

int nCombo = (nVar + 1);

SetLocalInt(oPC, "GongCombo", nCombo);

PlaySound("as_cv_gongring1");

int nMaster = GetLocalInt(oPC, "MasterCombo");

if (nCombo == nMaster)
 {
 PlaySound("sim_magknock");
 SetLocked(GetObjectByTag("DoorMonsterSquares"), FALSE);
 FloatingTextStringOnCreature("Success!  You have solved the riddle of Galap-Dreidel's Music Room...", oPC);
 }

}

