home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Aventura
/
asitchintime2.swf
/
scripts
/
DefineSprite_865
/
frame_2
/
DoAction.as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2005-11-09
|
199 b
|
10 lines
if(perso.persoBody.hitTest(this) and !c.persoIsInPain)
{
c.persoXSpeed = -8;
c.persoYSpeed = -5;
c.persoIsInPain = true;
c.persoAnim("hit");
c.damage(4);
gotoAndStop(1);
}