home *** CD-ROM | disk | FTP | other *** search
- _Y = _Y + yStep;
- playerX = getProperty("/player", _X);
- playerY = getProperty("/player", _Y);
- hazzardX = _X;
- hazzardY = _Y;
- if(playerY - "20" < hazzardY and hazzardY < playerY and playerX - "40" < hazzardX and hazzardX < playerX + "40" and getProperty("/player", _currentframe) == "1" and getProperty("/", _currentframe) == "20")
- {
- tellTarget("/player")
- {
- play();
- }
- tellTarget("/lives")
- {
- nextFrame();
- }
- }
-