Frame 1
var CPMStarContentSpotID = "0";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=3346Q6FF8C5E2");
stop();
Instance of Symbol 93 MovieClip in Frame 2
onClipEvent (load) {
totalFileSize = _root.getBytesTotal();
this._xscale = 0;
}
onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
this._xscale = percentLoaded;
if (amountLoaded < 1) {
percentLoaded = int(100 * amountLoaded);
_root.zagr = percentLoaded + "%";
}
if ((amountLoaded >= 0) & (amountLoaded < 0.1)) {
_root.fruit.gotoAndStop(2);
}
if ((amountLoaded >= 0.1) & (amountLoaded < 0.2)) {
_root.fruit.gotoAndStop(3);
}
if ((amountLoaded >= 0.2) & (amountLoaded < 0.3)) {
_root.fruit.gotoAndStop(4);
}
if ((amountLoaded >= 0.3) & (amountLoaded < 0.4)) {
_root.fruit.gotoAndStop(5);
}
if ((amountLoaded >= 0.4) & (amountLoaded < 0.5)) {
_root.fruit.gotoAndStop(6);
}
if ((amountLoaded >= 0.5) & (amountLoaded < 0.6)) {
_root.fruit.gotoAndStop(7);
}
if ((amountLoaded >= 0.6) & (amountLoaded < 0.7)) {
_root.fruit.gotoAndStop(8);
}
if ((amountLoaded >= 0.7) & (amountLoaded < 0.8)) {
_root.fruit.gotoAndStop(9);
}
if ((amountLoaded >= 0.8) & (amountLoaded < 0.9)) {
_root.fruit.gotoAndStop(10);
}
if ((amountLoaded >= 0.9) & (amountLoaded < 1)) {
_root.fruit.gotoAndStop(11);
}
if (amountLoaded >= 1) {
if (_root.fruit._currentframe <= 11) {
_root.fruit.gotoAndStop(12);
_root.zagr = "";
this._visible = 0;
}
}
}
Frame 5
stop();
Instance of Symbol 299 MovieClip "pomidor" in Frame 5
onClipEvent (mouseDown) {
_root.pomidor.gotoAndStop(2);
_root.pomidor2.gotoAndStop(2);
_root.glaz1._visible = 0;
_root.glaz2._visible = 0;
_root.glaz12._visible = 0;
_root.glaz22._visible = 0;
}
onClipEvent (mouseUp) {
_root.pomidor.gotoAndStop(1);
_root.pomidor2.gotoAndStop(1);
_root.glaz1._visible = 1;
_root.glaz2._visible = 1;
_root.glaz12._visible = 1;
_root.glaz22._visible = 1;
}
Instance of Symbol 301 MovieClip "glaz1" in Frame 5
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_rotation = vracenie;
}
Instance of Symbol 301 MovieClip "glaz12" in Frame 5
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_rotation = vracenie;
}
Instance of Symbol 301 MovieClip "glaz2" in Frame 5
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_rotation = vracenie;
}
Instance of Symbol 301 MovieClip "glaz22" in Frame 5
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_rotation = vracenie;
}
Instance of Symbol 346 MovieClip in Frame 5
onClipEvent (load) {
p = 1;
}
onClipEvent (enterFrame) {
if (p == 1) {
_root.news22 = new Sound();
_root.news22.attachSound("muz2");
_root.news22.start(0, 0);
p = 2;
}
if (_root.news22.position == _root.news22.duration) {
_root.news22.stop();
p = 1;
}
}
Frame 7
i = 1;
while (i < 100) {
_root["enemy" + i].removeMovieClip();
i++;
}
j = 1;
while (j < 10) {
_root["bas" + j].removeMovieClip();
j++;
}
stopAllSounds();
_root.gotoAndStop(_root.againkadr);
Frame 8
stop();
Frame 509
basna.stop();
Frame 561
basna.gotoAndPlay("vas");
Frame 582
basna.gotoAndPlay("vas");
Frame 911
_root.gotoAndStop("tur1");
Frame 912
stop();
Instance of Symbol 680 MovieClip in Frame 912
onClipEvent (load) {
_root.gold = 150;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 1;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(9);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
}
Instance of Symbol 22 MovieClip "kurs" in Frame 912
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 912
onClipEvent (load) {
time = 0;
_root.volnaSkok = 5;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if (((_root.obuc == 1) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 6) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 5) {
if (time <= 0) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 8) {
_root.gold = _root.gold + 60;
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
if (_root.vragi >= 6) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 100;
}
if (_root.vragi <= 5) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 65;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 5) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Instance of Symbol 346 MovieClip in Frame 912
onClipEvent (load) {
p = 1;
}
onClipEvent (enterFrame) {
_root.tablic.w = _root.volna - 1;
_root.tablic.w3 = "/";
_root.tablic.w2 = _root.volnaSkok;
if (p == 1) {
_root.news2 = new Sound();
_root.news2.attachSound("muz");
_root.news2.start(0, 0);
p = 2;
}
if (_root.news2.position == _root.news2.duration) {
_root.news2.stop();
p = 1;
}
}
Instance of Symbol 22 MovieClip in Frame 912
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(1);
}
}
Frame 913
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 914
onClipEvent (load) {
_root.gold = 250;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 2;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 914
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 914
onClipEvent (load) {
time = 0;
_root.volnaSkok = 8;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 9) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 8) {
if (time <= 0) {
if (_root.vragi >= 11) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 150;
}
if (_root.vragi <= 10) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
if (_root.vragi >= 14) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
}
if (_root.vragi <= 13) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 20) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 30;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
if (_root.vragi >= 6) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 5) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
}
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 915
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 916
onClipEvent (load) {
_root.gold = 370;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 3;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 916
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 916
onClipEvent (load) {
time = 0;
_root.volnaSkok = 8;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 9) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 8) {
if (time <= 0) {
if (_root.vragi >= 11) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 10) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
if (_root.vragi >= 14) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi <= 13) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
}
if (_root.vragi >= 20) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 30;
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 30;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
if (_root.vragi >= 6) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
}
if (_root.vragi <= 5) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
}
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 917
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 918
onClipEvent (load) {
_root.gold = 300;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 4;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 918
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 918
onClipEvent (load) {
time = 0;
_root.volnaSkok = 8;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 9) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 8) {
if (time <= 0) {
if (_root.vragi >= 9) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 45;
}
if (_root.vragi <= 8) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 45;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
if (_root.vragi >= 9) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 8) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
if (_root.vragi >= 6) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 5) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 55;
}
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 55;
if (_root.vragi >= 7) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 919
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 920
onClipEvent (load) {
_root.gold = 300;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 5;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 920
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 920
onClipEvent (load) {
time = 0;
_root.volnaSkok = 8;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 9) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 8) {
if (time <= 0) {
_root.attachMovie("boss1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
if (_root.vragi >= 9) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 8) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 20) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaksa.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaksa.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 7) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 8) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 921
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 922
onClipEvent (load) {
_root.gold = 400;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 6;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 922
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 922
onClipEvent (load) {
time = 0;
_root.volnaSkok = 9;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 10) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 9) {
if (time <= 0) {
_root.attachMovie("boss2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 8) {
if (time <= 0) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 19) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
}
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("boss1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
if (_root.vragi >= 7) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 7) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 923
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 924
onClipEvent (load) {
_root.gold = 250;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 7;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 924
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 924
onClipEvent (load) {
time = 0;
_root.volnaSkok = 9;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 10) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 9) {
if (time <= 0) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 8) {
if (time <= 0) {
if (_root.vragi >= 11) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi <= 10) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 18) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
_root.attachMovie("boss1", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 30;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
if (_root.vragi >= 9) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 8) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 16) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 7) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 925
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 926
onClipEvent (load) {
_root.gold = 380;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 8;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 926
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 926
onClipEvent (load) {
time = 0;
_root.volnaSkok = 8;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 9) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 8) {
if (time <= 0) {
_root.attachMovie("boss3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 90;
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
if (_root.vragi >= 11) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi <= 10) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
}
if (_root.vragi >= 20) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("boss2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 50;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
_root.attachMovie("enemy4", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 110;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 927
_root.nextFrame();
Instance of Symbol 680 MovieClip in Frame 928
onClipEvent (load) {
_root.gold = 600;
_root.basPer = 1;
_root.strPer = 1;
_root.perVra = 1;
_root.perBoom = 1;
_root.game = 0;
_root.obuc = 0;
_root.volna = 1;
_root.skoForvol = 0.1;
_root.vragi = 0;
_root.vragi2 = 0;
_root.giz = 100;
_root.kapustaVr = 2400;
_root.kapustaVr2 = 2400;
_root.tur = 9;
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.nextwave.gotoAndStop(2);
sav = SharedObject.getLocal("SharedObject");
sav.data.tur = _root.tur;
sav.flush();
}
Instance of Symbol 22 MovieClip "kurs" in Frame 928
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 682 MovieClip in Frame 928
onClipEvent (load) {
time = 0;
_root.volnaSkok = 10;
}
onClipEvent (enterFrame) {
time--;
_root.kapustaVr++;
if (_root.giz <= 0) {
i = 1;
while (i < 10) {
_root["basna" + i].gotoAndStop(1);
i++;
}
_root.takva.gotoAndStop("use");
} else {
_root.gizd = int(_root.giz);
}
if ((_root.game == 0) & (_root.vragi2 == 0)) {
_root.perVra = 1;
_root.vragi = 0;
_root.nextwave.gotoAndStop(2);
}
if (((_root.volna == 11) & (_root.game == 0)) & (_root.vragi2 == 0)) {
_root.nextwave.gotoAndStop(3);
}
if (_root.game == 1) {
if (_root.volna == 10) {
if (time <= 0) {
_root.attachMovie("boss3", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 9) {
if (time <= 0) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 8) {
if (time <= 0) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 7) {
if (time <= 0) {
_root.attachMovie("boss2", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 40;
if (_root.vragi >= 1) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 6) {
if (time <= 0) {
if (_root.vragi >= 8) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi <= 7) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi >= 15) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 5) {
if (time <= 0) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 4) {
if (time <= 0) {
_root.attachMovie("enemy7", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 10) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 3) {
if (time <= 0) {
_root.attachMovie("enemy6", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 80;
if (_root.vragi >= 14) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 2) {
if (time <= 0) {
if (_root.vragi >= 9) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop("voz");
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
}
if (_root.vragi <= 8) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.kaska.gotoAndStop(2);
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 60;
}
if (_root.vragi >= 16) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
if (_root.volna == 1) {
if (time <= 0) {
_root.attachMovie("enemy5", "enemy" + _root.perVra, _root.getNextHighestDepth());
_root["enemy" + _root.perVra]._x = -10;
_root["enemy" + _root.perVra]._y = 380;
d = int(Math.random() * 6) + 1;
if (_root.perVra == 1) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(2);
} else if (d == 3) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(3);
} else if (d == 4) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(4);
} else if (d == 5) {
_root["enemy" + _root.perVra].vrag.vrag2.vrag3.gotoAndStop(5);
}
_root.vragi++;
_root.vragi2++;
_root.perVra++;
time = 70;
if (_root.vragi >= 12) {
_root.game = 0;
_root.volna = _root.volna + 1;
}
}
}
}
}
Frame 929
i = 1;
while (i < 100) {
_root["enemy" + i].removeMovieClip();
i++;
}
j = 1;
while (j < 10) {
_root["bas" + j].removeMovieClip();
j++;
}
_root.news2.stop();
stopAllSounds();
_root.gotoAndPlay("pobeda");
Symbol 14 MovieClip [boom2] Frame 18
this.removeMovieClip();
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip [strela4] Frame 1
onClipEvent (load) {
sko = 7;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root.attachMovie("boom", "boom" + _root.perBoom, _root.getNextHighestDepth());
_root["boom" + _root.perBoom]._x = _parent._x;
_root["boom" + _root.perBoom]._y = _parent._y;
_root["boom" + _root.perBoom]._width = 8;
_root["boom" + _root.perBoom]._height = 20;
_root.perBoom++;
d = int(Math.random() * 10);
if (d > 7) {
_root["enemy" + _parent.kogo].vrag.sbor.isp = 1;
}
if (_root["enemy" + _parent.kogo].vrag.sbor.giz2 > 0) {
_root["enemy" + _parent.kogo].vrag.sbor.giz2 = _root["enemy" + _parent.kogo].vrag.sbor.giz2 - _parent.ataka;
} else {
_root["enemy" + _parent.kogo].vrag.sbor.giz = _root["enemy" + _parent.kogo].vrag.sbor.giz - _parent.ataka;
}
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Instance of Symbol 22 MovieClip in Symbol 25 MovieClip [strela6] Frame 1
onClipEvent (load) {
sko = 7;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root.attachMovie("boom2", "boom" + _root.perBoom, _root.getNextHighestDepth());
_root["boom" + _root.perBoom]._x = _parent._x;
_root["boom" + _root.perBoom]._y = _parent._y;
_root["boom" + _root.perBoom]._width = 8;
_root["boom" + _root.perBoom]._height = 20;
_root.perBoom++;
d = int(Math.random() * 10);
if (d > 3) {
_root["enemy" + _parent.kogo].vrag.sbor.pod = 1;
}
_root["enemy" + _parent.kogo].vrag.sbor.giz = _root["enemy" + _parent.kogo].vrag.sbor.giz - _parent.ataka;
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Instance of Symbol 22 MovieClip in Symbol 26 MovieClip [strela5] Frame 1
onClipEvent (load) {
sko = 7;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root.attachMovie("boom2", "boom" + _root.perBoom, _root.getNextHighestDepth());
_root["boom" + _root.perBoom]._x = _parent._x;
_root["boom" + _root.perBoom]._y = _parent._y;
_root["boom" + _root.perBoom]._width = 8;
_root["boom" + _root.perBoom]._height = 20;
_root.perBoom++;
if (_root["enemy" + _parent.kogo].vrag.sbor.giz2 > 0) {
_root["enemy" + _parent.kogo].vrag.sbor.giz2 = _root["enemy" + _parent.kogo].vrag.sbor.giz2 - _parent.ataka;
} else {
_root["enemy" + _parent.kogo].vrag.sbor.giz = _root["enemy" + _parent.kogo].vrag.sbor.giz - _parent.ataka;
}
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Instance of Symbol 22 MovieClip in Symbol 27 MovieClip [strela3] Frame 1
onClipEvent (load) {
sko = 7;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root["enemy" + _parent.kogo].vrag.sbor.giz2 = _root["enemy" + _parent.kogo].vrag.sbor.giz2 - _parent.ataka;
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Instance of Symbol 22 MovieClip in Symbol 28 MovieClip [strela2] Frame 1
onClipEvent (load) {
sko = 4;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root.attachMovie("boom2", "boom" + _root.perBoom, _root.getNextHighestDepth());
_root["boom" + _root.perBoom]._x = _parent._x;
_root["boom" + _root.perBoom]._y = _parent._y;
_root["boom" + _root.perBoom]._width = 14;
_root["boom" + _root.perBoom]._height = 15;
_root.perBoom++;
d = int(Math.random() * 10);
if (d > 7) {
_root["enemy" + _parent.kogo].vrag.sbor.zam = 1;
}
_root["enemy" + _parent.kogo].vrag.sbor.giz = _root["enemy" + _parent.kogo].vrag.sbor.giz - _parent.ataka;
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Symbol 31 MovieClip Frame 3
stop();
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 20) {
if (this.hitTest(_root["enemy" + i].vrag) & (_root["enemy" + i].vrag.sbor.tip == 0)) {
_root["enemy" + i].vrag.sbor.giz = _root["enemy" + i].vrag.sbor.giz - 3;
}
i++;
}
}
Symbol 33 MovieClip [kapusta] Frame 1
suc = 1;
Symbol 33 MovieClip [kapusta] Frame 217
this.removeMovieClip();
Symbol 39 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 96
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 94
stop();
Instance of Symbol 42 MovieClip "rad" in Symbol 51 MovieClip [basna4] Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 15) {
_parent.dan.xp = 15;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if ((((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & (_root["enemy" + i].vrag.sbor.tip == 1)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela3", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Instance of Symbol 22 MovieClip "dan" in Symbol 51 MovieClip [basna4] Frame 1
onClipEvent (load) {
ataka = 10;
sko = 2;
skor = 80;
radius = 120;
xp = 0;
lev = 1;
stoim = 40;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas4");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 15;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 15) {
_root.tablic.knAta._visible = 1;
if (sko > 0.3) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Symbol 60 MovieClip Frame 60
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 62 MovieClip Frame 147
stop();
Instance of Symbol 42 MovieClip "rad" in Symbol 63 MovieClip [basna1] Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 30) {
_parent.dan.xp = 30;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if ((((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & (_root["enemy" + i].vrag.sbor.tip == 0)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Instance of Symbol 22 MovieClip "dan" in Symbol 63 MovieClip [basna1] Frame 1
onClipEvent (load) {
ataka = 5;
sko = 1;
skor = 40;
radius = 120;
xp = 0;
lev = 1;
stoim = 40;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas1");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 30;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 30) {
_root.tablic.knAta._visible = 1;
if (sko > 0.3) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Symbol 72 MovieClip [boom] Frame 18
this.removeMovieClip();
stop();
Instance of Symbol 22 MovieClip in Symbol 73 MovieClip [strela] Frame 1
onClipEvent (load) {
sko = 4;
thrust = 1;
maxSpeed = 10;
ySpeed = 0;
xSpeed = 0;
dxx = _parent.dx - _parent._x;
dyy = _parent.dy - _parent._y;
ugol = Math.atan2(dxx, dyy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_parent.dx, _parent.dy)) {
maxSpeed = 0;
_root.attachMovie("boom", "boom" + _root.perBoom, _root.getNextHighestDepth());
_root["boom" + _root.perBoom]._x = _parent._x;
_root["boom" + _root.perBoom]._y = _parent._y;
_root["boom" + _root.perBoom]._width = 8;
_root["boom" + _root.perBoom]._height = 20;
_root.perBoom++;
d = int(Math.random() * 10);
if (d > 6) {
_root["enemy" + _parent.kogo].vrag.sbor.ogl = 1;
}
_root["enemy" + _parent.kogo].vrag.sbor.giz = _root["enemy" + _parent.kogo].vrag.sbor.giz - _parent.ataka;
_parent.removeMovieClip();
}
xSpeed = xSpeed + Math.sin(_parent._rotation * (Math.PI/180));
ySpeed = ySpeed + Math.cos(_parent._rotation * (Math.PI/180));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_parent._y = _parent._y + ySpeed;
_parent._x = _parent._x - xSpeed;
}
Symbol 76 Button
on (press) {
getURL ("http://www.supertowerdefense.com/", "_blank");
}
Symbol 87 MovieClip Frame 1
function onRollOver() {
gotoAndStop (2);
}
function onRollOut() {
gotoAndStop (1);
}
function onDragOut() {
gotoAndStop (1);
}
function onRelease() {
_root.gotoAndStop(2);
}
stop();
Symbol 88 MovieClip Frame 1
function onEnterFrame() {
var _local3 = Math.round(_parent.getBytesLoaded());
var _local2 = Math.round(_parent.getBytesTotal());
bar._width = (_local3 / _local2) * 450;
if (_local3 == _local2) {
gotoAndStop (2);
}
}
stop();
bar._width = 0;
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 10
_parent.play();
stop();
Symbol 123 Button
on (release) {
_root.nextFrame();
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 12
play();
Symbol 124 MovieClip Frame 98
_root.bg.play();
stop();
Symbol 124 MovieClip Frame 147
stop();
Symbol 142 MovieClip Frame 72
_root.gotoAndStop("mem");
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
_parent._parent._parent.sbor.giz = _parent._parent._parent.sbor.giz + 15;
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 172 MovieClip Frame 27
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 172 MovieClip Frame 29
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 172 MovieClip Frame 30
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 172 MovieClip Frame 89
gotoAndPlay ("zam");
Symbol 175 MovieClip Frame 10
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 10) + 5);
_parent._parent.removeMovieClip();
Symbol 176 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
giz = 10;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz <= 10) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 177 MovieClip [enemy1] Frame 614
stop();
Instance of Symbol 22 MovieClip in Symbol 177 MovieClip [enemy1] Frame 614
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 182 MovieClip Frame 25
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 182 MovieClip Frame 27
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 182 MovieClip Frame 28
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 182 MovieClip Frame 86
gotoAndPlay ("zam");
Symbol 185 MovieClip Frame 13
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 15) + 4);
_parent._parent.removeMovieClip();
Symbol 186 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
giz = 12;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz < 12) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 187 MovieClip [enemy2] Frame 575
stop();
Instance of Symbol 22 MovieClip in Symbol 187 MovieClip [enemy2] Frame 575
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 192 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 192 MovieClip Frame 33
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 192 MovieClip Frame 34
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 192 MovieClip Frame 96
gotoAndPlay ("zam");
Symbol 195 MovieClip Frame 9
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 17) + 6);
_parent._parent.removeMovieClip();
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
giz = 18;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz < 18) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 197 MovieClip [enemy3] Frame 642
stop();
Instance of Symbol 22 MovieClip in Symbol 197 MovieClip [enemy3] Frame 642
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 205 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 205 MovieClip Frame 33
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 205 MovieClip Frame 34
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 205 MovieClip Frame 96
gotoAndPlay ("zam");
Symbol 207 MovieClip Frame 10
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 20) + 5);
_parent._parent.removeMovieClip();
Symbol 208 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
giz = 20;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz <= 20) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 209 MovieClip [enemy4] Frame 497
stop();
Instance of Symbol 22 MovieClip in Symbol 209 MovieClip [enemy4] Frame 497
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 212 MovieClip Frame 35
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 212 MovieClip Frame 37
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 212 MovieClip Frame 38
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 212 MovieClip Frame 93
gotoAndPlay ("zam");
Symbol 215 MovieClip Frame 13
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 10) + 4);
_parent._parent.removeMovieClip();
Symbol 216 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 216 MovieClip Frame 1
onClipEvent (load) {
giz = 27;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz < 30) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Instance of Symbol 215 MovieClip in Symbol 216 MovieClip Frame 2
onClipEvent (load) {
giz = 30;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
_root.da = _parent._parent._width;
_root.da2 = _parent._parent._height;
}
Symbol 217 MovieClip [enemy5] Frame 614
stop();
Instance of Symbol 22 MovieClip in Symbol 217 MovieClip [enemy5] Frame 614
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 222 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 222 MovieClip Frame 33
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 222 MovieClip Frame 34
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 222 MovieClip Frame 91
gotoAndPlay ("zam");
Symbol 223 MovieClip Frame 15
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 10) + 4);
_parent._parent.removeMovieClip();
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
giz = 40;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz < 40) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 225 MovieClip [enemy6] Frame 614
stop();
Instance of Symbol 22 MovieClip in Symbol 225 MovieClip [enemy6] Frame 614
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 6
_parent.gotoAndStop(1);
_parent._parent.sbor.tip = 1;
_parent._parent.sbor.giz2 = _parent._parent.sbor.giz / 2;
_parent._parent._parent._y = _parent._parent._parent._y - 30;
Symbol 233 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 233 MovieClip Frame 35
onClipEvent (enterFrame) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
_parent._parent._parent.prevFrame();
}
Instance of Symbol 22 MovieClip in Symbol 233 MovieClip Frame 36
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if ((++d) == 2) {
_parent._parent._parent.prevFrame();
_parent._parent._parent.play();
d = 0;
}
}
Symbol 233 MovieClip Frame 117
gotoAndPlay ("zam");
Symbol 234 MovieClip Frame 13
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 10) + 4);
_parent._parent.removeMovieClip();
Symbol 235 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
giz = 75;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (giz < 60) {
_parent.vrag2.vrag3.kaska.gotoAndStop(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
if (ogl == 1) {
_parent.vrag2.gotoAndStop("ogl");
_parent._parent.stop();
vr = 40;
ogl = 2;
}
if (isp == 1) {
_parent.vrag2.gotoAndStop("isp");
_parent._parent.stop();
vr2 = 80;
isp = 2;
}
if (zam == 1) {
_parent.vrag2.gotoAndPlay("zam");
vr3 = 160;
zam = 2;
}
if (((--vr3) < 0) & (zam == 2)) {
_parent.vrag2.gotoAndPlay(1);
zam = 0;
}
if (((--vr2) < 0) & (isp == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
isp = 0;
}
if (((--vr) < 0) & (ogl == 2)) {
_parent.vrag2.gotoAndPlay(1);
if (_parent._parent._currentframe < _parent._parent._totalframes) {
_parent._parent.play();
}
ogl = 0;
}
}
Symbol 236 MovieClip [enemy7] Frame 614
stop();
Instance of Symbol 22 MovieClip in Symbol 236 MovieClip [enemy7] Frame 614
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.03;
}
Symbol 239 MovieClip Frame 33
gotoAndPlay (1);
Symbol 240 MovieClip Frame 13
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 50) + 20);
_parent._parent.removeMovieClip();
Symbol 241 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 241 MovieClip Frame 1
onClipEvent (load) {
giz = 700;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
}
Symbol 242 MovieClip [boss3] Frame 636
stop();
Instance of Symbol 22 MovieClip in Symbol 242 MovieClip [boss3] Frame 636
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.3;
}
Symbol 247 MovieClip Frame 36
gotoAndPlay (1);
Symbol 249 MovieClip Frame 12
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 100) + 40);
_parent._parent.removeMovieClip();
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
giz = 500;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
_root.da = giz;
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if ((tip == 1) & (giz2 <= 0)) {
_parent.vrag2.vrag3.gotoAndStop(1);
_parent._parent._y = _parent._parent._y + 30;
tip = 0;
_parent.vrag2.gotoAndPlay(1);
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
}
Symbol 251 MovieClip [boss2] Frame 654
stop();
Instance of Symbol 22 MovieClip in Symbol 251 MovieClip [boss2] Frame 654
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.1;
}
Symbol 254 MovieClip Frame 38
gotoAndPlay (1);
Symbol 257 MovieClip Frame 21
_root.vragi2--;
_root.gold = _root.gold + (int(Math.random() * 50) + 20);
_parent._parent.removeMovieClip();
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "sbor" in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
giz = 300;
vr3 = 1;
vr2 = 1;
vr = 1;
tip = 0;
pod = 0;
}
onClipEvent (enterFrame) {
if (giz <= 0) {
_parent._parent.stop();
_parent.gotoAndStop("use");
}
if (pod == 1) {
hoi = new Color(_parent._parent);
ghh = {rb:100, bb:0, gb:0};
hoi.setTransform(ghh);
pod = 2;
}
if (pod == 2) {
giz = giz - 0.05;
}
}
Symbol 259 MovieClip [boss1] Frame 636
stop();
Instance of Symbol 22 MovieClip in Symbol 259 MovieClip [boss1] Frame 636
onClipEvent (enterFrame) {
_root.giz = _root.giz - 0.2;
}
Symbol 261 MovieClip [bas1] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 261 MovieClip [bas1] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas1Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas1");
_root.gold = _root.gold - 50;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 265 MovieClip [bas2] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 265 MovieClip [bas2] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas2Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas2");
_root.gold = _root.gold - 100;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 267 MovieClip [bas3] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 267 MovieClip [bas3] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 1) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas3Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl)) {
_root["basna" + i].gotoAndStop(2);
_root.gold = _root.gold - 100;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 268 MovieClip [bas4] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 268 MovieClip [bas4] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas4Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas4");
_root.gold = _root.gold - 60;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 271 MovieClip [bas5] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 271 MovieClip [bas5] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas5Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas5");
_root.gold = _root.gold - 150;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 274 MovieClip [bas7] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 274 MovieClip [bas7] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas7Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas7");
_root.gold = _root.gold - 250;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 277 MovieClip [bas6] Frame 1
suc = 2;
Instance of Symbol 22 MovieClip in Symbol 277 MovieClip [bas6] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root._xmouse;
_parent._y = _root._ymouse;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 10) {
if ((_root["basna" + i]._currentframe == 2) & this.hitTest(_root["basna" + i])) {
_root["basna" + i].gotoAndStop("bas6Vr");
break;
}
i++;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 10) {
if ((_root.giz > 0) & this.hitTest(_root["basna" + i].obl2)) {
_root["basna" + i].gotoAndStop("bas6");
_root.gold = _root.gold - 180;
_parent.removeMovieClip();
}
i++;
}
_parent.removeMovieClip();
}
Symbol 283 MovieClip Frame 1
_root.glaz1._visible = 0;
_root.glaz2._visible = 0;
_root.glaz12._visible = 0;
_root.glaz22._visible = 0;
_root.pomidor._visible = 0;
_root.pomidor2._visible = 0;
stop();
Symbol 283 MovieClip Frame 2
_root.glaz1._visible = 1;
_root.glaz2._visible = 1;
_root.glaz12._visible = 1;
_root.glaz22._visible = 1;
_root.pomidor._visible = 1;
_root.pomidor2._visible = 1;
Symbol 299 MovieClip Frame 1
stop();
Symbol 318 Button
on (release) {
getURL ("http://www.flashninjaclan.com/fncgames.php", "_blank");
}
Symbol 321 Button
on (press) {
getURL ("http://www.supertowerdefense.com/towerdefensegames/Coco-Hair.php", "_blank");
}
Symbol 322 Button
on (release) {
_root.news22.stop();
stopAllSounds();
_root.gotoAndStop("rolik");
}
Symbol 323 Button
on (release) {
_root.gotoAndStop("about");
}
Symbol 324 Button
on (release) {
getURL ("http://www.supertowerdefense.com/", "_blank");
}
Symbol 325 MovieClip Frame 40
_root.okno1.gotoAndStop(2);
_root.okno2.gotoAndStop(2);
stop();
Symbol 328 Button
on (release) {
_root.gotoAndStop("tur1");
}
Symbol 329 Button
on (release) {
_root.news22.stop();
stopAllSounds();
_root.gotoAndStop("rolik");
}
Symbol 330 Button
on (release) {
_root.news22.stop();
sav = SharedObject.getLocal("SharedObject");
t = sav.data.tur;
sav.flush();
if (t == 2) {
_root.gotoAndStop("tur2");
} else if (t == 3) {
_root.gotoAndStop("tur3");
} else if (t == 4) {
_root.gotoAndStop("tur4");
} else if (t == 5) {
_root.gotoAndStop("tur5");
} else if (t == 6) {
_root.gotoAndStop("tur6");
} else if (t == 7) {
_root.gotoAndStop("tur7");
} else if (t == 8) {
_root.gotoAndStop("tur8");
}
}
Symbol 331 MovieClip Frame 46
_root.okno1.gotoAndStop(2);
_root.okno2.gotoAndStop(2);
stop();
Symbol 332 MovieClip Frame 1
t = 1;
sav = SharedObject.getLocal("SharedObject");
t = sav.data.tur;
sav.flush();
if (t != null) {
_root.da = t;
nextFrame();
}
stop();
Symbol 344 Button
on (press) {
getURL ("http://www.supertowerdefense.com/", "_blank");
}
Symbol 353 Button
on (release) {
getURL ("http://balakovo-arts.narod.ru/", "_blank");
}
Symbol 354 Button
on (release) {
getURL ("http://www.freeproductionmusic.dudki.com.ua/ru/", "_blank");
}
Symbol 359 Button
on (release) {
prevFrame();
}
Symbol 383 MovieClip Frame 65
stopAllSounds();
Symbol 383 MovieClip Frame 122
_root.play();
Symbol 388 Button
on (release) {
_root.gotoAndStop("tur1");
}
Symbol 410 MovieClip Frame 12
stop();
Symbol 411 MovieClip Frame 14
stop();
Symbol 427 MovieClip Frame 363
stop();
Symbol 431 Button
on (release) {
_root.againkadr = _root._currentframe;
_root.gotoAndStop("again");
}
Symbol 432 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 100)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas3", "bas3", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(3);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 50)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas1", "bas1", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(4);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 60)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas4", "bas4", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(5);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 100)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas2", "bas2", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(6);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 150)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas5", "bas5", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(7);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 180)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas6", "bas6", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(8);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.kurs) & (_root.gold >= 250)) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
_root.attachMovie("bas7", "bas7", _root.getNextHighestDepth());
}
}
Instance of Symbol 22 MovieClip in Symbol 459 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.tablic.gotoAndStop(9);
}
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.kurs) & (_root.gold >= 100)) & (_root.kapustaVr >= _root.kapustaVr2)) {
if (_root.kapusta.suc == null) {
_root.attachMovie("kapusta", "kapusta", _root.getNextHighestDepth());
_root.kapusta._x = 515.3;
_root.kapusta._y = 230;
_root.kapustaVr = 0;
_root.gold = _root.gold - 100;
}
if (_root.kapusta.suc == 2) {
_root.bas1.removeMovieClip();
_root.bas2.removeMovieClip();
_root.bas3.removeMovieClip();
_root.bas4.removeMovieClip();
_root.bas5.removeMovieClip();
}
}
}
Symbol 475 Button
on (release) {
i = 1;
while (i < 100) {
_root["enemy" + i].removeMovieClip();
i++;
}
j = 1;
while (j < 10) {
_root["bas" + j].removeMovieClip();
j++;
}
_root.news2.stop();
stopAllSounds();
_root.gotoAndStop("mem");
}
Symbol 538 Button
on (release) {
i = 1;
while (i < 5) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.gold = _root.gold + this.stoim;
_root["basna" + this.ima].gotoAndStop(2);
gotoAndStop (1);
}
Symbol 542 Button
on (release) {
_root["basna" + this.ima].basn.dan.ataka = _root["basna" + this.ima].basn.dan.ataka + 1;
this.ataka = this.ataka + 1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 10;
this.stoim = this.stoim + 10;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knSko._visible = 0;
this.knAta._visible = 0;
}
Symbol 547 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 10;
this.stoim = this.stoim + 10;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 548 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 10;
this.stoim = this.stoim + 10;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 558 Button
on (release) {
_root["basna" + this.ima].basn.dan.ataka = _root["basna" + this.ima].basn.dan.ataka + 2;
this.ataka = this.ataka + 2;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 15;
this.stoim = this.stoim + 15;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knSko._visible = 0;
this.knAta._visible = 0;
}
Symbol 559 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 15;
this.stoim = this.stoim + 15;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 560 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 15;
this.stoim = this.stoim + 15;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 569 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 10;
this.stoim = this.stoim + 10;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 570 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 10;
this.stoim = this.stoim + 10;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 579 Button
on (release) {
_root["basna" + this.ima].basn.dan.ataka = _root["basna" + this.ima].basn.dan.ataka + 2;
this.ataka = this.ataka + 2;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 30;
this.stoim = this.stoim + 30;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knSko._visible = 0;
this.knAta._visible = 0;
}
Symbol 580 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 30;
this.stoim = this.stoim + 30;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 581 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 30;
this.stoim = this.stoim + 30;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 590 Button
on (release) {
_root["basna" + this.ima].basn.dan.ataka = _root["basna" + this.ima].basn.dan.ataka + 1;
this.ataka = this.ataka + 1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 40;
this.stoim = this.stoim + 40;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knSko._visible = 0;
this.knAta._visible = 0;
}
Symbol 591 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 40;
this.stoim = this.stoim + 40;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 592 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 40;
this.stoim = this.stoim + 40;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 601 Button
on (release) {
_root["basna" + this.ima].basn.dan.ataka = _root["basna" + this.ima].basn.dan.ataka + 3;
this.ataka = this.ataka + 3;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 50;
this.stoim = this.stoim + 50;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knSko._visible = 0;
this.knAta._visible = 0;
}
Symbol 602 Button
on (release) {
_root["basna" + this.ima].basn.dan.radius = _root["basna" + this.ima].basn.dan.radius + 20;
_root["basna" + this.ima].basn.rad.nextFrame();
_root["basna" + this.ima].basn.luc.nextFrame();
this.radius = this.radius + 20;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 50;
this.stoim = this.stoim + 50;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knSko._visible = 0;
this.knAta._visible = 0;
this.knDal._visible = 0;
}
Symbol 603 Button
on (release) {
_root["basna" + this.ima].basn.dan.sko = _root["basna" + this.ima].basn.dan.sko - 0.1;
this.sko = this.sko - 0.1;
this.lev = this.lev + 1;
_root["basna" + this.ima].basn.dan.lev++;
_root["basna" + this.ima].basn.dan.skor = _root["basna" + this.ima].basn.dan.skor - 4;
_root["basna" + this.ima].basn.dan.xp = 0;
_root["basna" + this.ima].basn.dan.stoim = _root["basna" + this.ima].basn.dan.stoim + 50;
this.stoim = this.stoim + 50;
_root["basna" + this.ima].basn.basna.lev.gotoAndStop(1);
this.knDal._visible = 0;
this.knAta._visible = 0;
this.knSko._visible = 0;
this.knSko._visible = 0;
}
Symbol 607 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 607 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.kapustaVr < (_root.kapustaVr2 * 0.01)) {
_parent.zagr.gotoAndStop(1);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.01)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.1))) {
_parent.zagr.gotoAndStop(2);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.1)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.2))) {
_parent.zagr.gotoAndStop(3);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.2)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.3))) {
_parent.zagr.gotoAndStop(4);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.3)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.4))) {
_parent.zagr.gotoAndStop(5);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.4)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.5))) {
_parent.zagr.gotoAndStop(6);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.5)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.6))) {
_parent.zagr.gotoAndStop(7);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.6)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.7))) {
_parent.zagr.gotoAndStop(8);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.7)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.8))) {
_parent.zagr.gotoAndStop(9);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.8)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.9))) {
_parent.zagr.gotoAndStop(10);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.9)) & (_root.kapustaVr < _root.kapustaVr2)) {
_parent.zagr.gotoAndStop(11);
} else if (_root.kapustaVr > _root.kapustaVr2) {
_parent.zagr.gotoAndStop(12);
}
}
Symbol 612 Button
on (release) {
_root.game = 1;
prevFrame();
}
Symbol 620 Button
on (release) {
_root.nextFrame();
}
Symbol 621 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 621 MovieClip Frame 2
onClipEvent (load) {
_parent.vrema = 10;
d = 10;
if ((_root.volna == 5) & (_root.tur == 1)) {
_parent.vozduh._visible = 1;
} else {
_parent.vozduh._visible = 0;
}
}
onClipEvent (enterFrame) {
d = d - 0.025;
_parent.vrema = int(d);
if (d <= 0) {
news = new Sound();
news.attachSound("newwave");
news.start(0, 0);
_root.game = 1;
_parent.prevFrame();
}
}
Symbol 628 Button
on (release) {
nextFrame();
}
Symbol 630 Button
on (release) {
i = 1;
while (i < 10) {
if (_root["basna" + i]._currentframe == 2) {
nextFrame();
}
i++;
}
}
Symbol 635 Button
on (release) {
i = 1;
while (i < 10) {
if (_root["basna" + i]._currentframe == 10) {
nextFrame();
}
i++;
}
}
Symbol 638 Button
on (release) {
i = 1;
while (i < 14) {
_root["slot" + i].gotoAndStop(i);
i++;
}
nextFrame();
}
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 2
_root.slot1.gotoAndStop(1);
Symbol 640 MovieClip Frame 3
_root.slot2.gotoAndStop(2);
Symbol 640 MovieClip Frame 5
_root.obuc = 1;
Symbol 644 Button
on (release) {
play();
}
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
var z = new Sound();
z.setVolume(70);
Symbol 654 MovieClip Frame 7
z.setVolume(50);
Symbol 654 MovieClip Frame 12
z.setVolume(30);
Symbol 654 MovieClip Frame 17
z.setVolume(0);
Symbol 654 MovieClip Frame 18
stop();
Symbol 654 MovieClip Frame 19
z.setVolume(30);
Symbol 654 MovieClip Frame 24
z.setVolume(50);
Symbol 654 MovieClip Frame 29
z.setVolume(70);
Symbol 654 MovieClip Frame 34
z.setVolume(85);
Symbol 660 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 68
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 662 MovieClip Frame 53
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 663 MovieClip Frame 45
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 664 MovieClip Frame 62
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
stop();
Symbol 666 MovieClip Frame 133
stop();
Instance of Symbol 22 MovieClip "dan" in Symbol 667 MovieClip Frame 1
onClipEvent (load) {
ataka = 12;
sko = 1.5;
skor = 60;
radius = 120;
xp = 0;
lev = 1;
stoim = 80;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas2");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 40;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 40) {
_root.tablic.knAta._visible = 1;
if (sko > 0.3) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Instance of Symbol 42 MovieClip "rad" in Symbol 667 MovieClip Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 40) {
_parent.dan.xp = 40;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if ((((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & (_root["enemy" + i].vrag.sbor.tip == 0)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela2", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Symbol 669 MovieClip Frame 71
stop();
Instance of Symbol 22 MovieClip "dan" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
ataka = 9;
sko = 1.2;
skor = 48;
radius = 120;
xp = 0;
lev = 1;
stoim = 120;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas5");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 40;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 40) {
_root.tablic.knAta._visible = 1;
if (sko > 0.3) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Instance of Symbol 42 MovieClip "rad" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 40) {
_parent.dan.xp = 40;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if (((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela4", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Symbol 672 MovieClip Frame 126
stop();
Instance of Symbol 22 MovieClip "dan" in Symbol 673 MovieClip Frame 1
onClipEvent (load) {
ataka = 7;
sko = 0.7;
skor = 28;
radius = 120;
xp = 0;
lev = 1;
stoim = 150;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas6");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 65;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 65) {
_root.tablic.knAta._visible = 1;
if (sko > 0.31) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Instance of Symbol 42 MovieClip "rad" in Symbol 673 MovieClip Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 65) {
_parent.dan.xp = 65;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if (((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela5", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Symbol 676 MovieClip Frame 75
stop();
Instance of Symbol 42 MovieClip "rad" in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
vr = _parent.dan.skor;
dx = _root.zona1._x - _parent._parent._x;
dy = _root.zona1._y - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
}
onClipEvent (enterFrame) {
if (_parent.dan.xp >= 45) {
_parent.dan.xp = 45;
_parent.basna.lev.gotoAndStop(2);
}
vr++;
a = 0;
i = 1;
while (i < (_root.vragi + 1)) {
if ((((vr >= _parent.dan.skor) & (_root["enemy" + i].vrag._currentframe == 1)) & (_root["enemy" + i].vrag.sbor.tip == 0)) & this.hitTest(_root["enemy" + i].vrag)) {
j = 1;
while (j < 28) {
if (_root["enemy" + i].vrag.hitTest(_root["zona" + j])) {
dxx = _root["zona" + j]._x;
dyy = _root["zona" + j]._y;
a = 1;
}
j++;
}
if (a == 1) {
dx = dxx - _parent._parent._x;
dy = dyy - _parent._parent._y;
ugol = Math.atan2(dx, dy);
vracenie = (ugol * 360) / -6.28318530717959;
_parent.basna._rotation = vracenie;
_root.attachMovie("strela6", "strela" + _root.strPer, _root.getNextHighestDepth());
_root["strela" + _root.strPer]._x = _parent._parent._x - 12;
_root["strela" + _root.strPer]._y = _parent._parent._y - 10;
_root["strela" + _root.strPer].dx = dxx;
_root["strela" + _root.strPer].dy = dyy;
_root["strela" + _root.strPer].ataka = _parent.dan.ataka;
_root["strela" + _root.strPer].kogo = i;
_parent.dan.xp = _parent.dan.xp + 1;
_root.strPer++;
_parent.basna.gotoAndPlay("vas");
vr = 0;
}
}
i++;
}
}
Instance of Symbol 22 MovieClip "dan" in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
ataka = 20;
sko = 1.5;
skor = 60;
radius = 120;
xp = 0;
lev = 1;
stoim = 200;
i = 1;
while (i < 10) {
if (_parent._parent._name == ("basna" + i)) {
ima = i;
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.basna.hitTest(_root.kurs)) {
_parent.luc._alpha = 100;
} else {
_parent.luc._alpha = 0;
}
}
onClipEvent (mouseDown) {
if (_parent.basna.hitTest(_root.kurs)) {
i = 1;
while (i < 10) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_parent._parent.obvodka.gotoAndStop(2);
_root.tablic.gotoAndStop("bas7");
_root.tablic.ataka = ataka;
_root.tablic.sko = sko;
_root.tablic.radius = radius;
_root.tablic.xp = xp;
_root.tablic.lev = lev;
_root.tablic.xp2 = 45;
_root.tablic.xp3 = "/";
_root.tablic.stoim = stoim;
_root.tablic.ima = ima;
if (xp >= 45) {
_root.tablic.knAta._visible = 1;
if (sko > 0.3) {
_root.tablic.knSko._visible = 1;
} else {
_root.tablic.knSko._visible = 0;
}
if (radius <= 180) {
_root.tablic.knDal._visible = 1;
} else {
_root.tablic.knDal._visible = 0;
}
} else {
_root.tablic.knAta._visible = 0;
_root.tablic.knSko._visible = 0;
_root.tablic.knDal._visible = 0;
}
}
}
Symbol 678 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 678 MovieClip Frame 3
onClipEvent (load) {
vr = 1;
}
onClipEvent (enterFrame) {
if ((--vr) <= 0) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 22 MovieClip in Symbol 678 MovieClip Frame 4
onClipEvent (load) {
vr = 1;
}
onClipEvent (enterFrame) {
if ((--vr) <= 0) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 22 MovieClip in Symbol 678 MovieClip Frame 6
onClipEvent (load) {
vr = 1;
}
onClipEvent (enterFrame) {
if ((--vr) <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 718 MovieClip Frame 1
gotoAndPlay(int(Math.random() * 70));
Symbol 718 MovieClip Frame 88
gotoAndPlay (2);
Symbol 771 Button
on (release) {
i = 1;
while (i < 5) {
_root["basna" + i].obvodka.gotoAndStop(1);
i++;
}
_root.gold = _root.gold + this.stoim;
_root["basna" + this.ima].gotoAndStop(2);
gotoAndStop (1);
}
Symbol 820 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 820 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.kapustaVr < (_root.kapustaVr2 * 0.01)) {
_parent.zagr.gotoAndStop(1);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.01)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.1))) {
_parent.zagr.gotoAndStop(2);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.1)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.2))) {
_parent.zagr.gotoAndStop(3);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.2)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.3))) {
_parent.zagr.gotoAndStop(4);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.3)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.4))) {
_parent.zagr.gotoAndStop(5);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.4)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.5))) {
_parent.zagr.gotoAndStop(6);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.5)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.6))) {
_parent.zagr.gotoAndStop(7);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.6)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.7))) {
_parent.zagr.gotoAndStop(8);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.7)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.8))) {
_parent.zagr.gotoAndStop(9);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.8)) & (_root.kapustaVr < (_root.kapustaVr2 * 0.9))) {
_parent.zagr.gotoAndStop(10);
} else if ((_root.kapustaVr >= (_root.kapustaVr2 * 0.9)) & (_root.kapustaVr < _root.kapustaVr2)) {
_parent.zagr.gotoAndStop(11);
} else if (_root.kapustaVr > _root.kapustaVr2) {
_parent.zagr.gotoAndStop(12);
}
}
Symbol 823 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 823 MovieClip Frame 2
onClipEvent (load) {
_parent.vrema = 10;
d = 10;
if ((_root.volna == 6) & (_root.tur == 1)) {
_parent.vozduh._visible = 1;
} else {
_parent.vozduh._visible = 0;
}
}
onClipEvent (enterFrame) {
d = d - 0.025;
_parent.vrema = int(d);
if (d <= 0) {
news = new Sound();
news.attachSound("newwave");
news.start(0, 0);
_root.game = 1;
_parent.prevFrame();
}
}