home *** CD-ROM | disk | FTP | other *** search
- _X = _X + movement;
- japX = getProperty("/fighter", _X);
- japY = getProperty("/fighter", _Y);
- yankX = _X;
- yankY = _Y;
- if(yankX - "40" < japX and japX < yankX + "40" and yankY - "10" < japY and japY < yankY + "10")
- {
- tellTarget("/fighter")
- {
- gotoAndStop("japboom");
- play();
- }
- gotoAndPlay(4);
- }
-