home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1997 September / Personal_Computer_World_Sep_97.iso / Democd3 / oasquiz.dxr / 00217.ls < prev    next >
Encoding:
Text File  |  1997-06-04  |  1.9 KB  |  61 lines

  1. on mouseDown
  2.   global ans1, true_answer, Rand_Quest, guess, counter, checkcounter, n, level, m, scored, Rand_Sound, oldlevel, leveldiff, vert, x, notend, gMovie, Hdrive
  3.   set checkcounter to 1
  4.   set the visible of sprite 20 to 0
  5.   puppetSound("click")
  6.   set the visible of sprite 13 to 0
  7.   set the visible of sprite 28 to 0
  8.   set the visible of sprite 29 to 0
  9.   set the visible of sprite 30 to 0
  10.   set the locH of sprite 7 to the locH of sprite 7 + 2
  11.   set the locV of sprite 7 to the locV of sprite 7 + 2
  12.   set the locH of sprite 24 to the locH of sprite 24 + 2
  13.   set the locV of sprite 24 to the locV of sprite 24 + 2
  14.   updateStage()
  15.   startTimer()
  16.   repeat while the timer < 15
  17.     nothing()
  18.   end repeat
  19.   set the locH of sprite 7 to the locH of sprite 7 - 2
  20.   set the locV of sprite 7 to the locV of sprite 7 - 2
  21.   set the locH of sprite 24 to the locH of sprite 24 - 2
  22.   set the locV of sprite 24 to the locV of sprite 24 - 2
  23.   set the blend of sprite 7 to 60
  24.   updateStage()
  25.   set the visible of sprite 26 to 1
  26.   set the locH of sprite 26 to 375
  27.   set the locV of sprite 26 to 350
  28.   repeat with n = 155 to 160
  29.     set the castNum of sprite 26 to n
  30.     updateStage()
  31.     startTimer()
  32.     repeat while the timer < 5
  33.       nothing()
  34.     end repeat
  35.   end repeat
  36.   startTimer()
  37.   repeat while the timer < 35
  38.     nothing()
  39.   end repeat
  40.   set the visible of sprite 26 to 0
  41.   set Rand_Sound to random(5)
  42.   updateStage()
  43.   set the visible of sprite 8 to 0
  44.   set the visible of sprite 20 to 1
  45.   set the visible of sprite 23 to 1
  46.   set the visible of sprite 24 to 1
  47.   set the blend of sprite 15 to 0
  48.   updateStage()
  49.   set the visible of sprite 23 to 0
  50.   set the visible of sprite 24 to 0
  51.   set the visible of sprite 22 to 0
  52.   set the visible of sprite 8 to 0
  53.   set the visible of sprite 19 to 0
  54.   updateStage()
  55.   startTimer()
  56.   set the visible of sprite 20 to 0
  57.   updateStage()
  58.   set gMovie to Hdrive & "mainmen"
  59.   go("select", gMovie)
  60. end
  61.