home *** CD-ROM | disk | FTP | other *** search
- reach = getProperty("/m1", _xscale);
- if(getProperty("/m1", _X) + int(reach / "3") >= _X and _X >= getProperty("/m1", _X) - int(reach / "3") and getProperty("/m1", _Y) + int(reach / "2") >= _Y and _Y >= getProperty("/m1", _Y) and getProperty("/lives", _currentframe) >= "2" and getProperty("/lives", _currentframe) < "6")
- {
- tellTarget("")
- {
- gotoAndStop("gone");
- }
- tellTarget("/lives")
- {
- gotoAndStop(_currentframe - "1");
- }
- tellTarget("/nosee1/noseegarlic1")
- {
- gotoAndStop("gone");
- }
- tellTarget("/playersounds")
- {
- gotoAndStop("garlic");
- play();
- }
- }
- if(getProperty("/m1", _X) + int(reach / "3") >= _X and _X >= getProperty("/m1", _X) - int(reach / "3") and getProperty("/m1", _Y) + int(reach / "2") >= _Y and _Y >= getProperty("/m1", _Y) and getProperty("/lives", _currentframe) == "1")
- {
- tellTarget("/lives/bagfull")
- {
- gotoAndStop("full");
- play();
- }
- }
- if(getProperty("/nosee1/noseegarlic1", _currentframe) == "2")
- {
- tellTarget("")
- {
- gotoAndStop("gone");
- }
- }
-