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

  1. if(perso.persoBody.hitTest(this) and !c.persoIsInPain)
  2. {
  3.    c.persoIsInPain = true;
  4.    c.persoAnim("hit");
  5.    c.persoXSpeed = -10;
  6.    c.persoYSpeed = 0;
  7.    c.damage(6);
  8. }
  9.