home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global diff, timerate, timeoption, n, helpon
- puppetSound("click")
- set the visible of sprite 7 to 1
- if timeoption = 1 then
- set timerate to 3
- end if
- 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
- updateStage()
- if timeoption = 0 then
- if the keyCode = 28 then
- set diff to 2
- set the castNum of sprite 43 to 307
- set the castNum of sprite 37 to 220
- set the blend of sprite 37 to 100
- set the blend of sprite 38 to 100
- updateStage()
- else
- if (the keyCode <> 28) and (helpon = 0) then
- set the text of cast "quest" to "Access Denied! You didn't enter the correct password! Complete the easy level to get the password"
- set the visible of sprite 26 to 1
- set the locH of sprite 26 to 310
- set the locV of sprite 26 to 270
- repeat with n = 256 to 265
- set the castNum of sprite 26 to n
- updateStage()
- startTimer()
- repeat while the timer < 5
- nothing()
- end repeat
- end repeat
- startTimer()
- repeat while the timer < 200
- nothing()
- end repeat
- go(the frame)
- exit
- end if
- end if
- end if
- set the visible of sprite 26 to 1
- set the locH of sprite 26 to 310
- if helpon = 1 then
- set the locH of sprite 26 to 385
- end if
- set the locV of sprite 26 to 270
- repeat with n = 155 to 160
- set the castNum of sprite 26 to n
- updateStage()
- startTimer()
- repeat while the timer < 5
- nothing()
- end repeat
- end repeat
- set the visible of sprite 26 to 0
- startTimer()
- repeat while the timer < 35
- nothing()
- end repeat
- if helpon = 1 then
- set the text of cast "quest" to "When asked a question, simply click on the answer you think is correct!"
- set the text of cast "answer1" to "Back To Game"
- set the text of cast "answer2" to "Back To Game"
- set the text of cast "answer3" to "Back To Game"
- 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()
- repeat while the mouseDown = 0
- end repeat
- go(the frame)
- exit
- end if
- if (timeoption = 0) and (helpon = 0) then
- set the visible of sprite 22 to 0
- set the visible of sprite 23 to 0
- set the visible of sprite 24 to 0
- go("s")
- end if
- if timeoption = 1 then
- set timeoption to 0
- go(the frame)
- end if
- if helpon = 1 then
- set helpon to 0
- go(the frame)
- end if
- end
-