home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / asitchintime2.swf / scripts / DefineSprite_1203 / frame_2 / DoAction.as
Encoding:
Text File  |  2005-11-09  |  392 b   |  13 lines

  1. if(perso.persoBody.hitTest(this) and !c.persoIsJumping and !c.persoIsFalling)
  2. {
  3.    if(!c.persoIsInPain and !c.persoIsBusy)
  4.    {
  5.       c.persoIsBusy = true;
  6.       c.persoIsActivating = true;
  7.       c.persoAnim("activate");
  8.       _parent._parent.laser1.gotoAndStop("open");
  9.       _parent._parent._parent.overlay_5.stoneMonkey.gotoAndStop("hit");
  10.       _parent.gotoAndStop(1);
  11.    }
  12. }
  13.