home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1997 September / Personal_Computer_World_Sep_97.iso / Democd3 / oasquiz.dxr / 00210.ls < prev    next >
Encoding:
Text File  |  1997-06-04  |  1.9 KB  |  59 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 blend of sprite 7 to 90
  11.   set the locH of sprite 7 to the locH of sprite 7 + 3
  12.   set the locV of sprite 7 to the locV of sprite 7 + 3
  13.   set the locH of sprite 24 to the locH of sprite 24 + 3
  14.   set the locV of sprite 24 to the locV of sprite 24 + 3
  15.   updateStage()
  16.   set the locH of sprite 7 to the locH of sprite 7 - 3
  17.   set the locV of sprite 7 to the locV of sprite 7 - 3
  18.   set the locH of sprite 24 to the locH of sprite 24 - 3
  19.   set the locV of sprite 24 to the locV of sprite 24 - 3
  20.   set the blend of sprite 7 to 60
  21.   updateStage()
  22.   set the soundEnabled to 1
  23.   set the visible of sprite 8 to 1
  24.   set the locV of sprite 8 to 440
  25.   repeat with n = 1 to 100
  26.     set the locH of sprite 8 to n
  27.     updateStage()
  28.   end repeat
  29.   set Rand_Sound to random(5)
  30.   set the castNum of sprite 8 to 173
  31.   updateStage()
  32.   repeat with n = 1 to 50
  33.     set vert to the locV of sprite 8
  34.     set the locV of sprite 8 to vert - n
  35.     startTimer()
  36.     repeat while the timer < 2
  37.       nothing()
  38.     end repeat
  39.     updateStage()
  40.   end repeat
  41.   set the visible of sprite 8 to 0
  42.   set the visible of sprite 20 to 1
  43.   set the visible of sprite 23 to 1
  44.   set the visible of sprite 24 to 1
  45.   set the blend of sprite 15 to 0
  46.   updateStage()
  47.   set the visible of sprite 23 to 0
  48.   set the visible of sprite 24 to 0
  49.   set the visible of sprite 22 to 0
  50.   set the visible of sprite 8 to 0
  51.   set the visible of sprite 19 to 0
  52.   updateStage()
  53.   startTimer()
  54.   set the visible of sprite 20 to 0
  55.   updateStage()
  56.   set gMovie to Hdrive & "mainmen"
  57.   go("select", gMovie)
  58. end
  59.