home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1997 September / Personal_Computer_World_Sep_97.iso / Democd3 / oasquiz.dxr / 00024.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.   startTimer()
  15.   repeat while the timer < 15
  16.     nothing()
  17.   end repeat
  18.   updateStage()
  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.   updateStage()
  24.   set the soundEnabled to 1
  25.   set the visible of sprite 8 to 1
  26.   set the locV of sprite 8 to 440
  27.   repeat with n = 1 to 100
  28.     set the locH of sprite 8 to n
  29.     updateStage()
  30.   end repeat
  31.   set Rand_Sound to random(5)
  32.   set the castNum of sprite 8 to 173
  33.   updateStage()
  34.   repeat with n = 1 to 50
  35.     set vert to the locV of sprite 8
  36.     set the locV of sprite 8 to vert - n
  37.     startTimer()
  38.     repeat while the timer < 2
  39.       nothing()
  40.     end repeat
  41.     updateStage()
  42.   end repeat
  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.