home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 January / WPCJAN97.ISO / intwjan.dxr / 00006_IFLAnimateGreyLines.ls < prev    next >
Encoding:
Text File  |  1996-11-07  |  4.9 KB  |  144 lines

  1. on IFLAnimateGreyLines
  2.   global IFLGone, IFLINTARTList, IFLINTGTSList, IFLINTFAEList, IFLINTHANList, IFLINTGROList, IFLINTGESList, IFLINTREFList, IFLINTRESList, IFLINTMGIList
  3.   if IFLGone = 0 then
  4.     set the castNum of sprite 3 to the number of member "IFLOne"
  5.     set the castNum of sprite 4 to the number of member "IFLTwo"
  6.     set the castNum of sprite 5 to the number of member "IFLThree"
  7.     repeat with t = 3 to 5
  8.       set the locH of sprite t to -300
  9.       set the locV of sprite t to 271
  10.     end repeat
  11.     repeat with t = 3 to 5
  12.       repeat while the locH of sprite t < 284
  13.         set the locH of sprite t to the locH of sprite t + 40
  14.         updateStage()
  15.       end repeat
  16.     end repeat
  17.     repeat with t = 3 to 5
  18.       set the locH of sprite t to 325
  19.     end repeat
  20.     updateStage()
  21.     if IFLGone = 0 then
  22.       set the castNum of sprite 6 to the number of member "IFLFive"
  23.       set the castNum of sprite 7 to the number of member "IFLSix"
  24.       set the castNum of sprite 8 to the number of member "IFLSeven"
  25.       set the castNum of sprite 9 to the number of member "IFLEight"
  26.       set the castNum of sprite 10 to the number of member "IFLNine"
  27.       set the castNum of sprite 11 to the number of member "IFLTen"
  28.       repeat with t = 6 to 7
  29.         set the locH of sprite t to 325
  30.         set the locV of sprite t to -200
  31.       end repeat
  32.       repeat with t = 6 to 7
  33.         repeat while the locV of sprite t > 250
  34.           set the locV of sprite t to the locV of sprite t - 20
  35.           updateStage()
  36.         end repeat
  37.       end repeat
  38.       repeat with t = 6 to 7
  39.         set the locV of sprite t to 271
  40.       end repeat
  41.       updateStage()
  42.     end if
  43.     if IFLGone = 0 then
  44.       repeat with t = 8 to 9
  45.         set the locH of sprite t to 325
  46.         set the locV of sprite t to -200
  47.       end repeat
  48.       repeat with t = 8 to 9
  49.         repeat while the locV of sprite t > 250
  50.           set the locV of sprite t to the locV of sprite t - 20
  51.           updateStage()
  52.         end repeat
  53.       end repeat
  54.       repeat with t = 8 to 9
  55.         set the locV of sprite t to 271
  56.       end repeat
  57.       updateStage()
  58.       repeat with t = 10 to 11
  59.         set the locH of sprite t to 325
  60.         set the locV of sprite t to -200
  61.       end repeat
  62.       repeat with t = 10 to 11
  63.         repeat while the locV of sprite t > 250
  64.           set the locV of sprite t to the locV of sprite t - 20
  65.           updateStage()
  66.         end repeat
  67.       end repeat
  68.       repeat with t = 10 to 11
  69.         set the locV of sprite t to 271
  70.       end repeat
  71.       updateStage()
  72.       set the castNum of sprite 12 to the number of member "IFLFour"
  73.       set the locH of sprite 12 to 325
  74.       set the locV of sprite 12 to 271
  75.       updateStage()
  76.     end if
  77.     if IFLGone = 0 then
  78.       set the castNum of sprite 13 to the number of member "IFLEleven"
  79.       set the castNum of sprite 14 to the number of member "IFLTwelve"
  80.       repeat with t = 13 to 14
  81.         set the locH of sprite t to -500
  82.         set the locV of sprite t to 271
  83.       end repeat
  84.       repeat while the locH of sprite 13 < 301
  85.         set the locH of sprite 13 to the locH of sprite 13 + 20
  86.         updateStage()
  87.       end repeat
  88.       set the locH of sprite 13 to 325
  89.       updateStage()
  90.       repeat while the locH of sprite 14 < 301
  91.         set the locH of sprite 14 to the locH of sprite 14 + 20
  92.         updateStage()
  93.       end repeat
  94.       set the locH of sprite 14 to 325
  95.       updateStage()
  96.       set the castNum of sprite 15 to the number of member "IFLThirteen"
  97.       set the castNum of sprite 16 to the number of member "IFLFourteen"
  98.       set the castNum of sprite 17 to the number of member "IFLfiveteen"
  99.       repeat with t = 15 to 17
  100.         set the locH of sprite t to 325
  101.         set the locV of sprite t to -300
  102.       end repeat
  103.     end if
  104.     if IFLGone = 0 then
  105.       repeat while the locV of sprite 15 > 249
  106.         set the locV of sprite 15 to the locV of sprite 15 + 20
  107.         updateStage()
  108.       end repeat
  109.       set the locV of sprite 15 to 271
  110.       updateStage()
  111.       repeat while the locV of sprite 16 > 249
  112.         set the locV of sprite 16 to the locV of sprite 16 + 20
  113.         updateStage()
  114.       end repeat
  115.       set the locV of sprite 16 to 271
  116.       updateStage()
  117.       repeat while the locV of sprite 17 > 249
  118.         set the locV of sprite 17 to the locV of sprite 17 + 20
  119.         updateStage()
  120.       end repeat
  121.       set the locV of sprite 17 to 271
  122.       updateStage()
  123.     end if
  124.     if IFLGone = 0 then
  125.       set the castNum of sprite 1 to 1000
  126.       set the locH of sprite 1 to 325
  127.       set the locV of sprite 1 to 271
  128.       updateStage()
  129.       set the castNum of sprite 2 to the number of member "PLUG"
  130.       set the loc of sprite 2 to point(320, 240)
  131.       set the locH of sprite 27 to 2000
  132.       repeat with t = 3 to 17
  133.         set the locV of sprite t to 2000
  134.       end repeat
  135.       updateStage()
  136.     end if
  137.     cursor(-1)
  138.     updateStage()
  139.     if IFLGone = 0 then
  140.       IFLESCBut()
  141.     end if
  142.   end if
  143. end
  144.