home *** CD-ROM | disk | FTP | other *** search
- _X = _X + "12";
- _xscale = "100" + "0.2" * (_Y - "200");
- _yscale = "100" + "0.2" * (_Y - "200");
- wwrandom = random("25");
- if("400" < _X or wwrandom == "15")
- {
- tellTarget("/w1")
- {
- gotoAndStop("wwL");
- play();
- }
- tellTarget("/w2")
- {
- gotoAndStop("wwL");
- play();
- }
- }
- if(getProperty("/m1", _Y) >= _Y)
- {
- setProperty("/w2", _visible, "0");
- setProperty("/w1", _visible, "1");
- }
- if(getProperty("/m1", _Y) < _Y)
- {
- setProperty("/w2", _visible, "1");
- setProperty("/w1", _visible, "0");
- }
- setProperty("/w1", _X, getProperty("/w2", _X));
- if(getProperty("/m1", _X) + "20" >= _X and _X >= getProperty("/m1", _X) - "20" and getProperty("/m1", _Y) + "20" >= _Y and _Y >= getProperty("/m1", _Y) - "20" and getProperty("/m1/hit", _currentframe) == "1")
- {
- tellTarget("/m1/hit")
- {
- play();
- }
- }
-