home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / toxic_jump.swf / scripts / DefineSprite_84_menuMC / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2008-09-24  |  10.9 KB  |  335 lines

  1. function ┬º\x04\x05┬º()
  2. {
  3.    set("\x03",847 % 511 * true);
  4.    return eval("\x03");
  5. }
  6. var ┬º\x01┬º = 450 + "\x04\x05"();
  7. while(true)
  8. {
  9.    if(eval("\x01") == 786)
  10.    {
  11.       set("\x01",eval("\x01") + 136);
  12.       ┬º┬ºpush(true);
  13.    }
  14.    else if(eval("\x01") == 315)
  15.    {
  16.       set("\x01",eval("\x01") + 202);
  17.       ┬º┬ºpush("\x0f");
  18.       ┬º┬ºpush(1);
  19.    }
  20.    else
  21.    {
  22.       if(eval("\x01") == 784)
  23.       {
  24.          set("\x01",eval("\x01") + 50);
  25.          gotoAndStop("");
  26.          break;
  27.       }
  28.       if(eval("\x01") == 834)
  29.       {
  30.          set("\x01",eval("\x01") - 557);
  31.       }
  32.       else if(eval("\x01") == 517)
  33.       {
  34.          set("\x01",eval("\x01") + 44);
  35.          var ┬º┬ºpop() = function ┬º\x04\x05┬º()
  36.          {
  37.             set("\x03",847 % 511 * true);
  38.             return eval("\x03");
  39.          };
  40.       }
  41.       else
  42.       {
  43.          if(eval("\x01") == 466)
  44.          {
  45.             set("\x01",eval("\x01") - 130);
  46.             nextFrame();
  47.             ┬º┬ºpush(mblength(function ┬º\x04\x05┬º()
  48.             {
  49.                set("\x03",847 % 511 * true);
  50.                return eval("\x03");
  51.             }));
  52.             break;
  53.          }
  54.          if(eval("\x01") == 561)
  55.          {
  56.             set("\x01",eval("\x01") - 131);
  57.             ┬º┬ºpush("\x0f");
  58.          }
  59.          else if(eval("\x01") == 340)
  60.          {
  61.             set("\x01",eval("\x01") + 126);
  62.             if(function ┬º\x04\x05┬º()
  63.             {
  64.                set("\x03",847 % 511 * true);
  65.                return eval("\x03");
  66.             })
  67.             {
  68.                set("\x01",eval("\x01") - 130);
  69.             }
  70.          }
  71.          else if(eval("\x01") == 42)
  72.          {
  73.             set("\x01",eval("\x01") + 273);
  74.          }
  75.          else if(eval("\x01") == 90)
  76.          {
  77.             set("\x01",eval("\x01") + 187);
  78.          }
  79.          else if(eval("\x01") == 707)
  80.          {
  81.             set("\x01",eval("\x01") - 359);
  82.             ┬º┬ºpush(!function ┬º\x04\x05┬º()
  83.             {
  84.                set("\x03",847 % 511 * true);
  85.                return eval("\x03");
  86.             });
  87.          }
  88.          else if(eval("\x01") == 430)
  89.          {
  90.             set("\x01",eval("\x01") + 277);
  91.             ┬º┬ºpush(eval(function ┬º\x04\x05┬º()
  92.             {
  93.                set("\x03",847 % 511 * true);
  94.                return eval("\x03");
  95.             }));
  96.          }
  97.          else if(eval("\x01") == 922)
  98.          {
  99.             set("\x01",eval("\x01") - 138);
  100.             if(function ┬º\x04\x05┬º()
  101.             {
  102.                set("\x03",847 % 511 * true);
  103.                return eval("\x03");
  104.             })
  105.             {
  106.                set("\x01",eval("\x01") + 50);
  107.             }
  108.          }
  109.          else if(eval("\x01") == 348)
  110.          {
  111.             set("\x01",eval("\x01") - 172);
  112.             if(function ┬º\x04\x05┬º()
  113.             {
  114.                set("\x03",847 % 511 * true);
  115.                return eval("\x03");
  116.             })
  117.             {
  118.                set("\x01",eval("\x01") + 149);
  119.             }
  120.          }
  121.          else if(eval("\x01") == 336)
  122.          {
  123.             set("\x01",eval("\x01") - 21);
  124.          }
  125.          else if(eval("\x01") == 277)
  126.          {
  127.             set("\x01",eval("\x01") + 63);
  128.             ┬º┬ºpush(true);
  129.          }
  130.          else
  131.          {
  132.             if(eval("\x01") != 176)
  133.             {
  134.                if(eval("\x01") == 325)
  135.                {
  136.                   set("\x01",eval("\x01") + 454);
  137.                   middleX = 400;
  138.                   middleY = 200;
  139.                   brdID = root.boardID;
  140.                   playerScore = root.score;
  141.                   friction = 0;
  142.                   nameField.onSetFocus = function()
  143.                   {
  144.                      playerName = "";
  145.                   };
  146.                   this.onEnterFrame = function()
  147.                   {
  148.                      if(smooth == true)
  149.                      {
  150.                         if(friction < 0.2)
  151.                         {
  152.                            friction += 0.05;
  153.                         }
  154.                         this._x += Math.round((- eval(gdzie)._x - this._x + middleX) * friction);
  155.                         this._y += Math.round((- eval(gdzie)._y - this._y + middleY) * friction);
  156.                      }
  157.                      else
  158.                      {
  159.                         this._x = - eval(gdzie)._x + middleX;
  160.                         this._y = - eval(gdzie)._y + middleY;
  161.                      }
  162.                   };
  163.                   warpMenu = function(co, jak)
  164.                   {
  165.                      friction = 0;
  166.                      smooth = jak;
  167.                      gdzie = co;
  168.                   };
  169.                   setWygranaNapis = function()
  170.                   {
  171.                      if(root.wygrana == true)
  172.                      {
  173.                         wygranaNapis = "<p align=\'center\'>" + congratsTXT + "<br>" + beatenTXT + "<br>" + yourScoreTXT + ": " + playerScore + "</p>";
  174.                      }
  175.                      else
  176.                      {
  177.                         wygranaNapis = "<p align=\'center\'>" + gameOverTXT + "<br>" + yourScoreTXT + ": <br>" + playerScore + "</p>";
  178.                      }
  179.                   };
  180.                   if(root.gameInit == true)
  181.                   {
  182.                      warpMenu("menu",false);
  183.                   }
  184.                   else
  185.                   {
  186.                      warpMenu("gameEnd",false);
  187.                   }
  188.                   showMochiScore = function()
  189.                   {
  190.                      mochi.MochiScores.showLeaderboard({boardID:brdID});
  191.                   };
  192.                   saveScore = function()
  193.                   {
  194.                      if(playerName == playerNameLang || playerName == "" || playerName == "fuck" || playerName == "fuck you" || playerName == "shit" || playerName == "shithole" || playerName == "ass" || playerName == "gay" || playerName == "asshole" || playerName == "chuj" || playerName == "kurwa" || playerName == "cipa" || playerName == "pizda")
  195.                      {
  196.                         reminder.play();
  197.                      }
  198.                      else
  199.                      {
  200.                         mochi.MochiScores.showLeaderboard({boardID:brdID,score:playerScore,name:playerName});
  201.                         warpMenu("showHS",true);
  202.                         root.showingMochiScores = true;
  203.                      }
  204.                   };
  205.                   i = 1;
  206.                   while(i < 100)
  207.                   {
  208.                      eval("b" + i).onRollOver = root.rollOverBtn;
  209.                      eval("b" + i).onRollOut = root.rollOutBtn;
  210.                      eval("b" + i).onEnterFrame = root.scaleMe;
  211.                      i++;
  212.                   }
  213.                   normalizeMe = function(co)
  214.                   {
  215.                      root.playSound(root.pressBtnSound);
  216.                      eval(co).skala = 100;
  217.                   };
  218.                   mc1.napis = root.loadingTXT;
  219.                   b1.onPress = function()
  220.                   {
  221.                      normalizeMe(this._name);
  222.                      root.gameInit = false;
  223.                      root.gameZone = true;
  224.                      root.przejscie("intro");
  225.                   };
  226.                   b2.onPress = function()
  227.                   {
  228.                      normalizeMe(this._name);
  229.                      getURL(root.commentLink,"_blank");
  230.                   };
  231.                   b3.onPress = function()
  232.                   {
  233.                      normalizeMe(this._name);
  234.                      warpMenu("credits",true);
  235.                   };
  236.                   b4.onPress = function()
  237.                   {
  238.                      normalizeMe(this._name);
  239.                      warpMenu("instructions",true);
  240.                   };
  241.                   b5.onPress = function()
  242.                   {
  243.                      normalizeMe(this._name);
  244.                      root.showingMochiScores = true;
  245.                      showMochiScore();
  246.                      warpMenu("showHS",true);
  247.                   };
  248.                   b6.onPress = function()
  249.                   {
  250.                      normalizeMe(this._name);
  251.                      root.spillLink("more");
  252.                   };
  253.                   if(root.score == 0)
  254.                   {
  255.                      b7._visible = false;
  256.                   }
  257.                   b7.onPress = function()
  258.                   {
  259.                      normalizeMe(this._name);
  260.                      warpMenu("saveScoreBG",true);
  261.                   };
  262.                   b8.onPress = function()
  263.                   {
  264.                      normalizeMe(this._name);
  265.                      getURL(root.commentLink,"_blank");
  266.                   };
  267.                   b9.onPress = function()
  268.                   {
  269.                      normalizeMe(this._name);
  270.                      warpMenu("menu",true);
  271.                   };
  272.                   b10.onPress = function()
  273.                   {
  274.                      normalizeMe(this._name);
  275.                      root.przejscie("gra");
  276.                   };
  277.                   b11.onPress = function()
  278.                   {
  279.                      normalizeMe(this._name);
  280.                      saveScore();
  281.                   };
  282.                   b12.onPress = function()
  283.                   {
  284.                      normalizeMe(this._name);
  285.                      warpMenu("gameEnd",true);
  286.                   };
  287.                   b13.onPress = function()
  288.                   {
  289.                      normalizeMe(this._name);
  290.                      warpMenu("menu",true);
  291.                   };
  292.                   b14.onPress = function()
  293.                   {
  294.                      normalizeMe(this._name);
  295.                      warpMenu("keys",true);
  296.                   };
  297.                   b15.onPress = function()
  298.                   {
  299.                      normalizeMe(this._name);
  300.                      warpMenu("menu",true);
  301.                   };
  302.                   b16.onPress = function()
  303.                   {
  304.                      normalizeMe(this._name);
  305.                      warpMenu("instructions",true);
  306.                   };
  307.                   b17.onPress = function()
  308.                   {
  309.                      normalizeMe(this._name);
  310.                      getURL(root.addToSiteLink,"_blank");
  311.                   };
  312.                   b18.onPress = function()
  313.                   {
  314.                      normalizeMe(this._name);
  315.                      root.spillLink("free");
  316.                   };
  317.                   changeLang = function(jaki)
  318.                   {
  319.                      root.jezyk = jaki;
  320.                      buttonNames();
  321.                   };
  322.                   break;
  323.                }
  324.                if(eval("\x01") == 779)
  325.                {
  326.                   set("\x01",eval("\x01") - 779);
  327.                }
  328.                break;
  329.             }
  330.             set("\x01",eval("\x01") + 149);
  331.          }
  332.       }
  333.    }
  334. }
  335.