home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global ans1, true_answer, Rand_Quest, guess, counter, checkcounter, n, level, m, scored, Rand_Sound, oldlevel, leveldiff, vert, x, highest, qright, qwrong, notend
- set checkcounter to 1
- set the visible of sprite 20 to 0
- puppetSound("click")
- set the blend of sprite 6 to 90
- set the locH of sprite 6 to the locH of sprite 6 + 2
- set the locV of sprite 6 to the locV of sprite 6 + 2
- set the locH of sprite 23 to the locH of sprite 23 + 2
- set the locV of sprite 23 to the locV of sprite 23 + 2
- updateStage()
- startTimer()
- repeat while the timer < 15
- nothing()
- end repeat
- set the locH of sprite 6 to the locH of sprite 6 - 2
- set the locV of sprite 6 to the locV of sprite 6 - 2
- set the locH of sprite 23 to the locH of sprite 23 - 2
- set the locV of sprite 23 to the locV of sprite 23 - 2
- set the blend of sprite 6 to 60
- updateStage()
- set the visible of sprite 8 to 1
- set the locV of sprite 8 to 340
- repeat with n = 1 to 100
- set the locH of sprite 8 to n
- updateStage()
- end repeat
- set Rand_Sound to random(5)
- set the castNum of sprite 8 to 173
- updateStage()
- repeat with n = 1 to 50
- set vert to the locV of sprite 8
- set the locV of sprite 8 to vert - n
- startTimer()
- repeat while the timer < 2
- nothing()
- end repeat
- updateStage()
- end repeat
- set the visible of sprite 8 to 0
- set the visible of sprite 19 to 1
- set the text of cast "quest" to "Statistics"
- set the visible of sprite 28 to 1
- set the visible of sprite 29 to 1
- set the visible of sprite 30 to 1
- set the visible of sprite 13 to 1
- set the text of cast "one" to " " & highest
- set the text of cast "two" to " " & qright
- set the text of cast "three" to " " & qwrong
- set the blend of sprite 15 to 0
- set the visible of sprite 8 to 0
- startTimer()
- set the visible of sprite 20 to 0
- updateStage()
- if notend = 0 then
- pause()
- end if
- if notend = 1 then
- startTimer()
- repeat while the timer < 250
- nothing()
- end repeat
- go(1, "oasquiz")
- end if
- end
-