home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / 360catcher.swf / scripts / frame_19 / DoAction.as
Encoding:
Text File  |  2006-07-21  |  14.2 KB  |  406 lines

  1. var ┬º\x01┬º = 206;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 206)
  5.    {
  6.       set("\x01",eval("\x01") + 262);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 466)
  12.       {
  13.          set("\x01",eval("\x01") + 297);
  14.          ┬º┬ºpush(delete ┬º┬ºpop());
  15.          break;
  16.       }
  17.       if(eval("\x01") == 590)
  18.       {
  19.          set("\x01",eval("\x01") - 154);
  20.          ┬º┬ºpush(true);
  21.       }
  22.       else
  23.       {
  24.          if(eval("\x01") == 141)
  25.          {
  26.             set("\x01",eval("\x01") + 818);
  27.             break;
  28.          }
  29.          if(eval("\x01") == 117)
  30.          {
  31.             set("\x01",eval("\x01") + 72);
  32.             break;
  33.          }
  34.          if(eval("\x01") == 468)
  35.          {
  36.             set("\x01",eval("\x01") - 156);
  37.             if(┬º┬ºpop())
  38.             {
  39.                set("\x01",eval("\x01") + 671);
  40.             }
  41.          }
  42.          else if(eval("\x01") == 436)
  43.          {
  44.             set("\x01",eval("\x01") + 30);
  45.             if(┬º┬ºpop())
  46.             {
  47.                set("\x01",eval("\x01") + 297);
  48.             }
  49.          }
  50.          else if(eval("\x01") == 168)
  51.          {
  52.             set("\x01",eval("\x01") - 51);
  53.             if(┬º┬ºpop())
  54.             {
  55.                set("\x01",eval("\x01") + 72);
  56.             }
  57.          }
  58.          else if(eval("\x01") == 763)
  59.          {
  60.             set("\x01",eval("\x01") + 170);
  61.             ┬º┬ºpush(true);
  62.          }
  63.          else if(eval("\x01") == 750)
  64.          {
  65.             set("\x01",eval("\x01") - 477);
  66.             ┬º┬ºpush(true);
  67.          }
  68.          else
  69.          {
  70.             if(eval("\x01") != 801)
  71.             {
  72.                if(eval("\x01") == 312)
  73.                {
  74.                   set("\x01",eval("\x01") + 671);
  75.                   break;
  76.                }
  77.                if(eval("\x01") == 676)
  78.                {
  79.                   set("\x01",eval("\x01") + 74);
  80.                   prevFrame();
  81.                   set(┬º┬ºpop(),┬º┬ºpop() - ┬º┬ºpop());
  82.                   if(eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)] == 30)
  83.                   {
  84.                      eval(┬º┬ºconstant(1))[┬º┬ºconstant(5)] = 720;
  85.                      set(┬º┬ºconstant(11),false);
  86.                      eval(┬º┬ºconstant(1))[┬º┬ºconstant(2)](1);
  87.                      set(┬º┬ºconstant(0),false);
  88.                   }
  89.                   break;
  90.                }
  91.                if(eval("\x01") == 189)
  92.                {
  93.                   set("\x01",eval("\x01") + 246);
  94.                }
  95.                else
  96.                {
  97.                   if(eval("\x01") == 933)
  98.                   {
  99.                      set("\x01",eval("\x01") - 792);
  100.                      if(┬º┬ºpop())
  101.                      {
  102.                         set("\x01",eval("\x01") + 818);
  103.                      }
  104.                      continue;
  105.                   }
  106.                   if(eval("\x01") == 983)
  107.                   {
  108.                      set("\x01",eval("\x01") - 182);
  109.                      ┬º┬ºpush(true);
  110.                      continue;
  111.                   }
  112.                   if(eval("\x01") != 22)
  113.                   {
  114.                      if(eval("\x01") == 959)
  115.                      {
  116.                         set("\x01",eval("\x01") - 791);
  117.                         ┬º┬ºpush(true);
  118.                      }
  119.                      else if(eval("\x01") == 273)
  120.                      {
  121.                         set("\x01",eval("\x01") - 251);
  122.                         if(┬º┬ºpop())
  123.                         {
  124.                            set("\x01",eval("\x01") + 568);
  125.                         }
  126.                      }
  127.                      else if(eval("\x01") == 923)
  128.                      {
  129.                         set("\x01",eval("\x01") - 247);
  130.                         if(┬º┬ºpop())
  131.                         {
  132.                            set("\x01",eval("\x01") + 74);
  133.                         }
  134.                      }
  135.                      else
  136.                      {
  137.                         if(eval("\x01") == 454)
  138.                         {
  139.                            set("\x01",eval("\x01") - 377);
  140.                            break;
  141.                         }
  142.                         if(eval("\x01") != 77)
  143.                         {
  144.                            break;
  145.                         }
  146.                         set("\x01",eval("\x01") + 846);
  147.                         ┬º┬ºpush(true);
  148.                      }
  149.                      continue;
  150.                   }
  151.                   set("\x01",eval("\x01") + 568);
  152.                   if(eval(┬º┬ºpop()) == 11 && _root.powerup1.moveon == false)
  153.                   {
  154.                      _root.powerup1._x = Math.random() * 288 + 393;
  155.                      _root.powerup1._y = 55;
  156.                      _root.powerup1.gotoAndPlay(2);
  157.                      _root.powerup1.moveon = true;
  158.                      b = 0;
  159.                   }
  160.                   else if(b == 11 && _root.powerup1.moveon == true)
  161.                   {
  162.                      b = Math.random(1) * 18;
  163.                      b = Math.floor(b);
  164.                      tmb2 = timer;
  165.                   }
  166.                   if(b == 12 && _root.powerup2.moveon == false)
  167.                   {
  168.                      _root.powerup2._x = Math.random() * 288 + 393;
  169.                      _root.powerup2._y = 55;
  170.                      _root.powerup2.gotoAndPlay(2);
  171.                      _root.powerup2.moveon = true;
  172.                      b = 0;
  173.                   }
  174.                   else if(b2 == 12 && _root.powerup2.moveon == true)
  175.                   {
  176.                      b = Math.random(1) * 18;
  177.                      b = Math.floor(b);
  178.                      tmb2 = timer;
  179.                   }
  180.                   if(b == 13 && _root.powerup3.moveon == false)
  181.                   {
  182.                      _root.powerup3._x = Math.random() * 288 + 393;
  183.                      _root.powerup3._y = 55;
  184.                      _root.powerup3.gotoAndPlay(2);
  185.                      _root.powerup3.moveon = true;
  186.                      b = 0;
  187.                   }
  188.                   else if(b == 13 && _root.powerup3.moveon == true)
  189.                   {
  190.                      b = Math.random(1) * 18;
  191.                      b = Math.floor(b);
  192.                      tmb2 = timer;
  193.                   }
  194.                   if(b == 14 && _root.powerup4.moveon == false)
  195.                   {
  196.                      _root.powerup4._x = Math.random() * 288 + 393;
  197.                      _root.powerup4._y = 55;
  198.                      _root.powerup4.gotoAndPlay(2);
  199.                      _root.powerup4.moveon = true;
  200.                      b = 0;
  201.                   }
  202.                   else if(b == 14 && _root.powerup4.moveon == true)
  203.                   {
  204.                      b = Math.random(1) * 18;
  205.                      b = Math.floor(b);
  206.                      tmb2 = timer;
  207.                   }
  208.                   if(b == 15 && _root.powerup4.moveon == false)
  209.                   {
  210.                      _root.powerup4._x = Math.random() * 288 + 393;
  211.                      _root.powerup4._y = 55;
  212.                      _root.powerup4.gotoAndPlay(2);
  213.                      _root.powerup4.moveon = true;
  214.                      b = 0;
  215.                   }
  216.                   else if(b == 15 && _root.powerup4.moveon == true)
  217.                   {
  218.                      b = Math.random(1) * 18;
  219.                      b = Math.floor(b);
  220.                      tmb2 = timer;
  221.                   }
  222.                   if(b == 16 && _root.powerup5.moveon == false)
  223.                   {
  224.                      _root.powerup5._x = Math.random() * 288 + 393;
  225.                      _root.powerup5._y = 55;
  226.                      _root.powerup5.gotoAndPlay(2);
  227.                      _root.powerup5.moveon = true;
  228.                      b = 0;
  229.                   }
  230.                   else if(b == 16 && _root.powerup5.moveon == true)
  231.                   {
  232.                      b = Math.random(1) * 18;
  233.                      b = Math.floor(b);
  234.                      tmb2 = timer;
  235.                   }
  236.                   if(b == 17 && _root.powerup6.moveon == false)
  237.                   {
  238.                      _root.powerup6._x = Math.random() * 288 + 393;
  239.                      _root.powerup6._y = 55;
  240.                      _root.powerup6.gotoAndPlay(2);
  241.                      _root.powerup6.moveon = true;
  242.                      b = 0;
  243.                   }
  244.                   else if(b == 17 && _root.powerup6.moveon == true)
  245.                   {
  246.                      b = Math.random(1) * 18;
  247.                      b = Math.floor(b);
  248.                      tmb2 = timer;
  249.                   }
  250.                   if(b == 18 && _root.powerup6.moveon == false)
  251.                   {
  252.                      _root.powerup6._x = Math.random() * 288 + 393;
  253.                      _root.powerup6._y = 55;
  254.                      _root.powerup6.gotoAndPlay(2);
  255.                      _root.powerup6.moveon = true;
  256.                      b = 0;
  257.                   }
  258.                   else if(b == 18 && _root.powerup6.moveon == true)
  259.                   {
  260.                      b = Math.random(1) * 18;
  261.                      b = Math.floor(b);
  262.                      tmb2 = timer;
  263.                   }
  264.                }
  265.                fps = 30;
  266.                sec = 30;
  267.                min = 0;
  268.                Score = 0;
  269.                opt = false;
  270.                tzm = false;
  271.                showtxt = false;
  272.                addtext = false;
  273.                tmb2 = 30;
  274.                timer = 15;
  275.                ballsp = 20;
  276.                perf = (min * 59 + 59 - sec) * 500;
  277.                far = (min * 59 + 59 - sec) * 150;
  278.                god = (min * 59 + 59 - sec) * 200;
  279.                verygod = (min * 59 + 59 - sec) * 300;
  280.                b = Math.random() * 1;
  281.                pl = false;
  282.                onEnterFrame = function()
  283.                {
  284.                   if(tmb2 > 0)
  285.                   {
  286.                      tmb2--;
  287.                   }
  288.                   else
  289.                   {
  290.                      b = Math.random(1) * 18;
  291.                      b = Math.floor(b);
  292.                      callball();
  293.                      tmb2 = timer;
  294.                   }
  295.                   time_();
  296.                   _root.Mins = min;
  297.                   if(sec <= 9 && sec >= 0)
  298.                   {
  299.                      _root.Secs = "0" + sec;
  300.                   }
  301.                   else if(sec > 9)
  302.                   {
  303.                      _root.Secs = sec;
  304.                   }
  305.                   if(min <= 0 && sec <= 0 && showtxt == false)
  306.                   {
  307.                      pl = true;
  308.                      showtxt = true;
  309.                      addtext = true;
  310.                   }
  311.                   if(showtxt == true)
  312.                   {
  313.                      if(Score >= perf && addtext == true)
  314.                      {
  315.                         _root.attachMovie("perfect2","perfect2",_root.getNextHighestDepth());
  316.                         _root.perfect2._x = 510;
  317.                         _root.perfect2._y = 300;
  318.                         addtext = false;
  319.                      }
  320.                      if(Score >= verygod && Score < perf && addtext == true)
  321.                      {
  322.                         _root.attachMovie("verygood2","verygood2",_root.getNextHighestDepth());
  323.                         _root.verygood2._x = 510;
  324.                         _root.verygood2._y = 300;
  325.                         addtext = false;
  326.                      }
  327.                      if(Score >= god && Score < verygod && addtext == true)
  328.                      {
  329.                         _root.attachMovie("good2","good2",_root.getNextHighestDepth());
  330.                         _root.good2._x = 510;
  331.                         _root.good2._y = 300;
  332.                         addtext = false;
  333.                      }
  334.                      if(Score >= far && Score < god && addtext == true)
  335.                      {
  336.                         _root.attachMovie("fair2","fair2",_root.getNextHighestDepth());
  337.                         _root.fair2._x = 510;
  338.                         _root.fair2._y = 300;
  339.                         addtext = false;
  340.                      }
  341.                      if(Score >= 0 && Score < far && addtext == true)
  342.                      {
  343.                         _root.attachMovie("poor2","poor2",_root.getNextHighestDepth());
  344.                         _root.poor2._x = 510;
  345.                         _root.poor2._y = 300;
  346.                         addtext = false;
  347.                      }
  348.                   }
  349.                   if(Score >= 0 && Score <= 9)
  350.                   {
  351.                      _root.sc = "000000000" + Score;
  352.                   }
  353.                   if(Score >= 9 && Score <= 99)
  354.                   {
  355.                      _root.sc = "00000000" + Score;
  356.                   }
  357.                   if(Score >= 99 && Score <= 999)
  358.                   {
  359.                      _root.sc = "0000000" + Score;
  360.                   }
  361.                   if(Score >= 999 && Score <= 9999)
  362.                   {
  363.                      _root.sc = "000000" + Score;
  364.                   }
  365.                   if(Score >= 9999 && Score <= 99999)
  366.                   {
  367.                      _root.sc = "00000" + Score;
  368.                   }
  369.                   if(Score >= 99999 && Score <= 999999)
  370.                   {
  371.                      _root.sc = "0000" + Score;
  372.                   }
  373.                   if(Score >= 999999 && Score <= 9999999)
  374.                   {
  375.                      _root.sc = "000" + Score;
  376.                   }
  377.                   if(Score >= 9999999 && Score <= 99999999)
  378.                   {
  379.                      _root.sc = "00" + Score;
  380.                   }
  381.                   if(Score >= 99999999 && Score <= 999999999)
  382.                   {
  383.                      _root.sc = "0" + Score;
  384.                   }
  385.                   if(Score >= 999999999 && Score <= 9999999999)
  386.                   {
  387.                      _root.sc = Score;
  388.                   }
  389.                   if(Score < 0)
  390.                   {
  391.                      Score = 0;
  392.                   }
  393.                };
  394.                stop();
  395.                break;
  396.             }
  397.             set("\x01",eval("\x01") - 347);
  398.             if(┬º┬ºpop())
  399.             {
  400.                set("\x01",eval("\x01") - 377);
  401.             }
  402.          }
  403.       }
  404.    }
  405. }
  406.