home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / aengiequest.swf / scripts / __Packages / Main.as < prev    next >
Encoding:
Text File  |  2007-10-01  |  12.3 KB  |  379 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1301;
  4. }
  5. var ┬º\x01┬º = -556 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 745)
  9.    {
  10.       set("\x01",eval("\x01") - 364);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 280)
  14.    {
  15.       set("\x01",eval("\x01") + 112);
  16.       if(function ┬º\x01\x02┬º()
  17.       {
  18.          return 1301;
  19.       })
  20.       {
  21.          set("\x01",eval("\x01") + 28);
  22.       }
  23.    }
  24.    else if(eval("\x01") == 187)
  25.    {
  26.       set("\x01",eval("\x01") + 538);
  27.       var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  28.       {
  29.          return 1301;
  30.       };
  31.    }
  32.    else if(eval("\x01") == 356)
  33.    {
  34.       set("\x01",eval("\x01") - 77);
  35.    }
  36.    else if(eval("\x01") == 924)
  37.    {
  38.       set("\x01",eval("\x01") - 642);
  39.       ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  40.       {
  41.          return 1301;
  42.       }));
  43.    }
  44.    else
  45.    {
  46.       if(eval("\x01") == 591)
  47.       {
  48.          set("\x01",eval("\x01") - 235);
  49.          toggleHighQuality();
  50.          function ┬º\x01\x02┬º()
  51.          {
  52.             return 1301;
  53.          }
  54.          nextFrame();
  55.          toggleHighQuality();
  56.          ┬º┬ºpop()[┬º┬ºpop()] = ┬º┬ºpop()[int(┬º┬ºpop())][┬º┬ºconstant(25)];
  57.          _loc1_[┬º┬ºconstant(26)] = _loc1_[┬º┬ºconstant(12)][┬º┬ºconstant(25)];
  58.          _loc1_[┬º┬ºconstant(27)] = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(25)];
  59.          ┬º┬ºpop()[┬º┬ºpop()] = ┬º┬ºpop();
  60.          _loc2_[┬º┬ºconstant(28)] = function(ratio)
  61.          {
  62.             this[┬º┬ºconstant(24)][┬º┬ºconstant(25)] = this[┬º┬ºconstant(23)] * ratio + (this[┬º┬ºconstant(23)] + eval(┬º┬ºconstant(17))[┬º┬ºconstant(29)]) * (1 - ratio);
  63.             this[┬º┬ºconstant(12)][┬º┬ºconstant(25)] = this[┬º┬ºconstant(26)] * ratio + (this[┬º┬ºconstant(26)] + eval(┬º┬ºconstant(17))[┬º┬ºconstant(29)]) * (1 - ratio);
  64.             this[┬º┬ºconstant(11)][┬º┬ºconstant(25)] = this[┬º┬ºconstant(27)] * ratio + (this[┬º┬ºconstant(27)] + eval(┬º┬ºconstant(17))[┬º┬ºconstant(29)]) * (1 - ratio);
  65.             this[┬º┬ºconstant(22)] = ratio == 0;
  66.          };
  67.          ┬º┬ºconstant(30)(eval(┬º┬ºconstant(0))[┬º┬ºconstant(1)][┬º┬ºconstant(3)],null,1);
  68.          break;
  69.       }
  70.       if(eval("\x01") == 279)
  71.       {
  72.          set("\x01",eval("\x01") - 92);
  73.          ┬º┬ºpush("\x0f");
  74.          ┬º┬ºpush(1);
  75.       }
  76.       else if(eval("\x01") == 776)
  77.       {
  78.          set("\x01",eval("\x01") - 497);
  79.       }
  80.       else if(eval("\x01") == 381)
  81.       {
  82.          set("\x01",eval("\x01") + 210);
  83.          if(function ┬º\x01\x02┬º()
  84.          {
  85.             return 1301;
  86.          })
  87.          {
  88.             set("\x01",eval("\x01") - 235);
  89.          }
  90.       }
  91.       else if(eval("\x01") == 725)
  92.       {
  93.          set("\x01",eval("\x01") + 199);
  94.          ┬º┬ºpush("\x0f");
  95.       }
  96.       else if(eval("\x01") == 282)
  97.       {
  98.          set("\x01",eval("\x01") - 2);
  99.          ┬º┬ºpush(!function ┬º\x01\x02┬º()
  100.          {
  101.             return 1301;
  102.          });
  103.       }
  104.       else
  105.       {
  106.          if(eval("\x01") == 420)
  107.          {
  108.             set("\x01",eval("\x01") - 272);
  109.             if(!_global.Main)
  110.             {
  111.                _global.Main extends MovieClip;
  112.                var _loc2_ = _global.Main = function()
  113.                {
  114.                   super();
  115.                }.prototype;
  116.                _global.Main = function()
  117.                {
  118.                   super();
  119.                }.initialize = function(movieClip)
  120.                {
  121.                   trace("A");
  122.                   movieClip.__proto__ = Main.prototype;
  123.                   movieClip.init();
  124.                };
  125.                _loc2_.init = function()
  126.                {
  127.                   this.gotoTitlePage();
  128.                };
  129.                _loc2_.gotoTitlePage = function()
  130.                {
  131.                   this.startButton.onRelease = function()
  132.                   {
  133.                      this._parent.gotoInstructionsPage();
  134.                   };
  135.                   this.continueButton.onRelease = function()
  136.                   {
  137.                      this._parent.gotoContinue();
  138.                   };
  139.                   this.moreGamesButton.onRelease = function()
  140.                   {
  141.                      this._parent.getURL(Config.MOREGAMESURL,"_blank");
  142.                   };
  143.                   this.gotoAndStop("title");
  144.                };
  145.                _loc2_.gotoInstructionsPage = function()
  146.                {
  147.                   _root.clickSound.start();
  148.                   this.gotoAndStop("game");
  149.                };
  150.                _loc2_.gotoGamePage = function()
  151.                {
  152.                   _root.clickSound.start();
  153.                   this.gotoAndStop("game");
  154.                };
  155.                _loc2_.gotoContinue = function()
  156.                {
  157.                   _root.clickSound.start();
  158.                   this.submitButton.onRelease = function()
  159.                   {
  160.                      this._parent.submitPass();
  161.                   };
  162.                   this.gotoAndStop("continue");
  163.                };
  164.                _loc2_.submitPass = function()
  165.                {
  166.                   this.level = 1;
  167.                   if(_root.levelcode.toUpperCase() == "XHSNK")
  168.                   {
  169.                      this.level = 2;
  170.                   }
  171.                   if(_root.levelcode.toUpperCase() == "AJKER")
  172.                   {
  173.                      this.level = 3;
  174.                   }
  175.                   if(_root.levelcode.toUpperCase() == "CIEPS")
  176.                   {
  177.                      this.level = 4;
  178.                   }
  179.                   if(_root.levelcode.toUpperCase() == "VULTR")
  180.                   {
  181.                      this.level = 5;
  182.                   }
  183.                   if(_root.levelcode.toUpperCase() == "EWJEK")
  184.                   {
  185.                      this.level = 6;
  186.                   }
  187.                   if(_root.levelcode.toUpperCase() == "ARVID")
  188.                   {
  189.                      this.level = 7;
  190.                   }
  191.                   if(_root.levelcode.toUpperCase() == "EFEJK")
  192.                   {
  193.                      this.level = 8;
  194.                   }
  195.                   if(_root.levelcode.toUpperCase() == "FJIEJ")
  196.                   {
  197.                      this.level = 9;
  198.                   }
  199.                   if(_root.levelcode.toUpperCase() == "AENGI")
  200.                   {
  201.                      this.level = 10;
  202.                   }
  203.                   if(_root.levelcode.toUpperCase() == "DGKJE")
  204.                   {
  205.                      this.level = 11;
  206.                   }
  207.                   if(_root.levelcode.toUpperCase() == "EIOEE")
  208.                   {
  209.                      this.level = 12;
  210.                   }
  211.                   if(_root.levelcode.toUpperCase() == "OPEJE")
  212.                   {
  213.                      this.level = 13;
  214.                   }
  215.                   if(_root.levelcode.toUpperCase() == "ZKANW")
  216.                   {
  217.                      this.level = 14;
  218.                   }
  219.                   if(_root.levelcode.toUpperCase() == "JURPS")
  220.                   {
  221.                      this.level = 15;
  222.                   }
  223.                   if(_root.levelcode.toUpperCase() == "LOPSZ")
  224.                   {
  225.                      this.level = 16;
  226.                   }
  227.                   if(_root.levelcode.toUpperCase() == "KITTU")
  228.                   {
  229.                      this.level = 17;
  230.                   }
  231.                   if(_root.levelcode.toUpperCase() == "POESS")
  232.                   {
  233.                      this.level = 18;
  234.                   }
  235.                   if(_root.levelcode.toUpperCase() == "JURTY")
  236.                   {
  237.                      this.level = 19;
  238.                   }
  239.                   if(_root.levelcode.toUpperCase() == "KUURT")
  240.                   {
  241.                      this.level = 20;
  242.                   }
  243.                   if(_root.levelcode.toUpperCase() == "OPREE")
  244.                   {
  245.                      this.level = 21;
  246.                   }
  247.                   if(_root.levelcode.toUpperCase() == "KFKEE")
  248.                   {
  249.                      this.level = 22;
  250.                   }
  251.                   if(_root.levelcode.toUpperCase() == "ZKEWS")
  252.                   {
  253.                      this.level = 23;
  254.                   }
  255.                   if(_root.levelcode.toUpperCase() == "HUURK")
  256.                   {
  257.                      this.level = 24;
  258.                   }
  259.                   if(_root.levelcode.toUpperCase() == "LWOWS")
  260.                   {
  261.                      this.level = 25;
  262.                   }
  263.                   if(_root.levelcode.toUpperCase() == "BUPPO")
  264.                   {
  265.                      this.level = 26;
  266.                   }
  267.                   if(_root.levelcode.toUpperCase() == "ERTUH")
  268.                   {
  269.                      this.level = 27;
  270.                   }
  271.                   if(_root.levelcode.toUpperCase() == "AKIOO")
  272.                   {
  273.                      this.level = 28;
  274.                   }
  275.                   if(_root.levelcode.toUpperCase() == "ZOWWD")
  276.                   {
  277.                      this.level = 29;
  278.                   }
  279.                   if(_root.levelcode.toUpperCase() == "NUURT")
  280.                   {
  281.                      this.level = 30;
  282.                   }
  283.                   if(_root.levelcode.toUpperCase() == "JURIK")
  284.                   {
  285.                      this.level = 31;
  286.                   }
  287.                   if(_root.levelcode.toUpperCase() == "NUURJ")
  288.                   {
  289.                      this.level = 32;
  290.                   }
  291.                   if(_root.levelcode.toUpperCase() == "BOMBE")
  292.                   {
  293.                      this.level = 33;
  294.                   }
  295.                   if(_root.levelcode.toUpperCase() == "WIKKE")
  296.                   {
  297.                      this.level = 34;
  298.                   }
  299.                   if(_root.levelcode.toUpperCase() == "HAJJW")
  300.                   {
  301.                      this.level = 35;
  302.                   }
  303.                   if(_root.levelcode.toUpperCase() == "DUURK")
  304.                   {
  305.                      this.level = 36;
  306.                   }
  307.                   if(_root.levelcode.toUpperCase() == "SEWWS")
  308.                   {
  309.                      this.level = 37;
  310.                   }
  311.                   if(_root.levelcode.toUpperCase() == "KUFRE")
  312.                   {
  313.                      this.level = 38;
  314.                   }
  315.                   if(_root.levelcode.toUpperCase() == "AKKES")
  316.                   {
  317.                      this.level = 39;
  318.                   }
  319.                   if(_root.levelcode.toUpperCase() == "KKOEP")
  320.                   {
  321.                      this.level = 40;
  322.                   }
  323.                   if(_root.levelcode.toUpperCase() == "LARTE")
  324.                   {
  325.                      this.level = 41;
  326.                   }
  327.                   if(_root.levelcode.toUpperCase() == "KRIPP")
  328.                   {
  329.                      this.level = 42;
  330.                   }
  331.                   if(_root.levelcode.toUpperCase() == "NUIOE")
  332.                   {
  333.                      this.level = 43;
  334.                   }
  335.                   if(_root.levelcode.toUpperCase() == "ARRJE")
  336.                   {
  337.                      this.level = 44;
  338.                   }
  339.                   if(_root.levelcode.toUpperCase() == "KKIEO")
  340.                   {
  341.                      this.level = 45;
  342.                   }
  343.                   if(_root.levelcode.toUpperCase() == "CEJXW")
  344.                   {
  345.                      this.level = 46;
  346.                   }
  347.                   if(_root.levelcode.toUpperCase() == "XWKLJ")
  348.                   {
  349.                      this.level = 47;
  350.                   }
  351.                   if(_root.levelcode.toUpperCase() == "FKLKE")
  352.                   {
  353.                      this.level = 48;
  354.                   }
  355.                   if(_root.levelcode.toUpperCase() == "EKLJE")
  356.                   {
  357.                      this.level = 49;
  358.                   }
  359.                   _root.forcelevel = this.level - 1;
  360.                   this.gotoAndStop("game");
  361.                };
  362.                ┬º┬ºpush(ASSetPropFlags(_global.Main.prototype,null,1));
  363.             }
  364.             ┬º┬ºpop();
  365.             break;
  366.          }
  367.          if(eval("\x01") != 392)
  368.          {
  369.             if(eval("\x01") == 148)
  370.             {
  371.                set("\x01",eval("\x01") - 148);
  372.             }
  373.             break;
  374.          }
  375.          set("\x01",eval("\x01") + 28);
  376.       }
  377.    }
  378. }
  379.