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

  1. if(!c.persoIsActivating and perso.persoBody.hitTest(this) and Key.isDown(32) and !c.persoIsJumping and !c.persoIsFalling and !c.persoIsInPain and !c.persoIsBusy)
  2. {
  3.    c.persoIsBusy = true;
  4.    c.persoIsActivating = true;
  5.    c.persoAnim("activate");
  6.    _parent.nextFrame();
  7. }
  8.