21 lines
517 B
Plaintext
21 lines
517 B
Plaintext
void main()
|
|
{
|
|
object oMod=GetModule();
|
|
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
|
|
if (nParm==0)
|
|
{ // default
|
|
DeleteLocalInt(oMod,"bEasy");
|
|
DeleteLocalInt(oMod,"bChallenging");
|
|
} // default
|
|
else if (nParm==1)
|
|
{ // easy
|
|
SetLocalInt(oMod,"bEasy",TRUE);
|
|
DeleteLocalInt(oMod,"bChallenging");
|
|
} // easy
|
|
else if (nParm==2)
|
|
{ // challenging
|
|
SetLocalInt(oMod,"bChallenging",TRUE);
|
|
DeleteLocalInt(oMod,"bEasy");
|
|
} // challenging
|
|
}
|