home *** CD-ROM | disk | FTP | other *** search
- global gOldKey
-
- on exitFrame me
- go(the frame)
- checkGameTime()
- if the controlDown = 1 then
- theKey = the keyPressed
- if (theKey <> EMPTY) and (gOldKey = EMPTY) then
- whichOne = theKey - "0"
- if (whichOne >= 1) and (whichOne <= 6) then
- playHolidayReminder(3, whichOne, random(4) - 1, 1)
- end if
- end if
- gOldKey = theKey
- end if
- end
-