home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / beach_difference.swf / scripts / DefineSprite_474 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2008-09-23  |  2.9 KB  |  84 lines

  1. if(true)
  2. {
  3.    if(true)
  4.    {
  5.       ┬º┬ºpush(false);
  6.    }
  7.    if(!┬º┬ºpop())
  8.    {
  9.       if(true)
  10.       {
  11.          if(true)
  12.          {
  13.             addr29:
  14.             ┬º┬ºpush(false);
  15.          }
  16.          if(┬º┬ºpop())
  17.          {
  18.             throw ┬º┬ºpop() instanceof typeof function ┬º\x1b{invalid_utf8=153}\x02┬º(┬º{invalid_utf8=136}\x07┬º, ┬º\x01┬º, ┬º\x02\x01┬º, ┬º\x01┬º, ┬º{invalid_utf8=142}{invalid_utf8=255}{invalid_utf8=238}┬º, ┬º{invalid_utf8=136}{invalid_utf8=232}┬º, ┬º\x1b┬º, this, useHandCursor, onRelease, _parent, lvl401_mc, bottle_mc, bottle2_mc)
  19.             {
  20.             };
  21.          }
  22.          this.useHandCursor = false;
  23.          this.onRelease = function()
  24.          {
  25.             if(_parent._parent.lvl401_mc.bottle_mc.bottle2_mc._currentframe == 1)
  26.             {
  27.                if(_currentframe == 2)
  28.                {
  29.                   var _loc4_ = _root.attachMovie("stars","stars1",_root.getNextHighestDepth());
  30.                   var _loc6_ = _root.attachMovie("stars","stars2",_root.getNextHighestDepth());
  31.                   _loc4_._xscale = _loc6_._xscale = 70;
  32.                   _loc4_._yscale = _loc6_._yscale = 70;
  33.                   var _loc5_ = new Object();
  34.                   _loc5_.x = this._x;
  35.                   _loc5_.y = this._y;
  36.                   localToGlobal(_loc5_);
  37.                   _loc4_._x = _loc5_.x + 30;
  38.                   _loc4_._y = _loc5_.y;
  39.                   _loc6_._x = _loc4_._x;
  40.                   _loc6_._y = _loc4_._y + 300;
  41.                   bottle2_mc.gotoAndPlay(2);
  42.                }
  43.                else
  44.                {
  45.                   _loc4_ = _root.attachMovie("stars","stars1",_root.getNextHighestDepth());
  46.                   _loc6_ = _root.attachMovie("stars","stars2",_root.getNextHighestDepth());
  47.                   _loc4_._xscale = _loc6_._xscale = 70;
  48.                   _loc4_._yscale = _loc6_._yscale = 70;
  49.                   _loc5_ = new Object();
  50.                   _loc5_.x = this._x;
  51.                   _loc5_.y = this._y;
  52.                   localToGlobal(_loc5_);
  53.                   _loc4_._x = _loc5_.x + 30;
  54.                   _loc4_._y = _loc5_.y;
  55.                   _loc6_._x = _loc4_._x;
  56.                   _loc6_._y = _loc4_._y - 300;
  57.                   _parent._parent.lvl401_mc.bottle_mc.gotoAndStop(2);
  58.                   _parent._parent.lvl401_mc.bottle_mc.bottle2_mc.gotoAndPlay(2);
  59.                }
  60.             }
  61.             else if(_parent._parent.lvl401_mc.bottle_mc.bottle2_mc._currentframe >= 1)
  62.             {
  63.                if(_root.chances > 1)
  64.                {
  65.                   _root.chances = _root.chances - 1;
  66.                }
  67.                else
  68.                {
  69.                   _root.myGame.gotoAndStop("gameOver");
  70.                }
  71.             }
  72.          };
  73.          ┬º┬ºgoto(addr238);
  74.       }
  75.       else
  76.       {
  77.          ┬º┬ºgoto(addr238);
  78.       }
  79.       ┬º┬ºgoto(addr238);
  80.    }
  81.    ┬º┬ºgoto(addr29);
  82. }
  83. addr238:
  84.