home *** CD-ROM | disk | FTP | other *** search
- _Y = _Y + ystep;
- bubbleY = _Y;
- bubbleX = _X;
- dinoY = getProperty("/green", _Y);
- dinoX = getProperty("/green", _X);
- if(bubbleY < dinoY + "35" and dinoY - "35" < bubbleY and dinoX - "50" < bubbleX and bubbleX < dinoX + "50" and getProperty("/green", _currentframe) == "4")
- {
- tellTarget("/green")
- {
- gotoAndStop("hit");
- play();
- }
- gotoAndPlay(1);
- }
- else if(bubbleY < dinoY + "35" and dinoY - "35" < bubbleY and dinoX - "50" < bubbleX and bubbleX < dinoX + "50" and getProperty("/green", _currentframe) == "5")
- {
- gotoAndPlay(4);
- }
-