home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / file.exe / file.dxr / 00006_IFLAnimateGreyLines.ls < prev    next >
Encoding:
Text File  |  1996-06-17  |  17.1 KB  |  625 lines

  1. on IFLAnimateGreyLines
  2.   global IFLMarkRed, IFLGone
  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.   set the locV of sprite 30 to 2000
  123.   updateStage()
  124.   set the castNum of sprite 20 to 173
  125.   set the locH of sprite 20 to 50
  126.   set the locV of sprite 20 to 450
  127.   set the ink of sprite 20 to 36
  128.   updateStage()
  129.   puppetSound("generat.wav")
  130.   repeat while the locV of sprite 46 < 129
  131.     set the locV of sprite 46 to the locV of sprite 46 + 15
  132.     updateStage()
  133.   end repeat
  134.   set the castNum of sprite 15 to 120
  135.   set the ink of sprite 15 to 36
  136.   set the ink of sprite 11 to 36
  137.   set the ink of sprite 12 to 36
  138.   set the locH of sprite 15 to 200
  139.   set the locV of sprite 15 to 200
  140.   updateStage()
  141.   set the locV of sprite 46 to 150
  142.   puppetSound("clang.wav")
  143.   updateStage()
  144.   repeat while soundBusy(1)
  145.   end repeat
  146.   IFLSkipBut()
  147.   set the castNum of sprite 6 to 100
  148.   set the ink of sprite 6 to 36
  149.   set the locH of sprite 6 to 200
  150.   set the locV of sprite 6 to 200
  151.   updateStage()
  152.   if IFLGone = 0 then
  153.     set the castNum of sprite 11 to 121
  154.     set the locH of sprite 11 to 200
  155.     set the locV of sprite 11 to 200
  156.     updateStage()
  157.     puppetSound("spark.wav")
  158.     updateStage()
  159.     repeat while soundBusy(1)
  160.     end repeat
  161.     IFLSkipBut()
  162.   end if
  163.   if IFLGone = 0 then
  164.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  165.     updateStage()
  166.     puppetSound("spark.wav")
  167.     updateStage()
  168.     repeat while soundBusy(1)
  169.     end repeat
  170.     IFLSkipBut()
  171.   end if
  172.   if IFLGone = 0 then
  173.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  174.     set the locH of sprite 12 to 200
  175.     set the locV of sprite 12 to 200
  176.     updateStage()
  177.     puppetSound("spark.wav")
  178.     updateStage()
  179.     repeat while soundBusy(1)
  180.     end repeat
  181.     IFLSkipBut()
  182.   end if
  183.   if IFLGone = 0 then
  184.     set the castNum of sprite 11 to the castNum of sprite 12 + 1
  185.     updateStage()
  186.     puppetSound("spark.wav")
  187.     updateStage()
  188.     repeat while soundBusy(1)
  189.     end repeat
  190.     IFLSkipBut()
  191.   end if
  192.   if IFLGone = 0 then
  193.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  194.     set the locH of sprite 11 to 2000
  195.     updateStage()
  196.     puppetSound("spark.wav")
  197.     updateStage()
  198.     repeat while soundBusy(1)
  199.     end repeat
  200.     IFLSkipBut()
  201.   end if
  202.   if IFLGone = 0 then
  203.     set the castNum of sprite 11 to the castNum of sprite 12 + 1
  204.     set the locH of sprite 11 to 200
  205.     updateStage()
  206.     puppetSound("spark.wav")
  207.     updateStage()
  208.     repeat while soundBusy(1)
  209.     end repeat
  210.     IFLSkipBut()
  211.   end if
  212.   if IFLGone = 0 then
  213.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  214.     set the locH of sprite 12 to 2000
  215.     updateStage()
  216.     puppetSound("spark.wav")
  217.     updateStage()
  218.     repeat while soundBusy(1)
  219.     end repeat
  220.     IFLSkipBut()
  221.   end if
  222.   if IFLGone = 0 then
  223.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  224.     set the locH of sprite 12 to 200
  225.     updateStage()
  226.     puppetSound("spark.wav")
  227.     updateStage()
  228.     repeat while soundBusy(1)
  229.     end repeat
  230.     IFLSkipBut()
  231.   end if
  232.   set the locH of sprite 11 to 2000
  233.   repeat with t = 1 to 2
  234.     if IFLGone = 1 then
  235.       exit repeat
  236.     end if
  237.     set the castNum of sprite 12 to the castNum of sprite 12 + 1
  238.     updateStage()
  239.     puppetSound("spark.wav")
  240.     updateStage()
  241.     repeat while soundBusy(1)
  242.     end repeat
  243.     IFLSkipBut()
  244.   end repeat
  245.   puppetSound("generat.wav")
  246.   repeat while the locV of sprite 45 < 84
  247.     IFLSkipBut()
  248.     if IFLGone = 1 then
  249.       exit repeat
  250.     end if
  251.     set the locV of sprite 45 to the locV of sprite 45 + 15
  252.     updateStage()
  253.   end repeat
  254.   set the castNum of sprite 15 to the castNum of sprite 12 + 1
  255.   set the locH of sprite 12 to 2000
  256.   updateStage()
  257.   set the locV of sprite 45 to 105
  258.   puppetSound("clang.wav")
  259.   updateStage()
  260.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  261.   updateStage()
  262.   repeat while soundBusy(1)
  263.   end repeat
  264.   if IFLGone = 0 then
  265.     set the locH of sprite 11 to 320
  266.     set the locV of sprite 11 to 280
  267.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  268.     IFLSkipBut()
  269.     puppetSound("spark.wav")
  270.     updateStage()
  271.     repeat while soundBusy(1)
  272.     end repeat
  273.   end if
  274.   repeat with t = 1 to 4
  275.     IFLSkipBut()
  276.     if IFLGone = 1 then
  277.       exit repeat
  278.     end if
  279.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  280.     puppetSound("spark.wav")
  281.     updateStage()
  282.     repeat while soundBusy(1)
  283.     end repeat
  284.   end repeat
  285.   puppetSound("generat.wav")
  286.   repeat while the locV of sprite 43 < 30
  287.     IFLSkipBut()
  288.     if IFLGone = 1 then
  289.       exit repeat
  290.     end if
  291.     set the locV of sprite 43 to the locV of sprite 43 + 15
  292.     updateStage()
  293.   end repeat
  294.   set the castNum of sprite 15 to the castNum of sprite 11 + 1
  295.   set the locH of sprite 11 to 2000
  296.   updateStage()
  297.   set the locV of sprite 43 to 61
  298.   puppetSound("clang.wav")
  299.   updateStage()
  300.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  301.   updateStage()
  302.   if IFLGone = 0 then
  303.     repeat while soundBusy(1)
  304.     end repeat
  305.     set the locH of sprite 11 to 320
  306.     set the locV of sprite 11 to 280
  307.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  308.   end if
  309.   updateStage()
  310.   repeat with t = 1 to 4
  311.     IFLSkipBut()
  312.     if IFLGone = 1 then
  313.       exit repeat
  314.     end if
  315.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  316.     puppetSound("spark.wav")
  317.     updateStage()
  318.     repeat while soundBusy(1)
  319.     end repeat
  320.   end repeat
  321.   puppetSound("generat.wav")
  322.   repeat while the locV of sprite 40 < 129
  323.     IFLSkipBut()
  324.     if IFLGone = 1 then
  325.       exit repeat
  326.     end if
  327.     set the locV of sprite 40 to the locV of sprite 40 + 20
  328.     updateStage()
  329.   end repeat
  330.   set the castNum of sprite 15 to the castNum of sprite 11 + 1
  331.   set the locH of sprite 11 to 2000
  332.   set the ink of sprite 15 to 37
  333.   updateStage()
  334.   set the locV of sprite 40 to 150
  335.   puppetSound("clang.wav")
  336.   updateStage()
  337.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  338.   updateStage()
  339.   repeat while soundBusy(1)
  340.   end repeat
  341.   if IFLGone = 0 then
  342.     set the locH of sprite 11 to 200
  343.     set the locV of sprite 11 to 200
  344.     set the castNum of sprite 11 to the castNum of sprite 15
  345.   end if
  346.   repeat with t = 1 to 2
  347.     IFLSkipBut()
  348.     if IFLGone = 1 then
  349.       exit repeat
  350.     end if
  351.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  352.     puppetSound("spark.wav")
  353.     updateStage()
  354.     repeat while soundBusy(1)
  355.     end repeat
  356.   end repeat
  357.   puppetSound("generat.wav")
  358.   repeat while the locV of sprite 42 < 84
  359.     IFLSkipBut()
  360.     if IFLGone = 1 then
  361.       exit repeat
  362.     end if
  363.     set the locV of sprite 42 to the locV of sprite 42 + 20
  364.     updateStage()
  365.   end repeat
  366.   if IFLGone = 0 then
  367.     set the castNum of sprite 15 to the castNum of sprite 11 + 1
  368.     set the locH of sprite 11 to 2000
  369.     set the ink of sprite 15 to 36
  370.     updateStage()
  371.   end if
  372.   set the locV of sprite 42 to 105
  373.   puppetSound("clang.wav")
  374.   updateStage()
  375.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  376.   updateStage()
  377.   repeat while soundBusy(1)
  378.   end repeat
  379.   if IFLGone = 0 then
  380.     set the castNum of sprite 12 to the castNum of sprite 15 + 1
  381.     set the locH of sprite 12 to 200
  382.     updateStage()
  383.   end if
  384.   repeat with t = 1 to 4
  385.     IFLSkipBut()
  386.     if IFLGone = 1 then
  387.       exit repeat
  388.     end if
  389.     set the castNum of sprite 12 to the castNum of sprite 12 + 1
  390.     updateStage()
  391.     puppetSound("spark.wav")
  392.     updateStage()
  393.     repeat while soundBusy(1)
  394.     end repeat
  395.   end repeat
  396.   puppetSound("generat.wav")
  397.   repeat while the locV of sprite 44 < 30
  398.     IFLSkipBut()
  399.     if IFLGone = 1 then
  400.       exit repeat
  401.     end if
  402.     set the locV of sprite 44 to the locV of sprite 44 + 20
  403.     updateStage()
  404.   end repeat
  405.   if IFLGone = 0 then
  406.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  407.     set the locH of sprite 11 to 2000
  408.     set the locH of sprite 12 to 2000
  409.     updateStage()
  410.   end if
  411.   set the locV of sprite 44 to 61
  412.   puppetSound("clang.wav")
  413.   updateStage()
  414.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  415.   updateStage()
  416.   repeat while soundBusy(1)
  417.   end repeat
  418.   if IFLGone = 0 then
  419.     set the locH of sprite 11 to 200
  420.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  421.     updateStage()
  422.     IFLSkipBut()
  423.   end if
  424.   if IFLGone = 0 then
  425.     set the locH of sprite 12 to 200
  426.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  427.     updateStage()
  428.     IFLSkipBut()
  429.   end if
  430.   repeat with t = 1 to 4
  431.     IFLSkipBut()
  432.     if IFLGone = 1 then
  433.       exit repeat
  434.     end if
  435.     if t = 4 then
  436.       set the castNum of sprite 11 to 2000
  437.       set the ink of sprite 15 to 37
  438.       updateStage()
  439.     end if
  440.     set the castNum of sprite 12 to the castNum of sprite 12 + 1
  441.     updateStage()
  442.     puppetSound("spark.wav")
  443.     updateStage()
  444.     repeat while soundBusy(1)
  445.     end repeat
  446.   end repeat
  447.   puppetSound("generat.wav")
  448.   repeat while the locV of sprite 39 < 129
  449.     IFLSkipBut()
  450.     if IFLGone = 1 then
  451.       exit repeat
  452.     end if
  453.     set the locV of sprite 39 to the locV of sprite 39 + 20
  454.     updateStage()
  455.   end repeat
  456.   if IFLGone = 0 then
  457.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  458.     set the ink of sprite 15 to 37
  459.     set the locH of sprite 11 to 2000
  460.     set the locV of sprite 12 to 2000
  461.     updateStage()
  462.   end if
  463.   set the locV of sprite 39 to 150
  464.   puppetSound("clang.wav")
  465.   updateStage()
  466.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  467.   updateStage()
  468.   repeat while soundBusy(1)
  469.   end repeat
  470.   if IFLGone = 0 then
  471.     set the locH of sprite 11 to 200
  472.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  473.     updateStage()
  474.     puppetSound("spark.wav")
  475.     updateStage()
  476.     repeat while soundBusy(1)
  477.     end repeat
  478.     IFLSkipBut()
  479.   end if
  480.   if IFLGone = 0 then
  481.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  482.     updateStage()
  483.     puppetSound("spark.wav")
  484.     updateStage()
  485.     repeat while soundBusy(1)
  486.     end repeat
  487.     IFLSkipBut()
  488.   end if
  489.   if IFLGone = 0 then
  490.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  491.     set the locH of sprite 12 to 200
  492.     set the locV of sprite 12 to 200
  493.     updateStage()
  494.     puppetSound("spark.wav")
  495.     updateStage()
  496.     repeat while soundBusy(1)
  497.     end repeat
  498.   end if
  499.   puppetSound("generat.wav")
  500.   repeat while the locV of sprite 41 < 84
  501.     IFLSkipBut()
  502.     if IFLGone = 1 then
  503.       exit repeat
  504.     end if
  505.     set the locV of sprite 41 to the locV of sprite 41 + 20
  506.     updateStage()
  507.   end repeat
  508.   if IFLGone = 0 then
  509.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  510.     set the ink of sprite 15 to 36
  511.     set the locH of sprite 11 to 2000
  512.     set the locH of sprite 12 to 2000
  513.     updateStage()
  514.   end if
  515.   set the locV of sprite 41 to 106
  516.   puppetSound("clang.wav")
  517.   updateStage()
  518.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  519.   updateStage()
  520.   repeat while soundBusy(1)
  521.   end repeat
  522.   if IFLGone = 0 then
  523.     set the locH of sprite 11 to 200
  524.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  525.     updateStage()
  526.     puppetSound("spark.wav")
  527.     updateStage()
  528.     repeat while soundBusy(1)
  529.     end repeat
  530.     IFLSkipBut()
  531.   end if
  532.   if IFLGone = 0 then
  533.     set the locH of sprite 12 to 200
  534.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  535.     updateStage()
  536.     puppetSound("spark.wav")
  537.     updateStage()
  538.     repeat while soundBusy(1)
  539.     end repeat
  540.     IFLSkipBut()
  541.   end if
  542.   if IFLGone = 0 then
  543.     set the locH of sprite 13 to 200
  544.     set the locV of sprite 13 to 200
  545.     set the castNum of sprite 13 to the castNum of sprite 12 + 1
  546.     updateStage()
  547.     puppetSound("spark.wav")
  548.     updateStage()
  549.     repeat while soundBusy(1)
  550.     end repeat
  551.   end if
  552.   repeat with t = 1 to 2
  553.     IFLSkipBut()
  554.     if IFLGone = 1 then
  555.       exit repeat
  556.     end if
  557.     set the castNum of sprite 13 to the castNum of sprite 13 + 1
  558.     updateStage()
  559.     puppetSound("spark.wav")
  560.     updateStage()
  561.     repeat while soundBusy(1)
  562.     end repeat
  563.   end repeat
  564.   puppetSound("generat.wav")
  565.   repeat while the locV of sprite 47 < 30
  566.     IFLSkipBut()
  567.     if IFLGone = 1 then
  568.       exit repeat
  569.     end if
  570.     set the locV of sprite 47 to the locV of sprite 47 + 20
  571.     updateStage()
  572.   end repeat
  573.   if IFLGone = 0 then
  574.     set the castNum of sprite 15 to the castNum of sprite 13 + 1
  575.     set the locH of sprite 11 to 2000
  576.     set the locH of sprite 12 to 2000
  577.     set the locH of sprite 13 to 2000
  578.     updateStage()
  579.   end if
  580.   set the locV of sprite 47 to 61
  581.   puppetSound("clang.wav")
  582.   updateStage()
  583.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  584.   updateStage()
  585.   repeat while soundBusy(1)
  586.   end repeat
  587.   if IFLGone = 0 then
  588.     set the locH of sprite 11 to 200
  589.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  590.     updateStage()
  591.     puppetSound("spark.wav")
  592.     updateStage()
  593.     repeat while soundBusy(1)
  594.     end repeat
  595.     IFLSkipBut()
  596.   end if
  597.   if IFLGone = 0 then
  598.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  599.     updateStage()
  600.     puppetSound("spark.wav")
  601.     updateStage()
  602.     repeat while soundBusy(1)
  603.     end repeat
  604.     IFLSkipBut()
  605.   end if
  606.   if IFLGone = 0 then
  607.     set the locH of sprite 12 to 200
  608.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  609.     updateStage()
  610.     puppetSound("spark.wav")
  611.     updateStage()
  612.     repeat while soundBusy(1)
  613.     end repeat
  614.     wait(0.20000000000000001)
  615.     IFLSkipBut()
  616.   end if
  617.   set the locH of sprite 15 to 2000
  618.   set the locH of sprite 11 to 2000
  619.   set the locH of sprite 12 to 2000
  620.   set the locH of sprite 20 to 2000
  621.   updateStage()
  622.   IFLACROBAT()
  623.   go("IntroFrame")
  624. end
  625.