home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global rightnum, correct_count
- if rightnum = 4 then
- if the timer < 200 then
- puppetSound("rgoodans.aif")
- else
- puppetSound("goodans.aif")
- end if
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set correct_count to correct_count + 1
- assignText()
- else
- puppetSound("badans.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the visible of sprite 26 to 0
- if rightnum <> 1 then
- set the visible of sprite 16 to 0
- end if
- if rightnum <> 2 then
- set the visible of sprite 17 to 0
- end if
- if rightnum <> 3 then
- set the visible of sprite 18 to 0
- end if
- updateStage()
- set x to the timer + 100
- repeat while x > the timer
- end repeat
- repeat with i = 16 to 18
- set the visible of sprite i to 1
- end repeat
- set the visible of sprite 26 to 1
- assignText()
- end if
- end
-