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

  1. on enterFrame
  2.   global level, highest, rightq, wrongq
  3.   puppetSound(0)
  4.   updateStage()
  5.   set the visible of sprite 8 to 0
  6.   set the cursor of sprite 5 to [111, 112]
  7.   set the cursor of sprite 6 to [111, 112]
  8.   set the cursor of sprite 7 to [111, 112]
  9.   set the text of cast "answer1" to "New Game"
  10.   set the text of cast "answer2" to "Statistics"
  11.   set the text of cast "answer3" to "Quit"
  12.   set the text of cast "quest" to "You Lost!"
  13.   set the text of cast "high" to "Highest Rating During Game:" & highest
  14.   set the visible of sprite 13 to 1
  15.   set the visible of sprite 28 to 0
  16.   set the visible of sprite 29 to 0
  17.   set the visible of sprite 30 to 0
  18.   set the visible of sprite 22 to 1
  19.   set the visible of sprite 23 to 1
  20.   set the visible of sprite 24 to 1
  21.   set the visible of sprite 5 to 1
  22.   set the visible of sprite 6 to 1
  23.   set the visible of sprite 7 to 1
  24.   set the visible of sprite 19 to 1
  25.   if level = 0 then
  26.     set the locV of sprite 14 to 370
  27.   else
  28.     if level = 1 then
  29.       set the locV of sprite 14 to 355
  30.     else
  31.       if level = 2 then
  32.         set the locV of sprite 14 to 340
  33.       else
  34.         if level = 3 then
  35.           set the locV of sprite 14 to 325
  36.         else
  37.           if level = 4 then
  38.             set the locV of sprite 14 to 310
  39.           else
  40.             if level = 5 then
  41.               set the locV of sprite 14 to 295
  42.             else
  43.               if level = 6 then
  44.                 set the locV of sprite 14 to 280
  45.               else
  46.                 if level = 7 then
  47.                   set the locV of sprite 14 to 265
  48.                 else
  49.                   if level = 8 then
  50.                     set the locV of sprite 14 to 250
  51.                   else
  52.                     if level = 9 then
  53.                       set the locV of sprite 14 to 235
  54.                     else
  55.                       if level = 10 then
  56.                         set the locV of sprite 14 to 220
  57.                       else
  58.                         if level = 11 then
  59.                           set the locV of sprite 14 to 205
  60.                         else
  61.                           if level = 12 then
  62.                             set the locV of sprite 14 to 190
  63.                           else
  64.                             if level = 13 then
  65.                               set the locV of sprite 14 to 175
  66.                             else
  67.                               if level = 14 then
  68.                                 set the locV of sprite 14 to 160
  69.                               else
  70.                                 if level = 15 then
  71.                                   set the locV of sprite 14 to 145
  72.                                 else
  73.                                   if level = 16 then
  74.                                     set the locV of sprite 14 to 130
  75.                                   else
  76.                                     if level = 17 then
  77.                                       set the locV of sprite 14 to 115
  78.                                     else
  79.                                       if level = 18 then
  80.                                         set the locV of sprite 14 to 100
  81.                                       else
  82.                                         if level = 19 then
  83.                                           set the locV of sprite 14 to 85
  84.                                         else
  85.                                           if level = 20 then
  86.                                             set the locV of sprite 14 to 70
  87.                                           end if
  88.                                         end if
  89.                                       end if
  90.                                     end if
  91.                                   end if
  92.                                 end if
  93.                               end if
  94.                             end if
  95.                           end if
  96.                         end if
  97.                       end if
  98.                     end if
  99.                   end if
  100.                 end if
  101.               end if
  102.             end if
  103.           end if
  104.         end if
  105.       end if
  106.     end if
  107.   end if
  108.   updateStage()
  109.   pause()
  110. end
  111.