home *** CD-ROM | disk | FTP | other *** search
- _X = _X - "15";
- _Y = _Y + "12";
- _xscale = "100" + "0.2" * (_Y - "200");
- _yscale = "100" + "0.2" * (_Y - "200");
- skrandom = random("2") + "1";
- skb = random("50");
- if("50" - (getProperty("/sk1", _Y) - "400") / "3" >= getProperty("/sk1", _X) or skb == "15")
- {
- tellTarget("/sk1")
- {
- if(skrandom == "1")
- {
- gotoAndStop("sk-RD");
- play();
- }
- if(skrandom == "2")
- {
- gotoAndStop("sk-RU");
- play();
- }
- }
- }
- if(getProperty("/sk1", _Y) >= "240" or skb == "35")
- {
- tellTarget("/sk1")
- {
- if(skrandom == "1")
- {
- gotoAndStop("sk-RU");
- play();
- }
- if(skrandom == "2")
- {
- gotoAndStop("sk-LU");
- play();
- }
- }
- }
- 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("vampire");
- play();
- }
- }
-