home *** CD-ROM | disk | FTP | other *** search
- _X = _X - "15";
- _Y = _Y + "3";
- _xscale = "100" + "0.2" * (_Y - "200");
- _yscale = "100" + "0.2" * (_Y - "200");
- wwrandom = random("2") + "1";
- wwb = random("50");
- if("100" - (getProperty("/ww1", _Y) - "400") / "3" >= getProperty("/ww1", _X) or wwb == "15")
- {
- tellTarget("/ww1")
- {
- if(wwrandom == "1")
- {
- gotoAndStop("ww-RD");
- play();
- }
- if(wwrandom == "2")
- {
- gotoAndStop("ww-RU");
- play();
- }
- }
- }
- if(getProperty("/ww1", _Y) >= "250" or wwb == "35")
- {
- tellTarget("/ww1")
- {
- if(wwrandom == "1")
- {
- gotoAndStop("ww-RU");
- play();
- }
- if(wwrandom == "2")
- {
- gotoAndStop("ww-LU");
- play();
- }
- }
- }
- setProperty("/ww2", _X, getProperty("/ww1", _X));
- setProperty("/ww2", _Y, getProperty("/ww1", _Y));
- tellTarget("/ww2")
- {
- gotoAndPlay(getProperty("/ww1", _currentframe));
- }
- if(getProperty("/m1", _Y) >= _Y)
- {
- setProperty("/ww2", _visible, "0");
- setProperty("/ww1", _visible, "1");
- }
- if(getProperty("/m1", _Y) < _Y)
- {
- setProperty("/ww2", _visible, "1");
- setProperty("/ww1", _visible, "0");
- }
- 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();
- }
- }
- soundplay = random("30");
- if(soundplay == "15")
- {
- tellTarget("/monstersounds")
- {
- gotoAndStop("werewolf");
- play();
- }
- }
-