home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / SWING-CAT.swf / scripts / DefineSprite_465 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-09-26  |  7.2 KB  |  224 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1060 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = 246 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 436)
  9.    {
  10.       set("\x01",eval("\x01") + 517);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 51)
  14.    {
  15.       set("\x01",eval("\x01") + 941);
  16.    }
  17.    else if(eval("\x01") == 691)
  18.    {
  19.       set("\x01",eval("\x01") - 309);
  20.       ┬º┬ºpush("\x0f");
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 990)
  25.       {
  26.          set("\x01",eval("\x01") - 758);
  27.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  28.          {
  29.             return 1060 % 511 * 5;
  30.          };
  31.          break;
  32.       }
  33.       if(eval("\x01") == 953)
  34.       {
  35.          set("\x01",eval("\x01") + 37);
  36.          if(function ┬º\x01\x02┬º()
  37.          {
  38.             return 1060 % 511 * 5;
  39.          })
  40.          {
  41.             set("\x01",eval("\x01") - 758);
  42.          }
  43.       }
  44.       else if(eval("\x01") == 288)
  45.       {
  46.          set("\x01",eval("\x01") + 403);
  47.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  48.          {
  49.             return 1060 % 511 * 5;
  50.          };
  51.       }
  52.       else if(eval("\x01") == 382)
  53.       {
  54.          set("\x01",eval("\x01") + 463);
  55.          ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  56.          {
  57.             return 1060 % 511 * 5;
  58.          }));
  59.       }
  60.       else if(eval("\x01") == 232)
  61.       {
  62.          set("\x01",eval("\x01") + 760);
  63.       }
  64.       else if(eval("\x01") == 594)
  65.       {
  66.          set("\x01",eval("\x01") + 90);
  67.          if(function ┬º\x01\x02┬º()
  68.          {
  69.             return 1060 % 511 * 5;
  70.          })
  71.          {
  72.             set("\x01",eval("\x01") - 673);
  73.          }
  74.       }
  75.       else if(eval("\x01") == 992)
  76.       {
  77.          set("\x01",eval("\x01") - 704);
  78.          ┬º┬ºpush("\x0f");
  79.          ┬º┬ºpush(1);
  80.       }
  81.       else if(eval("\x01") == 845)
  82.       {
  83.          set("\x01",eval("\x01") - 251);
  84.          ┬º┬ºpush(!function ┬º\x01\x02┬º()
  85.          {
  86.             return 1060 % 511 * 5;
  87.          });
  88.       }
  89.       else
  90.       {
  91.          if(eval("\x01") != 684)
  92.          {
  93.             if(eval("\x01") == 11)
  94.             {
  95.                set("\x01",eval("\x01") + 26);
  96.                _global.game_initialization = function()
  97.                {
  98.                   if(_global.a1 == undefined && _global.a2 == undefined)
  99.                   {
  100.                      _global.a1 = 0;
  101.                      _global.a2 = 0;
  102.                      _global.win = "";
  103.                      _global.lamp = new Array(false,false,false,false,false);
  104.                      _global.stone1_x = stone1_mc._x;
  105.                      _global.stone1_y = stone1_mc._y;
  106.                      _global.stone2_x = stone2_mc._x;
  107.                      _global.stone2_y = stone2_mc._y;
  108.                      _global.stone3_x = stone3_mc._x;
  109.                      _global.stone3_y = stone3_mc._y;
  110.                      _global.stones = new Array();
  111.                   }
  112.                   place_stick();
  113.                   _global.a1move = true;
  114.                   _global.a2move = true;
  115.                   _global.game_state = false;
  116.                   cat1.cat.stop();
  117.                   cat2.cat.stop();
  118.                   help_mc.flag = true;
  119.                   move_flag = 35;
  120.                   _global.a1_i = move_flag;
  121.                   _global.a2_i = move_flag;
  122.                   _global.minwin = false;
  123.                   _root.go_mc.play();
  124.                   _global.music_speed = 100;
  125.                   initialization_speed = 1;
  126.                   _global.only_win = 0;
  127.                   _global.movie = false;
  128.                };
  129.                _global.game_start = function()
  130.                {
  131.                   cat1.cat.play();
  132.                   cat2.cat.play();
  133.                   _global.game_state = true;
  134.                };
  135.                help_mc.onRelease = function()
  136.                {
  137.                   if(help_mc.flag)
  138.                   {
  139.                      help_mc.gotoAndStop(2);
  140.                      help_mc.flag = false;
  141.                      _global.a1move = false;
  142.                      _global.a2move = false;
  143.                      _global.game_state = false;
  144.                      cat1.cat.stop();
  145.                      cat2.cat.stop();
  146.                      _root.ctrlsound_mc.enabled = false;
  147.                   }
  148.                   else
  149.                   {
  150.                      help_mc.gotoAndStop(1);
  151.                      help_mc.flag = true;
  152.                      _global.a1move = true;
  153.                      _global.a2move = true;
  154.                      _global.game_state = true;
  155.                      cat1.cat.play();
  156.                      cat2.cat.play();
  157.                      _root.ctrlsound_mc.enabled = true;
  158.                   }
  159.                   if(_global.sound_btn_flag)
  160.                   {
  161.                      if(_root.game_sounds && !help_mc.flag)
  162.                      {
  163.                         trace("1");
  164.                         _root.game_sounds = !_root.game_sounds;
  165.                         _root.play_music("bg" + _global.music_speed + "_sound");
  166.                         _root.ctrlsound_mc.gotoAndStop(2);
  167.                      }
  168.                      if(!_root.game_sounds && help_mc.flag)
  169.                      {
  170.                         trace("2");
  171.                         _root.game_sounds = !_root.game_sounds;
  172.                         _root.play_music("bg" + _global.music_speed + "_sound","bg" + _global.music_speed + "_sound");
  173.                         _root.ctrlsound_mc.gotoAndStop(1);
  174.                      }
  175.                   }
  176.                };
  177.                _global.min_replay = function()
  178.                {
  179.                   cat1.gotoAndStop(1);
  180.                   cat2.gotoAndStop(1);
  181.                   _root.a1_mc.gotoAndStop(1);
  182.                   _root.a2_mc.gotoAndStop(1);
  183.                   stone1_mc._visible = true;
  184.                   stone1_mc.gotoAndStop(1);
  185.                   stone1_mc._x = _global.stone1_x;
  186.                   stone1_mc._y = _global.stone1_y;
  187.                   stone1_mc.store_initialization();
  188.                   stone2_mc._visible = true;
  189.                   stone2_mc.gotoAndStop(1);
  190.                   stone2_mc._x = _global.stone2_x;
  191.                   stone2_mc._y = _global.stone2_y;
  192.                   stone2_mc.store_initialization();
  193.                   stone3_mc._visible = true;
  194.                   stone3_mc.gotoAndStop(1);
  195.                   stone3_mc._x = _global.stone3_x;
  196.                   stone3_mc._y = _global.stone3_y;
  197.                   stone3_mc.store_initialization();
  198.                   help_mc.enabled = true;
  199.                   music_speed = 100;
  200.                };
  201.                _global.replay = function()
  202.                {
  203.                   _global.min_replay();
  204.                   _global.a1 = undefined;
  205.                   _global.a2 = undefined;
  206.                   _root.ctrlsound_mc.enabled = true;
  207.                   _root.ctrlsound_mc.gotoAndStop(1);
  208.                   _root.gotoAndStop("start");
  209.                };
  210.                stop();
  211.                _global.game_initialization();
  212.                break;
  213.             }
  214.             if(eval("\x01") == 37)
  215.             {
  216.                set("\x01",eval("\x01") - 37);
  217.             }
  218.             break;
  219.          }
  220.          set("\x01",eval("\x01") - 673);
  221.       }
  222.    }
  223. }
  224.