home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 July / WPCJUL96.ISO / file.exe / INTRFINJ.DXR / 00006_IFLAnimateGreyLines.ls < prev    next >
Encoding:
Text File  |  1996-05-15  |  16.9 KB  |  617 lines

  1. on IFLAnimateGreyLines
  2.   global IFLMarkRed, IFLGone
  3.   set IFLMarkRed to 3
  4.   set the castNum of sprite 3 to the number of cast "IFLOne"
  5.   set the castNum of sprite 4 to the number of cast "IFLTwo"
  6.   set the castNum of sprite 5 to the number of cast "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 cast "IFLFive"
  22.   set the castNum of sprite 7 to the number of cast "IFLSix"
  23.   set the castNum of sprite 8 to the number of cast "IFLSeven"
  24.   set the castNum of sprite 9 to the number of cast "IFLEight"
  25.   set the castNum of sprite 10 to the number of cast "IFLNine"
  26.   set the castNum of sprite 11 to the number of cast "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 cast "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 cast "IFLEleven"
  74.   set the castNum of sprite 14 to the number of cast "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 cast "IFLThirteen"
  92.   set the castNum of sprite 16 to the number of cast "IFLFourteen"
  93.   set the castNum of sprite 17 to the number of cast "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 171
  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 200
  266.     set the locV of sprite 11 to 200
  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 200
  306.     set the castNum of sprite 11 to the castNum of sprite 15
  307.   end if
  308.   repeat with t = 1 to 3
  309.     IFLSkipBut()
  310.     if IFLGone = 1 then
  311.       exit repeat
  312.     end if
  313.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  314.     puppetSound("spark.wav")
  315.     updateStage()
  316.     repeat while soundBusy(1)
  317.     end repeat
  318.   end repeat
  319.   puppetSound("generat.wav")
  320.   repeat while the locV of sprite 40 < 129
  321.     IFLSkipBut()
  322.     if IFLGone = 1 then
  323.       exit repeat
  324.     end if
  325.     set the locV of sprite 40 to the locV of sprite 40 + 20
  326.     updateStage()
  327.   end repeat
  328.   set the castNum of sprite 15 to the castNum of sprite 11 + 1
  329.   set the locH of sprite 11 to 2000
  330.   updateStage()
  331.   set the locV of sprite 40 to 150
  332.   puppetSound("clang.wav")
  333.   updateStage()
  334.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  335.   updateStage()
  336.   repeat while soundBusy(1)
  337.   end repeat
  338.   if IFLGone = 0 then
  339.     set the locH of sprite 11 to 200
  340.     set the castNum of sprite 11 to the castNum of sprite 15
  341.   end if
  342.   repeat with t = 1 to 2
  343.     IFLSkipBut()
  344.     if IFLGone = 1 then
  345.       exit repeat
  346.     end if
  347.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  348.     puppetSound("spark.wav")
  349.     updateStage()
  350.     repeat while soundBusy(1)
  351.     end repeat
  352.   end repeat
  353.   puppetSound("generat.wav")
  354.   repeat while the locV of sprite 42 < 84
  355.     IFLSkipBut()
  356.     if IFLGone = 1 then
  357.       exit repeat
  358.     end if
  359.     set the locV of sprite 42 to the locV of sprite 42 + 20
  360.     updateStage()
  361.   end repeat
  362.   if IFLGone = 0 then
  363.     set the castNum of sprite 15 to the castNum of sprite 11 + 1
  364.     set the locH of sprite 11 to 2000
  365.     updateStage()
  366.   end if
  367.   set the locV of sprite 42 to 105
  368.   puppetSound("clang.wav")
  369.   updateStage()
  370.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  371.   updateStage()
  372.   repeat while soundBusy(1)
  373.   end repeat
  374.   if IFLGone = 0 then
  375.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  376.     set the locH of sprite 11 to 200
  377.     updateStage()
  378.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  379.     set the locH of sprite 12 to 200
  380.     updateStage()
  381.   end if
  382.   repeat with t = 1 to 3
  383.     IFLSkipBut()
  384.     if IFLGone = 1 then
  385.       exit repeat
  386.     end if
  387.     set the castNum of sprite 12 to the castNum of sprite 12 + 1
  388.     updateStage()
  389.     puppetSound("spark.wav")
  390.     updateStage()
  391.     repeat while soundBusy(1)
  392.     end repeat
  393.   end repeat
  394.   puppetSound("generat.wav")
  395.   repeat while the locV of sprite 44 < 30
  396.     IFLSkipBut()
  397.     if IFLGone = 1 then
  398.       exit repeat
  399.     end if
  400.     set the locV of sprite 44 to the locV of sprite 44 + 20
  401.     updateStage()
  402.   end repeat
  403.   if IFLGone = 0 then
  404.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  405.     set the locH of sprite 11 to 2000
  406.     set the locH of sprite 12 to 2000
  407.     updateStage()
  408.   end if
  409.   set the locV of sprite 44 to 61
  410.   puppetSound("clang.wav")
  411.   updateStage()
  412.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  413.   updateStage()
  414.   repeat while soundBusy(1)
  415.   end repeat
  416.   if IFLGone = 0 then
  417.     set the locH of sprite 11 to 200
  418.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  419.     updateStage()
  420.     IFLSkipBut()
  421.   end if
  422.   if IFLGone = 0 then
  423.     set the locH of sprite 12 to 200
  424.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  425.     updateStage()
  426.     IFLSkipBut()
  427.   end if
  428.   repeat with t = 1 to 4
  429.     IFLSkipBut()
  430.     if IFLGone = 1 then
  431.       exit repeat
  432.     end if
  433.     set the castNum of sprite 12 to the castNum of sprite 12 + 1
  434.     updateStage()
  435.     puppetSound("spark.wav")
  436.     updateStage()
  437.     repeat while soundBusy(1)
  438.     end repeat
  439.   end repeat
  440.   puppetSound("generat.wav")
  441.   repeat while the locV of sprite 39 < 129
  442.     IFLSkipBut()
  443.     if IFLGone = 1 then
  444.       exit repeat
  445.     end if
  446.     set the locV of sprite 39 to the locV of sprite 39 + 20
  447.     updateStage()
  448.   end repeat
  449.   if IFLGone = 0 then
  450.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  451.     set the ink of sprite 15 to 37
  452.     set the locH of sprite 11 to 2000
  453.     set the locV of sprite 12 to 2000
  454.     updateStage()
  455.   end if
  456.   set the locV of sprite 39 to 150
  457.   puppetSound("clang.wav")
  458.   updateStage()
  459.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  460.   updateStage()
  461.   repeat while soundBusy(1)
  462.   end repeat
  463.   if IFLGone = 0 then
  464.     set the locH of sprite 11 to 200
  465.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  466.     updateStage()
  467.     puppetSound("spark.wav")
  468.     updateStage()
  469.     repeat while soundBusy(1)
  470.     end repeat
  471.     IFLSkipBut()
  472.   end if
  473.   if IFLGone = 0 then
  474.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  475.     updateStage()
  476.     puppetSound("spark.wav")
  477.     updateStage()
  478.     repeat while soundBusy(1)
  479.     end repeat
  480.     IFLSkipBut()
  481.   end if
  482.   if IFLGone = 0 then
  483.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  484.     set the locH of sprite 12 to 200
  485.     set the locV of sprite 12 to 200
  486.     updateStage()
  487.     puppetSound("spark.wav")
  488.     updateStage()
  489.     repeat while soundBusy(1)
  490.     end repeat
  491.   end if
  492.   puppetSound("generat.wav")
  493.   repeat while the locV of sprite 41 < 84
  494.     IFLSkipBut()
  495.     if IFLGone = 1 then
  496.       exit repeat
  497.     end if
  498.     set the locV of sprite 41 to the locV of sprite 41 + 20
  499.     updateStage()
  500.   end repeat
  501.   if IFLGone = 0 then
  502.     set the castNum of sprite 15 to the castNum of sprite 12 + 1
  503.     set the ink of sprite 15 to 36
  504.     set the locH of sprite 11 to 2000
  505.     set the locH of sprite 12 to 2000
  506.     updateStage()
  507.   end if
  508.   set the locV of sprite 41 to 106
  509.   puppetSound("clang.wav")
  510.   updateStage()
  511.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  512.   updateStage()
  513.   repeat while soundBusy(1)
  514.   end repeat
  515.   if IFLGone = 0 then
  516.     set the locH of sprite 11 to 200
  517.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  518.     updateStage()
  519.     puppetSound("spark.wav")
  520.     updateStage()
  521.     repeat while soundBusy(1)
  522.     end repeat
  523.     IFLSkipBut()
  524.   end if
  525.   if IFLGone = 0 then
  526.     set the locH of sprite 12 to 200
  527.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  528.     updateStage()
  529.     puppetSound("spark.wav")
  530.     updateStage()
  531.     repeat while soundBusy(1)
  532.     end repeat
  533.     IFLSkipBut()
  534.   end if
  535.   if IFLGone = 0 then
  536.     set the locH of sprite 13 to 200
  537.     set the locV of sprite 13 to 200
  538.     set the castNum of sprite 13 to the castNum of sprite 12 + 1
  539.     updateStage()
  540.     puppetSound("spark.wav")
  541.     updateStage()
  542.     repeat while soundBusy(1)
  543.     end repeat
  544.   end if
  545.   repeat with t = 1 to 2
  546.     IFLSkipBut()
  547.     if IFLGone = 1 then
  548.       exit repeat
  549.     end if
  550.     set the castNum of sprite 13 to the castNum of sprite 13 + 1
  551.     updateStage()
  552.     puppetSound("spark.wav")
  553.     updateStage()
  554.     repeat while soundBusy(1)
  555.     end repeat
  556.   end repeat
  557.   puppetSound("generat.wav")
  558.   repeat while the locV of sprite 47 < 30
  559.     IFLSkipBut()
  560.     if IFLGone = 1 then
  561.       exit repeat
  562.     end if
  563.     set the locV of sprite 47 to the locV of sprite 47 + 20
  564.     updateStage()
  565.   end repeat
  566.   if IFLGone = 0 then
  567.     set the castNum of sprite 15 to the castNum of sprite 13 + 1
  568.     set the locH of sprite 11 to 2000
  569.     set the locH of sprite 12 to 2000
  570.     set the locH of sprite 13 to 2000
  571.     updateStage()
  572.   end if
  573.   set the locV of sprite 47 to 61
  574.   puppetSound("clang.wav")
  575.   updateStage()
  576.   set the castNum of sprite 6 to the castNum of sprite 6 + 1
  577.   updateStage()
  578.   repeat while soundBusy(1)
  579.   end repeat
  580.   if IFLGone = 0 then
  581.     set the locH of sprite 11 to 200
  582.     set the castNum of sprite 11 to the castNum of sprite 15 + 1
  583.     updateStage()
  584.     puppetSound("spark.wav")
  585.     updateStage()
  586.     repeat while soundBusy(1)
  587.     end repeat
  588.     IFLSkipBut()
  589.   end if
  590.   if IFLGone = 0 then
  591.     set the castNum of sprite 11 to the castNum of sprite 11 + 1
  592.     updateStage()
  593.     puppetSound("spark.wav")
  594.     updateStage()
  595.     repeat while soundBusy(1)
  596.     end repeat
  597.     IFLSkipBut()
  598.   end if
  599.   if IFLGone = 0 then
  600.     set the locH of sprite 12 to 200
  601.     set the castNum of sprite 12 to the castNum of sprite 11 + 1
  602.     updateStage()
  603.     puppetSound("spark.wav")
  604.     updateStage()
  605.     repeat while soundBusy(1)
  606.     end repeat
  607.     wait(0.20000000000000001)
  608.     IFLSkipBut()
  609.   end if
  610.   set the locH of sprite 15 to 2000
  611.   set the locH of sprite 11 to 2000
  612.   set the locH of sprite 12 to 2000
  613.   set the locH of sprite 20 to 2000
  614.   updateStage()
  615.   go("IntroFrame")
  616. end
  617.