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