home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 September / WPCSEP96.ISO / intwpc08.dxr / 00005_IFLMoveLines.ls < prev    next >
Encoding:
Text File  |  1996-07-09  |  3.6 KB  |  106 lines

  1. on IFLMoveLines
  2.   global IFLMarkRed, QuestionSprite
  3.   if (the mouseH > 545) and (the mouseH < 608) and (the mouseV > 379) and (the mouseV < 456) then
  4.     if IFLMarkRed = 0 then
  5.       set IFLMarkRed to 1
  6.       repeat with t = 3 to 13
  7.         set the castNum of sprite t to the castNum of sprite t + 1
  8.       end repeat
  9.       updateStage()
  10.     end if
  11.   else
  12.     if IFLMarkRed = 1 then
  13.       set IFLMarkRed to 0
  14.       repeat with t = 3 to 13
  15.         set the castNum of sprite t to the castNum of sprite t - 1
  16.       end repeat
  17.       updateStage()
  18.     end if
  19.   end if
  20.   if the mouseDown then
  21.     if IFLMarkRed = 0 then
  22.       set IFLMarkRed to 1
  23.       repeat with t = 3 to 13
  24.         set the castNum of sprite t to the castNum of sprite t + 1
  25.       end repeat
  26.       updateStage()
  27.     end if
  28.     set IFLMarkRed to 2
  29.     set the castNum of sprite QuestionSprite to the number of member "IFLREDMARK"
  30.     repeat with t = 3 to 7
  31.       set the castNum of sprite t to the castNum of sprite t - 1
  32.     end repeat
  33.     updateStage()
  34.     set the castNum of sprite 27 to the number of member "ONEDISK"
  35.     repeat while the right of sprite 5 > -500
  36.       set the locH of sprite 3 to the locH of sprite 3 - 15
  37.       set the locH of sprite 4 to the locH of sprite 4 + 20
  38.       set the locH of sprite 5 to the locH of sprite 5 - 15
  39.       set the locV of sprite 6 to the locV of sprite 6 - 25
  40.       set the locV of sprite 7 to the locV of sprite 7 + 15
  41.       set the locV of sprite 13 to the locV of sprite 13 + 20
  42.       set the locV of sprite 8 to the locV of sprite 8 + 15
  43.       set the locV of sprite 9 to the locV of sprite 9 + 14
  44.       set the locV of sprite 10 to the locV of sprite 10 + 15
  45.       set the locV of sprite 11 to the locV of sprite 11 + 25
  46.       set the locV of sprite 12 to the locV of sprite 12 + 15
  47.       updateStage()
  48.     end repeat
  49.     repeat with t = 3 to 13
  50.       set the locV of sprite t to 2000
  51.     end repeat
  52.     updateStage()
  53.     set the castNum of sprite 14 to the number of member "IFLWhat"
  54.     set the locV of sprite 14 to -200
  55.     set the locH of sprite 14 to 513
  56.     repeat while the locV of sprite 14 < 390
  57.       set the locV of sprite 14 to the locV of sprite 14 + 10
  58.       updateStage()
  59.     end repeat
  60.     set the locV of sprite 14 to 404
  61.     puppetSound("thud.wav")
  62.     set the castNum of sprite 15 to the number of member "IFLPC"
  63.     set the locV of sprite 15 to 500
  64.     set the locH of sprite 15 to 513
  65.     repeat while the locV of sprite 15 > 415
  66.       set the locV of sprite 15 to the locV of sprite 15 - 8
  67.       updateStage()
  68.     end repeat
  69.     set the locV of sprite 15 to 407
  70.     updateStage()
  71.     repeat with t = 1 to 10
  72.       set the locV of sprite 14 to the locV of sprite 14 - 7
  73.       updateStage()
  74.     end repeat
  75.     set the locV of sprite 15 to 404
  76.     updateStage()
  77.     repeat with t = 1 to 10
  78.       set the locV of sprite 14 to the locV of sprite 14 + 7
  79.       updateStage()
  80.     end repeat
  81.     wait(0.29999999999999999)
  82.     repeat with t = 16 to 18
  83.       set the locH of sprite t to 513
  84.       set the locV of sprite t to 404
  85.       puppetSound("hihat.wav")
  86.       updateStage()
  87.       wait(0.10000000000000001)
  88.     end repeat
  89.     wait(0.29999999999999999)
  90.     repeat with t = 18 to 26
  91.       set the locH of sprite t to 513
  92.       set the locV of sprite t to 404
  93.       puppetSound("hihat.wav")
  94.       updateStage()
  95.       wait(0.10000000000000001)
  96.     end repeat
  97.     set the castNum of sprite 30 to the number of member "IFLFullLogo"
  98.     set the locH of sprite 30 to 513
  99.     set the locV of sprite 30 to 404
  100.     repeat with t = 2 to 26
  101.       set the castNum of sprite t to 2000
  102.     end repeat
  103.     updateStage()
  104.   end if
  105. end
  106.