home *** CD-ROM | disk | FTP | other *** search
- setProperty("/gh4", _X, getProperty("/gh4", _X) - (getProperty("/gh4", _X) - "275") / "94");
- setProperty("/gh4", _Y, getProperty("/gh4", _Y) - "4");
- gh2random = random("25");
- if("100" >= getProperty("/gh4", _Y) or gh2random == "15")
- {
- tellTarget("/gh4")
- {
- gotoAndStop("g-down");
- play();
- }
- }
- if(getProperty("/m1", _Y) >= getProperty("/gh4", _Y))
- {
- setProperty("/gh4", _visible, "0");
- setProperty("/gh3", _visible, "1");
- }
- if(getProperty("/m1", _Y) < getProperty("/gh4", _Y))
- {
- setProperty("/gh4", _visible, "1");
- setProperty("/gh3", _visible, "0");
- }
- setProperty("/gh3", _Y, getProperty("/gh4", _Y));
- setProperty("/gh3", _X, getProperty("/gh4", _X));
- setProperty("/gh4", _xscale, "100" + "0.2" * (_Y - "200"));
- setProperty("/gh4", _yscale, "100" + "0.2" * (_Y - "200"));
- setProperty("/gh3", _xscale, getProperty("/gh4", _xscale));
- setProperty("/gh3", _yscale, getProperty("/gh4", _yscale));
- tellTarget("/gh3")
- {
- gotoAndPlay(getProperty("/gh4", _currentframe));
- }
- if(getProperty("/m1", _X) + "30" >= _X and _X >= getProperty("/m1", _X) - "30" and getProperty("/m1", _Y) + "20" >= _Y and _Y >= getProperty("/m1", _Y) - "20" and getProperty("/m1/hit", _currentframe) == "1")
- {
- tellTarget("/m1/hit")
- {
- play();
- }
- }
-