home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
pendekar.swf
/
scripts
/
DefineSprite_159
/
frame_4
/
DoAction.as
Wrap
Text File
|
2006-05-08
|
352b
|
15 lines
hit._x = 50 + weapon._height / 2;
if(_parent._parent.isObjectConnect(hit,_parent))
{
if(_root.sfx)
{
_parent._parent.playSFX("slash01.wav");
}
_parent._parent.sliceObject(hit,_parent._parent.getWeaponPower(_parent.weapon),_parent);
if(_parent.attack)
{
attack = true;
gotoAndPlay(_totalframes);
}
}