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

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 538 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = 231 + "\x01\x02"();
  6. loop0:
  7. while(true)
  8. {
  9.    if(eval("\x01") == 366)
  10.    {
  11.       set("\x01",eval("\x01") + 437);
  12.       ┬º┬ºpush(true);
  13.       continue;
  14.    }
  15.    if(eval("\x01") == 801)
  16.    {
  17.       set("\x01",eval("\x01") + 33);
  18.       if(function ┬º\x01\x02┬º()
  19.       {
  20.          return 538 % 511 * 5;
  21.       })
  22.       {
  23.          set("\x01",eval("\x01") + 159);
  24.       }
  25.       continue;
  26.    }
  27.    if(eval("\x01") == 320)
  28.    {
  29.       set("\x01",eval("\x01") + 485);
  30.       ┬º┬ºpush(true);
  31.       continue;
  32.    }
  33.    if(eval("\x01") == 599)
  34.    {
  35.       set("\x01",eval("\x01") - 279);
  36.       continue;
  37.    }
  38.    if(eval("\x01") == 805)
  39.    {
  40.       set("\x01",eval("\x01") - 157);
  41.       if(function ┬º\x01\x02┬º()
  42.       {
  43.          return 538 % 511 * 5;
  44.       })
  45.       {
  46.          set("\x01",eval("\x01") - 467);
  47.       }
  48.       continue;
  49.    }
  50.    if(eval("\x01") == 100)
  51.    {
  52.       set("\x01",eval("\x01") + 220);
  53.       continue;
  54.    }
  55.    if(eval("\x01") == 325)
  56.    {
  57.       set("\x01",eval("\x01") + 68);
  58.       ┬º┬ºpush("\x0f");
  59.       continue;
  60.    }
  61.    if(eval("\x01") == 832)
  62.    {
  63.       set("\x01",eval("\x01") - 580);
  64.       continue;
  65.    }
  66.    if(eval("\x01") == 630)
  67.    {
  68.       set("\x01",eval("\x01") - 305);
  69.       var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  70.       {
  71.          return 538 % 511 * 5;
  72.       };
  73.       continue;
  74.    }
  75.    if(eval("\x01") == 651)
  76.    {
  77.       set("\x01",eval("\x01") + 150);
  78.       ┬º┬ºpush(true);
  79.       continue;
  80.    }
  81.    if(eval("\x01") == 117)
  82.    {
  83.       set("\x01",eval("\x01") - 17);
  84.       prevFrame();
  85.       break;
  86.    }
  87.    if(eval("\x01") == 744)
  88.    {
  89.       set("\x01",eval("\x01") - 627);
  90.       if(function ┬º\x01\x02┬º()
  91.       {
  92.          return 538 % 511 * 5;
  93.       })
  94.       {
  95.          set("\x01",eval("\x01") - 17);
  96.       }
  97.       continue;
  98.    }
  99.    if(eval("\x01") == 363)
  100.    {
  101.       set("\x01",eval("\x01") - 111);
  102.       continue;
  103.    }
  104.    if(eval("\x01") == 252)
  105.    {
  106.       set("\x01",eval("\x01") + 492);
  107.       ┬º┬ºpush(true);
  108.       continue;
  109.    }
  110.    if(eval("\x01") == 993)
  111.    {
  112.       set("\x01",eval("\x01") - 454);
  113.       continue;
  114.    }
  115.    if(eval("\x01") == 539)
  116.    {
  117.       set("\x01",eval("\x01") + 91);
  118.       ┬º┬ºpush("\x0f");
  119.       ┬º┬ºpush(1);
  120.       continue;
  121.    }
  122.    if(eval("\x01") == 922)
  123.    {
  124.       set("\x01",eval("\x01") - 90);
  125.       break;
  126.    }
  127.    if(eval("\x01") == 803)
  128.    {
  129.       set("\x01",eval("\x01") + 119);
  130.       if(function ┬º\x01\x02┬º()
  131.       {
  132.          return 538 % 511 * 5;
  133.       })
  134.       {
  135.          set("\x01",eval("\x01") - 90);
  136.       }
  137.       continue;
  138.    }
  139.    if(eval("\x01") == 648)
  140.    {
  141.       set("\x01",eval("\x01") - 467);
  142.       loop1:
  143.       while(true)
  144.       {
  145.          if(eval("\x01") == 990)
  146.          {
  147.             set("\x01",eval("\x01") - 731);
  148.             ┬º┬ºpush(true);
  149.          }
  150.          else
  151.          {
  152.             if(eval("\x01") == 721)
  153.             {
  154.                set("\x01",eval("\x01") + 227);
  155.                var mbchr(function ┬º\x01\x02┬º()
  156.                {
  157.                   return 538 % 511 * 5;
  158.                });
  159.                duplicateMovieClip(┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop() add ┬º┬ºpop());
  160.                prevFrame();
  161.                break loop0;
  162.             }
  163.             if(eval("\x01") == 259)
  164.             {
  165.                set("\x01",eval("\x01") - 220);
  166.                if(function ┬º\x01\x02┬º()
  167.                {
  168.                   return 538 % 511 * 5;
  169.                })
  170.                {
  171.                   set("\x01",eval("\x01") + 615);
  172.                }
  173.             }
  174.             else if(eval("\x01") == 105)
  175.             {
  176.                set("\x01",eval("\x01") - 57);
  177.             }
  178.             else if(eval("\x01") == 858)
  179.             {
  180.                set("\x01",eval("\x01") + 20);
  181.                ┬º┬ºpush("\x0f");
  182.                ┬º┬ºpush(1);
  183.             }
  184.             else if(eval("\x01") == 137)
  185.             {
  186.                set("\x01",eval("\x01") + 584);
  187.                if(function ┬º\x01\x02┬º()
  188.                {
  189.                   return 538 % 511 * 5;
  190.                })
  191.                {
  192.                   set("\x01",eval("\x01") + 227);
  193.                }
  194.             }
  195.             else if(eval("\x01") == 122)
  196.             {
  197.                set("\x01",eval("\x01") + 736);
  198.             }
  199.             else if(eval("\x01") == 654)
  200.             {
  201.                set("\x01",eval("\x01") + 204);
  202.             }
  203.             else if(eval("\x01") == 48)
  204.             {
  205.                set("\x01",eval("\x01") + 89);
  206.                ┬º┬ºpush(true);
  207.             }
  208.             else if(eval("\x01") == 878)
  209.             {
  210.                set("\x01",eval("\x01") - 180);
  211.                var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  212.                {
  213.                   return 538 % 511 * 5;
  214.                };
  215.             }
  216.             else if(eval("\x01") == 539)
  217.             {
  218.                set("\x01",eval("\x01") + 103);
  219.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  220.                {
  221.                   return 538 % 511 * 5;
  222.                });
  223.             }
  224.             else if(eval("\x01") == 802)
  225.             {
  226.                set("\x01",eval("\x01") - 263);
  227.                ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  228.                {
  229.                   return 538 % 511 * 5;
  230.                }));
  231.             }
  232.             else
  233.             {
  234.                if(eval("\x01") != 698)
  235.                {
  236.                   if(eval("\x01") == 963)
  237.                   {
  238.                      set("\x01",eval("\x01") - 963);
  239.                   }
  240.                   break loop0;
  241.                }
  242.                set("\x01",eval("\x01") + 104);
  243.                ┬º┬ºpush("\x0f");
  244.             }
  245.          }
  246.          while(true)
  247.          {
  248.             if(eval("\x01") == 268)
  249.             {
  250.                set("\x01",eval("\x01") - 73);
  251.                ┬º┬ºpush(true);
  252.             }
  253.             else if(eval("\x01") == 936)
  254.             {
  255.                set("\x01",eval("\x01") + 54);
  256.             }
  257.             else if(eval("\x01") == 948)
  258.             {
  259.                set("\x01",eval("\x01") + 42);
  260.             }
  261.             else
  262.             {
  263.                if(eval("\x01") != 195)
  264.                {
  265.                   if(eval("\x01") == 39)
  266.                   {
  267.                      set("\x01",eval("\x01") + 615);
  268.                      toggleHighQuality();
  269.                      stopAllSounds();
  270.                   }
  271.                   else
  272.                   {
  273.                      if(eval("\x01") == 86)
  274.                      {
  275.                         set("\x01",eval("\x01") + 378);
  276.                         continue;
  277.                      }
  278.                      if(eval("\x01") == 642)
  279.                      {
  280.                         set("\x01",eval("\x01") - 556);
  281.                         if(function ┬º\x01\x02┬º()
  282.                         {
  283.                            return 538 % 511 * 5;
  284.                         })
  285.                         {
  286.                            set("\x01",eval("\x01") + 378);
  287.                         }
  288.                         continue;
  289.                      }
  290.                      if(eval("\x01") == 939)
  291.                      {
  292.                         set("\x01",eval("\x01") - 824);
  293.                         break loop0;
  294.                      }
  295.                      if(eval("\x01") != 464)
  296.                      {
  297.                         if(eval("\x01") == 115)
  298.                         {
  299.                            set("\x01",eval("\x01") - 67);
  300.                            continue;
  301.                         }
  302.                         continue loop1;
  303.                      }
  304.                      set("\x01",eval("\x01") + 499);
  305.                      if(!_global.game_state)
  306.                      {
  307.                         if(this._y < newplace && _parent.help_mc.flag)
  308.                         {
  309.                            this._y += 3;
  310.                            break;
  311.                         }
  312.                         if(_parent.help_mc.flag)
  313.                         {
  314.                            this._y = newplace;
  315.                         }
  316.                         if(_global.minwin && _parent.stick2_mc._y == newplace)
  317.                         {
  318.                            _global.minwin = false;
  319.                            if(_global.win == "" && !_global.movie)
  320.                            {
  321.                               _root.black_mc.gotoAndPlay(2);
  322.                            }
  323.                         }
  324.                         break;
  325.                      }
  326.                      _parent.game_ctrl();
  327.                      if(this._y <= minh)
  328.                      {
  329.                         direct = 1;
  330.                      }
  331.                      if(this._y >= maxh)
  332.                      {
  333.                         direct = -1;
  334.                      }
  335.                      ┬º┬ºpush(_parent);
  336.                      ┬º┬ºpush("speed_time");
  337.                   }
  338.                   if(┬º┬ºpop()[function ┬º\x01\x02┬º()
  339.                   {
  340.                      return 538 % 511 * 5;
  341.                   }] <= 0)
  342.                   {
  343.                      _parent.stick_speed_fun();
  344.                   }
  345.                   else
  346.                   {
  347.                      _parent.speed_time--;
  348.                   }
  349.                   if(_global.a1move)
  350.                   {
  351.                      this._y += _parent.stick_speed * direct;
  352.                   }
  353.                   if(this.stick_mc.a1_mc.hitTest(_parent.side1_mc) || this.stick_mc.a1_mc.hitTest(_parent.side2_mc) || this.stick_mc.a1_mc.hitTest(_parent.side3_mc) || this.stick_mc.a1_mc.hitTest(_parent.side4_mc))
  354.                   {
  355.                      this.stick_mc.gotoAndPlay("back");
  356.                   }
  357.                   break;
  358.                }
  359.                set("\x01",eval("\x01") + 744);
  360.                if(function ┬º\x01\x02┬º()
  361.                {
  362.                   return 538 % 511 * 5;
  363.                })
  364.                {
  365.                   set("\x01",eval("\x01") - 824);
  366.                }
  367.             }
  368.          }
  369.          break loop0;
  370.       }
  371.    }
  372.    else
  373.    {
  374.       if(eval("\x01") == 181)
  375.       {
  376.          set("\x01",eval("\x01") + 470);
  377.          continue;
  378.       }
  379.       if(eval("\x01") == 990)
  380.       {
  381.          set("\x01",eval("\x01") - 339);
  382.          continue;
  383.       }
  384.       if(eval("\x01") != 834)
  385.       {
  386.          if(eval("\x01") == 873)
  387.          {
  388.             set("\x01",eval("\x01") - 334);
  389.          }
  390.          else if(eval("\x01") == 393)
  391.          {
  392.             set("\x01",eval("\x01") + 513);
  393.             ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  394.             {
  395.                return 538 % 511 * 5;
  396.             }));
  397.          }
  398.          else if(eval("\x01") == 906)
  399.          {
  400.             set("\x01",eval("\x01") - 181);
  401.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  402.             {
  403.                return 538 % 511 * 5;
  404.             });
  405.          }
  406.          else
  407.          {
  408.             if(eval("\x01") != 725)
  409.             {
  410.                if(eval("\x01") == 175)
  411.                {
  412.                   set("\x01",eval("\x01") + 756);
  413.                   _root.go_sound_fun();
  414.                   break;
  415.                }
  416.                if(eval("\x01") == 931)
  417.                {
  418.                   set("\x01",eval("\x01") - 931);
  419.                }
  420.                break;
  421.             }
  422.             set("\x01",eval("\x01") - 550);
  423.             if(function ┬º\x01\x02┬º()
  424.             {
  425.                return 538 % 511 * 5;
  426.             })
  427.             {
  428.                set("\x01",eval("\x01") + 0);
  429.             }
  430.          }
  431.          continue;
  432.       }
  433.       set("\x01",eval("\x01") + 159);
  434.       while(true)
  435.       {
  436.          while(true)
  437.          {
  438.             if(eval("\x01") == 436)
  439.             {
  440.                set("\x01",eval("\x01") + 517);
  441.                ┬º┬ºpush(true);
  442.             }
  443.             else if(eval("\x01") == 51)
  444.             {
  445.                set("\x01",eval("\x01") + 941);
  446.             }
  447.             else if(eval("\x01") == 691)
  448.             {
  449.                set("\x01",eval("\x01") - 309);
  450.                ┬º┬ºpush("\x0f");
  451.             }
  452.             else
  453.             {
  454.                if(eval("\x01") == 990)
  455.                {
  456.                   set("\x01",eval("\x01") - 758);
  457.                   var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  458.                   {
  459.                      return 538 % 511 * 5;
  460.                   };
  461.                   break loop0;
  462.                }
  463.                if(eval("\x01") == 953)
  464.                {
  465.                   break;
  466.                }
  467.                if(eval("\x01") == 288)
  468.                {
  469.                   set("\x01",eval("\x01") + 403);
  470.                   var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  471.                   {
  472.                      return 538 % 511 * 5;
  473.                   };
  474.                }
  475.                else if(eval("\x01") == 382)
  476.                {
  477.                   set("\x01",eval("\x01") + 463);
  478.                   ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  479.                   {
  480.                      return 538 % 511 * 5;
  481.                   }));
  482.                }
  483.                else if(eval("\x01") == 232)
  484.                {
  485.                   set("\x01",eval("\x01") + 760);
  486.                }
  487.                else if(eval("\x01") == 594)
  488.                {
  489.                   set("\x01",eval("\x01") + 90);
  490.                   if(function ┬º\x01\x02┬º()
  491.                   {
  492.                      return 538 % 511 * 5;
  493.                   })
  494.                   {
  495.                      set("\x01",eval("\x01") - 673);
  496.                   }
  497.                }
  498.                else if(eval("\x01") == 992)
  499.                {
  500.                   set("\x01",eval("\x01") - 704);
  501.                   ┬º┬ºpush("\x0f");
  502.                   ┬º┬ºpush(1);
  503.                }
  504.                else if(eval("\x01") == 845)
  505.                {
  506.                   set("\x01",eval("\x01") - 251);
  507.                   ┬º┬ºpush(!function ┬º\x01\x02┬º()
  508.                   {
  509.                      return 538 % 511 * 5;
  510.                   });
  511.                }
  512.                else
  513.                {
  514.                   if(eval("\x01") != 684)
  515.                   {
  516.                      if(eval("\x01") == 11)
  517.                      {
  518.                         set("\x01",eval("\x01") + 26);
  519.                         _global.game_initialization = function()
  520.                         {
  521.                            if(_global.a1 == undefined && _global.a2 == undefined)
  522.                            {
  523.                               _global.a1 = 0;
  524.                               _global.a2 = 0;
  525.                               _global.win = "";
  526.                               _global.lamp = new Array(false,false,false,false,false);
  527.                               _global.stone1_x = stone1_mc._x;
  528.                               _global.stone1_y = stone1_mc._y;
  529.                               _global.stone2_x = stone2_mc._x;
  530.                               _global.stone2_y = stone2_mc._y;
  531.                               _global.stone3_x = stone3_mc._x;
  532.                               _global.stone3_y = stone3_mc._y;
  533.                               _global.stones = new Array();
  534.                            }
  535.                            place_stick();
  536.                            _global.a1move = true;
  537.                            _global.a2move = true;
  538.                            _global.game_state = false;
  539.                            cat1.cat.stop();
  540.                            cat2.cat.stop();
  541.                            help_mc.flag = true;
  542.                            move_flag = 35;
  543.                            _global.a1_i = move_flag;
  544.                            _global.a2_i = move_flag;
  545.                            _global.minwin = false;
  546.                            _root.go_mc.play();
  547.                            _global.music_speed = 100;
  548.                            initialization_speed = 1;
  549.                            _global.only_win = 0;
  550.                            _global.movie = false;
  551.                         };
  552.                         _global.game_start = function()
  553.                         {
  554.                            cat1.cat.play();
  555.                            cat2.cat.play();
  556.                            _global.game_state = true;
  557.                         };
  558.                         help_mc.onRelease = function()
  559.                         {
  560.                            if(help_mc.flag)
  561.                            {
  562.                               help_mc.gotoAndStop(2);
  563.                               help_mc.flag = false;
  564.                               _global.a1move = false;
  565.                               _global.a2move = false;
  566.                               _global.game_state = false;
  567.                               cat1.cat.stop();
  568.                               cat2.cat.stop();
  569.                               _root.ctrlsound_mc.enabled = false;
  570.                            }
  571.                            else
  572.                            {
  573.                               help_mc.gotoAndStop(1);
  574.                               help_mc.flag = true;
  575.                               _global.a1move = true;
  576.                               _global.a2move = true;
  577.                               _global.game_state = true;
  578.                               cat1.cat.play();
  579.                               cat2.cat.play();
  580.                               _root.ctrlsound_mc.enabled = true;
  581.                            }
  582.                            if(_global.sound_btn_flag)
  583.                            {
  584.                               if(_root.game_sounds && !help_mc.flag)
  585.                               {
  586.                                  trace("1");
  587.                                  _root.game_sounds = !_root.game_sounds;
  588.                                  _root.play_music("bg" + _global.music_speed + "_sound");
  589.                                  _root.ctrlsound_mc.gotoAndStop(2);
  590.                               }
  591.                               if(!_root.game_sounds && help_mc.flag)
  592.                               {
  593.                                  trace("2");
  594.                                  _root.game_sounds = !_root.game_sounds;
  595.                                  _root.play_music("bg" + _global.music_speed + "_sound","bg" + _global.music_speed + "_sound");
  596.                                  _root.ctrlsound_mc.gotoAndStop(1);
  597.                               }
  598.                            }
  599.                         };
  600.                         _global.min_replay = function()
  601.                         {
  602.                            cat1.gotoAndStop(1);
  603.                            cat2.gotoAndStop(1);
  604.                            _root.a1_mc.gotoAndStop(1);
  605.                            _root.a2_mc.gotoAndStop(1);
  606.                            stone1_mc._visible = true;
  607.                            stone1_mc.gotoAndStop(1);
  608.                            stone1_mc._x = _global.stone1_x;
  609.                            stone1_mc._y = _global.stone1_y;
  610.                            stone1_mc.store_initialization();
  611.                            stone2_mc._visible = true;
  612.                            stone2_mc.gotoAndStop(1);
  613.                            stone2_mc._x = _global.stone2_x;
  614.                            stone2_mc._y = _global.stone2_y;
  615.                            stone2_mc.store_initialization();
  616.                            stone3_mc._visible = true;
  617.                            stone3_mc.gotoAndStop(1);
  618.                            stone3_mc._x = _global.stone3_x;
  619.                            stone3_mc._y = _global.stone3_y;
  620.                            stone3_mc.store_initialization();
  621.                            help_mc.enabled = true;
  622.                            music_speed = 100;
  623.                         };
  624.                         _global.replay = function()
  625.                         {
  626.                            _global.min_replay();
  627.                            _global.a1 = undefined;
  628.                            _global.a2 = undefined;
  629.                            _root.ctrlsound_mc.enabled = true;
  630.                            _root.ctrlsound_mc.gotoAndStop(1);
  631.                            _root.gotoAndStop("start");
  632.                         };
  633.                         stop();
  634.                         _global.game_initialization();
  635.                         break loop0;
  636.                      }
  637.                      if(eval("\x01") == 37)
  638.                      {
  639.                         set("\x01",eval("\x01") - 37);
  640.                      }
  641.                      break loop0;
  642.                   }
  643.                   set("\x01",eval("\x01") - 673);
  644.                }
  645.             }
  646.          }
  647.          set("\x01",eval("\x01") + 37);
  648.          if(function ┬º\x01\x02┬º()
  649.          {
  650.             return 538 % 511 * 5;
  651.          })
  652.          {
  653.             set("\x01",eval("\x01") - 758);
  654.          }
  655.       }
  656.    }
  657. }
  658.