Frame 1
OnePercent = this.getBytesTotal() / 100;
begTime = getTimer() / 1000;
asize = getBytesTotal();
Frame 2
tellTarget ("Progress Bar") {
with ("Progress Bar") {
n = (getTimer() / 1000) - this.begTime;
bps = Math.round(this.getBytesLoaded() / n);
tr = (this.asize - this.getBytesLoaded()) / bps;
trround = Math.floor(tr);
trf = Math.round((tr - trround) * 100);
trem = Math.floor(tr) + (trf / 100);
}
gotoAndStop(Math.round(this.getBytesLoaded() / _parent.OnePercent));
};
if (this.getBytesLoaded() >= this.getBytesTotal()) {
gotoAndStop (5);
}
Frame 3
gotoAndPlay (2);
Frame 5
play();
Instance of Symbol 43 MovieClip "helicopterintro" in Frame 5
onClipEvent (enterFrame) {
hvintVar = 75;
hVint = 75 - hvintVar;
}
Frame 97
_root.helicopter.hvintVar = 75;
Instance of Symbol 49 MovieClip "helicopter" in Frame 97
onClipEvent (enterFrame) {
if (0 < hvintVar) {
hvintVar = hvintVar - 0.5;
}
hVint = 75 - hvintVar;
}
Frame 377
stop();
Frame 378
_root.helicopter.dx = 0;
_root.helicopter.dy = 0;
_root.helicopter.Rarvorot = 1;
_root.helicopter.PostRarvorot = 1;
_root.setscreen = 3;
_root.live = 3;
_root.Load_NUR = 4;
_root.Load_URO = 2;
_root.Load_BOMB = 2;
_root.frags = 0;
_root.fragsAll = 9;
_root.count_v = 0;
_root.helicopter.Alfa = new Array();
_root.screen = 1;
_root.Xpreset = _root.land.land_dot._x + 460;
_root.Ypreset = _root.land.land_dot._y + 450;
_root.helicopter._x = _root.Xpreset;
_root.helicopter._y = _root.Ypreset;
_root.helth = 100;
_root.utime = 10;
_root.allam = 0;
_root.allhel = 0;
_root.awards = 0;
_root.nextfr = 1;
stop();
Instance of Symbol 106 MovieClip "nur3" in Frame 378
onClipEvent (enterFrame) {
if (_root.NUR_On_3 == "pusk") {
_root.vis3 = "off";
if (timer < 60) {
timer = timer + 1;
if (_root.nextdell == "on") {
_x = -20;
_y = 30;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.NUR_On_3 = "ok";
_root.nur3.fire_roket.gotoAndStop(1);
}
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.NUR_On_3 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur3._x = this._x + 10;
_root.fnur3._y = this._y;
_root.fnur3.play();
_x = -20;
_y = 30;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.nur3.fire_roket.gotoAndStop(1);
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur3.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
inlun = 0;
}
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur3.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
}
} else {
_root.NUR_On_3 = "ok";
_root.fnur3._x = this._x + 10;
_root.fnur3._y = this._y;
_root.fnur3.play();
_x = -20;
_y = 30;
_rotation = 0;
_yscale = 100;
_root.NUR_On_3 = "ok";
_root.nur3.fire_roket.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 107 MovieClip "nur1" in Frame 378
onClipEvent (enterFrame) {
if (_root.NUR_On_1 == "pusk") {
_root.vis1 = "off";
if (timer < 60) {
timer = timer + 1;
if (_root.nextdell == "on") {
_x = -20;
_y = 50;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.NUR_On_1 = "ok";
_root.nur1.fire_roket.gotoAndStop(1);
}
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.NUR_On_1 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur1._x = this._x + 10;
_root.fnur1._y = this._y;
_root.fnur1.play();
_x = -20;
_y = 50;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.nur1.fire_roket.gotoAndStop(1);
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur1.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
inlun = 0;
}
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur1.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
}
} else {
_root.NUR_On_1 = "ok";
_root.fnur1._x = this._x + 10;
_root.fnur1._y = this._y;
_root.fnur1.play();
_x = -20;
_y = 50;
_rotation = 0;
_yscale = 100;
_root.NUR_On_1 = "ok";
_root.nur1.fire_roket.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 108 MovieClip "bomb1" in Frame 378
onClipEvent (enterFrame) {
if (_root.BOMB_On_1 == "pusk") {
_root.visB1 = "off";
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.BOMB_On_1 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur5._x = this._x + 10;
_root.fnur5._y = this._y;
_root.fnur5.play();
use = 0;
_x = -20;
_y = 20;
_rotation = 0;
_yscale = 70;
_root.nur4.fire_roket.gotoAndStop(1);
} else {
_x = (_x + ((_root.bombX1 * 2) - _root.smeshenieall));
_y = (_y + (_root.bombY1 + (use / 2)));
use = use + 1;
inlun = 0;
}
} else {
_x = (_x + ((_root.bombX1 * 2) - _root.smeshenieall));
_y = (_y + (_root.bombY1 + (use / 3)));
use = use + 1;
}
}
}
Instance of Symbol 113 MovieClip "helicopter" in Frame 378
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
if (_root.touchtest == "on") {
dx = 0;
} else if (-5.5 < dx) {
dx = dx - 0.1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (_root.touchtest == "on") {
dx = 0;
} else if (dx < 5.5) {
dx = dx + 0.1;
}
}
if (Key.isDown(Key.UP)) {
if (1 < _root.fuel._width) {
dy = dy - 0.1;
}
}
if (Key.isDown(Key.DOWN)) {
if (_root.touchtest == "on") {
dy = 0;
} else {
dy = dy + 0.1;
}
}
if (_root.dam == "ok") {
_root.damage._xscale = _root.helth;
if (0 >= _root.helth) {
_root.pipec = "on";
_root.damage._width = 0;
_root.fuel._width = 0;
}
}
if (_root.helth < 50) {
_root.dalarm.play();
}
_root.fline = _root.fuel._width;
if (40 >= _root.fuel._width) {
_root.falarm.play();
if (1 >= _root.fuel._width) {
dy = dy + 0.03;
hvintVar = 50;
}
}
_root.fuel._width = _root.fuel._width - (Math.abs(dx / 30) + (0.1 * vis));
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
_rotation = (dx * 9);
if (_root.touchtest == "on") {
vis = 0;
} else {
vis = 1;
}
_root.smeshenieall = 0;
if (_root.pipec == "on") {
_root.fnur7._x = _x;
_root.fnur7._y = _y;
_root.fnur7.play();
_root.fireworks._x = _x;
_root.fireworks._y = _y;
_root.fireworks.play();
_root.pipec = "off";
timeroff = "on";
}
if (timeroff == "on") {
n = n + 1;
if (n < 75) {
dx = 0;
_y = -500;
_root.helicopter.Rarvorot = 1;
_root.helicopter.gotoAndStop(1);
} else {
_x = _root.Xpreset;
_y = _root.Ypreset;
_root.land._x = _root.land._x + (550 * (_root.screen - 1));
_root.back._x = _root.back._x + (550 * (_root.screen - 1));
_root.land_dot._x = _root.land_dot._x + (550 * (_root.screen - 1));
_root.smeshenieall = _root.smeshenieall - (550 * (_root.screen - 1));
_root.screen = 1;
_root.smeshenie = 0;
hvintVar = 75;
dx = 0;
dy = 0;
_root.kaput = "off";
_root.fuel._width = 160;
_root.damage._xscale = 100;
_root.helth = 100;
_root.Load_BOMB = 2;
_root.visB1 = "on";
_root.helicopter.B1._visible = 100;
_root.visB2 = "on";
_root.helicopter.B2._visible = 100;
_root.Load_NUR = 4;
_root.vis1 = "on";
_root.helicopter.m1.gotoAndStop(1);
_root.helicopter.sh1._visible = 100;
_root.vis2 = "on";
_root.helicopter.m2.gotoAndStop(1);
_root.helicopter.sh2._visible = 100;
_root.vis3 = "on";
_root.helicopter.m3.gotoAndStop(1);
_root.helicopter.sh3._visible = 100;
_root.vis4 = "on";
_root.helicopter.m4.gotoAndStop(1);
_root.helicopter.sh4._visible = 100;
crashon = no;
n = 0;
timeroff = "off";
_root.allhel = _root.allhel + 1;
_root.live = _root.live - 1;
if (_root.live == 0) {
_root.nextfr = 4;
_root.gotoAndStop(381);
setProperty(_root.live1, _visible , 0);
} else if (_root.live == 2) {
setProperty(_root.live3, _visible , 0);
} else if (_root.live == 1) {
setProperty(_root.live2, _visible , 0);
}
}
}
if (-0.8 >= dx) {
Rarvorot = -1;
}
if (dx >= 0.8) {
Rarvorot = 1;
}
if (PostRarvorot < Rarvorot) {
_root.helicopter.gotoAndPlay(13);
zone = "off";
} else {
zone = "on";
}
if (Rarvorot < PostRarvorot) {
_root.helicopter.gotoAndPlay(2);
zone = "off";
} else {
zone = "on";
}
PostRarvorot = Rarvorot;
if (zone == "off") {
_root.uro_blok_navedenie = "off";
} else {
_root.uro_blok_navedenie = "on";
}
if (550 < _x) {
if (_root.screen != _root.setscreen) {
_root.screen = _root.screen + 1;
_root.smeshenie = _root.smeshenie + 550;
_root.smeshenieall = _root.smeshenieall + 550;
_x = (_x - 550);
_root.land._x = _root.land._x - 550;
_root.back._x = _root.back._x - 550;
_root.land_dot._x = _root.land_dot._x - 550;
}
} else if (_x < 0) {
if (_root.screen != 1) {
_root.screen = _root.screen - 1;
_root.smeshenie = _root.smeshenie - 550;
_root.smeshenieall = _root.smeshenieall - 550;
_x = (_x + 550);
_root.land._x = _root.land._x + 550;
_root.back._x = _root.back._x + 550;
_root.land_dot._x = _root.land_dot._x + 550;
}
}
if (_root.land.land_dot.hitTest(_x, _y + 16, 1)) {
if (1.8 < dy) {
} else if (0.9 < Math.abs(dx)) {
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
placeColor = new Color(_root.land.land_dot);
placeColor.setRGB(16711680);
_root.zapravka = "on";
_root.touchtest = "on";
if (_root.bombzagruz == 2) {
_root.Load_BOMB = 2;
_root.visB1 = "on";
_root.helicopter.B1._visible = 100;
_root.visB2 = "on";
_root.helicopter.B2._visible = 100;
}
if (_root.rokzagruz == 2) {
_root.Load_NUR = 2;
_root.vis1 = "on";
_root.helicopter.m1.gotoAndStop(1);
_root.helicopter.sh1._visible = 100;
_root.vis2 = "on";
_root.helicopter.m2.gotoAndStop(1);
_root.helicopter.sh2._visible = 100;
}
if (_root.rokzagruz == 4) {
_root.Load_NUR = 4;
_root.vis3 = "on";
_root.helicopter.m3.gotoAndStop(1);
_root.helicopter.sh3._visible = 100;
_root.vis4 = "on";
_root.helicopter.m4.gotoAndStop(1);
_root.helicopter.sh4._visible = 100;
}
if (_root.fuel._width < 160) {
_root.fzapravka.play();
_root.fuel._width = _root.fuel._width + 1;
}
if (_root.helth < 100) {
_root.helth = _root.helth + 1;
_root.damage._xscale = _root.helth;
if (50 < _root.helth) {
_root.kaput = "off";
}
}
}
} else {
_root.zapravka = "off";
placeColor = new Color(_root.land.land_dot);
placeColor.setRGB(0);
}
if (400 < _y) {
crashon = "yes";
}
_root.touchtest = "off";
if (((((_root.land.ground.hitTest(_x, _y + 16, 1) || (_root.land.ground.hitTest(_x, _y - 14, 1))) || (_root.land.ground.hitTest(_x + 48, _y - 14, 1))) || (_root.land.ground.hitTest(_x - 48, _y - 14, 1))) || (_root.land.ground.hitTest(_x + 30, _y, 1))) || (_root.land.ground.hitTest(_x - 30, _y, 1))) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 16, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
if (1 < dy) {
crashon = "yes";
inlun = 0;
} else if (0.9 < Math.abs(dx)) {
crashon = "yes";
inlun = 0;
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
_root.touchtest = "on";
}
}
inlun = 0;
}
if (crashon == "yes") {
_root.pipec = "on";
crashon = "no";
}
tangaj = getProperty(This, _rotation);
if (0 < hvintVar) {
hvintVar = hvintVar - 1;
}
hVint = 75 - hvintVar;
if (_root.vis1 == "off") {
_root.helicopter.m1.gotoAndStop(2);
_root.helicopter.sh1._visible = 0;
}
if (_root.vis2 == "off") {
_root.helicopter.m2.gotoAndStop(2);
_root.helicopter.sh2._visible = 0;
}
if (_root.vis3 == "off") {
_root.helicopter.m3.gotoAndStop(2);
_root.helicopter.sh3._visible = 0;
}
if (_root.vis4 == "off") {
_root.helicopter.m4.gotoAndStop(2);
_root.helicopter.sh4._visible = 0;
}
if (_root.visB1 == "off") {
_root.helicopter.B1._visible = 0;
}
if (_root.visB2 == "off") {
_root.helicopter.B2._visible = 0;
}
if (_root.helicopter._y < 0) {
setProperty(_root.gorizont, _visible , 100);
_root.gorizont._x = _root.helicopter._x;
vmarker = int(_root.helicopter._y * -0.1);
} else {
setProperty(_root.gorizont, _visible , 0);
}
if (550 < _root.helicopter._x) {
setProperty(_root.gorizont_r, _visible , 100);
_root.gorizont_r._y = _root.helicopter._y;
r_marker = int((_root.helicopter._x - 550) * 0.1);
} else {
setProperty(_root.gorizont_r, _visible , 0);
}
if (_root.helicopter._x < 0) {
setProperty(_root.gorizont_l, _visible , 100);
_root.gorizont_l._y = _root.helicopter._y;
l_marker = int(_root.helicopter._x * -0.1);
} else {
setProperty(_root.gorizont_l, _visible , 0);
}
if (_root.screen == 1) {
setProperty(_root.prevl, _visible , 0);
} else {
setProperty(_root.prevl, _visible , 100);
}
if (_root.screen == _root.setscreen) {
setProperty(_root.nextl, _visible , 0);
} else {
setProperty(_root.nextl, _visible , 100);
}
if (_root.frags >= _root.fragsAll) {
_root.tablo1._x = 270;
_root.tablo1._y = 180;
} else {
_root.tablo1._x = 270;
_root.tablo1._y = -180;
}
if ((0 >= _root.fuel._width) && (_root.touchtest == "on")) {
_root.finish._y = 200;
} else {
_root.finish._y = 600;
}
if (_root.nextdell == "on") {
_root.smeshenieall = 0;
_root.screen = 1;
_root.smeshenie = 0;
hvintVar = 75;
_root.kaput = "off";
_root.fuel._width = 160;
_root.damage._xscale = 100;
_root.helth = 100;
_root.Load_BOMB = 2;
_root.visB1 = "on";
_root.helicopter.B1._visible = 100;
_root.visB2 = "on";
_root.helicopter.B2._visible = 100;
_root.Load_NUR = 4;
_root.vis1 = "on";
_root.helicopter.m1.gotoAndStop(1);
_root.helicopter.sh1._visible = 100;
_root.vis2 = "on";
_root.helicopter.m2.gotoAndStop(1);
_root.helicopter.sh2._visible = 100;
_root.vis3 = "on";
_root.helicopter.m3.gotoAndStop(1);
_root.helicopter.sh3._visible = 100;
_root.vis4 = "on";
_root.helicopter.m4.gotoAndStop(1);
_root.helicopter.sh4._visible = 100;
crashon = no;
n = 0;
timeroff = "off";
dubcount = 0;
while (_root.count_v >= dubcount) {
removeMovieClip(_root.land.ground["nur_voronka" + dubcount]);
dubcount++;
}
_root.frags = 0;
_root.helicopter.Rarvorot = 1;
_root.helicopter.gotoAndStop(1);
_root.nextdell = "off";
_root.nextFrame();
}
}
Instance of Symbol 120 MovieClip "track" in Frame 378
onClipEvent (enterFrame) {
if (_root.zapravka == "on") {
nameste = "off";
if (natochke != "on") {
_x = (_x + 3);
_y = (_root.Ypreset + 2);
}
if ((_root.helicopter._x - 12) < _x) {
natochke = "on";
i = i + 1;
if (i == 15) {
_root.bombzagruz = 2;
placeColor = new Color(_root.track.z1);
placeColor.setRGB(65280);
}
if (i == 25) {
_root.rokzagruz = 2;
placeColor = new Color(_root.track.z2);
placeColor.setRGB(65280);
}
if (i == 35) {
_root.rokzagruz = 4;
placeColor = new Color(_root.track.z3);
placeColor.setRGB(65280);
}
}
} else {
natochke = "off";
_root.bombzagruz = 0;
_root.rokzagruz = 0;
i = 0;
if (nameste != "on") {
_x = (_x - 3);
}
if (_x < -25) {
nameste = "on";
placeColor = new Color(_root.track.z1);
placeColor.setRGB(16711680);
placeColor = new Color(_root.track.z2);
placeColor.setRGB(16711680);
placeColor = new Color(_root.track.z3);
placeColor.setRGB(16711680);
}
}
}
Instance of Symbol 121 MovieClip "nur4" in Frame 378
onClipEvent (enterFrame) {
if (_root.NUR_On_4 == "pusk") {
_root.vis4 = "off";
if (timer < 60) {
timer = timer + 1;
if (_root.nextdell == "on") {
_x = -20;
_y = 20;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.NUR_On_4 = "ok";
_root.nur4.fire_roket.gotoAndStop(1);
}
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.NUR_On_4 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur4._x = this._x + 10;
_root.fnur4._y = this._y;
_root.fnur4.play();
_x = -20;
_y = 20;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.nur4.fire_roket.gotoAndStop(1);
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur4.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
inlun = 0;
}
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur4.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
}
} else {
_root.NUR_On_4 = "ok";
_root.fnur4._x = this._x + 10;
_root.fnur4._y = this._y;
_root.fnur4.play();
_x = -20;
_y = 20;
_rotation = 0;
_yscale = 100;
_root.NUR_On_4 = "ok";
_root.nur4.fire_roket.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 122 MovieClip "nur2" in Frame 378
onClipEvent (enterFrame) {
if (_root.NUR_On_2 == "pusk") {
_root.vis2 = "off";
if (timer < 60) {
timer = timer + 1;
if (_root.nextdell == "on") {
_x = -20;
_y = 40;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.NUR_On_2 = "ok";
_root.nur2.fire_roket.gotoAndStop(1);
}
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.NUR_On_2 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur2._x = this._x + 10;
_root.fnur2._y = this._y;
_root.fnur2.play();
_x = -20;
_y = 40;
_rotation = 0;
_yscale = 100;
timer = 0;
_root.nur2.fire_roket.gotoAndStop(1);
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur2.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
inlun = 0;
}
} else {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x + ((x * 10) - _root.smeshenieall));
_y = (_y + (y * 10));
_root.nur2.fire_roket.gotoAndStop(2);
_root.sledcount = _root.sledcount + 1;
_root.sled.duplicateMovieClip("sled" + _root.sledcount, _root.sledcount);
_root["sled" + _root.sledcount]._x = this._x;
_root["sled" + _root.sledcount]._y = this._y;
_root["sled" + _root.sledcount]._rotation = _rotation;
}
} else {
_root.NUR_On_2 = "ok";
_root.fnur2._x = this._x + 10;
_root.fnur2._y = this._y;
_root.fnur2.play();
_x = -20;
_y = 40;
_rotation = 0;
_yscale = 100;
_root.NUR_On_2 = "ok";
_root.nur2.fire_roket.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 138 MovieClip "bomb2" in Frame 378
onClipEvent (enterFrame) {
if (_root.BOMB_On_2 == "pusk") {
_root.visB2 = "off";
if (_root.land.ground.hitTest(_x, _y, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y, 1)) {
inlun = 1;
}
if (365 < this._y) {
inlun = 0;
}
dubcount++;
}
if (inlun != 1) {
_root.BOMB_On_2 = "ok";
_root.count_v = _root.count_v + 1;
_root.land.ground.attachMovie("nur_voronka", "nur_voronka" + _root.count_v, _root.count_v);
_root.land.ground["nur_voronka" + _root.count_v]._x = (this._x - 830) + _root.smeshenie;
_root.land.ground["nur_voronka" + _root.count_v]._y = this._y - 300;
_root.fnur6._x = this._x + 10;
_root.fnur6._y = this._y;
_root.fnur6.play();
use = 0;
_x = -20;
_y = 20;
_rotation = 0;
_yscale = 70;
_root.nur4.fire_roket.gotoAndStop(1);
} else {
_x = (_x + ((_root.bombX2 * 2) - _root.smeshenieall));
_y = (_y + (_root.bombY2 + (use / 2)));
use = use + 1;
inlun = 0;
}
} else {
_x = (_x + ((_root.bombX2 * 2) - _root.smeshenieall));
_y = (_y + (_root.bombY2 + (use / 3)));
use = use + 1;
}
}
}
Instance of Symbol 143 MovieClip "mina" in Frame 378
onClipEvent (enterFrame) {
_x = (_x - _root.smeshenieall);
if (_root.mina == "on") {
_root.fireworks._x = _x;
_root.fireworks._y = _y;
_root.fireworks.play();
if (triger == 40) {
_root.fnur2._x = _x - 10;
_root.fnur2._y = _y;
_root.fnur2.play();
}
if (triger == 30) {
_root.fnur3._x = _x + 10;
_root.fnur3._y = _y;
_root.fnur3.play();
}
if (triger == 50) {
_root.fnur4._x = _x + 30;
_root.fnur4._y = _y;
_root.fnur4.play();
}
if (triger == 55) {
_root.fnur1._x = _x - 30;
_root.fnur1._y = _y;
_root.fnur1.play();
_root.land.station._x = _root.land.station._x - 200;
_root.land.land_dot._x = _root.land.land_dot._x - 200;
}
if (triger == 90) {
trace("game is over");
_root.mina = "off";
}
triger = triger + 1;
}
}
Instance of Symbol 160 MovieClip "stinger" in Frame 378
onClipEvent (enterFrame) {
_x = (_x - _root.smeshenieall);
if (popal == "ok") {
_root.dam = "off";
if (timer1 < 30) {
timer1 = timer1 + 1;
} else {
popal = "off";
timer1 = 0;
}
} else if (_root[_name] == "pusk") {
if (this.vv.hitTest(_root.helicopter.hitall)) {
_root.helicopter.dy = _root.helicopter.dy - 2;
_root.onfire.play();
_root.kaput = "on";
_root.dam = "ok";
_root.helth = _root.helth - 50;
popal = "ok";
timer = 0;
this.gotoAndPlay(2);
} else if (timer < 60) {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x - (x * 10));
_y = (_y - (y * 10));
timer = timer + 1;
} else {
timer = 0;
removeMovieClip(_root._name);
}
}
if (_root.nextdell == "on") {
removeMovieClip(_root._name);
}
}
Instance of Symbol 162 MovieClip "bulet" in Frame 378
onClipEvent (enterFrame) {
_x = (_x - _root.smeshenieall);
if (popal == "ok") {
_root.dam = "off";
removeMovieClip(_root._name);
}
if (_root[_name] == "pusk") {
if (this.hitTest(_root.helicopter.hitall)) {
_root.helicopter._y = _root.helicopter._y - 2;
this._yscale = 400;
_root.dam = "ok";
_root.helth = _root.helth - 10;
popal = "ok";
} else if (timer < 60) {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x - (x * 10));
_y = (_y - (y * 10));
timer = timer + 1;
} else {
timer = 0;
removeMovieClip(_root._name);
}
}
if (_root.nextdell == "on") {
removeMovieClip(_root._name);
}
}
Instance of Symbol 169 MovieClip "people1amp" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 180 MovieClip "people1amr" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 200) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 183 MovieClip "people1rok" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 0;
yg2 = 80;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (30 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 188 MovieClip "people2pul" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 0;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 189 MovieClip "people2rok" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 0;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 190 MovieClip "people2amp" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 200) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 40) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 189 MovieClip "people3rok" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 0;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 169 MovieClip "people3amp" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 191 MovieClip "people2amr" in Frame 378
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 235 MovieClip "gorizont" in Frame 378
/* no clip actions */
Instance of Symbol 242 MovieClip "nextl" in Frame 378
onClipEvent (enterFrame) {
}
Frame 379
if (_root.nextfr != 2) {
gotoAndStop (382);
}
_root.helicopter.dx = 0;
_root.helicopter.dy = 0;
_root.helicopter.Rarvorot = 1;
_root.helicopter.PostRarvorot = 1;
_root.setscreen = 3;
_root.Load_NUR = 4;
_root.Load_URO = 2;
_root.Load_BOMB = 2;
_root.frags = 0;
_root.fragsAll = 12;
_root.count_v = 0;
_root.helicopter.Alfa = new Array();
_root.screen = 1;
_root.Xpreset = _root.land.land_dot._x + 460;
_root.Ypreset = _root.land.land_dot._y + 451;
_root.helicopter._x = _root.Xpreset;
_root.helicopter._y = _root.Ypreset;
_root.helth = 100;
stop();
Instance of Symbol 253 MovieClip "stinger" in Frame 379
onClipEvent (enterFrame) {
_x = (_x - _root.smeshenieall);
if (popal == "ok") {
_root.dam = "off";
if (timer1 < 30) {
timer1 = timer1 + 1;
} else {
popal = "off";
timer1 = 0;
}
} else if (_root[_name] == "pusk") {
if (this.vv.hitTest(_root.helicopter.hitall)) {
_root.helicopter.dy = _root.helicopter.dy - 2;
_root.onfire.play();
_root.kaput = "on";
_root.dam = "ok";
_root.helth = _root.helth - 50;
popal = "ok";
timer = 0;
this.gotoAndPlay(2);
} else if (timer < 60) {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x - (x * 10));
_y = (_y - (y * 10));
timer = timer + 1;
} else {
timer = 0;
removeMovieClip(_root._name);
}
}
}
Instance of Symbol 254 MovieClip "bulet" in Frame 379
onClipEvent (enterFrame) {
_x = (_x - _root.smeshenieall);
if (popal == "ok") {
_root.dam = "off";
removeMovieClip(_root._name);
}
if (_root[_name] == "pusk") {
if (this.hitTest(_root.helicopter.hitall)) {
_root.helicopter._y = _root.helicopter._y - 2;
this._yscale = 400;
_root.dam = "ok";
_root.helth = _root.helth - 10;
popal = "ok";
} else if (timer < 60) {
x = Math.cos((this._rotation / 180) * Math.PI);
y = Math.sin((this._rotation / 180) * Math.PI);
_x = (_x - (x * 10));
_y = (_y - (y * 10));
timer = timer + 1;
} else {
timer = 0;
removeMovieClip(_root._name);
}
}
}
Instance of Symbol 255 MovieClip "people22rok" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 10;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -30;
_y = -20;
}
}
Instance of Symbol 256 MovieClip "people21pul" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 30;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 400) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 257 MovieClip "people21rok" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 20;
yg2 = 65;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 258 MovieClip "people22pul" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 600) {
yg1 = 15;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 259 MovieClip "people23pul" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 600) {
yg1 = 20;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 260 MovieClip "people23rok" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 20;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (200 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -30;
_y = -20;
}
}
Instance of Symbol 261 MovieClip "people24pul" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 10;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 400) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (5 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 262 MovieClip "people21amp" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 250) {
if (((_x + istX) < 700) || (1070 < (_x + istX))) {
if (350 < (_x + istX)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 263 MovieClip "people21amr" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 250) {
if (((_x + istX) < 700) || (1070 < (_x + istX))) {
if (350 < (_x + istX)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 264 MovieClip "people22amp" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 700) || (1070 < (_x + istX))) {
if (350 < (_x + istX)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 265 MovieClip "people22amr" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 700) || (1070 < (_x + istX))) {
if (350 < (_x + istX)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 264 MovieClip "people23amp" in Frame 379
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 700) || (1070 < (_x + istX))) {
if (350 < (_x + istX)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Frame 380
if (_root.nextfr != 3) {
gotoAndStop (382);
}
_root.helicopter.dx = 0;
_root.helicopter.dy = 0;
_root.helicopter.Rarvorot = 1;
_root.helicopter.PostRarvorot = 1;
_root.setscreen = 3;
_root.Load_NUR = 4;
_root.Load_URO = 2;
_root.Load_BOMB = 2;
_root.frags = 0;
_root.fragsAll = 14;
_root.count_v = 0;
_root.helicopter.Alfa = new Array();
_root.screen = 1;
_root.Xpreset = _root.land.land_dot._x + 460;
_root.Ypreset = _root.land.land_dot._y + 450;
_root.helicopter._x = _root.Xpreset;
_root.helicopter._y = _root.Ypreset;
_root.helth = 100;
stop();
Instance of Symbol 272 MovieClip "people31pul" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 20;
yg2 = 60;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 400) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (6 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 273 MovieClip "people31rok" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 10;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 274 MovieClip "people32pul" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 20;
yg2 = 60;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 275 MovieClip "people31amp" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 276 MovieClip "people31amr" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 275 MovieClip "people32amp" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 276 MovieClip "people32amr" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 275 MovieClip "people33amp" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 276 MovieClip "people33amr" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 275 MovieClip "people34amp" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.palka._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 276 MovieClip "people34amr" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 273 MovieClip "people32rok" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 10;
yg2 = 90;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 274 MovieClip "people33pul" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (count == 2) {
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
} else {
_y = (_y + 1);
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (puli != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 500) {
yg1 = 20;
yg2 = 60;
ygpricel = (((alfa / Math.PI) * 180) + dob) + alfadob;
if (180 < ygpricel) {
ygpricel = ygpricel - 180;
}
if ((ygpricel >= 1) && (yg2 >= ygpricel)) {
this.palka._rotation = ygpricel;
}
}
if (r < 300) {
if ((ygpricel >= yg1) && (yg2 >= ygpricel)) {
puli = "pusk";
_root.pulemet = _root.pulemet + 1;
_root.bulet.duplicateMovieClip("bulet" + _root.pulemet, _root.pulemet);
_root["bulet" + _root.pulemet]._x = this._x - 14;
_root["bulet" + _root.pulemet]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["bulet" + _root.pulemet]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["bulet" + _root.pulemet] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (3 >= counzaderjka) {
puli = "ok";
}
if (counzaderjka == 20) {
counzaderjka = 0;
}
}
} else {
_x = -20;
_y = -20;
}
}
Instance of Symbol 276 MovieClip "people35amr" in Frame 380
onClipEvent (enterFrame) {
if (live != "coop") {
if (400 < _y) {
live = "coop";
}
_x = (_x - _root.smeshenieall);
if (_root.smeshenieall != 0) {
istX = istX + _root.smeshenieall;
}
if ((_x + istX) < 120) {
_root.mina = "on";
}
if (count == 1) {
if ((((((_root.NUR_On_4 == "pusk") || (_root.NUR_On_3 == "pusk")) || (_root.NUR_On_2 == "pusk")) || (_root.NUR_On_1 == "pusk")) || (_root.BOMB_On_2 == "pusk")) || (_root.BOMB_On_1 == "pusk")) {
if (_root.NUR_On_4 == "pusk") {
nrocket = nur4;
}
if (_root.NUR_On_3 == "pusk") {
nrocket = nur3;
}
if (_root.NUR_On_2 == "pusk") {
nrocket = nur2;
}
if (_root.NUR_On_1 == "pusk") {
nrocket = nur1;
}
if (_root.BOMB_On_2 == "pusk") {
nrocket = bomb2;
}
if (_root.BOMB_On_1 == "pusk") {
nrocket = bomb1;
}
if (trig != "on") {
disX = _x - _root.helicopter._x;
disY = _y - _root.helicopter._y;
YgolR = _root.helicopter._rotation;
tgXY = disY / disX;
YgolP = (Math.atan(tgXY) * 180) / Math.PI;
if (Math.abs(YgolR - YgolP) < 3) {
if (YgolP < YgolR) {
yebivay = "onRevers";
trig = "on";
_xscale = -80;
} else {
yebivay = "onForvard";
trig = "on";
}
}
}
} else {
_xscale = 80;
yebivay = "off";
trig = "off";
}
if (_root.land.ground.hitTest(_x, _y + 8, 1)) {
dubcount = 0;
while (_root.count_v >= dubcount) {
if (_root.land.ground["nur_voronka" + dubcount].hitTest(_x, _y + 8, 1)) {
inlun = 1;
}
dubcount++;
}
if (inlun != 1) {
_y = (_y - 1);
con = 1;
c = 0;
} else {
if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
inlun = 0;
}
} else if (con == 1) {
if (yebivay == "onRevers") {
_x = (_x + 8);
} else if (yebivay == "onForvard") {
_x = (_x - 8);
} else {
_x = (_x - 4);
}
con = 0;
} else {
c = c + 1;
_y = (_y + (1 + c));
}
count = 0;
} else {
count = count + 1;
}
if (((((_root.fnur1.hitTest(_x, _y, 1) || (_root.fnur2.hitTest(_x, _y, 1))) || (_root.fnur3.hitTest(_x, _y, 1))) || (_root.fnur4.hitTest(_x, _y, 1))) || (_root.fnur5.hitTest(_x, _y, 1))) || (_root.fnur6.hitTest(_x, _y, 1))) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
}
if (_root.fnur7.hitTest(_x, _y, 1)) {
live = "coop";
_x = 20;
_y = 20;
_root.frags = _root.frags + 1;
_root.allam = _root.allam + 1;
_root.awards = _root.awards + 1;
}
if (stinger != "pusk") {
x1 = _root.helicopter._x;
y1 = _root.helicopter._y;
x2 = this._x;
y2 = this._y;
r = Math.round(Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2)));
alfa = Math.atan((y2 - y1) / (x2 - x1));
alfadob = 7 * _root.helicopter.dx;
if (r < 400) {
this.tubus._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
}
if (r < 300) {
if (((_x + istX) < 510) || (1010 < (_x + istX))) {
stinger = "pusk";
counzaderjka = 0;
_root.stingercount = _root.stingercount + 1;
_root.stinger.duplicateMovieClip("stinger" + _root.stingercount, _root.stingercount);
_root["stinger" + _root.stingercount]._x = this._x;
_root["stinger" + _root.stingercount]._y = this._y - 5;
this.tubus.play();
if (alfa < 0) {
dob = 180;
} else {
dob = 0;
}
_root["stinger" + _root.stingercount]._rotation = (((alfa / Math.PI) * 180) + dob) + alfadob;
_root["stinger" + _root.stingercount] = "pusk";
}
}
} else {
counzaderjka = counzaderjka + 1;
if (100 < counzaderjka) {
stinger = "ok";
}
}
} else {
_x = -20;
_y = -20;
}
}
Frame 381
if (_root.nextfr != 4) {
gotoAndStop (382);
}
if (_root.awards == 1) {
_root.rezult.medal1._x = -160;
}
if (_root.awards == 2) {
_root.rezult.medal1._x = -160;
_root.rezult.medal2._x = -160;
}
if (_root.awards == 3) {
_root.rezult.medal1._x = -160;
_root.rezult.medal2._x = -160;
_root.rezult.medal3._x = -160;
}
stop();
Frame 382
stop();
Symbol 4 MovieClip [pulia] Frame 1
_x = (_x + 10);
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 43 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m2" in Symbol 43 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 29 MovieClip "m4" in Symbol 43 MovieClip Frame 1
/* no clip actions */
Symbol 43 MovieClip Frame 12
stop();
Instance of Symbol 20 MovieClip in Symbol 43 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m3" in Symbol 43 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 29 MovieClip "m1" in Symbol 43 MovieClip Frame 12
/* no clip actions */
Symbol 49 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m2" in Symbol 49 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 29 MovieClip "m4" in Symbol 49 MovieClip Frame 1
/* no clip actions */
Symbol 49 MovieClip Frame 12
stop();
Instance of Symbol 20 MovieClip in Symbol 49 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m3" in Symbol 49 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 29 MovieClip "m1" in Symbol 49 MovieClip Frame 12
/* no clip actions */
Symbol 75 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m2" in Symbol 75 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 29 MovieClip "m4" in Symbol 75 MovieClip Frame 1
/* no clip actions */
Symbol 75 MovieClip Frame 12
stop();
Instance of Symbol 20 MovieClip in Symbol 75 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m3" in Symbol 75 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 29 MovieClip "m1" in Symbol 75 MovieClip Frame 12
/* no clip actions */
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();
Symbol 88 Button
on (release, keyPress "<Enter>") {
gotoAndStop (378);
}
Symbol 90 MovieClip Frame 1
Symbol 90 MovieClip Frame 22
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
i = 2;
while (Number(i) < 50) {
duplicateMovieClip ("isk1", "isk" add i, i);
setProperty("isk" add i, _rotation , random(360));
scalefactor = 40 + Number(random(60));
setProperty("isk" add i, _xscale , scalefactor);
setProperty("isk" add i, _yscale , scalefactor);
tellTarget ("isk" add i) {
gotoAndPlay(random(5));
};
i = Number(i) + 1;
}
Instance of Symbol 104 MovieClip "land_dot" in Symbol 105 MovieClip Frame 1
/* no clip actions */
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 23
removeMovieClip(_root._name);
Symbol 113 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m2" in Symbol 113 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 29 MovieClip "m4" in Symbol 113 MovieClip Frame 1
/* no clip actions */
Symbol 113 MovieClip Frame 12
stop();
Instance of Symbol 20 MovieClip in Symbol 113 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Instance of Symbol 29 MovieClip "m3" in Symbol 113 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 29 MovieClip "m1" in Symbol 113 MovieClip Frame 12
/* no clip actions */
Symbol 118 Button
on (release, keyPress "x") {
_root["NUR_On_" + _root.Load_NUR] = "pusk";
if (_root.helicopter.Rarvorot == 1) {
_root["nur" + _root.Load_NUR]._rotation = _root.helicopter._rotation;
} else {
_root["nur" + _root.Load_NUR]._yscale = -100;
_root["nur" + _root.Load_NUR]._rotation = _root.helicopter._rotation + 180;
}
_root["nur" + _root.Load_NUR]._x = _root.helicopter._x;
_root["nur" + _root.Load_NUR]._y = _root.helicopter._y;
_root.Load_NUR = _root.Load_NUR - 1;
}
on (release, keyPress "X") {
_root["NUR_On_" + _root.Load_NUR] = "pusk";
if (_root.helicopter.Rarvorot == 1) {
_root["nur" + _root.Load_NUR]._rotation = _root.helicopter._rotation;
} else {
_root["nur" + _root.Load_NUR]._yscale = -100;
_root["nur" + _root.Load_NUR]._rotation = _root.helicopter._rotation + 180;
}
_root["nur" + _root.Load_NUR]._x = _root.helicopter._x;
_root["nur" + _root.Load_NUR]._y = _root.helicopter._y;
_root.Load_NUR = _root.Load_NUR - 1;
}
Symbol 119 Button
on (release, keyPress "z") {
_root["Bomb_On_" + _root.Load_BOMB] = "pusk";
if (_root.helicopter.Rarvorot == 1) {
_root["bomb" + _root.Load_BOMB]._rotation = _root.helicopter._rotation;
smesh = 15;
} else {
_root["bomb" + _root.Load_BOMB]._yscale = -65;
_root["bomb" + _root.Load_BOMB]._rotation = _root.helicopter._rotation + 180;
smesh = -15;
}
_root["bomb" + _root.Load_BOMB]._x = _root.helicopter._x + smesh;
_root["bomb" + _root.Load_BOMB]._y = _root.helicopter._y + 15;
_root["bombX" + _root.Load_BOMB] = _root.helicopter.dx;
_root["bombY" + _root.Load_BOMB] = _root.helicopter.dy;
_root.Load_BOMB = _root.Load_BOMB - 1;
}
on (release, keyPress "Z") {
_root["Bomb_On_" + _root.Load_BOMB] = "pusk";
if (_root.helicopter.Rarvorot == 1) {
_root["bomb" + _root.Load_BOMB]._rotation = _root.helicopter._rotation;
smesh = 15;
} else {
_root["bomb" + _root.Load_BOMB]._yscale = -65;
_root["bomb" + _root.Load_BOMB]._rotation = _root.helicopter._rotation + 180;
smesh = -15;
}
_root["bomb" + _root.Load_BOMB]._x = _root.helicopter._x + smesh;
_root["bomb" + _root.Load_BOMB]._y = _root.helicopter._y + 15;
_root["bombX" + _root.Load_BOMB] = _root.helicopter.dx;
_root["bombY" + _root.Load_BOMB] = _root.helicopter.dy;
_root.Load_BOMB = _root.Load_BOMB - 1;
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
if (_root.kaput == "on") {
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(_root.helicopter._x) + Number(random(12))) - 6);
setProperty(_target, _y , (Number(_root.helicopter._y) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
} else {
scale = 0;
stop();
_x = -20;
_y = 350;
}
Symbol 142 MovieClip Frame 1
stop();
i = 1;
max = 10;
x = getProperty("_root.fire", _x);
y = getProperty("_root.fire", _y);
Symbol 142 MovieClip Frame 2
if (Number(max) >= Number(i)) {
duplicateMovieClip ("_root.fire", "fire" + i, i);
i = Number(i) + 1;
}
Symbol 142 MovieClip Frame 3
if (Number(max) >= Number(i)) {
duplicateMovieClip ("_root.fire", "_root.fire" add i, i);
i = Number(i) + 1;
}
if (_root.kaput == "on") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 13
_x = 20;
_y = 30;
removeMovieClip(_root._name);
Symbol 175 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 212 Button
on (release, keyPress "<Enter>") {
_root.nextdell = "on";
_root.nextfr = _root.nextfr + 1;
}
Symbol 227 Button
on (release, keyPress "<Enter>") {
_root.nextfr = 4;
_root.gotoAndStop(381);
}
Instance of Symbol 104 MovieClip "land_dot" in Symbol 252 MovieClip Frame 1
/* no clip actions */
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 13
_x = 20;
_y = 30;
removeMovieClip(_root._name);
Instance of Symbol 104 MovieClip "land_dot" in Symbol 271 MovieClip Frame 1
/* no clip actions */
Symbol 289 Button
on (release) {
allam = _root.allam;
allhel = _root.allhel;
gametime = _root.utime;
awards = _root.awards;
getURL ("http://www.opencity.ru/game/indexs.asp", "_blank", "POST");
_root.nextFrame();
}
Instance of Symbol 20 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.helicopter.hVint);
}
Symbol 308 Button
on (release) {
_root.smeshenieall = 0;
_root.screen = 1;
_root.smeshenie = 0;
hvintVar = 75;
_root.kaput = "off";
_root.fuel._width = 160;
_root.damage._xscale = 100;
_root.helth = 100;
_root.Load_BOMB = 2;
_root.visB1 = "on";
_root.helicopter.B1._visible = 100;
_root.visB2 = "on";
_root.helicopter.B2._visible = 100;
_root.Load_NUR = 4;
_root.vis1 = "on";
_root.helicopter.m1.gotoAndStop(1);
_root.helicopter.sh1._visible = 100;
_root.vis2 = "on";
_root.helicopter.m2.gotoAndStop(1);
_root.helicopter.sh2._visible = 100;
_root.vis3 = "on";
_root.helicopter.m3.gotoAndStop(1);
_root.helicopter.sh3._visible = 100;
_root.vis4 = "on";
_root.helicopter.m4.gotoAndStop(1);
_root.helicopter.sh4._visible = 100;
crashon = no;
n = 0;
timeroff = "off";
dubcount = 0;
while (_root.count_v >= dubcount) {
removeMovieClip(_root.land.ground["nur_voronka" + dubcount]);
dubcount++;
}
_root.frags = 0;
_root.helicopter.Rarvorot = 1;
_root.helicopter.gotoAndStop(1);
_root.nextdell = "off";
_root.mina = "off";
gotoAndStop (378);
}