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

  1. on IFLAnimateGreyLines
  2.   global IFLMarkRed, IFLGone, IFLINTARTList, IFLINTGTSList, IFLINTFAEList, IFLINTHANList, IFLINTGROList, IFLINTGESList, IFLINTREFList, IFLINTRESList, IFLINTMGIList, IFLLeaveIntro
  3.   set IFLMarkRed to 3
  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.   set the castNum of sprite 6 to the number of member "IFLFive"
  22.   set the castNum of sprite 7 to the number of member "IFLSix"
  23.   set the castNum of sprite 8 to the number of member "IFLSeven"
  24.   set the castNum of sprite 9 to the number of member "IFLEight"
  25.   set the castNum of sprite 10 to the number of member "IFLNine"
  26.   set the castNum of sprite 11 to the number of member "IFLTen"
  27.   repeat with t = 6 to 7
  28.     set the locH of sprite t to 325
  29.     set the locV of sprite t to -200
  30.   end repeat
  31.   repeat with t = 6 to 7
  32.     repeat while the locV of sprite t > 250
  33.       set the locV of sprite t to the locV of sprite t - 20
  34.       updateStage()
  35.     end repeat
  36.   end repeat
  37.   repeat with t = 6 to 7
  38.     set the locV of sprite t to 271
  39.   end repeat
  40.   updateStage()
  41.   repeat with t = 8 to 9
  42.     set the locH of sprite t to 325
  43.     set the locV of sprite t to -200
  44.   end repeat
  45.   repeat with t = 8 to 9
  46.     repeat while the locV of sprite t > 250
  47.       set the locV of sprite t to the locV of sprite t - 20
  48.       updateStage()
  49.     end repeat
  50.   end repeat
  51.   repeat with t = 8 to 9
  52.     set the locV of sprite t to 271
  53.   end repeat
  54.   updateStage()
  55.   repeat with t = 10 to 11
  56.     set the locH of sprite t to 325
  57.     set the locV of sprite t to -200
  58.   end repeat
  59.   repeat with t = 10 to 11
  60.     repeat while the locV of sprite t > 250
  61.       set the locV of sprite t to the locV of sprite t - 20
  62.       updateStage()
  63.     end repeat
  64.   end repeat
  65.   repeat with t = 10 to 11
  66.     set the locV of sprite t to 271
  67.   end repeat
  68.   updateStage()
  69.   set the castNum of sprite 12 to the number of member "IFLFour"
  70.   set the locH of sprite 12 to 325
  71.   set the locV of sprite 12 to 271
  72.   updateStage()
  73.   set the castNum of sprite 13 to the number of member "IFLEleven"
  74.   set the castNum of sprite 14 to the number of member "IFLTwelve"
  75.   repeat with t = 13 to 14
  76.     set the locH of sprite t to -500
  77.     set the locV of sprite t to 271
  78.   end repeat
  79.   repeat while the locH of sprite 13 < 301
  80.     set the locH of sprite 13 to the locH of sprite 13 + 20
  81.     updateStage()
  82.   end repeat
  83.   set the locH of sprite 13 to 325
  84.   updateStage()
  85.   repeat while the locH of sprite 14 < 301
  86.     set the locH of sprite 14 to the locH of sprite 14 + 20
  87.     updateStage()
  88.   end repeat
  89.   set the locH of sprite 14 to 325
  90.   updateStage()
  91.   set the castNum of sprite 15 to the number of member "IFLThirteen"
  92.   set the castNum of sprite 16 to the number of member "IFLFourteen"
  93.   set the castNum of sprite 17 to the number of member "IFLfiveteen"
  94.   repeat with t = 15 to 17
  95.     set the locH of sprite t to 325
  96.     set the locV of sprite t to -300
  97.   end repeat
  98.   repeat while the locV of sprite 15 > 249
  99.     set the locV of sprite 15 to the locV of sprite 15 + 20
  100.     updateStage()
  101.   end repeat
  102.   set the locV of sprite 15 to 271
  103.   updateStage()
  104.   repeat while the locV of sprite 16 > 249
  105.     set the locV of sprite 16 to the locV of sprite 16 + 20
  106.     updateStage()
  107.   end repeat
  108.   set the locV of sprite 16 to 271
  109.   updateStage()
  110.   repeat while the locV of sprite 17 > 249
  111.     set the locV of sprite 17 to the locV of sprite 17 + 20
  112.     updateStage()
  113.   end repeat
  114.   set the locV of sprite 17 to 271
  115.   updateStage()
  116.   set the castNum of sprite 1 to 1000
  117.   set the locH of sprite 1 to 325
  118.   set the locV of sprite 1 to 271
  119.   repeat with t = 2 to 17
  120.     set the locV of sprite t to 2000
  121.   end repeat
  122.   repeat with t = 1 to 10
  123.     set the blend of sprite 30 to the blend of sprite 30 - 10
  124.     updateStage()
  125.   end repeat
  126.   set the castNum of sprite 2 to the number of member "PLUG"
  127.   set the loc of sprite 2 to point(320, 240)
  128.   set the locH of sprite 27 to 2000
  129.   updateStage()
  130.   set the castNum of sprite 20 to 173
  131.   set the locH of sprite 20 to 50
  132.   set the locV of sprite 20 to 450
  133.   set the ink of sprite 20 to 36
  134.   updateStage()
  135.   puppetSound("generat.wav")
  136.   repeat while the locV of sprite 46 < 129
  137.     set the locV of sprite 46 to the locV of sprite 46 + 15
  138.     updateStage()
  139.   end repeat
  140.   if IFLGone = 0 then
  141.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTARTList, 1), 2)
  142.     set the loc of sprite 31 to point(getAt(getAt(IFLINTARTList, 1), 3), getAt(getAt(IFLINTARTList, 1), 4))
  143.   end if
  144.   set the locV of sprite 46 to 150
  145.   puppetSound("clang.wav")
  146.   updateStage()
  147.   repeat while soundBusy(1)
  148.   end repeat
  149.   IFLSkipBut()
  150.   set the castNum of sprite 6 to 100
  151.   set the ink of sprite 6 to 36
  152.   set the locH of sprite 6 to 200
  153.   set the locV of sprite 6 to 200
  154.   updateStage()
  155.   repeat with t = 1 to count(IFLINTARTList) - 1
  156.     if IFLGone <> 1 then
  157.       set the castNum of sprite getAt(getAt(IFLINTARTList, t + 1), 1) to the number of member getAt(getAt(IFLINTARTList, t + 1), 2)
  158.       set the loc of sprite getAt(getAt(IFLINTARTList, t + 1), 1) to point(getAt(getAt(IFLINTARTList, t + 1), 3), getAt(getAt(IFLINTARTList, t + 1), 4))
  159.       puppetSound("spark.wav")
  160.       updateStage()
  161.       repeat while soundBusy(1)
  162.       end repeat
  163.       Intwait(0.20000000000000001)
  164.       IFLSkipBut()
  165.     end if
  166.   end repeat
  167.   repeat with t = 1 to count(IFLINTARTList) - 1
  168.     set the castNum of sprite getAt(getAt(IFLINTARTList, t + 1), 1) to 86
  169.   end repeat
  170.   updateStage()
  171.   puppetSound("generat.wav")
  172.   repeat while the locV of sprite 45 < 84
  173.     IFLSkipBut()
  174.     if IFLGone = 1 then
  175.       exit repeat
  176.     end if
  177.     set the locV of sprite 45 to the locV of sprite 45 + 15
  178.     updateStage()
  179.   end repeat
  180.   if IFLGone = 0 then
  181.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTGTSList, 1), 2)
  182.     set the loc of sprite 31 to point(getAt(getAt(IFLINTGTSList, 1), 3), getAt(getAt(IFLINTGTSList, 1), 4))
  183.   end if
  184.   set the locV of sprite 45 to 105
  185.   puppetSound("clang.wav")
  186.   updateStage()
  187.   repeat while soundBusy(1)
  188.   end repeat
  189.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  190.   updateStage()
  191.   repeat while soundBusy(1)
  192.   end repeat
  193.   repeat with t = 1 to count(IFLINTGTSList) - 1
  194.     if IFLGone <> 1 then
  195.       set the castNum of sprite getAt(getAt(IFLINTGTSList, t + 1), 1) to the number of member getAt(getAt(IFLINTGTSList, t + 1), 2)
  196.       set the loc of sprite getAt(getAt(IFLINTGTSList, t + 1), 1) to point(getAt(getAt(IFLINTGTSList, t + 1), 3), getAt(getAt(IFLINTGTSList, t + 1), 4))
  197.       puppetSound("spark.wav")
  198.       updateStage()
  199.       repeat while soundBusy(1)
  200.       end repeat
  201.       Intwait(0.20000000000000001)
  202.       IFLSkipBut()
  203.     end if
  204.   end repeat
  205.   repeat with t = 1 to count(IFLINTGTSList) - 1
  206.     set the castNum of sprite getAt(getAt(IFLINTGTSList, t + 1), 1) to 86
  207.   end repeat
  208.   updateStage()
  209.   puppetSound("generat.wav")
  210.   repeat while the locV of sprite 43 < 30
  211.     IFLSkipBut()
  212.     if IFLGone = 1 then
  213.       exit repeat
  214.     end if
  215.     set the locV of sprite 43 to the locV of sprite 43 + 15
  216.     updateStage()
  217.   end repeat
  218.   if IFLGone = 0 then
  219.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTFAEList, 1), 2)
  220.     set the loc of sprite 31 to point(getAt(getAt(IFLINTFAEList, 1), 3), getAt(getAt(IFLINTFAEList, 1), 4))
  221.   end if
  222.   set the locV of sprite 43 to 61
  223.   puppetSound("clang.wav")
  224.   updateStage()
  225.   repeat while soundBusy(1)
  226.   end repeat
  227.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  228.   updateStage()
  229.   repeat with t = 1 to count(IFLINTFAEList) - 1
  230.     if IFLGone <> 1 then
  231.       set the castNum of sprite getAt(getAt(IFLINTFAEList, t + 1), 1) to the number of member getAt(getAt(IFLINTFAEList, t + 1), 2)
  232.       set the loc of sprite getAt(getAt(IFLINTFAEList, t + 1), 1) to point(getAt(getAt(IFLINTFAEList, t + 1), 3), getAt(getAt(IFLINTFAEList, t + 1), 4))
  233.       puppetSound("spark.wav")
  234.       updateStage()
  235.       repeat while soundBusy(1)
  236.       end repeat
  237.       Intwait(0.20000000000000001)
  238.       IFLSkipBut()
  239.     end if
  240.   end repeat
  241.   repeat with t = 1 to count(IFLINTFAEList) - 1
  242.     set the castNum of sprite getAt(getAt(IFLINTFAEList, t + 1), 1) to 86
  243.   end repeat
  244.   updateStage()
  245.   puppetSound("generat.wav")
  246.   repeat while the locV of sprite 40 < 129
  247.     IFLSkipBut()
  248.     if IFLGone = 1 then
  249.       exit repeat
  250.     end if
  251.     set the locV of sprite 40 to the locV of sprite 40 + 20
  252.     updateStage()
  253.   end repeat
  254.   if IFLGone = 0 then
  255.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTHANList, 1), 2)
  256.     set the loc of sprite 31 to point(getAt(getAt(IFLINTHANList, 1), 3), getAt(getAt(IFLINTHANList, 1), 4))
  257.   end if
  258.   set the locV of sprite 40 to 150
  259.   puppetSound("clang.wav")
  260.   updateStage()
  261.   repeat while soundBusy(1)
  262.   end repeat
  263.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  264.   updateStage()
  265.   repeat with t = 1 to count(IFLINTHANList) - 1
  266.     if IFLGone <> 1 then
  267.       set the castNum of sprite getAt(getAt(IFLINTHANList, t + 1), 1) to the number of member getAt(getAt(IFLINTHANList, t + 1), 2)
  268.       set the loc of sprite getAt(getAt(IFLINTHANList, t + 1), 1) to point(getAt(getAt(IFLINTHANList, t + 1), 3), getAt(getAt(IFLINTHANList, t + 1), 4))
  269.       puppetSound("spark.wav")
  270.       updateStage()
  271.       repeat while soundBusy(1)
  272.       end repeat
  273.       Intwait(1.0)
  274.       IFLSkipBut()
  275.     end if
  276.   end repeat
  277.   repeat with t = 1 to count(IFLINTHANList) - 1
  278.     set the castNum of sprite getAt(getAt(IFLINTHANList, t + 1), 1) to 86
  279.   end repeat
  280.   updateStage()
  281.   puppetSound("generat.wav")
  282.   repeat while the locV of sprite 42 < 84
  283.     IFLSkipBut()
  284.     if IFLGone = 1 then
  285.       exit repeat
  286.     end if
  287.     set the locV of sprite 42 to the locV of sprite 42 + 20
  288.     updateStage()
  289.   end repeat
  290.   if IFLGone = 0 then
  291.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTGROList, 1), 2)
  292.     set the loc of sprite 31 to point(getAt(getAt(IFLINTGROList, 1), 3), getAt(getAt(IFLINTGROList, 1), 4))
  293.   end if
  294.   set the locV of sprite 42 to 105
  295.   puppetSound("clang.wav")
  296.   updateStage()
  297.   repeat while soundBusy(1)
  298.   end repeat
  299.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  300.   updateStage()
  301.   repeat with t = 1 to count(IFLINTGROList) - 1
  302.     if IFLGone <> 1 then
  303.       set the castNum of sprite getAt(getAt(IFLINTGROList, t + 1), 1) to the number of member getAt(getAt(IFLINTGROList, t + 1), 2)
  304.       set the loc of sprite getAt(getAt(IFLINTGROList, t + 1), 1) to point(getAt(getAt(IFLINTGROList, t + 1), 3), getAt(getAt(IFLINTGROList, t + 1), 4))
  305.       puppetSound("spark.wav")
  306.       updateStage()
  307.       repeat while soundBusy(1)
  308.       end repeat
  309.       Intwait(0.80000000000000004)
  310.       IFLSkipBut()
  311.     end if
  312.   end repeat
  313.   repeat with t = 1 to count(IFLINTGTSList) - 1
  314.     set the castNum of sprite getAt(getAt(IFLINTGTSList, t + 1), 1) to 86
  315.   end repeat
  316.   updateStage()
  317.   puppetSound("generat.wav")
  318.   repeat while the locV of sprite 44 < 30
  319.     IFLSkipBut()
  320.     if IFLGone = 1 then
  321.       exit repeat
  322.     end if
  323.     set the locV of sprite 44 to the locV of sprite 44 + 20
  324.     updateStage()
  325.   end repeat
  326.   if IFLGone = 0 then
  327.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTGESList, 1), 2)
  328.     set the loc of sprite 31 to point(getAt(getAt(IFLINTGESList, 1), 3), getAt(getAt(IFLINTGESList, 1), 4))
  329.   end if
  330.   set the locV of sprite 44 to 61
  331.   puppetSound("clang.wav")
  332.   updateStage()
  333.   repeat while soundBusy(1)
  334.   end repeat
  335.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  336.   updateStage()
  337.   repeat with t = 1 to count(IFLINTGESList) - 1
  338.     if IFLGone <> 1 then
  339.       set the castNum of sprite getAt(getAt(IFLINTGESList, t + 1), 1) to the number of member getAt(getAt(IFLINTGESList, t + 1), 2)
  340.       set the loc of sprite getAt(getAt(IFLINTGESList, t + 1), 1) to point(getAt(getAt(IFLINTGESList, t + 1), 3), getAt(getAt(IFLINTGESList, t + 1), 4))
  341.       puppetSound("spark.wav")
  342.       updateStage()
  343.       repeat while soundBusy(1)
  344.       end repeat
  345.       Intwait(1.0)
  346.       IFLSkipBut()
  347.     end if
  348.   end repeat
  349.   repeat with t = 1 to count(IFLINTGESList) - 1
  350.     set the castNum of sprite getAt(getAt(IFLINTGESList, t + 1), 1) to 86
  351.   end repeat
  352.   updateStage()
  353.   puppetSound("generat.wav")
  354.   repeat while the locV of sprite 39 < 129
  355.     IFLSkipBut()
  356.     if IFLGone = 1 then
  357.       exit repeat
  358.     end if
  359.     set the locV of sprite 39 to the locV of sprite 39 + 20
  360.     updateStage()
  361.   end repeat
  362.   if IFLGone = 0 then
  363.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTREFList, 1), 2)
  364.     set the loc of sprite 31 to point(getAt(getAt(IFLINTREFList, 1), 3), getAt(getAt(IFLINTREFList, 1), 4))
  365.   end if
  366.   set the locV of sprite 39 to 150
  367.   puppetSound("clang.wav")
  368.   updateStage()
  369.   repeat while soundBusy(1)
  370.   end repeat
  371.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  372.   updateStage()
  373.   repeat with t = 1 to count(IFLINTREFList) - 1
  374.     if IFLGone <> 1 then
  375.       set the castNum of sprite getAt(getAt(IFLINTREFList, t + 1), 1) to the number of member getAt(getAt(IFLINTREFList, t + 1), 2)
  376.       set the loc of sprite getAt(getAt(IFLINTREFList, t + 1), 1) to point(getAt(getAt(IFLINTREFList, t + 1), 3), getAt(getAt(IFLINTREFList, t + 1), 4))
  377.       puppetSound("spark.wav")
  378.       updateStage()
  379.       repeat while soundBusy(1)
  380.       end repeat
  381.       Intwait(0.20000000000000001)
  382.       IFLSkipBut()
  383.     end if
  384.   end repeat
  385.   repeat with t = 1 to count(IFLINTREFList) - 1
  386.     set the castNum of sprite getAt(getAt(IFLINTREFList, t + 1), 1) to 86
  387.   end repeat
  388.   updateStage()
  389.   puppetSound("generat.wav")
  390.   repeat while the locV of sprite 41 < 84
  391.     IFLSkipBut()
  392.     if IFLGone = 1 then
  393.       exit repeat
  394.     end if
  395.     set the locV of sprite 41 to the locV of sprite 41 + 20
  396.     updateStage()
  397.   end repeat
  398.   if IFLGone = 0 then
  399.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTRESList, 1), 2)
  400.     set the loc of sprite 31 to point(getAt(getAt(IFLINTRESList, 1), 3), getAt(getAt(IFLINTRESList, 1), 4))
  401.   end if
  402.   set the locV of sprite 41 to 106
  403.   puppetSound("clang.wav")
  404.   updateStage()
  405.   repeat while soundBusy(1)
  406.   end repeat
  407.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  408.   updateStage()
  409.   repeat with t = 1 to count(IFLINTRESList) - 1
  410.     if IFLGone <> 1 then
  411.       set the castNum of sprite getAt(getAt(IFLINTRESList, t + 1), 1) to the number of member getAt(getAt(IFLINTRESList, t + 1), 2)
  412.       set the loc of sprite getAt(getAt(IFLINTRESList, t + 1), 1) to point(getAt(getAt(IFLINTRESList, t + 1), 3), getAt(getAt(IFLINTRESList, t + 1), 4))
  413.       puppetSound("spark.wav")
  414.       updateStage()
  415.       repeat while soundBusy(1)
  416.       end repeat
  417.       Intwait(1.0)
  418.       IFLSkipBut()
  419.     end if
  420.   end repeat
  421.   repeat with t = 1 to count(IFLINTRESList) - 1
  422.     set the castNum of sprite getAt(getAt(IFLINTRESList, t + 1), 1) to 86
  423.   end repeat
  424.   updateStage()
  425.   puppetSound("generat.wav")
  426.   repeat while the locV of sprite 47 < 30
  427.     IFLSkipBut()
  428.     if IFLGone = 1 then
  429.       exit repeat
  430.     end if
  431.     set the locV of sprite 47 to the locV of sprite 47 + 20
  432.     updateStage()
  433.   end repeat
  434.   if IFLGone = 0 then
  435.     set the castNum of sprite 31 to the number of member getAt(getAt(IFLINTMGIList, 1), 2)
  436.     set the loc of sprite 31 to point(getAt(getAt(IFLINTMGIList, 1), 3), getAt(getAt(IFLINTMGIList, 1), 4))
  437.   end if
  438.   set the locV of sprite 47 to 61
  439.   puppetSound("clang.wav")
  440.   updateStage()
  441.   repeat while soundBusy(1)
  442.   end repeat
  443.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  444.   updateStage()
  445.   repeat with t = 1 to count(IFLINTMGIList) - 1
  446.     if IFLGone <> 1 then
  447.       set the castNum of sprite getAt(getAt(IFLINTMGIList, t + 1), 1) to the number of member getAt(getAt(IFLINTMGIList, t + 1), 2)
  448.       set the loc of sprite getAt(getAt(IFLINTMGIList, t + 1), 1) to point(getAt(getAt(IFLINTMGIList, t + 1), 3), getAt(getAt(IFLINTMGIList, t + 1), 4))
  449.       puppetSound("spark.wav")
  450.       updateStage()
  451.       repeat while soundBusy(1)
  452.       end repeat
  453.       Intwait(0.40000000000000002)
  454.       IFLSkipBut()
  455.     end if
  456.   end repeat
  457.   repeat with t = 1 to count(IFLINTMGIList) - 1
  458.     set the castNum of sprite getAt(getAt(IFLINTMGIList, t + 1), 1) to 86
  459.   end repeat
  460.   updateStage()
  461.   set the locH of sprite 20 to 2000
  462.   set the locH of sprite 31 to 2000
  463.   updateStage()
  464.   go("IntroFrame")
  465. end
  466.