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

  1. if(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._parent.switch2.gotoAndStop(2);
  7.    _parent._parent.laser1.gotoAndStop("close");
  8.    _parent._parent._parent.overlay_5.stoneMonkey.engine.play();
  9.    _parent.gotoAndStop(2);
  10. }
  11.