home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / 360catcher.swf / scripts / frame_18 / DoAction_2.as next >
Encoding:
Text File  |  2006-07-21  |  5.1 KB  |  163 lines

  1. var ┬º\x01┬º = 535;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 535)
  5.    {
  6.       set("\x01",eval("\x01") + 377);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 196)
  12.       {
  13.          set("\x01",eval("\x01") - 137);
  14.          ┬º┬ºpush(┬º┬ºpop() add ┬º┬ºpop());
  15.          break;
  16.       }
  17.       if(eval("\x01") != 912)
  18.       {
  19.          if(eval("\x01") == 59)
  20.          {
  21.             set("\x01",eval("\x01") + 106);
  22.             fps = 30;
  23.             sec = 0;
  24.             min = 0;
  25.             Score = 0;
  26.             opt = false;
  27.             tzm = false;
  28.             showtxt = false;
  29.             addtext = false;
  30.             tmb2 = 30;
  31.             timer = 15;
  32.             ballsp = 20;
  33.             perf = (min * 59 + 59 - sec) * 500;
  34.             far = (min * 59 + 59 - sec) * 150;
  35.             god = (min * 59 + 59 - sec) * 200;
  36.             verygod = (min * 59 + 59 - sec) * 300;
  37.             b = Math.random() * 1;
  38.             pl = true;
  39.             onEnterFrame = function()
  40.             {
  41.                if(tmb2 > 0)
  42.                {
  43.                   tmb2--;
  44.                }
  45.                else
  46.                {
  47.                   b = Math.random(1) * 18;
  48.                   b = Math.floor(b);
  49.                   callball();
  50.                   tmb2 = timer;
  51.                }
  52.                time_();
  53.                _root.Mins = min;
  54.                if(sec <= 9 && sec >= 0)
  55.                {
  56.                   _root.Secs = "0" + sec;
  57.                }
  58.                else if(sec > 9)
  59.                {
  60.                   _root.Secs = sec;
  61.                }
  62.                if(min <= 0 && sec <= 0 && showtxt == false && pl == false)
  63.                {
  64.                   pl = true;
  65.                   showtxt = true;
  66.                   addtext = true;
  67.                }
  68.                if(showtxt == true)
  69.                {
  70.                   if(Score >= perf && addtext == true)
  71.                   {
  72.                      _root.attachMovie("perfect2","perfect2",_root.getNextHighestDepth());
  73.                      _root.perfect2._x = 510;
  74.                      _root.perfect2._y = 300;
  75.                      addtext = false;
  76.                   }
  77.                   if(Score >= verygod && Score < perf && addtext == true)
  78.                   {
  79.                      _root.attachMovie("verygood2","verygood2",_root.getNextHighestDepth());
  80.                      _root.verygood2._x = 510;
  81.                      _root.verygood2._y = 300;
  82.                      addtext = false;
  83.                   }
  84.                   if(Score >= god && Score < verygod && addtext == true)
  85.                   {
  86.                      _root.attachMovie("good2","good2",_root.getNextHighestDepth());
  87.                      _root.good2._x = 510;
  88.                      _root.good2._y = 300;
  89.                      addtext = false;
  90.                   }
  91.                   if(Score >= far && Score < god && addtext == true)
  92.                   {
  93.                      _root.attachMovie("fair2","fair2",_root.getNextHighestDepth());
  94.                      _root.fair2._x = 510;
  95.                      _root.fair2._y = 300;
  96.                      addtext = false;
  97.                   }
  98.                   if(Score >= 0 && Score < far && addtext == true)
  99.                   {
  100.                      _root.attachMovie("poor2","poor2",_root.getNextHighestDepth());
  101.                      _root.poor2._x = 510;
  102.                      _root.poor2._y = 300;
  103.                      addtext = false;
  104.                   }
  105.                }
  106.                if(Score >= 0 && Score <= 9)
  107.                {
  108.                   _root.sc = "000000000" + Score;
  109.                }
  110.                if(Score >= 9 && Score <= 99)
  111.                {
  112.                   _root.sc = "00000000" + Score;
  113.                }
  114.                if(Score >= 99 && Score <= 999)
  115.                {
  116.                   _root.sc = "0000000" + Score;
  117.                }
  118.                if(Score >= 999 && Score <= 9999)
  119.                {
  120.                   _root.sc = "000000" + Score;
  121.                }
  122.                if(Score >= 9999 && Score <= 99999)
  123.                {
  124.                   _root.sc = "00000" + Score;
  125.                }
  126.                if(Score >= 99999 && Score <= 999999)
  127.                {
  128.                   _root.sc = "0000" + Score;
  129.                }
  130.                if(Score >= 999999 && Score <= 9999999)
  131.                {
  132.                   _root.sc = "000" + Score;
  133.                }
  134.                if(Score >= 9999999 && Score <= 99999999)
  135.                {
  136.                   _root.sc = "00" + Score;
  137.                }
  138.                if(Score >= 99999999 && Score <= 999999999)
  139.                {
  140.                   _root.sc = "0" + Score;
  141.                }
  142.                if(Score >= 999999999 && Score <= 9999999999)
  143.                {
  144.                   _root.sc = Score;
  145.                }
  146.                if(Score < 0)
  147.                {
  148.                   Score = 0;
  149.                }
  150.                _root.option2();
  151.             };
  152.             stop();
  153.          }
  154.          break;
  155.       }
  156.       set("\x01",eval("\x01") - 716);
  157.       if(┬º┬ºpop())
  158.       {
  159.          set("\x01",eval("\x01") - 137);
  160.       }
  161.    }
  162. }
  163.