home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global valtimer, highest, pend, pwon, plost, diff, level, passno, scored, counter, qright, qwrong, notend, inarow, firsttime, gameover, beenhere, helpon, soundon, timeoption, n
- set the visible of sprite 26 to 0
- updateStage()
- puppetSprite(43, 1)
- set the locH of sprite 43 to 278
- set the locV of sprite 43 to 412
- set the blend of sprite 12 to 100
- puppetSprite(1, 1)
- puppetSprite(2, 1)
- puppetSprite(3, 1)
- set the visible of sprite 9 to 1
- set the visible of sprite 2 to 1
- set the visible of sprite 3 to 1
- set the visible of sprite 15 to 1
- set the visible of sprite 8 to 0
- set beenhere to 0
- set gameover to 0
- set inarow to 0
- set the visible of sprite 35 to 1
- set the visible of sprite 13 to 1
- set the visible of sprite 11 to 1
- set the visible of sprite 42 to 0
- set the visible of sprite 33 to 0
- set the visible of sprite 12 to 1
- set highest to 0
- set qright to 0
- set qwrong to 0
- set plost to 0
- set pwon to 0
- set pend to 0
- set notend to 1
- set diff to 0
- set level to 0
- set passno to 0
- set scored to 0
- set counter to 0
- set checkcounter to 1
- set the visible of sprite 41 to 0
- updateStage()
- set the visible of sprite 8 to 0
- set the visible of sprite 10 to 0
- set the visible of sprite 36 to 0
- set the visible of sprite 14 to 0
- set the visible of sprite 5 to 1
- set the visible of sprite 6 to 1
- set the visible of sprite 7 to 1
- set the visible of sprite 38 to 0
- set the visible of sprite 37 to 0
- set the cursor of sprite 2 to [111, 112]
- set the cursor of sprite 3 to [111, 112]
- set the cursor of sprite 5 to [111, 112]
- set the cursor of sprite 6 to [111, 112]
- set the cursor of sprite 7 to [111, 112]
- set the cursor of sprite 35 to [111, 112]
- set the cursor of sprite 45 to [111, 112]
- set the cursor of sprite 27 to [111, 112]
- set the visible of sprite 1 to 1
- set helpon to 0
- updateStage()
- set the text of cast "quest" to " "
- set the visible of sprite 2 to 1
- set the visible of sprite 4 to 1
- if firsttime = 0 then
- set the text of cast "quest" to "Choose a difficulty level below."
- end if
- if firsttime = 1 then
- set the text of cast "quest" to "Welcome to the Quiz. Choose a difficulty level below."
- set firsttime to 0
- end if
- set the text of cast "answer1" to "Easy"
- set the text of cast "answer2" to "Medium"
- set the text of cast "answer3" to "Hard"
- if timeoption = 1 then
- set the text of cast "answer1" to "Slow"
- set the text of cast "answer2" to "Medium"
- set the text of cast "answer3" to "Fast"
- set the text of cast "quest" to "Select a timer speed"
- end if
- set the visible of sprite 19 to 1
- set the visible of sprite 22 to 1
- set the visible of sprite 23 to 1
- set the visible of sprite 24 to 1
- updateStage()
- set the text of cast "Review" to " "
- updateStage()
- startTimer()
- repeat while the timer < 10
- end repeat
- updateStage()
- when timeOut then nothing
- set the visible of sprite 20 to 0
- updateStage()
- set the cursor of sprite 3 to [111, 112]
- set the cursor of sprite 24 to [111, 112]
- set the cursor of sprite 25 to [111, 112]
- set the cursor of sprite 42 to [111, 112]
- set the cursor of sprite 31 to [111, 112]
- set the cursor of sprite 32 to [111, 112]
- set the blend of sprite 16 to 75
- set the blend of sprite 17 to 75
- set the blend of sprite 18 to 75
- updateStage()
- pause()
- puppetSound("click")
- end
-