home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global timeup, level, oldlevel, x, n, vert, counter, qwrong, plost, pwon, pend, notend
- cursor(0)
- set the visible of sprite 22 to 0
- set the visible of sprite 23 to 0
- set the visible of sprite 24 to 0
- set the visible of sprite 3 to 0
- set the visible of sprite 4 to 0
- set the visible of sprite 5 to 0
- updateStage()
- set the volume of sound 1 to 250
- puppetSound("bellrng5")
- set the text of cast "quest" to "Too slow!"
- set the visible of sprite 31 to 1
- set the visible of sprite 30 to 1
- set the visible of sprite 13 to 0
- set the visible of sprite 28 to 0
- set the visible of sprite 29 to 0
- set the visible of sprite 30 to 0
- set qwrong to qwrong + 1.0
- puppetSound("jewharp1")
- updateStage()
- startTimer()
- repeat while soundBusy(1)
- nothing()
- end repeat
- set oldlevel to level
- set level to level - 1
- set leveldiff to oldlevel - level
- if level < 0 then
- set level to 0
- end if
- set the castNum of sprite 12 to level + 275
- updateStage()
- startTimer()
- repeat while the timer < 250
- nothing()
- end repeat
- if level = 0 then
- set plost to 1
- set notend to 0
- go("end")
- exit
- end if
- if level = 22 then
- set pend to 1
- set notend to 0
- go("end")
- exit
- end if
- if (counter = 24) and (level <> 22) then
- set pend to 1
- set notend to 0
- go("end")
- exit
- end if
- set counter to counter + 1
- go("trans")
- end
-