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

  1. var ┬º\x01┬º = 275;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 275)
  5.    {
  6.       set("\x01",eval("\x01") + 491);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 766)
  10.    {
  11.       set("\x01",eval("\x01") - 301);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") + 99);
  15.       }
  16.    }
  17.    else if(eval("\x01") == 564)
  18.    {
  19.       set("\x01",eval("\x01") - 319);
  20.       ┬º┬ºpush(true);
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 465)
  25.       {
  26.          set("\x01",eval("\x01") + 99);
  27.          nextFrame();
  28.          break;
  29.       }
  30.       if(eval("\x01") != 245)
  31.       {
  32.          if(eval("\x01") == 688)
  33.          {
  34.             set("\x01",eval("\x01") + 146);
  35.             break;
  36.          }
  37.          if(eval("\x01") == 834)
  38.          {
  39.             set("\x01",eval("\x01") - 582);
  40.             fps = 30;
  41.             sec = 30;
  42.             min = 0;
  43.             Score = 0;
  44.             Score2 = 0;
  45.             tzm = false;
  46.             tmb = 30;
  47.             tmb2 = 30;
  48.             timer = 15;
  49.             ballsp = 20;
  50.             b = Math.random() * 1;
  51.             b2 = Math.random() * 1;
  52.             pl = true;
  53.             onEnterFrame = function()
  54.             {
  55.                if(tmb2 > 0)
  56.                {
  57.                   tmb2--;
  58.                }
  59.                else
  60.                {
  61.                   b = Math.random(1) * 15;
  62.                   b = Math.floor(b);
  63.                   b2 = Math.random(1) * 15;
  64.                   b2 = Math.floor(b2);
  65.                   callball();
  66.                   tmb2 = timer;
  67.                }
  68.                time_();
  69.                _root.Mins = min;
  70.                if(sec <= 9 && sec >= 0)
  71.                {
  72.                   _root.Secs = "0" + sec;
  73.                }
  74.                else if(sec > 9)
  75.                {
  76.                   _root.Secs = sec;
  77.                }
  78.                if(min <= 0 && sec <= 0 && showtxt == false)
  79.                {
  80.                   pl = true;
  81.                   showtxt = true;
  82.                   addtext = true;
  83.                }
  84.                if(showtxt == true)
  85.                {
  86.                   if(Score > Score2 && addtext == true)
  87.                   {
  88.                      _root.attachMovie("youl","youl",_root.getNextHighestDepth());
  89.                      _root.youl._x = 198;
  90.                      _root.youl._y = 280;
  91.                      _root.attachMovie("youw","youw",_root.getNextHighestDepth());
  92.                      _root.youw._x = 570;
  93.                      _root.youw._y = 280;
  94.                      addtext = false;
  95.                   }
  96.                   if(Score < Score2 && addtext == true)
  97.                   {
  98.                      _root.attachMovie("youw","youw",_root.getNextHighestDepth());
  99.                      _root.youw._x = 198;
  100.                      _root.youw._y = 280;
  101.                      _root.attachMovie("youl","youl",_root.getNextHighestDepth());
  102.                      _root.youl._x = 570;
  103.                      _root.youl._y = 280;
  104.                      addtext = false;
  105.                   }
  106.                }
  107.                if(Score >= 0 && Score <= 9)
  108.                {
  109.                   _root.sc = "000000000" + Score;
  110.                }
  111.                if(Score >= 9 && Score <= 99)
  112.                {
  113.                   _root.sc = "00000000" + Score;
  114.                }
  115.                if(Score >= 99 && Score <= 999)
  116.                {
  117.                   _root.sc = "0000000" + Score;
  118.                }
  119.                if(Score >= 999 && Score <= 9999)
  120.                {
  121.                   _root.sc = "000000" + Score;
  122.                }
  123.                if(Score >= 9999 && Score <= 99999)
  124.                {
  125.                   _root.sc = "00000" + Score;
  126.                }
  127.                if(Score >= 99999 && Score <= 999999)
  128.                {
  129.                   _root.sc = "0000" + Score;
  130.                }
  131.                if(Score >= 999999 && Score <= 9999999)
  132.                {
  133.                   _root.sc = "000" + Score;
  134.                }
  135.                if(Score >= 9999999 && Score <= 99999999)
  136.                {
  137.                   _root.sc = "00" + Score;
  138.                }
  139.                if(Score >= 99999999 && Score <= 999999999)
  140.                {
  141.                   _root.sc = "0" + Score;
  142.                }
  143.                if(Score >= 999999999 && Score <= 9999999999)
  144.                {
  145.                   _root.sc = Score;
  146.                }
  147.                if(Score2 >= 0 && Score2 <= 9)
  148.                {
  149.                   _root.sc2 = "000000000" + Score2;
  150.                }
  151.                if(Score2 >= 9 && Score2 <= 99)
  152.                {
  153.                   _root.sc2 = "00000000" + Score2;
  154.                }
  155.                if(Score2 >= 99 && Score2 <= 999)
  156.                {
  157.                   _root.sc2 = "0000000" + Score2;
  158.                }
  159.                if(Score2 >= 999 && Score2 <= 9999)
  160.                {
  161.                   _root.sc2 = "000000" + Score2;
  162.                }
  163.                if(Score2 >= 9999 && Score2 <= 99999)
  164.                {
  165.                   _root.sc2 = "00000" + Score2;
  166.                }
  167.                if(Score2 >= 99999 && Score2 <= 999999)
  168.                {
  169.                   _root.sc2 = "0000" + Score2;
  170.                }
  171.                if(Score2 >= 999999 && Score2 <= 9999999)
  172.                {
  173.                   _root.sc2 = "000" + Score2;
  174.                }
  175.                if(Score2 >= 9999999 && Score2 <= 99999999)
  176.                {
  177.                   _root.sc2 = "00" + Score2;
  178.                }
  179.                if(Score2 >= 99999999 && Score2 <= 999999999)
  180.                {
  181.                   _root.sc2 = "0" + Score2;
  182.                }
  183.                if(Score >= 999999999 && Score2 <= 9999999999)
  184.                {
  185.                   _root.sc2 = Score2;
  186.                }
  187.                if(Score < 0)
  188.                {
  189.                   Score = 0;
  190.                }
  191.                if(Score2 < 0)
  192.                {
  193.                   Score2 = 0;
  194.                }
  195.             };
  196.             stop();
  197.          }
  198.          break;
  199.       }
  200.       set("\x01",eval("\x01") + 443);
  201.       if(┬º┬ºpop())
  202.       {
  203.          set("\x01",eval("\x01") + 146);
  204.       }
  205.    }
  206. }
  207.