home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gClueList
- if not soundBusy(2) then
- set theOne to getOne(gClueList, 0)
- puppetSound(2, member theOne of castLib 2)
- updateStage()
- if the castNum of sprite 40 = 251 then
- set listmovs to [251, 252, 253]
- repeat while soundBusy(2)
- set the castNum of sprite 40 to getAt(listmovs, random(3))
- updateStage()
- myDelay(10)
- end repeat
- set the castNum of sprite 40 to 251
- end if
- setProp(gClueList, theOne, 1)
- if getAt(gClueList, 3) = 1 then
- set the castNum of sprite 40 to 254
- updateStage()
- end if
- end if
- end
-