Frame 1
ifFrameLoaded (4) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 3
if (quality_is_set != 1337) {
quality_is_set = 1337;
_root.global_quality = 3;
}
Frame 4
if (loaded2 eq 1) {
gotoAndPlay (5);
} else {
gotoAndPlay (3);
}
Frame 6
gotoAndStop (9);
Frame 7
Mouse.hide();
startDrag ("_root.kursor", true);
if (quality_is_set != 1337) {
quality_is_set = 1337;
_root.global_quality = 3;
}
stop();
timeA = 0;
median_fps_sum = 0;
median_fps_mod = 5;
median_fps_count = 0;
median_fps_sum2 = 0;
median_fps_mod2 = 25;
median_fps_count2 = 0;
onEnterFrame = function () {
timeB = getTimer();
var _local2 = Math.floor(1000 / (this.timeB - this.timeA));
timeA = timeB;
if (median_fps_count < median_fps_mod) {
median_fps_count++;
median_fps_sum = median_fps_sum + _local2;
} else {
this.current_fps = Math.floor(median_fps_sum / this.median_fps_count);
this.median_fps_sum = 0;
this.median_fps_count = 0;
}
if (median_fps_count2 < median_fps_mod2) {
median_fps_count2++;
median_fps_sum2 = median_fps_sum2 + _local2;
} else {
this.current_fps2 = Math.floor(median_fps_sum2 / this.median_fps_count2);
this.median_fps_sum2 = 0;
this.median_fps_count2 = 0;
}
};
Instance of Symbol 1253 MovieClip in Frame 7
onClipEvent (enterFrame) {
_rotation = (_root.game.base.rotor._rotation - 90);
}
Frame 8
gotoAndStop (7);
Frame 9
if (quality_is_set != 1337) {
quality_is_set = 1337;
_root.global_quality = 3;
}
startDrag ("_root.kursor", true);
Mouse.hide();
stop();
stop();
Frame 10
stop();
Frame 11
stop();
Frame 13
if (quality_is_set != 1337) {
quality_is_set = 1337;
_root.global_quality = 3;
}
startDrag ("_root.kursor", true);
Mouse.hide();
Frame 14
if (_root.goplaygame eq 1) {
gotoAndPlay (7);
_root.goplaygame = 0;
stopAllSounds();
} else {
gotoAndPlay (13);
}
Symbol 6 MovieClip Frame 2
loading = _root.getBytesLoaded() / 300000;
if (loading < 1) {
procent = loading;
} else {
procent = 1;
}
if (longcatisloooo0006ng != "wryyyyyyyy") {
longcatisloooo0006ng = "wryyyyyyyy";
dlinna = bar._width;
}
bar._width = dlinna * procent;
Symbol 9 MovieClip Frame 16
stop();
Symbol 35 MovieClip Frame 115
gotoAndPlay (21);
Symbol 36 MovieClip Frame 28
stop();
Symbol 51 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 61 MovieClip Frame 7
stop();
Symbol 67 Button
on (release) {
_root.loaded2 = 1;
}
Symbol 68 MovieClip Frame 2
if (_root.loaded_ eq 1) {
play();
} else {
gotoAndPlay (1);
}
Symbol 68 MovieClip Frame 22
stop();
Symbol 71 MovieClip Frame 2
PercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal();
if (longcatisloooo000ng != "wryyyyyyyy") {
longcatisloooo000ng = "wryyyyyyyy";
dlinna = bar._width;
}
if (PercentLoaded >= 1) {
_root.loaded_ = 1;
}
_root.bytesloaded.zagrujeno = _root.getBytesLoaded();
_root.bytesloaded.total = _root.getBytesTotal();
setProperty("bar", _width , dlinna * PercentLoaded);
gotoAndPlay (1);
Symbol 84 Button
on (release) {
getURL ("http://games.armorgames.com/misc/quadrobarrel.zip", "_blank");
}
Symbol 93 Button
on (release) {
nextFrame();
}
Symbol 115 Button
on (release) {
prevFrame();
}
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 153 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty("krutilka", _rotation , krutilka._rotation - (16 * _root.procentipreloadera));
}
Symbol 158 MovieClip Frame 2
_root.procentipreloadera = _root.getBytesLoaded() / _root.getBytesTotal();
migala.show_.procenti = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndPlay (1);
Instance of Symbol 165 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 171 MovieClip Frame 2
if (play_ eq 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.global_quality eq 1) {
gotoAndStop (2);
} else if (_root.global_quality eq 2) {
gotoAndStop (3);
} else if (_root.global_quality eq 3) {
gotoAndStop (4);
} else if (_root.global_quality eq 4) {
gotoAndStop (5);
}
}
Symbol 171 MovieClip Frame 4
if (play_ eq 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 173 MovieClip Frame 2
if (_root.global_quality eq 1) {
_root._quality = "low";
} else if (_root.global_quality eq 2) {
_root._quality = "medium";
} else if (_root.global_quality eq 3) {
_root._quality = "high";
} else if (_root.global_quality eq 4) {
_root._quality = "best";
}
Symbol 175 Button
on (press, keyPress "Q") {
gotoAndPlay (2);
if (_root.global_quality < 4) {
_root.global_quality = _root.global_quality + 1;
} else if (_root.global_quality eq 4) {
_root.global_quality = 1;
}
}
on (keyPress "q") {
gotoAndPlay (2);
if (_root.global_quality < 4) {
_root.global_quality = _root.global_quality + 1;
} else if (_root.global_quality eq 4) {
_root.global_quality = 1;
}
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
_root.show_quality.play_ = 1;
Symbol 176 MovieClip Frame 35
_root.show_quality.play_ = 0;
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (yiffdesufhtagn != 1) {
a = 0;
yiffdesufhtagn = 1;
}
if (_root.krutitsya_vpravo eq 1) {
mod = 1;
} else if (_root.krutitsya_vlevo eq 1) {
mod = -1;
}
if ((_root.krutitsya_vpravo eq 1) or (_root.krutitsya_vlevo eq 1)) {
if (a < 2) {
a = a + 0.2;
}
} else if (a > 0) {
a = a - 0.2;
} else {
a = 0;
}
aa = a * mod;
shesterenka._rotation = shesterenka._rotation + aa;
}
Symbol 211 MovieClip Frame 10
_root.cash = _root.cash + _root.red_alien_ship_cash;
Symbol 211 MovieClip Frame 22
remove = 1;
stop();
Symbol 219 MovieClip Frame 5
_root.taking_explosive_dmg = 1;
_root.shakescreen = 1;
_root.dmg_taken = _root.dmg_taken + _root.red_alien_ship_dmg;
Symbol 219 MovieClip Frame 19
stop();
remove = 1;
Symbol 220 MovieClip Frame 1
stop();
Instance of Symbol 194 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.red_alien_ship_lvl);
}
Symbol 220 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - a);
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.red_alien_ship_count++;
hits = _root.red_alien_ship_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.red_alien_ship_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.red_alien_ship_speed;
}
if (dx >= 0) {
xmodifier = _root.red_alien_ship_speed;
} else {
xmodifier = -_root.red_alien_ship_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.red_alien_ship_speed;
} else {
ymodififer = -_root.red_alien_ship_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.red_alien_ship_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.red_alien_ship_speed;
}
}
}
if ((hits <= 0) and (justblewup != 1)) {
dead = 1;
flyer.gotoAndStop(2);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if ((distance_y_abs > 40) or (distance_x_abs > 55)) {
if ((dead != 1) and (justblewup != 1)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
}
} else if (justblewup != 1) {
justblewup = 1;
flyer.gotoAndStop(3);
}
if ((dead != 1) and (justblewup != 1)) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.red_alien_ship_count--;
removeMovieClip(this);
}
}
Symbol 221 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 233 MovieClip Frame 1
if (activated eq 1) {
_root["mine_installed_" + number] = 1;
}
Symbol 233 MovieClip Frame 2
if ((blow != 1) and (_root.blowallmines != 1)) {
gotoAndPlay (1);
}
Symbol 233 MovieClip Frame 3
dodmg = 1;
_root.shakescreen = 4;
Symbol 233 MovieClip Frame 13
_root.blowallmines = 0;
Symbol 233 MovieClip Frame 18
_root["mine_installed_" + number] = 0;
Symbol 233 MovieClip Frame 19
stop();
remove = 0;
removeMovieClip(this);
Symbol 253 MovieClip Frame 7
_root.cash = _root.cash + _root.lexx_cash;
Symbol 253 MovieClip Frame 26
stop();
remove = 1;
Symbol 259 MovieClip Frame 6
_root.taking_explosive_dmg = 1;
_root.shakescreen = 1;
_root.dmg_taken = _root.dmg_taken + _root.lexx_dmg;
Symbol 259 MovieClip Frame 20
stop();
remove = 1;
Symbol 260 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a + 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.lexx_count++;
hits = _root.lexx_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.lexx_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.lexx_speed;
}
if (dx >= 0) {
xmodifier = _root.lexx_speed;
} else {
xmodifier = -_root.lexx_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.lexx_speed;
} else {
ymodififer = -_root.lexx_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.lexx_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.lexx_speed;
}
}
}
if ((hits <= 0) and (justblewup != 1)) {
dead = 1;
flyer.gotoAndStop(2);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if ((distance_y_abs > 30) or (distance_x_abs > 30)) {
if ((dead != 1) and (justblewup != 1)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
}
} else if (justblewup != 1) {
justblewup = 1;
flyer.gotoAndStop(3);
}
if ((dead != 1) and (justblewup != 1)) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.lexx_count--;
removeMovieClip(this);
}
}
Symbol 261 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 283 MovieClip Frame 14
stop();
Symbol 317 MovieClip Frame 12
_root.cash = _root.cash + _root.spider_cash;
Symbol 317 MovieClip Frame 51
stop();
remove = 1;
Symbol 322 MovieClip Frame 25
_root.dmg_taken = _root.dmg_taken + _root.spider_dmg;
Symbol 323 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.spider_count++;
hits = _root.spider_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.spider_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.spider_speed;
}
if (dx >= 0) {
xmodifier = _root.spider_speed;
} else {
xmodifier = -_root.spider_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.spider_speed;
} else {
ymodififer = -_root.spider_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.spider_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.spider_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(2);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 150) or (distance_x_abs > 150)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(3);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.spider_count--;
removeMovieClip(this);
}
}
Symbol 324 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Instance of Symbol 331 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 331 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Symbol 344 MovieClip Frame 7
_root.dmg_taken = _root.dmg_taken + _root.tank_dmg;
Symbol 357 MovieClip Frame 6
_root.cash = _root.cash + _root.tank_cash;
Symbol 357 MovieClip Frame 19
stop();
remove = 1;
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
stop();
Symbol 359 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.tank_count++;
hits = _root.tank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.tank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.tank_speed;
}
if (dx >= 0) {
xmodifier = _root.tank_speed;
} else {
xmodifier = -_root.tank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.tank_speed;
} else {
ymodififer = -_root.tank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.tank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.tank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 140) or (distance_x_abs > 140)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.tank_count--;
removeMovieClip(this);
}
}
Symbol 359 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 2
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.buggy_dmg / 3);
Symbol 374 MovieClip Frame 13
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.buggy_dmg / 3);
Symbol 374 MovieClip Frame 25
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.buggy_dmg / 3);
Symbol 376 MovieClip Frame 6
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 2
_root.dmg_taken = _root.dmg_taken + _root.buggy_dmg;
Instance of Symbol 374 MovieClip "gun" in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 378 MovieClip "gun" in Symbol 379 MovieClip Frame 2
onClipEvent (enterFrame) {
if (shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 400 MovieClip Frame 4
if (nuke eq 1) {
_root.cash = _root.cash + _root.nukebuggy_cash;
} else {
_root.cash = _root.cash + _root.buggy_cash;
}
Symbol 400 MovieClip Frame 12
stop();
remove = 1;
Symbol 401 MovieClip Frame 1
stop();
Instance of Symbol 379 MovieClip "gun" in Symbol 401 MovieClip Frame 1
onClipEvent (load) {
if (random(2) eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 402 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.buggy_count++;
hits = _root.buggy_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.buggy_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.buggy_speed;
}
if (dx >= 0) {
xmodifier = _root.buggy_speed;
} else {
xmodifier = -_root.buggy_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.buggy_speed;
} else {
ymodififer = -_root.buggy_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.buggy_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.buggy_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 90) or (distance_x_abs > 90)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gun.gun.shoot = 1;
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.buggy_count--;
removeMovieClip(this);
}
}
Symbol 402 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 412 MovieClip Frame 6
stop();
Symbol 421 MovieClip Frame 2
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.helicopter_dmg / 3);
Symbol 421 MovieClip Frame 9
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.helicopter_dmg / 3);
Symbol 421 MovieClip Frame 16
_root.dmg_taken = _root.dmg_taken + Math.floor(_root.helicopter_dmg / 3);
Symbol 431 MovieClip Frame 2
_root.cash = _root.cash + _root.helicopter_cash;
Symbol 431 MovieClip Frame 10
stop();
remove = 1;
Symbol 432 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.helicopter_count++;
hits = _root.helicopter_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.helicopter_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.helicopter_speed;
}
if (dx >= 0) {
xmodifier = _root.helicopter_speed;
} else {
xmodifier = -_root.helicopter_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.helicopter_speed;
} else {
ymodififer = -_root.helicopter_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.helicopter_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.helicopter_speed;
}
}
}
if (hits <= 0) {
dead = 1;
flyer.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 125) or (distance_x_abs > 125)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
flyer.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.helicopter_count--;
removeMovieClip(this);
}
}
Symbol 433 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 435 MovieClip Frame 2
this.swapDepths(8100);
Symbol 435 MovieClip Frame 3
stop();
Symbol 483 MovieClip Frame 30
stop();
Symbol 491 MovieClip Frame 5
swap = 1;
Symbol 491 MovieClip Frame 10
_root.shakescreen = 2;
Symbol 491 MovieClip Frame 11
_root.dmg_taken = _root.dmg_taken + _root.nuketruck_dmg;
Symbol 491 MovieClip Frame 80
stop();
remove = 1;
Symbol 520 MovieClip Frame 10
stop();
Symbol 525 MovieClip Frame 17
stop();
Symbol 530 MovieClip Frame 3
_root.cash = _root.cash + _root.nuketruck_cash;
Symbol 530 MovieClip Frame 56
stop();
remove = 1;
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 2
stop();
Symbol 532 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.nuketruck_count++;
hits = _root.nuketruck_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.nuketruck_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.nuketruck_speed;
}
if (dx >= 0) {
xmodifier = _root.nuketruck_speed;
} else {
xmodifier = -_root.nuketruck_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.nuketruck_speed;
} else {
ymodififer = -_root.nuketruck_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.nuketruck_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.nuketruck_speed;
}
}
}
if ((hits <= 0) and (blowing != 1)) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if ((dead != 1) and (blowing != 1)) {
if ((distance_y_abs > 70) or (distance_x_abs > 70)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
blowing = 1;
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.nuketruck_count--;
removeMovieClip(this);
}
}
Symbol 532 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
if (crawler.death.swap eq 1) {
this.swapDepths(8500 + random(500));
crawler.death.swap = 0;
}
Symbol 539 MovieClip Frame 25
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 15
stop();
detonate = 1;
Symbol 556 MovieClip Frame 10
_root.shakescreen = 2;
_root.blowallmines = 0;
Symbol 556 MovieClip Frame 80
stop();
remove = 1;
Symbol 557 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (activated eq 1) {
if (Key.isDown(68)) {
this.bar.play();
} else {
this.bar.gotoAndStop(1);
}
if ((this.bar.detonate eq 1) or (_root.blowallmines eq 1)) {
gotoAndStop (2);
}
}
};
Instance of Symbol 539 MovieClip "mina" in Symbol 557 MovieClip Frame 1
onClipEvent (load) {
_rotation = random(360);
}
Symbol 557 MovieClip Frame 2
this.swapDepths(12000);
onEnterFrame = function () {
if (this.nuking.remove eq 1) {
removeMovieClip(this);
}
};
Symbol 568 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 2
_root.dmg_taken = _root.dmg_taken + _root.hovertank_dmg;
Symbol 570 MovieClip Frame 4
_root.cash = _root.cash + _root.hovertank_cash;
Symbol 570 MovieClip Frame 25
stop();
remove = 1;
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
onEnterFrame = function () {
this.gun.play();
};
Symbol 572 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.hovertank_count++;
hits = _root.hovertank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.hovertank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.hovertank_speed;
}
if (dx >= 0) {
xmodifier = _root.hovertank_speed;
} else {
xmodifier = -_root.hovertank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.hovertank_speed;
} else {
ymodififer = -_root.hovertank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.hovertank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.hovertank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 110) or (distance_x_abs > 110)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.hovertank_count--;
removeMovieClip(this);
}
}
Symbol 572 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Instance of Symbol 331 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 331 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Symbol 591 MovieClip Frame 5
_root.dmg_taken = _root.dmg_taken + _root.lazertank_dmg;
Symbol 596 MovieClip Frame 8
_root.cash = _root.cash + _root.lazertank_cash;
Symbol 596 MovieClip Frame 41
stop();
remove = 1;
Symbol 597 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.lazertank_count++;
hits = _root.lazertank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.lazertank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.lazertank_speed;
}
if (dx >= 0) {
xmodifier = _root.lazertank_speed;
} else {
xmodifier = -_root.lazertank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.lazertank_speed;
} else {
ymodififer = -_root.lazertank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.lazertank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.lazertank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 170) or (distance_x_abs > 170)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.lazertank_count--;
removeMovieClip(this);
}
}
Symbol 598 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 620 MovieClip Frame 22
_root.dmg_taken = _root.dmg_taken + _root.trooper_dmg;
Symbol 677 MovieClip Frame 3
_root.cash = _root.cash + _root.trooper_cash;
Symbol 677 MovieClip Frame 33
stop();
remove = 1;
Symbol 678 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.trooper_count++;
hits = _root.trooper_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.trooper_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.trooper_speed;
}
if (dx >= 0) {
xmodifier = _root.trooper_speed;
} else {
xmodifier = -_root.trooper_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.trooper_speed;
} else {
ymodififer = -_root.trooper_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.trooper_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.trooper_speed;
}
}
}
if (hits <= 0) {
dead = 1;
flyer.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 120) or (distance_x_abs > 120)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
flyer.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.trooper_count--;
removeMovieClip(this);
}
}
Symbol 679 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 681 MovieClip Frame 2
this.swapDepths(8101);
Symbol 681 MovieClip Frame 3
stop();
Instance of Symbol 573 MovieClip in Symbol 704 MovieClip Frame 1
onClipEvent (enterFrame) {
dd.stop();
tt.stop();
}
Symbol 704 MovieClip Frame 45
_root.dmg_taken = _root.dmg_taken + _root.blacktank_dmg;
Symbol 718 MovieClip Frame 15
_root.cash = _root.cash + _root.blacktank_cash;
Symbol 718 MovieClip Frame 53
stop();
remove = 1;
Symbol 719 MovieClip Frame 1
stop();
Instance of Symbol 690 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
pushka.stop();
}
Symbol 720 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.blacktank_count++;
hits = _root.blacktank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.blacktank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.blacktank_speed;
}
if (dx >= 0) {
xmodifier = _root.blacktank_speed;
} else {
xmodifier = -_root.blacktank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.blacktank_speed;
} else {
ymodififer = -_root.blacktank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.blacktank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.blacktank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 200) or (distance_x_abs > 200)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.blacktank_count--;
removeMovieClip(this);
}
}
Symbol 720 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 730 MovieClip Frame 5
swap = 1;
Symbol 730 MovieClip Frame 10
_root.shakescreen = 2;
Symbol 730 MovieClip Frame 11
_root.dmg_taken = _root.dmg_taken + _root.nuketruck_dmg;
Symbol 730 MovieClip Frame 80
stop();
remove = 1;
Symbol 731 MovieClip Frame 1
stop();
Instance of Symbol 400 MovieClip "death" in Symbol 731 MovieClip Frame 3
onClipEvent (enterFrame) {
nuke = 1;
}
Symbol 732 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.nukebuggy_count++;
hits = _root.nukebuggy_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.nukebuggy_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.nukebuggy_speed;
}
if (dx >= 0) {
xmodifier = _root.nukebuggy_speed;
} else {
xmodifier = -_root.nukebuggy_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.nukebuggy_speed;
} else {
ymodififer = -_root.nukebuggy_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.nukebuggy_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.nukebuggy_speed;
}
}
}
if ((hits <= 0) and (blowing != 1)) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if ((dead != 1) and (blowing != 1)) {
if ((distance_y_abs > 70) or (distance_x_abs > 70)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
blowing = 1;
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.nukebuggy_count--;
removeMovieClip(this);
}
}
Symbol 732 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
if (crawler.death.swap eq 1) {
this.swapDepths(8500 + random(500));
crawler.death.swap = 0;
}
Instance of Symbol 737 MovieClip in Symbol 748 MovieClip Frame 1
onClipEvent (load) {
a.stop();
b.stop();
}
Symbol 748 MovieClip Frame 11
_root.dmg_taken = _root.dmg_taken + _root.battletank_dmg;
Instance of Symbol 737 MovieClip in Symbol 749 MovieClip Frame 1
onClipEvent (load) {
a.stop();
b.stop();
}
Symbol 758 MovieClip Frame 9
_root.cash = _root.cash + _root.battletank_cash;
Symbol 758 MovieClip Frame 31
stop();
remove = 1;
Symbol 759 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.battletank_count++;
hits = _root.battletank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.battletank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.battletank_speed;
}
if (dx >= 0) {
xmodifier = _root.battletank_speed;
} else {
xmodifier = -_root.battletank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.battletank_speed;
} else {
ymodififer = -_root.battletank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.battletank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.battletank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 110) or (distance_x_abs > 110)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.battletank_count--;
removeMovieClip(this);
}
}
Symbol 760 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Instance of Symbol 737 MovieClip in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
a.stop();
b.stop();
}
Symbol 783 MovieClip Frame 42
_root.dmg_taken = _root.dmg_taken + _root.rockettank_dmg;
_root.shakescreen = 5;
Symbol 783 MovieClip Frame 63
_root.dmg_taken = _root.dmg_taken + _root.rockettank_dmg;
_root.shakescreen = 5;
Instance of Symbol 737 MovieClip in Symbol 784 MovieClip Frame 1
onClipEvent (load) {
a.stop();
b.stop();
}
Symbol 793 MovieClip Frame 9
_root.cash = _root.cash + _root.rockettank_cash;
Symbol 793 MovieClip Frame 31
stop();
remove = 1;
Symbol 794 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.rockettank_count++;
hits = _root.rockettank_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.rockettank_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.rockettank_speed;
}
if (dx >= 0) {
xmodifier = _root.rockettank_speed;
} else {
xmodifier = -_root.rockettank_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.rockettank_speed;
} else {
ymodififer = -_root.rockettank_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.rockettank_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.rockettank_speed;
}
}
}
if (hits <= 0) {
dead = 1;
crawler.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 170) or (distance_x_abs > 170)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
crawler.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.mines_installed_count > 0) {
i = 1;
while (i < 11) {
if (hitzone.hitTest(_root.game["mine_" + i].dmg_zone)) {
_root.game["mine_" + i].blow = 1;
if (_root.game["mine_" + i].dodmg eq 1) {
hits = hits - _root.mine_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (crawler.death.remove eq 1) {
_root.rockettank_count--;
removeMovieClip(this);
}
}
Symbol 795 MovieClip Frame 2
gotoAndPlay (1);
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 810 MovieClip Frame 31
_root.dmg_taken = _root.dmg_taken + _root.flyer1_dmg;
Symbol 832 MovieClip Frame 20
stop();
Symbol 840 MovieClip Frame 8
_root.cash = _root.cash + _root.flyer1_cash;
Symbol 840 MovieClip Frame 38
stop();
remove = 1;
Symbol 841 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.flyer1_count++;
hits = _root.flyer1_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.flyer1_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.flyer1_speed;
}
if (dx >= 0) {
xmodifier = _root.flyer1_speed;
} else {
xmodifier = -_root.flyer1_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.flyer1_speed;
} else {
ymodififer = -_root.flyer1_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.flyer1_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.flyer1_speed;
}
}
}
if (hits <= 0) {
dead = 1;
flyer.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 115) or (distance_x_abs > 115)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
flyer.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.flyer1_count--;
removeMovieClip(this);
}
}
Symbol 842 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Symbol 864 MovieClip Frame 41
_root.dmg_taken = _root.dmg_taken + _root.flyer2_dmg;
Symbol 873 MovieClip Frame 6
_root.cash = _root.cash + _root.flyer2_cash;
Symbol 873 MovieClip Frame 36
stop();
remove = 1;
Symbol 874 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 1
if (_root.kill_all_enemies eq 1) {
hits = -999999;
}
if (count < 3) {
speed = 1;
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var dx = (_root.game.base_center._x - _x);
var dy = (_root.game.base_center._y - _y);
var angle2 = _rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
_rotation = (_rotation - (a - 90));
}
if (go eq 1) {
if (yiffffffffffffffffffffffffffffff != 777) {
_root.flyer2_count++;
hits = _root.flyer2_hp;
yiffffffffffffffffffffffffffffff = 777;
}
if (count < 2) {
dx = _root.game.base_center._x - _x;
dy = _root.game.base_center._y - _y;
if (Math.abs(dx) > Math.abs(dy)) {
if (dy >= 0) {
ymodififer = (Math.abs(dy) / Math.abs(dx)) * _root.flyer2_speed;
} else {
ymodififer = (-(Math.abs(dy) / Math.abs(dx))) * _root.flyer2_speed;
}
if (dx >= 0) {
xmodifier = _root.flyer2_speed;
} else {
xmodifier = -_root.flyer2_speed;
}
} else {
if (dy >= 0) {
ymodififer = _root.flyer2_speed;
} else {
ymodififer = -_root.flyer2_speed;
}
if (dx >= 0) {
xmodifier = (Math.abs(dx) / Math.abs(dy)) * _root.flyer2_speed;
} else {
xmodifier = (-(Math.abs(dx) / Math.abs(dy))) * _root.flyer2_speed;
}
}
}
if (hits <= 0) {
dead = 1;
flyer.gotoAndStop(3);
}
distance_x_abs = Math.abs(_root.game.base_center._x - _x);
distance_y_abs = Math.abs(_root.game.base_center._y - _y);
if (dead != 1) {
if ((distance_y_abs > 185) or (distance_x_abs > 185)) {
_x = (_x + xmodifier);
_y = (_y + ymodififer);
} else {
flyer.gotoAndStop(2);
}
}
if (dead != 1) {
if (_root.projectile_1_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile" + i])) {
_root.game.base["projectile" + i].blow = 1;
hits = hits - _root.projectile_1_dmg;
}
i++;
}
}
if (_root.projectile_2_count > 0) {
i = 0;
while (i < (_root.max_projectiles + 1)) {
if (hitzone.hitTest(_root.game.base["projectile2_" + i].projectile.testzone)) {
_root.game.base["projectile2_" + i].blow = 1;
if (_root.game.base["projectile2_" + i].dodmg eq 1) {
hits = hits - _root.projectile_2_dmg;
}
}
i++;
}
}
if (_root.projectile_4_count > 0) {
i = 0;
while (i < (_root.max_projectiles4 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile4_" + i].projectile.dmg_zone)) {
_root.game.base["projectile4_" + i].blow = 1;
if (_root.game.base["projectile4_" + i].dodmg eq 1) {
hits = hits - _root.projectile_4_dmg;
}
}
i++;
}
}
if (_root.projectile_3_count > 0) {
i = 0;
while (i < (_root.max_projectiles3 + 1)) {
if (hitzone.hitTest(_root.game.base["projectile3_" + i])) {
_root.game.base["projectile3_" + i].blow = 1;
if (_root.game.base["projectile3_" + i].dodmg eq 1) {
hits = hits - _root.projectile_3_dmg;
}
}
i++;
}
}
ray_test = hitzone.hitTest(_root.game.base.rotor.right_.ray_shot.implosion.hitzone);
if (ray_test eq "true") {
hits = hits - _root.raygun_dmg;
}
shockwave_test = hitzone.hitTest(_root.game.base.krishka.dmg_zone);
if (shockwave_test eq "true") {
hits = hits - _root.shockwave_dmg;
}
nukemine_test = hitzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone);
if (nukemine_test eq "true") {
hits = hits - _root.nukemine_dmg;
}
}
if (flyer.death.remove eq 1) {
_root.flyer2_count--;
removeMovieClip(this);
}
}
Symbol 875 MovieClip Frame 2
if (go != 1) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
if (yiffdesudesu != 1337) {
yiffdesudesu = 1337;
count = 0;
}
count++;
Instance of Symbol 881 MovieClip in Symbol 882 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 889 MovieClip Frame 7
stop();
Symbol 893 MovieClip Frame 7
stop();
Symbol 901 MovieClip Frame 1
stop();
Instance of Symbol 886 MovieClip in Symbol 901 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.down_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 900 MovieClip in Symbol 901 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Symbol 907 MovieClip Frame 10
stop();
Symbol 938 MovieClip Frame 20
stop();
_root.raygun_dx;
Symbol 941 MovieClip Frame 1
_root.block_rotation = 1;
if (main eq 1) {
_root.raygun_dx = Math.abs(center._x - _xmouse);
}
ray._width = _root.raygun_dx;
Symbol 941 MovieClip Frame 2
implosion._x = implosion._x + _root.raygun_dx;
Symbol 941 MovieClip Frame 30
_root.block_rotation = 0;
Symbol 941 MovieClip Frame 31
stop();
Symbol 942 MovieClip Frame 1
if (_root.down_gun_shoot eq 1) {
if (_root.weapon_equiped eq 1) {
gotoAndPlay (3);
} else if (_root.weapon_equiped eq 2) {
gotoAndPlay (12);
} else if (_root.weapon_equiped eq 3) {
gotoAndPlay (28);
} else if (_root.weapon_equiped eq 4) {
gotoAndPlay (34);
}
}
Symbol 942 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 901 MovieClip in Symbol 942 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.down_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 942 MovieClip Frame 11
_root.down_gun_shoot = 0;
gotoAndPlay (1);
Symbol 942 MovieClip Frame 27
_root.down_gun_shoot = 0;
gotoAndPlay (1);
Symbol 942 MovieClip Frame 33
_root.down_gun_shoot = 0;
gotoAndPlay (1);
Symbol 942 MovieClip Frame 74
_root.down_gun_shoot = 0;
gotoAndPlay (1);
Symbol 947 MovieClip Frame 1
stop();
Instance of Symbol 946 MovieClip in Symbol 947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.left_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 900 MovieClip in Symbol 947 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Symbol 948 MovieClip Frame 1
if (_root.left_gun_shoot eq 1) {
if (_root.weapon_equiped eq 1) {
gotoAndPlay (3);
} else if (_root.weapon_equiped eq 2) {
gotoAndPlay (12);
} else if (_root.weapon_equiped eq 3) {
gotoAndPlay (29);
} else if (_root.weapon_equiped eq 4) {
gotoAndPlay (35);
}
}
Instance of Symbol 946 MovieClip in Symbol 948 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.left_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 948 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 900 MovieClip in Symbol 948 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Instance of Symbol 947 MovieClip in Symbol 948 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.left_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 948 MovieClip Frame 11
_root.left_gun_shoot = 0;
gotoAndPlay (1);
Instance of Symbol 947 MovieClip in Symbol 948 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.left_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 948 MovieClip Frame 28
_root.left_gun_shoot = 0;
gotoAndPlay (1);
Symbol 948 MovieClip Frame 34
_root.left_gun_shoot = 0;
gotoAndPlay (1);
Symbol 948 MovieClip Frame 75
_root.left_gun_shoot = 0;
gotoAndPlay (1);
Symbol 951 MovieClip Frame 1
stop();
Instance of Symbol 900 MovieClip in Symbol 951 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Symbol 955 MovieClip Frame 1
if (_root.right_gun_shoot eq 1) {
if (_root.weapon_equiped eq 1) {
gotoAndPlay (3);
} else if (_root.weapon_equiped eq 2) {
gotoAndPlay (12);
} else if (_root.weapon_equiped eq 3) {
gotoAndPlay (29);
} else if (_root.weapon_equiped eq 4) {
gotoAndPlay (35);
} else if (_root.weapon_equiped eq 6) {
gotoAndPlay (80);
}
}
Symbol 955 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 951 MovieClip "gun" in Symbol 955 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.right_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 955 MovieClip Frame 9
if (((_root.left_gun_enabled + _root.down_gun_enabled) + _root.up_gun_enabled) eq 0) {
_root.right_gun_shoot = 0;
gotoAndPlay (1);
}
Symbol 955 MovieClip Frame 11
_root.right_gun_shoot = 0;
gotoAndPlay (1);
Symbol 955 MovieClip Frame 25
if (((_root.left_gun_enabled + _root.down_gun_enabled) + _root.up_gun_enabled) eq 0) {
_root.right_gun_shoot = 0;
gotoAndPlay (1);
}
Symbol 955 MovieClip Frame 28
_root.right_gun_shoot = 0;
gotoAndPlay (1);
Symbol 955 MovieClip Frame 32
if (((_root.left_gun_enabled + _root.down_gun_enabled) + _root.up_gun_enabled) eq 0) {
_root.right_gun_shoot = 0;
gotoAndPlay (1);
}
Symbol 955 MovieClip Frame 34
_root.right_gun_shoot = 0;
gotoAndPlay (1);
Instance of Symbol 941 MovieClip "ray_shot" in Symbol 955 MovieClip Frame 35
onClipEvent (load) {
main = 1;
}
Symbol 955 MovieClip Frame 75
_root.right_gun_shoot = 0;
gotoAndPlay (1);
Instance of Symbol 951 MovieClip "gun" in Symbol 955 MovieClip Frame 81
onClipEvent (enterFrame) {
if (_root.right_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 955 MovieClip Frame 99
_root.right_gun_shoot = 0;
gotoAndPlay (1);
Symbol 960 MovieClip Frame 1
stop();
Instance of Symbol 959 MovieClip in Symbol 960 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.up_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 900 MovieClip in Symbol 960 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Symbol 961 MovieClip Frame 1
if (_root.up_gun_shoot eq 1) {
if (_root.weapon_equiped eq 1) {
gotoAndPlay (3);
} else if (_root.weapon_equiped eq 2) {
gotoAndPlay (12);
} else if (_root.weapon_equiped eq 3) {
gotoAndPlay (29);
} else if (_root.weapon_equiped eq 4) {
gotoAndPlay (35);
}
}
Symbol 961 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 960 MovieClip in Symbol 961 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.up_gun_shoot eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 961 MovieClip Frame 11
_root.up_gun_shoot = 0;
gotoAndPlay (1);
Symbol 961 MovieClip Frame 28
_root.up_gun_shoot = 0;
gotoAndPlay (1);
Symbol 961 MovieClip Frame 34
_root.up_gun_shoot = 0;
gotoAndPlay (1);
Symbol 961 MovieClip Frame 75
_root.up_gun_shoot = 0;
gotoAndPlay (1);
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 19
_root.taking_explosive_dmg = 0;
Instance of Symbol 882 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.right_gun_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 882 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.down_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 882 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.up_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 882 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.left_gun_enabled eq 1) and (_root.weapon_equiped != 4)) and (_root.weapon_equiped != 6)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 964 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.taking_explosive_dmg eq 1) {
play();
}
}
Symbol 991 MovieClip Frame 1
dodmg = 0;
Symbol 991 MovieClip Frame 5
stop();
dodmg = 1;
opened = 1;
Symbol 991 MovieClip Frame 6
_root.shakescreen = 3;
Symbol 991 MovieClip Frame 37
stop();
remove = 1;
Symbol 992 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 2
dodmg = projectile.dodmg;
if (blow != 1) {
projectile._x = projectile._x + 18;
} else if (projectile.opened eq 1) {
projectile.play();
}
if ((projectile._x > 800) or (projectile.remove eq 1)) {
removeMovieClip(this);
_root.projectile_4_count--;
}
go = 0;
if (desudesudesudesudesu != 1337) {
_root.projectile_4_count++;
desudesudesudesudesu = 1337;
}
_root["projectile_4_" + number] = 1;
Symbol 992 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1009 MovieClip Frame 5
stop();
opened = 1;
Symbol 1009 MovieClip Frame 6
dodmg = 1;
Symbol 1009 MovieClip Frame 15
stop();
remove = 1;
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
dodmg = projectile.dodmg;
if (blow != 1) {
projectile._x = projectile._x + 25;
} else if (projectile.opened eq 1) {
projectile.play();
}
if ((projectile._x > 800) or (projectile.remove eq 1)) {
removeMovieClip(this);
_root.projectile_1_count--;
}
go = 0;
if (desudesudesudesudesu != 1337) {
_root.projectile_3_count++;
desudesudesudesudesu = 1337;
}
_root["projectile_3_" + number] = 1;
Symbol 1010 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1035 MovieClip Frame 1
dodmg = 0;
Symbol 1035 MovieClip Frame 10
stop();
opened = 1;
Symbol 1035 MovieClip Frame 18
dodmg = 1;
Symbol 1035 MovieClip Frame 31
remove = 1;
Symbol 1036 MovieClip Frame 1
speed = 15;
stop();
Symbol 1036 MovieClip Frame 2
dodmg = projectile.dodmg;
if (blow != 1) {
if (speed > 3) {
speed = speed - 1.5;
}
projectile._x = projectile._x + speed;
} else if (projectile.opened eq 1) {
projectile.play();
}
if ((projectile._x > 800) or (projectile.remove eq 1)) {
removeMovieClip(this);
_root.projectile_1_count--;
}
go = 0;
if (desudesudesudesudesu != 1337) {
_root.projectile_2_count++;
desudesudesudesudesu = 1337;
}
_root["projectile_2_" + number] = 1;
Symbol 1036 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1043 MovieClip Frame 1
stop();
Symbol 1043 MovieClip Frame 6
stop();
die = 1;
Symbol 1044 MovieClip Frame 1
stop();
Symbol 1044 MovieClip Frame 2
if (blow != 1) {
projectile._x = projectile._x + 15;
} else {
projectile.play();
}
if (Math.abs(projectile._x) > 700) {
delete_check = 1;
} else {
delete_check = 0;
}
if ((delete_check eq 1) or (projectile.die eq 1)) {
removeMovieClip(this);
_root.projectile_1_count--;
}
if (desudesudesudesudesu != 1337) {
_root.projectile_1_count++;
desudesudesudesudesu = 1337;
}
_root["projectile_1_" + number] = 1;
go = 0;
Symbol 1044 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1060 MovieClip Frame 1
stop();
Symbol 1060 MovieClip Frame 2
_root.shockwave_start = 1;
_root.shakescreen = 2;
Symbol 1060 MovieClip Frame 22
_root.shockwave_start = 0;
if (_root.weapon_equiped eq 5) {
_root.weapon_equiped = 1;
}
Instance of Symbol 992 MovieClip "right_projectile_4" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1010 MovieClip "right_projectile_3" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1010 MovieClip "up_projectile_3" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1010 MovieClip "left_projectile_3" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1010 MovieClip "down_projectile_3" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1036 MovieClip "right_projectile_2" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1036 MovieClip "up_projectile_2" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1036 MovieClip "down_projectile_2" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1036 MovieClip "left_projectile_2" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1044 MovieClip "right_projectile_1" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1044 MovieClip "left_projectile_1" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1044 MovieClip "up_projectile_1" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1044 MovieClip "down_projectile_1" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
}
}
Instance of Symbol 1060 MovieClip "krishka" in Symbol 1061 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.shockwave_start eq 1) {
play();
}
}
Symbol 1064 MovieClip Frame 2
this.swapDepths(8000);
Symbol 1064 MovieClip Frame 3
this.swapDepths(_root.game.base);
Symbol 1064 MovieClip Frame 4
stop();
Symbol 1078 MovieClip Frame 2
if (_root.base_dead != 1) {
gotoAndPlay (1);
}
Symbol 1078 MovieClip Frame 3
this.swapDepths(_root.game.glubina_explosiona);
Symbol 1078 MovieClip Frame 11
_root.game.podstavka._visible = false;
removeMovieClip(_root.game.base);
Symbol 1078 MovieClip Frame 23
_root.shakescreen = 2;
Symbol 1078 MovieClip Frame 30
_root.kill_all_enemies = 1;
Symbol 1078 MovieClip Frame 36
_root.kill_all_enemies = 0;
Symbol 1078 MovieClip Frame 44
stop();
_root.death_menu_on = 1;
Symbol 1087 Button
on (release) {
play();
}
Symbol 1091 MovieClip Frame 1
stop();
Symbol 1091 MovieClip Frame 12
stop();
done = 1;
_root.weapon_ammo_2 = _root.weapon_ammo_2 + _root.ammo_bonus_2;
Symbol 1097 MovieClip Frame 3
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
if (test eq "true") {
_root.showmouseforbonus = 1;
} else {
_root.showmouseforbonus = 0;
}
Symbol 1105 MovieClip Frame 1
stop();
Symbol 1105 MovieClip Frame 12
stop();
done = 1;
_root.weapon_ammo_3 = _root.weapon_ammo_3 + _root.ammo_bonus_3;
Symbol 1115 MovieClip Frame 1
stop();
Symbol 1115 MovieClip Frame 12
stop();
done = 1;
_root.weapon_ammo_4 = _root.weapon_ammo_4 + _root.ammo_bonus_4;
Symbol 1122 MovieClip Frame 1
stop();
Symbol 1122 MovieClip Frame 12
stop();
done = 1;
_root.weapon_ammo_5 = _root.weapon_ammo_5 + _root.ammo_bonus_5;
Symbol 1127 MovieClip Frame 1
stop();
Symbol 1127 MovieClip Frame 12
stop();
done = 1;
_root.weapon_ammo_6 = _root.weapon_ammo_6 + _root.ammo_bonus_6;
Symbol 1128 MovieClip Frame 1
timer = 0;
Instance of Symbol 1080 MovieClip in Symbol 1128 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1128 MovieClip Frame 2
gotoAndStop (1);
timer = 0;
Symbol 1128 MovieClip Frame 3
if (polojili != 1) {
_root.ammo_bonus_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.ammo_bonus_lejit_na_polu = 0;
}
Symbol 1128 MovieClip Frame 4
if (bonus.done != 1) {
gotoAndPlay (3);
} else {
_root.showmouseforbonus = 0;
deleterthis = 1;
}
Symbol 1128 MovieClip Frame 5
if (polojili != 1) {
_root.ammo_bonus_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.ammo_bonus_lejit_na_polu = 0;
}
Symbol 1128 MovieClip Frame 6
if (bonus.done != 1) {
gotoAndPlay (5);
} else {
_root.showmouseforbonus = 0;
deleterthis = 1;
}
Symbol 1128 MovieClip Frame 7
if (polojili != 1) {
_root.ammo_bonus_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.ammo_bonus_lejit_na_polu = 0;
}
Symbol 1128 MovieClip Frame 8
if (bonus.done != 1) {
gotoAndPlay (7);
} else {
_root.showmouseforbonus = 0;
deleterthis = 1;
}
Symbol 1128 MovieClip Frame 9
if (polojili != 1) {
_root.ammo_bonus_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.ammo_bonus_lejit_na_polu = 0;
}
Symbol 1128 MovieClip Frame 10
if (bonus.done != 1) {
gotoAndPlay (9);
} else {
_root.showmouseforbonus = 0;
deleterthis = 1;
}
Symbol 1128 MovieClip Frame 11
if (polojili != 1) {
_root.ammo_bonus_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.ammo_bonus_lejit_na_polu = 0;
}
Symbol 1128 MovieClip Frame 12
if (bonus.done != 1) {
gotoAndPlay (11);
} else {
_root.showmouseforbonus = 0;
deleterthis = 1;
}
Symbol 1129 MovieClip Frame 1
if (zomglolzor6 != 1337) {
zomglolzor6 = 1337;
dup2 = 0;
dup3 = 0;
dup4 = 0;
dup5 = 0;
dup6 = 0;
}
if (((_root.game_on_hold != 1) and (_root.survival eq 1)) and (_root.ammo_bonus_lejit_na_polu != 1)) {
_root.ammo_bonus_lejit_na_polu = 0;
if ((random(_root.ammo_2_rr) eq 1) and (_root.weapon_available_2 eq 1)) {
dup2 = 1;
}
if ((random(_root.ammo_3_rr) eq 1) and (_root.weapon_available_3 eq 1)) {
dup3 = 1;
}
if ((random(_root.ammo_4_rr) eq 1) and (_root.weapon_available_4 eq 1)) {
dup4 = 1;
}
if ((random(_root.ammo_5_rr) eq 1) and (_root.weapon_available_5 eq 1)) {
dup5 = 1;
}
if (random(_root.ammo_6_rr and (_root.weapon_available_6 eq 1)) eq 1) {
dup6 = 1;
}
}
if (dup2 eq 1) {
dup2 = 0;
ammobonuscount = 1;
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (bonus, "bonus" + ammobonuscount, ammobonuscount);
_root.game.fap.bonus1._x = kyda_x;
_root.game.fap.bonus1._y = kyda_y;
_root.game.fap.bonus1.gotoAndPlay(3);
}
if (dup3 eq 1) {
dup3 = 0;
ammobonuscount = 1;
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (bonus, "bonus" + ammobonuscount, ammobonuscount);
_root.game.fap.bonus1._x = kyda_x;
_root.game.fap.bonus1._y = kyda_y;
_root.game.fap.bonus1.gotoAndPlay(5);
}
if (dup4 eq 1) {
dup4 = 0;
ammobonuscount = 1;
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (bonus, "bonus" + ammobonuscount, ammobonuscount);
_root.game.fap.bonus1._x = kyda_x;
_root.game.fap.bonus1._y = kyda_y;
_root.game.fap.bonus1.gotoAndPlay(7);
}
if (dup5 eq 1) {
dup5 = 0;
ammobonuscount = 1;
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (bonus, "bonus" + ammobonuscount, ammobonuscount);
_root.game.fap.bonus1._x = kyda_x;
_root.game.fap.bonus1._y = kyda_y;
_root.game.fap.bonus1.gotoAndPlay(9);
}
if (dup6 eq 1) {
dup6 = 0;
ammobonuscount = 1;
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (bonus, "bonus" + ammobonuscount, ammobonuscount);
_root.game.fap.bonus1._x = kyda_x;
_root.game.fap.bonus1._y = kyda_y;
_root.game.fap.bonus1.gotoAndPlay(11);
}
Instance of Symbol 1128 MovieClip "bonus" in Symbol 1129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (deleterthis eq 1) {
_root.ammo_bonus_lejit_na_polu = 0;
this.removeMovieClip();
}
}
Symbol 1129 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1146 MovieClip Frame 1
stop();
Symbol 1146 MovieClip Frame 2
zohaval = 1;
Symbol 1146 MovieClip Frame 10
_root.powerup_dmg = _root.powerup_dmg + (3 + random(13));
Symbol 1146 MovieClip Frame 22
stop();
done = 1;
Symbol 1147 MovieClip Frame 3
if (desu eq 1) {
_root.showmouseforbonus2 = 0;
} else {
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
if (test eq "true") {
_root.showmouseforbonus2 = 1;
} else {
_root.showmouseforbonus2 = 0;
}
}
Symbol 1155 MovieClip Frame 1
stop();
Symbol 1155 MovieClip Frame 2
zohaval = 1;
Symbol 1155 MovieClip Frame 9
_root.powerup_shield = _root.powerup_shield + (1 + random(20));
Symbol 1155 MovieClip Frame 22
stop();
done = 1;
Symbol 1165 MovieClip Frame 1
stop();
Symbol 1165 MovieClip Frame 2
zohaval = 1;
Symbol 1165 MovieClip Frame 9
_root.powerup_ammo = _root.powerup_ammo + (1 + random(17));
Symbol 1165 MovieClip Frame 22
stop();
done = 1;
Symbol 1166 MovieClip Frame 1
timer = 0;
Instance of Symbol 1080 MovieClip in Symbol 1166 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1166 MovieClip Frame 2
gotoAndStop (1);
timer = 0;
Symbol 1166 MovieClip Frame 3
if (bonus.zohaval eq 1) {
hittester.desu = 1;
}
if (polojili != 1) {
_root.powerup_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.powerup_lejit_na_polu = 0;
}
Symbol 1166 MovieClip Frame 4
if (bonus.done != 1) {
gotoAndPlay (3);
} else {
_root.showmouseforbonus2 = 0;
deleterthis = 1;
}
Symbol 1166 MovieClip Frame 5
if (bonus.zohaval eq 1) {
hittester.desu = 1;
}
if (polojili != 1) {
_root.powerup_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.powerup_lejit_na_polu = 0;
}
Symbol 1166 MovieClip Frame 6
if (bonus.done != 1) {
gotoAndPlay (5);
} else {
_root.showmouseforbonus2 = 0;
deleterthis = 1;
}
Symbol 1166 MovieClip Frame 7
if (bonus.zohaval eq 1) {
hittester.desu = 1;
}
if (polojili != 1) {
_root.powerup_lejit_na_polu = 1;
polojili = 1;
}
timer = timer + 0.0333333333333333;
if (timer > 4) {
deleterthis = 1;
_root.powerup_lejit_na_polu = 0;
}
Symbol 1166 MovieClip Frame 8
if (bonus.done != 1) {
gotoAndPlay (7);
} else {
_root.showmouseforbonus2 = 0;
deleterthis = 1;
}
Symbol 1167 MovieClip Frame 1
if (((_root.game_on_hold != 1) and (_root.survival eq 1)) and (_root.powerup_lejit_na_polu != 1)) {
_root.showmouseforbonus2 = 0;
if (random(_root.power_up_rr) eq 1) {
a = random(5);
if (a eq 1) {
kyda_x = -453 + random(287);
kyda_y = -40 + random(90);
} else if (a eq 2) {
kyda_x = -322 + random(436);
kyda_y = -189 + random(136);
} else if (a eq 3) {
kyda_x = 59 + random(102);
kyda_y = -40 + random(90);
} else {
kyda_x = -87 + random(160);
kyda_y = 33 + random(170);
}
duplicateMovieClip (powerup, "powerup2", 2);
_root.game.fap.powerup2._x = kyda_x;
_root.game.fap.powerup2._y = kyda_y;
aa = random(3);
if (aa eq 0) {
_root.game.fap2.powerup2.gotoAndPlay(3);
} else if (aa eq 1) {
_root.game.fap2.powerup2.gotoAndPlay(5);
} else if (aa eq 2) {
_root.game.fap2.powerup2.gotoAndPlay(7);
}
}
}
Instance of Symbol 1166 MovieClip "powerup" in Symbol 1167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (deleterthis eq 1) {
_root.powerup_lejit_na_polu = 0;
this.removeMovieClip();
_root.showmouseforbonus2 = 0;
}
}
Symbol 1167 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1168 MovieClip Frame 1
if (kogda_obnulat_projectili > 15) {
kogda_obnulat_projectili = 0;
_root.projectile_1_1 = 0;
_root.projectile_1_2 = 0;
_root.projectile_1_3 = 0;
_root.projectile_1_4 = 0;
_root.projectile_1_5 = 0;
_root.projectile_1_6 = 0;
_root.projectile_1_7 = 0;
_root.projectile_1_8 = 0;
_root.projectile_1_9 = 0;
_root.projectile_1_10 = 0;
_root.projectile_1_11 = 0;
_root.projectile_1_12 = 0;
_root.projectile_1_13 = 0;
_root.projectile_1_14 = 0;
_root.projectile_1_15 = 0;
_root.projectile_1_16 = 0;
_root.projectile_1_17 = 0;
_root.projectile_1_18 = 0;
_root.projectile_1_19 = 0;
_root.projectile_1_20 = 0;
_root.projectile_2_1 = 0;
_root.projectile_2_2 = 0;
_root.projectile_2_3 = 0;
_root.projectile_2_4 = 0;
_root.projectile_2_5 = 0;
_root.projectile_2_6 = 0;
_root.projectile_2_7 = 0;
_root.projectile_2_8 = 0;
_root.projectile_2_9 = 0;
_root.projectile_2_10 = 0;
_root.projectile_2_11 = 0;
_root.projectile_2_12 = 0;
_root.projectile_2_13 = 0;
_root.projectile_2_14 = 0;
_root.projectile_2_15 = 0;
_root.projectile_2_16 = 0;
_root.projectile_2_17 = 0;
_root.projectile_2_18 = 0;
_root.projectile_2_19 = 0;
_root.projectile_2_20 = 0;
_root.projectile_3_1 = 0;
_root.projectile_3_2 = 0;
_root.projectile_3_3 = 0;
_root.projectile_3_4 = 0;
_root.projectile_3_5 = 0;
_root.projectile_3_6 = 0;
_root.projectile_3_7 = 0;
_root.projectile_3_8 = 0;
_root.projectile_3_9 = 0;
_root.projectile_3_10 = 0;
_root.projectile_3_11 = 0;
_root.projectile_3_12 = 0;
_root.projectile_3_13 = 0;
_root.projectile_3_14 = 0;
_root.projectile_3_15 = 0;
_root.projectile_3_16 = 0;
_root.projectile_3_17 = 0;
_root.projectile_3_18 = 0;
_root.projectile_3_19 = 0;
_root.projectile_3_20 = 0;
_root.projectile_3_21 = 0;
_root.projectile_3_22 = 0;
_root.projectile_3_23 = 0;
_root.projectile_3_24 = 0;
_root.projectile_3_25 = 0;
_root.projectile_3_26 = 0;
_root.projectile_3_27 = 0;
_root.projectile_3_28 = 0;
_root.projectile_3_29 = 0;
_root.projectile_4_1 = 0;
_root.projectile_4_2 = 0;
_root.projectile_4_3 = 0;
_root.projectile_4_4 = 0;
_root.projectile_4_5 = 0;
_root.projectile_4_6 = 0;
_root.projectile_4_7 = 0;
_root.projectile_4_8 = 0;
_root.projectile_4_9 = 0;
_root.projectile_4_10 = 0;
_root.projectile_4_11 = 0;
_root.projectile_4_12 = 0;
_root.projectile_4_13 = 0;
_root.projectile_4_14 = 0;
_root.projectile_4_15 = 0;
_root.projectile_4_16 = 0;
_root.projectile_4_17 = 0;
_root.projectile_4_18 = 0;
_root.projectile_4_19 = 0;
_root.projectile_4_20 = 0;
}
if (((_root.block_rotation eq 0) and (_root.upgrades_menu_show != 1)) and (_root.game_on_hold != 1)) {
var dx = (_xmouse - base._x);
var dy = (_ymouse - base._y);
var angle1 = (Math.atan2(dy, dx) * 57.2957795130823);
var angle2 = base.rotor._rotation;
if (angle2 < 0) {
angle2 = angle2 + 360;
}
if (angle1 < 0) {
angle1 = angle1 + 360;
}
var a = (angle2 - angle1);
if (a > 180) {
a = a - 360;
} else if (a < -180) {
a = a + 360;
}
a = a * speed;
if (Math.abs(a) > 0.01) {
base.rotor._rotation = base.rotor._rotation - a;
if (a > 0) {
_root.krutitsya_vpravo = 1;
_root.krutitsya_vlevo = 0;
} else {
_root.krutitsya_vlevo = 1;
_root.krutitsya_vpravo = 0;
}
} else {
_root.krutitsya_vlevo = 0;
_root.krutitsya_vpravo = 0;
base.rotor._rotation = angle1;
}
if ((_root.right_gun_shoot eq 1) and (_root.weapon_equiped != 4)) {
speed = 0.03;
}
if (speed < _root.speedmax) {
speed = speed + 0.03;
}
}
_root.projectile_1_count = ((((((((((((((((((_root.projectile_1_1 + _root.projectile_1_2) + _root.projectile_1_3) + _root.projectile_1_4) + _root.projectile_1_5) + _root.projectile_1_6) + _root.projectile_1_7) + _root.projectile_1_8) + _root.projectile_1_9) + _root.projectile_1_10) + _root.projectile_1_11) + _root.projectile_1_12) + _root.projectile_1_13) + _root.projectile_1_14) + _root.projectile_1_15) + _root.projectile_1_16) + _root.projectile_1_17) + _root.projectile_1_18) + _root.projectile_1_19) + _root.projectile_1_20;
_root.projectile_2_count = ((((((((((((((((((_root.projectile_2_1 + _root.projectile_2_2) + _root.projectile_2_3) + _root.projectile_2_4) + _root.projectile_2_5) + _root.projectile_2_6) + _root.projectile_2_7) + _root.projectile_2_8) + _root.projectile_2_9) + _root.projectile_2_10) + _root.projectile_2_11) + _root.projectile_2_12) + _root.projectile_2_13) + _root.projectile_2_14) + _root.projectile_2_15) + _root.projectile_2_16) + _root.projectile_2_17) + _root.projectile_2_18) + _root.projectile_2_19) + _root.projectile_2_20;
_root.projectile_3_count = ((((((((((((((((((((((((((_root.projectile_3_1 + _root.projectile_3_2) + _root.projectile_3_3) + _root.projectile_3_4) + _root.projectile_3_5) + _root.projectile_3_6) + _root.projectile_3_7) + _root.projectile_3_8) + _root.projectile_3_9) + _root.projectile_3_10) + _root.projectile_3_11) + _root.projectile_3_12) + _root.projectile_3_13) + _root.projectile_3_14) + _root.projectile_3_15) + _root.projectile_3_16) + _root.projectile_3_17) + _root.projectile_3_18) + _root.projectile_3_19) + _root.projectile_3_20) + _root.projectile_3_21) + _root.projectile_3_22) + _root.projectile_3_23) + _root.projectile_3_24) + _root.projectile_3_25) + _root.projectile_3_26) + _root.projectile_3_27) + _root.projectile_3_28;
_root.projectile_4_count = ((((((((((((((((((_root.projectile_4_1 + _root.projectile_4_2) + _root.projectile_4_3) + _root.projectile_4_4) + _root.projectile_4_5) + _root.projectile_4_6) + _root.projectile_4_7) + _root.projectile_4_8) + _root.projectile_4_9) + _root.projectile_4_10) + _root.projectile_4_11) + _root.projectile_4_12) + _root.projectile_4_13) + _root.projectile_4_14) + _root.projectile_4_15) + _root.projectile_4_16) + _root.projectile_4_17) + _root.projectile_4_18) + _root.projectile_4_19) + _root.projectile_4_20;
_root.mines_installed_count = ((((((((_root.mine_installed_1 + _root.mine_installed_2) + _root.mine_installed_3) + _root.mine_installed_4) + _root.mine_installed_5) + _root.mine_installed_6) + _root.mine_installed_7) + _root.mine_installed_8) + _root.mine_installed_9) + _root.mine_installed_10;
if (_root.game_on_hold eq 1) {
_root.energy = _root.energy_max;
_root.shield = _root.shield_max;
_root.structure = 1000;
}
if (_root.energy < 0) {
_root.energy = 0;
}
if (_root.survival eq 1) {
_root.energy = 100000 /* 0x0186A0 */;
} else if (_root.energy < _root.energy_max) {
_root.energy = _root.energy + _root.energy_regen;
} else {
_root.energy = _root.energy_max;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield < _root.shield_max) {
_root.shield = _root.shield + (_root.shield_regen * _root.shieldup);
}
if (_root.structure < 0) {
_root.structure = 0;
}
_root.guns_enabled = ((_root.left_gun_enabled + _root.right_gun_enabled) + _root.up_gun_enabled) + _root.down_gun_enabled;
if (_root.guns_enabled > _root.power_lvl) {
_root.left_gun_enabled = 0;
_root.up_gun_enabled = 0;
_root.down_gun_enabled = 0;
_root.error_play = 3;
}
_root.enemy_count = ((((((((((((((_root.red_alien_ship_count + _root.lexx_count) + _root.spider_count) + _root.tank_count) + _root.buggy_count) + _root.helicopter_count) + _root.nuketruck_count) + _root.hovertank_count) + _root.lazertank_count) + _root.trooper_count) + _root.blacktank_count) + _root.battletank_count) + _root.rockettank_count) + _root.nukebuggy_count) + _root.flyer1_count) + _root.flyer2_count;
_root.projectile_1_dmg = ((13 + random(10)) * dmg_modifier) * _root.dmgup;
_root.projectile_2_dmg = ((20 + random(50)) * dmg_modifier) * _root.dmgup;
_root.projectile_3_dmg = ((14 + random(11)) * dmg_modifier) * _root.dmgup;
_root.projectile_4_dmg = ((100 + random(400)) * dmg_modifier) * _root.dmgup;
_root.mine_dmg = ((200 + random(200)) * dmg_modifier) * _root.dmgup;
_root.nukemine_dmg = ((500 + random(500)) * dmg_modifier) * _root.dmgup;
_root.raygun_dmg = ((100 + random(300)) * dmg_modifier) * _root.dmgup;
_root.shockwave_dmg = (random(300) * dmg_modifier) * _root.dmgup;
_root.red_alien_ship_dmg = (300 + random(200)) * _root.red_alien_ship_lvl;
_root.red_alien_ship_cash = _root.red_alien_ship_cash_base + (40 * (_root.red_alien_ship_lvl - 1));
_root.lexx_dmg = 400 + random(300);
_root.tank_dmg = 150 + random(150);
_root.spider_dmg = 400 + random(600);
_root.buggy_dmg = 50 + random(150);
_root.hovertank_dmg = 100 + random(250);
_root.helicopter_dmg = 150 + random(50);
_root.nuketruck_dmg = 3000;
_root.lazertank_dmg = 300 + random(200);
_root.battletank_dmg = 400 + random(400);
_root.flyer1_dmg = 300 + random(400);
_root.flyer2_dmg = 200 + random(300);
_root.rockettank_dmg = 200 + random(400);
_root.blacktank_dmg = 600 + random(600);
_root.trooper_dmg = 50 + random(150);
_root.custom_cursor_off = _root.game_on_hold;
if (yiffrestart != 1337) {
credits = "Project Started 01.12.2006 / Project Finished 18.02.2007 (c) DimonZerg";
yiffrestart = 1337;
if (_root.load_slot_1 eq 1) {
_root.activate_saveslot_1 = 1;
_root.load_slot_1 = 0;
} else if (_root.load_slot_2 eq 1) {
_root.activate_saveslot_2 = 1;
_root.load_slot_2 = 0;
}
_root.power_lvl = 1;
_root.shield_lvl = 0;
_root.dmg_lvl = 0;
_root.energy_lvl = 0;
_root.guns_enabled = 1;
_root.wave = 1;
_root.game_on_hold = 1;
_root.weapon_equiped = 1;
_root.speedmax = 0.45;
_root.max_projectiles = 20;
_root.max_projectiles3 = 25;
_root.max_projectiles4 = 5;
_root.energy_max = 1000;
_root.energy_max_base = 1000;
_root.energy_regen = 2;
_root.energy = _root.energy_max;
_root.shield_max = 1000;
_root.shield_max_base = 1000;
_root.shield = _root.shield_max;
_root.shield_regen = 1;
_root.structure_max = 1000;
_root.structure = _root.structure_max;
_root.cash = 2000;
_root.weapon_1_encost = 25;
_root.weapon_2_encost = 80;
_root.weapon_3_encost = 25;
_root.weapon_4_encost = 400;
_root.weapon_5_encost = 450;
_root.weapon_6_encost = 300;
_root.red_alien_ship_cash_base = 10;
_root.lexx_cash = 25;
_root.spider_cash = 80;
_root.tank_cash = 40;
_root.buggy_cash = 35;
_root.nukebuggy_cash = 50;
_root.hovertank_cash = 40;
_root.helicopter_cash = 30;
_root.nuketruck_cash = 100;
_root.lazertank_cash = 50;
_root.battletank_cash = 80;
_root.rockettank_cash = 80;
_root.blacktank_cash = 90;
_root.flyer1_cash = 85;
_root.flyer2_cash = 85;
_root.trooper_cash = 30;
_root.red_alien_ship_speed = 2;
_root.red_alien_ship_count = 0;
_root.red_alien_ship_number = 0;
_root.red_alien_ship_hp = 100;
_root.lexx_speed = 1.5;
_root.lexx_count = 0;
_root.lexx_number = 0;
_root.lexx_hp = 130;
_root.spider_speed = 1;
_root.spider_count = 0;
_root.spider_number = 0;
_root.spider_hp = 2000;
_root.tank_speed = 1.2;
_root.tank_count = 0;
_root.tank_number = 0;
_root.tank_hp = 500;
_root.buggy_speed = 2;
_root.buggy_count = 0;
_root.buggy_number = 0;
_root.buggy_hp = 250;
_root.helicopter_speed = 1.8;
_root.helicopter_count = 0;
_root.helicopter_number = 0;
_root.helicopter_hp = 250;
_root.nuketruck_speed = 1;
_root.nuketruck_count = 0;
_root.nuketruck_number = 0;
_root.nuketruck_hp = 5000;
_root.hovertank_speed = 2.3;
_root.hovertank_count = 0;
_root.hovertank_number = 0;
_root.hovertank_hp = 400;
_root.lazertank_speed = 1;
_root.lazertank_count = 0;
_root.lazertank_number = 0;
_root.lazertank_hp = 1000;
_root.trooper_speed = 2;
_root.trooper_count = 0;
_root.trooper_number = 0;
_root.trooper_hp = 180;
_root.flyer1_speed = 0.9;
_root.flyer1_count = 0;
_root.flyer1_number = 0;
_root.flyer1_hp = 8000;
_root.flyer2_speed = 0.8;
_root.flyer2_count = 0;
_root.flyer2_number = 0;
_root.flyer2_hp = 16000;
_root.blacktank_speed = 0.8;
_root.blacktank_count = 0;
_root.blacktank_number = 0;
_root.blacktank_hp = 3000;
_root.blacktank_limit = 1;
_root.battletank_speed = 0.8;
_root.battletank_count = 0;
_root.battletank_number = 0;
_root.battletank_hp = 3500;
_root.rockettank_speed = 0.9;
_root.rockettank_count = 0;
_root.rockettank_number = 0;
_root.rockettank_hp = 2300;
_root.nukebuggy_speed = 2;
_root.nukebuggy_count = 0;
_root.nukebuggy_number = 0;
_root.nukebuggy_hp = 800;
_root.scenario_cheat_energy = 0;
_root.scenario_cheat_god = 0;
_root.scenario_cheat_cash = 0;
_root.shieldup = 1;
_root.dmgup = 1;
_root.powerup_dmg = 0;
_root.powerup_shield = 0;
_root.powerup_ammo = 0;
_root.ammo_bonus_lejit_na_polu = 0;
_root.powerup_lejit_na_polu = 0;
_root.death_menu_on = 0;
_root.base_dead = 0;
_root.blowallmines = 0;
_root.deploy_land_mines = 0;
_root.deploy_mines_mode = 0;
_root.tech_lvl = 0;
_root.wave_timer = 0;
_root.wave_timer_rough = 0;
_root.kill_all_enemies = 0;
_root.custom_cursor_off = 0;
_root.upgrades_menu_show = 0;
_root.error_play = 0;
_root.mine_deploy = 0;
_root.shockwave_start = 0;
_root.block_rotation = 0;
_root.enemy_max = 100;
_root.left_gun_enabled = 0;
_root.right_gun_enabled = 1;
_root.up_gun_enabled = 0;
_root.down_gun_enabled = 0;
_root.right_gun_shoot = 0;
_root.left_gun_shoot = 0;
_root.up_gun_shoot = 0;
_root.down_gun_shoot = 0;
speed = _root.speedmax;
_root.projectile_1_count = 0;
_root.enemy_count = 0;
_root.taking_explosive_dmg = 0;
_root.shakescreen = 0;
_root.dmg_taken = 0;
_root.trigger_1 = 0;
_root.trigger_2 = 0;
_root.trigger_3 = 0;
_root.trigger_4 = 0;
_root.trigger_5 = 0;
_root.trigger_6 = 0;
_root.trigger_7 = 0;
_root.trigger_8 = 0;
_root.trigger_9 = 0;
_root.trigger_10 = 0;
_root.weapon_available_2 = 0;
_root.weapon_available_3 = 0;
_root.weapon_available_4 = 0;
_root.weapon_available_5 = 0;
_root.weapon_available_6 = 0;
_root.weapon_available_7 = 0;
_root.weapon_available_8 = 0;
_root.projectile_1_1 = 0;
_root.projectile_1_2 = 0;
_root.projectile_1_3 = 0;
_root.projectile_1_4 = 0;
_root.projectile_1_5 = 0;
_root.projectile_1_6 = 0;
_root.projectile_1_7 = 0;
_root.projectile_1_8 = 0;
_root.projectile_1_9 = 0;
_root.projectile_1_10 = 0;
_root.projectile_1_11 = 0;
_root.projectile_1_12 = 0;
_root.projectile_1_13 = 0;
_root.projectile_1_14 = 0;
_root.projectile_1_15 = 0;
_root.projectile_1_16 = 0;
_root.projectile_1_17 = 0;
_root.projectile_1_18 = 0;
_root.projectile_1_19 = 0;
_root.projectile_1_20 = 0;
_root.projectile_2_1 = 0;
_root.projectile_2_2 = 0;
_root.projectile_2_3 = 0;
_root.projectile_2_4 = 0;
_root.projectile_2_5 = 0;
_root.projectile_2_6 = 0;
_root.projectile_2_7 = 0;
_root.projectile_2_8 = 0;
_root.projectile_2_9 = 0;
_root.projectile_2_10 = 0;
_root.projectile_2_11 = 0;
_root.projectile_2_12 = 0;
_root.projectile_2_13 = 0;
_root.projectile_2_14 = 0;
_root.projectile_2_15 = 0;
_root.projectile_2_16 = 0;
_root.projectile_2_17 = 0;
_root.projectile_2_18 = 0;
_root.projectile_2_19 = 0;
_root.projectile_2_20 = 0;
_root.projectile_3_1 = 0;
_root.projectile_3_2 = 0;
_root.projectile_3_3 = 0;
_root.projectile_3_4 = 0;
_root.projectile_3_5 = 0;
_root.projectile_3_6 = 0;
_root.projectile_3_7 = 0;
_root.projectile_3_8 = 0;
_root.projectile_3_9 = 0;
_root.projectile_3_10 = 0;
_root.projectile_3_11 = 0;
_root.projectile_3_12 = 0;
_root.projectile_3_13 = 0;
_root.projectile_3_14 = 0;
_root.projectile_3_15 = 0;
_root.projectile_3_16 = 0;
_root.projectile_3_17 = 0;
_root.projectile_3_18 = 0;
_root.projectile_3_19 = 0;
_root.projectile_3_20 = 0;
_root.projectile_4_1 = 0;
_root.projectile_4_2 = 0;
_root.projectile_4_3 = 0;
_root.projectile_4_4 = 0;
_root.projectile_4_5 = 0;
_root.projectile_4_6 = 0;
_root.projectile_4_7 = 0;
_root.projectile_4_8 = 0;
_root.projectile_4_9 = 0;
_root.projectile_4_10 = 0;
_root.projectile_4_11 = 0;
_root.projectile_4_12 = 0;
_root.projectile_4_13 = 0;
_root.projectile_4_14 = 0;
_root.projectile_4_15 = 0;
_root.projectile_4_16 = 0;
_root.projectile_4_17 = 0;
_root.projectile_4_18 = 0;
_root.projectile_4_19 = 0;
_root.projectile_4_20 = 0;
_root.mine_installed_1 = 0;
_root.mine_installed_2 = 0;
_root.mine_installed_3 = 0;
_root.mine_installed_4 = 0;
_root.mine_installed_5 = 0;
_root.mine_installed_6 = 0;
_root.mine_installed_7 = 0;
_root.mine_installed_8 = 0;
_root.mine_installed_9 = 0;
_root.mine_installed_10 = 0;
_root.upgrade_points = 30;
_root.score = 0;
_root.weapon_ammo_2 = 20;
_root.weapon_ammo_3 = 100;
_root.weapon_ammo_4 = 3;
_root.weapon_ammo_5 = 3;
_root.weapon_ammo_6 = 3;
_root.ammo_rr = 0;
_root.ammo_2_rr = 0;
_root.ammo_3_rr = 0;
_root.ammo_4_rr = 0;
_root.ammo_5_rr = 0;
_root.ammo_6_rr = 0;
_root.trooper_rrmod = 0;
_root.red_alien_ship_rrmod = 0;
_root.lexx_rrmod = 0;
_root.spider_rrmod = 0;
_root.tank_rrmod = 0;
_root.buggy_rrmod = 0;
_root.nukebuggy_rrmod = 0;
_root.helicopter_rrmod = 0;
_root.nuketruck_rrmod = 0;
_root.hovertank_rrmod = 0;
_root.lazertank_rrmod = 0;
_root.blacktank_rrmod = 0;
_root.flyer1_rrmod = 0;
_root.flyer2_rrmod = 0;
_root.battletank_rrmod = 0;
_root.rockettank_rrmod = 0;
_root.trooper_rr2 = 0;
_root.red_alien_ship_rr2 = 0;
_root.lexx_rr2 = 0;
_root.spider_rr2 = 0;
_root.tank_rr2 = 0;
_root.buggy_rr2 = 0;
_root.nukebuggy_rr2 = 0;
_root.helicopter_rr2 = 0;
_root.nuketruck_rr2 = 0;
_root.hovertank_rr2 = 0;
_root.lazertank_rr2 = 0;
_root.blacktank_rr2 = 0;
_root.flyer1_rr2 = 0;
_root.flyer2_rr2 = 0;
_root.battletank_rr2 = 0;
_root.rockettank_rr2 = 0;
}
if ((_root.stop_all_respawns != 0) or (_root.game_on_hold eq 1)) {
_root.stop_all_respawns = 0;
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.spider_rr = 0;
_root.tank_rr = 0;
_root.buggy_rr = 0;
_root.nukebuggy_rr = 0;
_root.helicopter_rr = 0;
_root.nuketruck_rr = 0;
_root.hovertank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.flyer1_rr = 0;
_root.flyer2_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
}
if (_root.activate_saveslot_1 eq 1) {
_root.activate_saveslot_1 = 0;
save_slot1 = SharedObject.getLocal("save_slot1");
if (save_slot1.data.saved eq 1) {
_root.wave = save_slot1.data.wave;
_root.cash = save_slot1.data.cash;
_root.reset_used = save_slot1.data.reset_used;
_root.power_lvl = save_slot1.data.power_lvl;
_root.dmg_lvl = save_slot1.data.dmg_lvl;
_root.shield_lvl = save_slot1.data.shield_lvl;
_root.energy_lvl = save_slot1.data.energy_lvl;
_root.weapon_available_1 = save_slot1.data.weapon_available_1;
_root.weapon_available_2 = save_slot1.data.weapon_available_2;
_root.weapon_available_3 = save_slot1.data.weapon_available_3;
_root.weapon_available_4 = save_slot1.data.weapon_available_4;
_root.weapon_available_5 = save_slot1.data.weapon_available_5;
_root.weapon_available_6 = save_slot1.data.weapon_available_6;
_root.weapon_available_7 = save_slot1.data.weapon_available_7;
_root.weapon_available_8 = save_slot1.data.weapon_available_8;
}
} else if (_root.activate_saveslot_2 eq 1) {
_root.activate_saveslot_2 = 0;
save_slot2 = SharedObject.getLocal("save_slot2");
if (save_slot2.data.saved eq 1) {
_root.wave = save_slot2.data.wave;
_root.cash = save_slot2.data.cash;
_root.reset_used = save_slot1.data.reset_used;
_root.power_lvl = save_slot2.data.power_lvl;
_root.dmg_lvl = save_slot2.data.dmg_lvl;
_root.shield_lvl = save_slot2.data.shield_lvl;
_root.energy_lvl = save_slot2.data.energy_lvl;
_root.weapon_available_1 = save_slot2.data.weapon_available_1;
_root.weapon_available_2 = save_slot2.data.weapon_available_2;
_root.weapon_available_3 = save_slot2.data.weapon_available_3;
_root.weapon_available_4 = save_slot2.data.weapon_available_4;
_root.weapon_available_5 = save_slot2.data.weapon_available_5;
_root.weapon_available_6 = save_slot2.data.weapon_available_6;
_root.weapon_available_7 = save_slot2.data.weapon_available_7;
_root.weapon_available_8 = save_slot2.data.weapon_available_8;
}
}
if (_root.wave eq 1) {
_root.wave_length = 60;
} else if (_root.wave eq 2) {
_root.wave_length = 60;
} else if (_root.wave eq 3) {
_root.wave_length = 60;
} else if (_root.wave eq 4) {
_root.wave_length = 60;
} else if (_root.wave eq 5) {
_root.wave_length = 60;
} else if (_root.wave eq 6) {
_root.wave_length = 100;
} else if (_root.wave eq 7) {
_root.wave_length = 100;
} else if (_root.wave eq 8) {
_root.wave_length = 60;
} else if (_root.wave eq 9) {
_root.wave_length = 40;
} else if (_root.wave eq 10) {
_root.wave_length = 70;
} else if (_root.wave eq 11) {
_root.wave_length = 80;
} else if (_root.wave eq 12) {
_root.wave_length = 60;
} else if (_root.wave eq 13) {
_root.wave_length = 40;
} else if (_root.wave eq 14) {
_root.wave_length = 100;
} else if (_root.wave eq 15) {
_root.wave_length = 80;
} else if (_root.wave eq 16) {
_root.wave_length = 50;
} else if (_root.wave eq 17) {
_root.wave_length = 80;
} else if (_root.wave eq 18) {
_root.wave_length = 40;
} else if (_root.wave eq 19) {
_root.wave_length = 60;
} else if (_root.wave eq 20) {
_root.wave_length = 70;
} else if (_root.wave eq 21) {
_root.wave_length = 40;
} else if (_root.wave eq 22) {
_root.wave_length = 100;
} else if (_root.wave eq 23) {
_root.wave_length = 80;
} else if (_root.wave eq 24) {
_root.wave_length = 60;
} else if (_root.wave eq 25) {
_root.wave_length = 80;
} else if (_root.wave eq 26) {
_root.wave_length = 100;
} else if (_root.wave eq 27) {
_root.wave_length = 90;
} else if (_root.wave eq 28) {
_root.wave_length = 70;
} else if (_root.wave eq 29) {
_root.wave_length = 80;
} else if (_root.wave eq 30) {
_root.wave_length = 135;
} else if ((_root.wave eq 1337) or (_root.wave eq 7331)) {
_root.wave_length = 999999 /* 0x0F423F */;
}
if (_root.game_on_hold != 1) {
_root.wave_timer_rough = _root.wave_timer_rough + 0.0333333333333333;
}
_root.wave_timer = Math.floor(_root.wave_timer_rough);
if ((_root.wave_timer_rough > _root.wave_length) and (_root.enemy_count eq 0)) {
_root.game_on_hold = 1;
_root.wave_timer_rough = 0;
_root.wave_timer = 0;
_root.wave++;
_root.shield = _root.shield_max;
_root.structure = _root.structure_max;
}
if (_root.survival eq 1) {
_root.wave = 1337;
if (_root.weapon_ammo_2 < 0) {
_root.weapon_ammo_2 = 0;
}
if (_root.weapon_ammo_3 < 0) {
_root.weapon_ammo_3 = 0;
}
if (_root.weapon_ammo_4 < 0) {
_root.weapon_ammo_4 = 0;
}
if (_root.weapon_ammo_5 < 0) {
_root.weapon_ammo_5 = 0;
}
if (_root.weapon_ammo_6 < 0) {
_root.weapon_ammo_6 = 0;
}
}
if ((_root.survival eq 1) and (yiffrestart eq 1337)) {
_root.ammo_bonus_2 = 5 + random(5);
_root.ammo_bonus_3 = 100 + random(50);
_root.ammo_bonus_4 = 1 + random(3);
_root.ammo_bonus_6 = 1 + random(3);
_root.ammo_bonus_5 = 2 + random(4);
_root.score = Math.floor(_root.cash);
_root.wave_timer;
score_modifier = 1 + (_root.wave_timer / 30);
_root.red_alien_ship_cash_base = 10 * score_modifier;
_root.lexx_cash = 15 * score_modifier;
_root.spider_cash = 50 * score_modifier;
_root.tank_cash = 30 * score_modifier;
_root.buggy_cash = 20 * score_modifier;
_root.nukebuggy_cash = 70 * score_modifier;
_root.hovertank_cash = 40 * score_modifier;
_root.helicopter_cash = 25 * score_modifier;
_root.nuketruck_cash = 80 * score_modifier;
_root.lazertank_cash = 60 * score_modifier;
_root.battletank_cash = 100 * score_modifier;
_root.rockettank_cash = 90 * score_modifier;
_root.blacktank_cash = 90 * score_modifier;
_root.flyer1_cash = 120 * score_modifier;
_root.flyer2_cash = 150 * score_modifier;
_root.trooper_cash = 10 * score_modifier;
if (paramsset1337 != 1337) {
paramsset1337 = 1337;
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.bestscore >= 0) {
} else {
qb_stat.data.bestscore = 0;
}
_root.power_lvl = 4;
_root.cash = 0;
_root.shield_regen = 2;
_root.red_alien_ship_hp = 10;
_root.lexx_hp = 10;
_root.buggy_hp = 500;
_root.spider_hp = 2500;
_root.tank_hp = 1500;
_root.helicopter_hp = 600;
_root.nuketruck_hp = 5000;
_root.hovertank_hp = 900;
_root.lazertank_hp = 2000;
_root.trooper_hp = 400;
_root.flyer1_hp = 8000;
_root.flyer2_hp = 13000;
_root.blacktank_hp = 3000;
_root.battletank_hp = 3500;
_root.rockettank_hp = 2300;
_root.nukebuggy_hp = 800;
_root.weapon_available_3 = 1;
_root.weapon_available_2 = 1;
_root.weapon_available_1 = 1;
qb_stat = SharedObject.getLocal("qb_stat");
_root.weapon_available_4 = qb_stat.data.weapon_available_4;
_root.weapon_available_5 = qb_stat.data.weapon_available_5;
_root.weapon_available_6 = qb_stat.data.weapon_available_6;
_root.weapon_available_7 = qb_stat.data.weapon_available_7;
_root.weapon_available_8 = qb_stat.data.weapon_available_8;
}
}
if (((_root.game_on_hold eq 1) and (_root.survival != 1)) and (weaponstat != 1)) {
weaponstat = 1;
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.weapon_available_4 != 1) {
qb_stat.data.weapon_available_4 = _root.weapon_available_4;
}
if (qb_stat.data.weapon_available_5 != 1) {
qb_stat.data.weapon_available_5 = _root.weapon_available_5;
}
if (qb_stat.data.weapon_available_6 != 1) {
qb_stat.data.weapon_available_6 = _root.weapon_available_6;
}
if (qb_stat.data.weapon_available_7 != 1) {
qb_stat.data.weapon_available_7 = _root.weapon_available_7;
}
if (qb_stat.data.weapon_available_8 != 1) {
qb_stat.data.weapon_available_8 = _root.weapon_available_8;
}
}
if (_root.game_on_hold != 1) {
weaponstat = 1337;
}
if (_root.powerup_dmg > 0) {
_root.powerup_dmg = _root.powerup_dmg - 0.0333333333333333;
} else {
_root.powerup_dmg = 0;
}
if (_root.powerup_dmg > 0) {
_root.dmgup = 6;
} else {
_root.dmgup = 1;
}
if (_root.powerup_shield > 0) {
_root.powerup_shield = _root.powerup_shield - 0.0333333333333333;
} else {
_root.powerup_shield = 0;
}
if (_root.powerup_shield > 0) {
_root.shieldup = 5;
} else {
_root.shieldup = 1;
}
if (_root.powerup_ammo > 0) {
_root.powerup_ammo = _root.powerup_ammo - 0.0333333333333333;
} else {
_root.powerup_ammo = 0;
}
if ((_root.construct_mode eq 1) and (desuconstructyiff != 1337)) {
desuconstructyiff = 1337;
_root.wave = 7331;
_root.construct_limit = 5;
_root.cash = 70000 /* 0x011170 */;
}
if ((_root.construct_mode eq 1) and (_root.game_on_hold eq 1)) {
if (_root.trooper_rrmod eq 0) {
_root.trooper_rr2 = 0;
} else if (_root.trooper_rrmod eq 1) {
_root.trooper_rr2 = 1000;
} else if (_root.trooper_rrmod eq 2) {
_root.trooper_rr2 = 850;
} else if (_root.trooper_rrmod eq 3) {
_root.trooper_rr2 = 750;
} else if (_root.trooper_rrmod eq 4) {
_root.trooper_rr2 = 650;
} else if (_root.trooper_rrmod eq 5) {
_root.trooper_rr2 = 550;
} else if (_root.trooper_rrmod eq 6) {
_root.trooper_rr2 = 450;
} else if (_root.trooper_rrmod eq 7) {
_root.trooper_rr2 = 300;
} else if (_root.trooper_rrmod eq 8) {
_root.trooper_rr2 = 200;
} else if (_root.trooper_rrmod eq 9) {
_root.trooper_rr2 = 150;
} else if (_root.trooper_rrmod eq 10) {
_root.trooper_rr2 = 100;
} else if (_root.trooper_rrmod eq 11) {
_root.trooper_rr2 = 25;
}
if (_root.red_alien_ship_rrmod eq 0) {
_root.red_alien_ship_rr2 = 0;
} else if (_root.red_alien_ship_rrmod eq 1) {
_root.red_alien_ship_rr2 = 1000;
} else if (_root.red_alien_ship_rrmod eq 2) {
_root.red_alien_ship_rr2 = 850;
} else if (_root.red_alien_ship_rrmod eq 3) {
_root.red_alien_ship_rr2 = 750;
} else if (_root.red_alien_ship_rrmod eq 4) {
_root.red_alien_ship_rr2 = 650;
} else if (_root.red_alien_ship_rrmod eq 5) {
_root.red_alien_ship_rr2 = 550;
} else if (_root.red_alien_ship_rrmod eq 6) {
_root.red_alien_ship_rr2 = 450;
} else if (_root.red_alien_ship_rrmod eq 7) {
_root.red_alien_ship_rr2 = 300;
} else if (_root.red_alien_ship_rrmod eq 8) {
_root.red_alien_ship_rr2 = 200;
} else if (_root.red_alien_ship_rrmod eq 9) {
_root.red_alien_ship_rr2 = 150;
} else if (_root.red_alien_ship_rrmod eq 10) {
_root.red_alien_ship_rr2 = 100;
} else if (_root.red_alien_ship_rrmod eq 11) {
_root.red_alien_ship_rr2 = 25;
}
if (_root.lexx_rrmod eq 0) {
_root.lexx_rr2 = 0;
} else if (_root.lexx_rrmod eq 1) {
_root.lexx_rr2 = 1000;
} else if (_root.lexx_rrmod eq 2) {
_root.lexx_rr2 = 850;
} else if (_root.lexx_rrmod eq 3) {
_root.lexx_rr2 = 750;
} else if (_root.lexx_rrmod eq 4) {
_root.lexx_rr2 = 650;
} else if (_root.lexx_rrmod eq 5) {
_root.lexx_rr2 = 550;
} else if (_root.lexx_rrmod eq 6) {
_root.lexx_rr2 = 450;
} else if (_root.lexx_rrmod eq 7) {
_root.lexx_rr2 = 300;
} else if (_root.lexx_rrmod eq 8) {
_root.lexx_rr2 = 200;
} else if (_root.lexx_rrmod eq 9) {
_root.lexx_rr2 = 150;
} else if (_root.lexx_rrmod eq 10) {
_root.lexx_rr2 = 100;
} else if (_root.lexx_rrmod eq 11) {
_root.lexx_rr2 = 25;
}
if (_root.spider_rrmod eq 0) {
_root.spider_rr2 = 0;
} else if (_root.spider_rrmod eq 1) {
_root.spider_rr2 = 1000;
} else if (_root.spider_rrmod eq 2) {
_root.spider_rr2 = 850;
} else if (_root.spider_rrmod eq 3) {
_root.spider_rr2 = 750;
} else if (_root.spider_rrmod eq 4) {
_root.spider_rr2 = 650;
} else if (_root.spider_rrmod eq 5) {
_root.spider_rr2 = 550;
} else if (_root.spider_rrmod eq 6) {
_root.spider_rr2 = 450;
} else if (_root.spider_rrmod eq 7) {
_root.spider_rr2 = 300;
} else if (_root.spider_rrmod eq 8) {
_root.spider_rr2 = 200;
} else if (_root.spider_rrmod eq 9) {
_root.spider_rr2 = 150;
} else if (_root.spider_rrmod eq 10) {
_root.spider_rr2 = 100;
} else if (_root.spider_rrmod eq 11) {
_root.spider_rr2 = 25;
}
if (_root.tank_rrmod eq 0) {
_root.tank_rr2 = 0;
} else if (_root.tank_rrmod eq 1) {
_root.tank_rr2 = 1000;
} else if (_root.tank_rrmod eq 2) {
_root.tank_rr2 = 850;
} else if (_root.tank_rrmod eq 3) {
_root.tank_rr2 = 750;
} else if (_root.tank_rrmod eq 4) {
_root.tank_rr2 = 650;
} else if (_root.tank_rrmod eq 5) {
_root.tank_rr2 = 550;
} else if (_root.tank_rrmod eq 6) {
_root.tank_rr2 = 450;
} else if (_root.tank_rrmod eq 7) {
_root.tank_rr2 = 300;
} else if (_root.tank_rrmod eq 8) {
_root.tank_rr2 = 200;
} else if (_root.tank_rrmod eq 9) {
_root.tank_rr2 = 150;
} else if (_root.tank_rrmod eq 10) {
_root.tank_rr2 = 100;
} else if (_root.tank_rrmod eq 11) {
_root.tank_rr2 = 25;
}
if (_root.buggy_rrmod eq 0) {
_root.buggy_rr2 = 0;
} else if (_root.buggy_rrmod eq 1) {
_root.buggy_rr2 = 1000;
} else if (_root.buggy_rrmod eq 2) {
_root.buggy_rr2 = 850;
} else if (_root.buggy_rrmod eq 3) {
_root.buggy_rr2 = 750;
} else if (_root.buggy_rrmod eq 4) {
_root.buggy_rr2 = 650;
} else if (_root.buggy_rrmod eq 5) {
_root.buggy_rr2 = 550;
} else if (_root.buggy_rrmod eq 6) {
_root.buggy_rr2 = 450;
} else if (_root.buggy_rrmod eq 7) {
_root.buggy_rr2 = 300;
} else if (_root.buggy_rrmod eq 8) {
_root.buggy_rr2 = 200;
} else if (_root.buggy_rrmod eq 9) {
_root.buggy_rr2 = 150;
} else if (_root.buggy_rrmod eq 10) {
_root.buggy_rr2 = 100;
} else if (_root.buggy_rrmod eq 11) {
_root.buggy_rr2 = 25;
}
if (_root.nukebuggy_rrmod eq 0) {
_root.nukebuggy_rr2 = 0;
} else if (_root.nukebuggy_rrmod eq 1) {
_root.nukebuggy_rr2 = 1000;
} else if (_root.nukebuggy_rrmod eq 2) {
_root.nukebuggy_rr2 = 850;
} else if (_root.nukebuggy_rrmod eq 3) {
_root.nukebuggy_rr2 = 750;
} else if (_root.nukebuggy_rrmod eq 4) {
_root.nukebuggy_rr2 = 650;
} else if (_root.nukebuggy_rrmod eq 5) {
_root.nukebuggy_rr2 = 550;
} else if (_root.nukebuggy_rrmod eq 6) {
_root.nukebuggy_rr2 = 450;
} else if (_root.nukebuggy_rrmod eq 7) {
_root.nukebuggy_rr2 = 300;
} else if (_root.nukebuggy_rrmod eq 8) {
_root.nukebuggy_rr2 = 200;
} else if (_root.nukebuggy_rrmod eq 9) {
_root.nukebuggy_rr2 = 150;
} else if (_root.nukebuggy_rrmod eq 10) {
_root.nukebuggy_rr2 = 100;
} else if (_root.nukebuggy_rrmod eq 11) {
_root.nukebuggy_rr2 = 25;
}
if (_root.helicopter_rrmod eq 0) {
_root.helicopter_rr2 = 0;
} else if (_root.helicopter_rrmod eq 1) {
_root.helicopter_rr2 = 1000;
} else if (_root.helicopter_rrmod eq 2) {
_root.helicopter_rr2 = 850;
} else if (_root.helicopter_rrmod eq 3) {
_root.helicopter_rr2 = 750;
} else if (_root.helicopter_rrmod eq 4) {
_root.helicopter_rr2 = 650;
} else if (_root.helicopter_rrmod eq 5) {
_root.helicopter_rr2 = 550;
} else if (_root.helicopter_rrmod eq 6) {
_root.helicopter_rr2 = 450;
} else if (_root.helicopter_rrmod eq 7) {
_root.helicopter_rr2 = 300;
} else if (_root.helicopter_rrmod eq 8) {
_root.helicopter_rr2 = 200;
} else if (_root.helicopter_rrmod eq 9) {
_root.helicopter_rr2 = 150;
} else if (_root.helicopter_rrmod eq 10) {
_root.helicopter_rr2 = 100;
} else if (_root.helicopter_rrmod eq 11) {
_root.helicopter_rr2 = 25;
}
if (_root.nuketruck_rrmod eq 0) {
_root.nuketruck_rr2 = 0;
} else if (_root.nuketruck_rrmod eq 1) {
_root.nuketruck_rr2 = 1000;
} else if (_root.nuketruck_rrmod eq 2) {
_root.nuketruck_rr2 = 850;
} else if (_root.nuketruck_rrmod eq 3) {
_root.nuketruck_rr2 = 750;
} else if (_root.nuketruck_rrmod eq 4) {
_root.nuketruck_rr2 = 650;
} else if (_root.nuketruck_rrmod eq 5) {
_root.nuketruck_rr2 = 550;
} else if (_root.nuketruck_rrmod eq 6) {
_root.nuketruck_rr2 = 450;
} else if (_root.nuketruck_rrmod eq 7) {
_root.nuketruck_rr2 = 300;
} else if (_root.nuketruck_rrmod eq 8) {
_root.nuketruck_rr2 = 200;
} else if (_root.nuketruck_rrmod eq 9) {
_root.nuketruck_rr2 = 150;
} else if (_root.nuketruck_rrmod eq 10) {
_root.nuketruck_rr2 = 100;
} else if (_root.nuketruck_rrmod eq 11) {
_root.nuketruck_rr2 = 25;
}
if (_root.hovertank_rrmod eq 0) {
_root.hovertank_rr2 = 0;
} else if (_root.hovertank_rrmod eq 1) {
_root.hovertank_rr2 = 1000;
} else if (_root.hovertank_rrmod eq 2) {
_root.hovertank_rr2 = 850;
} else if (_root.hovertank_rrmod eq 3) {
_root.hovertank_rr2 = 750;
} else if (_root.hovertank_rrmod eq 4) {
_root.hovertank_rr2 = 650;
} else if (_root.hovertank_rrmod eq 5) {
_root.hovertank_rr2 = 550;
} else if (_root.hovertank_rrmod eq 6) {
_root.hovertank_rr2 = 450;
} else if (_root.hovertank_rrmod eq 7) {
_root.hovertank_rr2 = 300;
} else if (_root.hovertank_rrmod eq 8) {
_root.hovertank_rr2 = 200;
} else if (_root.hovertank_rrmod eq 9) {
_root.hovertank_rr2 = 150;
} else if (_root.hovertank_rrmod eq 10) {
_root.hovertank_rr2 = 100;
} else if (_root.hovertank_rrmod eq 11) {
_root.hovertank_rr2 = 25;
}
if (_root.lazertank_rrmod eq 0) {
_root.lazertank_rr2 = 0;
} else if (_root.lazertank_rrmod eq 1) {
_root.lazertank_rr2 = 1000;
} else if (_root.lazertank_rrmod eq 2) {
_root.lazertank_rr2 = 850;
} else if (_root.lazertank_rrmod eq 3) {
_root.lazertank_rr2 = 750;
} else if (_root.lazertank_rrmod eq 4) {
_root.lazertank_rr2 = 650;
} else if (_root.lazertank_rrmod eq 5) {
_root.lazertank_rr2 = 550;
} else if (_root.lazertank_rrmod eq 6) {
_root.lazertank_rr2 = 450;
} else if (_root.lazertank_rrmod eq 7) {
_root.lazertank_rr2 = 300;
} else if (_root.lazertank_rrmod eq 8) {
_root.lazertank_rr2 = 200;
} else if (_root.lazertank_rrmod eq 9) {
_root.lazertank_rr2 = 150;
} else if (_root.lazertank_rrmod eq 10) {
_root.lazertank_rr2 = 100;
} else if (_root.lazertank_rrmod eq 11) {
_root.lazertank_rr2 = 25;
}
if (_root.blacktank_rrmod eq 0) {
_root.blacktank_rr2 = 0;
} else if (_root.blacktank_rrmod eq 1) {
_root.blacktank_rr2 = 1000;
} else if (_root.blacktank_rrmod eq 2) {
_root.blacktank_rr2 = 850;
} else if (_root.blacktank_rrmod eq 3) {
_root.blacktank_rr2 = 750;
} else if (_root.blacktank_rrmod eq 4) {
_root.blacktank_rr2 = 650;
} else if (_root.blacktank_rrmod eq 5) {
_root.blacktank_rr2 = 550;
} else if (_root.blacktank_rrmod eq 6) {
_root.blacktank_rr2 = 450;
} else if (_root.blacktank_rrmod eq 7) {
_root.blacktank_rr2 = 300;
} else if (_root.blacktank_rrmod eq 8) {
_root.blacktank_rr2 = 200;
} else if (_root.blacktank_rrmod eq 9) {
_root.blacktank_rr2 = 150;
} else if (_root.blacktank_rrmod eq 10) {
_root.blacktank_rr2 = 100;
} else if (_root.blacktank_rrmod eq 11) {
_root.blacktank_rr2 = 25;
}
if (_root.flyer1_rrmod eq 0) {
_root.flyer1_rr2 = 0;
} else if (_root.flyer1_rrmod eq 1) {
_root.flyer1_rr2 = 1000;
} else if (_root.flyer1_rrmod eq 2) {
_root.flyer1_rr2 = 850;
} else if (_root.flyer1_rrmod eq 3) {
_root.flyer1_rr2 = 750;
} else if (_root.flyer1_rrmod eq 4) {
_root.flyer1_rr2 = 650;
} else if (_root.flyer1_rrmod eq 5) {
_root.flyer1_rr2 = 550;
} else if (_root.flyer1_rrmod eq 6) {
_root.flyer1_rr2 = 450;
} else if (_root.flyer1_rrmod eq 7) {
_root.flyer1_rr2 = 300;
} else if (_root.flyer1_rrmod eq 8) {
_root.flyer1_rr2 = 200;
} else if (_root.flyer1_rrmod eq 9) {
_root.flyer1_rr2 = 150;
} else if (_root.flyer1_rrmod eq 10) {
_root.flyer1_rr2 = 100;
} else if (_root.flyer1_rrmod eq 11) {
_root.flyer1_rr2 = 25;
}
if (_root.flyer2_rrmod eq 0) {
_root.flyer2_rr2 = 0;
} else if (_root.flyer2_rrmod eq 1) {
_root.flyer2_rr2 = 1000;
} else if (_root.flyer2_rrmod eq 2) {
_root.flyer2_rr2 = 850;
} else if (_root.flyer2_rrmod eq 3) {
_root.flyer2_rr2 = 750;
} else if (_root.flyer2_rrmod eq 4) {
_root.flyer2_rr2 = 650;
} else if (_root.flyer2_rrmod eq 5) {
_root.flyer2_rr2 = 550;
} else if (_root.flyer2_rrmod eq 6) {
_root.flyer2_rr2 = 450;
} else if (_root.flyer2_rrmod eq 7) {
_root.flyer2_rr2 = 300;
} else if (_root.flyer2_rrmod eq 8) {
_root.flyer2_rr2 = 200;
} else if (_root.flyer2_rrmod eq 9) {
_root.flyer2_rr2 = 150;
} else if (_root.flyer2_rrmod eq 10) {
_root.flyer2_rr2 = 100;
} else if (_root.flyer2_rrmod eq 11) {
_root.flyer2_rr2 = 25;
}
if (_root.battletank_rrmod eq 0) {
_root.battletank_rr2 = 0;
} else if (_root.battletank_rrmod eq 1) {
_root.battletank_rr2 = 1000;
} else if (_root.battletank_rrmod eq 2) {
_root.battletank_rr2 = 850;
} else if (_root.battletank_rrmod eq 3) {
_root.battletank_rr2 = 750;
} else if (_root.battletank_rrmod eq 4) {
_root.battletank_rr2 = 650;
} else if (_root.battletank_rrmod eq 5) {
_root.battletank_rr2 = 550;
} else if (_root.battletank_rrmod eq 6) {
_root.battletank_rr2 = 450;
} else if (_root.battletank_rrmod eq 7) {
_root.battletank_rr2 = 300;
} else if (_root.battletank_rrmod eq 8) {
_root.battletank_rr2 = 200;
} else if (_root.battletank_rrmod eq 9) {
_root.battletank_rr2 = 150;
} else if (_root.battletank_rrmod eq 10) {
_root.battletank_rr2 = 100;
} else if (_root.battletank_rrmod eq 11) {
_root.battletank_rr2 = 25;
}
if (_root.rockettank_rrmod eq 0) {
_root.rockettank_rr2 = 0;
} else if (_root.rockettank_rrmod eq 1) {
_root.rockettank_rr2 = 1000;
} else if (_root.rockettank_rrmod eq 2) {
_root.rockettank_rr2 = 850;
} else if (_root.rockettank_rrmod eq 3) {
_root.rockettank_rr2 = 750;
} else if (_root.rockettank_rrmod eq 4) {
_root.rockettank_rr2 = 650;
} else if (_root.rockettank_rrmod eq 5) {
_root.rockettank_rr2 = 550;
} else if (_root.rockettank_rrmod eq 6) {
_root.rockettank_rr2 = 450;
} else if (_root.rockettank_rrmod eq 7) {
_root.rockettank_rr2 = 300;
} else if (_root.rockettank_rrmod eq 8) {
_root.rockettank_rr2 = 200;
} else if (_root.rockettank_rrmod eq 9) {
_root.rockettank_rr2 = 150;
} else if (_root.rockettank_rrmod eq 10) {
_root.rockettank_rr2 = 100;
} else if (_root.rockettank_rrmod eq 11) {
_root.rockettank_rr2 = 25;
}
}
if (desudesudesuyiffzomg != 1337) {
desudesudesuyiffzomg = 1337;
unit_1.gotoAndStop(3);
unit_2.gotoAndStop(3);
unit_3.gotoAndStop(3);
unit_4.gotoAndStop(3);
unit_5.gotoAndStop(3);
unit_6.gotoAndStop(3);
unit_7.gotoAndStop(3);
unit_8.gotoAndStop(3);
unit_9.gotoAndStop(3);
unit_10.gotoAndStop(3);
unit_11.gotoAndStop(3);
unit_12.gotoAndStop(3);
unit_13.gotoAndStop(3);
unit_14.gotoAndStop(3);
unit_15.gotoAndStop(3);
unit_16.gotoAndStop(3);
unit_17.gotoAndStop(3);
unit_18.gotoAndStop(3);
unit_19.gotoAndStop(3);
unit_20.gotoAndStop(3);
}
Instance of Symbol 221 MovieClip "unit_2" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.red_alien_ship_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.red_alien_ship_number < 100) {
_root.red_alien_ship_number++;
} else {
_root.red_alien_ship_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "redship" + _root.red_alien_ship_number, _root.red_alien_ship_number + 5100);
_root.game["redship" + _root.red_alien_ship_number]._x = kyda_x;
_root.game["redship" + _root.red_alien_ship_number]._y = kyda_y;
_root.game["redship" + _root.red_alien_ship_number].go = 1;
}
}
Instance of Symbol 233 MovieClip "mine_source" in Symbol 1168 MovieClip Frame 1
onClipEvent (load) {
_rotation = random(360);
}
Instance of Symbol 261 MovieClip "unit_1" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.lexx_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.lexx_number < 100) {
_root.lexx_number++;
} else {
_root.lexx_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "lexx" + _root.lexx_number, _root.lexx_number + 5200);
_root.game["lexx" + _root.lexx_number]._x = kyda_x;
_root.game["lexx" + _root.lexx_number]._y = kyda_y;
_root.game["lexx" + _root.lexx_number].go = 1;
}
}
Instance of Symbol 324 MovieClip "unit_11" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.spider_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.spider_count < 6)) {
if (_root.spider_number < 100) {
_root.spider_number++;
} else {
_root.spider_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "spider" + _root.spider_number, _root.spider_number + 700);
_root.game["spider" + _root.spider_number]._x = kyda_x;
_root.game["spider" + _root.spider_number]._y = kyda_y;
_root.game["spider" + _root.spider_number].go = 1;
}
}
Instance of Symbol 359 MovieClip "unit_7" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.tank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.tank_count < 10)) {
if (_root.tank_number < 100) {
_root.tank_number++;
} else {
_root.tank_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "tank" + _root.tank_number, _root.tank_number + 500);
_root.game["tank" + _root.tank_number]._x = kyda_x;
_root.game["tank" + _root.tank_number]._y = kyda_y;
_root.game["tank" + _root.tank_number].go = 1;
}
}
Instance of Symbol 402 MovieClip "unit_5" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.buggy_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.buggy_number < 100) {
_root.buggy_number++;
} else {
_root.buggy_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "buggy" + _root.buggy_number, _root.buggy_number + 400);
_root.game["buggy" + _root.buggy_number]._x = kyda_x;
_root.game["buggy" + _root.buggy_number]._y = kyda_y;
_root.game["buggy" + _root.buggy_number].go = 1;
}
}
Instance of Symbol 433 MovieClip "unit_4" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.helicopter_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.helicopter_number < 100) {
_root.helicopter_number++;
} else {
_root.helicopter_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "helicopter" + _root.helicopter_number, _root.helicopter_number + 5000);
_root.game["helicopter" + _root.helicopter_number]._x = kyda_x;
_root.game["helicopter" + _root.helicopter_number]._y = kyda_y;
_root.game["helicopter" + _root.helicopter_number].go = 1;
}
}
Instance of Symbol 532 MovieClip "unit_6" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.nuketruck_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.nuketruck_count < 10)) {
if (_root.nuketruck_number < 100) {
_root.nuketruck_number++;
} else {
_root.nuketruck_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "nuketruck" + _root.nuketruck_number, _root.nuketruck_number + 600);
_root.game["nuketruck" + _root.nuketruck_number]._x = kyda_x;
_root.game["nuketruck" + _root.nuketruck_number]._y = kyda_y;
_root.game["nuketruck" + _root.nuketruck_number].go = 1;
}
}
Instance of Symbol 557 MovieClip "nukemine" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (activated != 1) {
gotoAndStop (3);
}
if ((yiff eq 1) and (activated != 1)) {
yiff = 0;
duplicateMovieClip (this, "nukemine_installed", 50);
_root.game.nukemine_installed._x = _root.game._xmouse;
_root.game.nukemine_installed._y = _root.game._ymouse;
_root.game.nukemine_installed.activated = 1;
}
}
Instance of Symbol 572 MovieClip "unit_10" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.hovertank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.hovertank_number < 100) {
_root.hovertank_number++;
} else {
_root.hovertank_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "hovertank" + _root.hovertank_number, _root.hovertank_number + 900);
_root.game["hovertank" + _root.hovertank_number]._x = kyda_x;
_root.game["hovertank" + _root.hovertank_number]._y = kyda_y;
_root.game["hovertank" + _root.hovertank_number].go = 1;
}
}
Instance of Symbol 598 MovieClip "unit_8" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.lazertank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.lazertank_count < 10)) {
if (_root.lazertank_number < 100) {
_root.lazertank_number++;
} else {
_root.lazertank_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "lazertank" + _root.lazertank_number, _root.lazertank_number + 800);
_root.game["lazertank" + _root.lazertank_number]._x = kyda_x;
_root.game["lazertank" + _root.lazertank_number]._y = kyda_y;
_root.game["lazertank" + _root.lazertank_number].go = 1;
}
}
Instance of Symbol 679 MovieClip "unit_3" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.trooper_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.trooper_number < 100) {
_root.trooper_number++;
} else {
_root.trooper_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "trooper" + _root.trooper_number, _root.trooper_number + 4900);
_root.game["trooper" + _root.trooper_number]._x = kyda_x;
_root.game["trooper" + _root.trooper_number]._y = kyda_y;
_root.game["trooper" + _root.trooper_number].go = 1;
}
}
Instance of Symbol 720 MovieClip "unit_9" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.blacktank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.blacktank_count < _root.blacktank_limit)) {
if (_root.blacktank_number < 100) {
_root.blacktank_number++;
} else {
_root.blacktank_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "blacktank" + _root.blacktank_number, _root.blacktank_number + 1300);
_root.game["blacktank" + _root.blacktank_number]._x = kyda_x;
_root.game["blacktank" + _root.blacktank_number]._y = kyda_y;
_root.game["blacktank" + _root.blacktank_number].go = 1;
}
}
Instance of Symbol 732 MovieClip "unit_12" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.nukebuggy_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.nukebuggy_number < 100) {
_root.nukebuggy_number++;
} else {
_root.nukebuggy_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "nukebuggy" + _root.nukebuggy_number, _root.nukebuggy_number + 1400);
_root.game["nukebuggy" + _root.nukebuggy_number]._x = kyda_x;
_root.game["nukebuggy" + _root.nukebuggy_number]._y = kyda_y;
_root.game["nukebuggy" + _root.nukebuggy_number].go = 1;
}
}
Instance of Symbol 760 MovieClip "unit_13" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.battletank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.battletank_count < 10)) {
if (_root.battletank_number < 100) {
_root.battletank_number++;
} else {
_root.battletank_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "battletank" + _root.battletank_number, _root.battletank_number + 1500);
_root.game["battletank" + _root.battletank_number]._x = kyda_x;
_root.game["battletank" + _root.battletank_number]._y = kyda_y;
_root.game["battletank" + _root.battletank_number].go = 1;
}
}
Instance of Symbol 795 MovieClip "unit_14" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.rockettank_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.rockettank_count < 10)) {
if (_root.rockettank_number < 100) {
_root.rockettank_number++;
} else {
_root.rockettank_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "rockettank" + _root.rockettank_number, _root.rockettank_number + 1600);
_root.game["rockettank" + _root.rockettank_number]._x = kyda_x;
_root.game["rockettank" + _root.rockettank_number]._y = kyda_y;
_root.game["rockettank" + _root.rockettank_number].go = 1;
}
}
Instance of Symbol 842 MovieClip "unit_15" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if (((random(_root.flyer1_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) {
if (_root.flyer1_number < 100) {
_root.flyer1_number++;
} else {
_root.flyer1_number = 0;
}
kuda = random(4);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_y = -330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
} else if (kuda eq 2) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 3) {
kyda_y = 330;
kyda_x = random(430);
if (random(2) eq 1) {
kyda_x = kyda_x * -1;
}
}
duplicateMovieClip (this, "flyer1" + _root.flyer1_number, _root.flyer1_number + 5400);
_root.game["flyer1" + _root.flyer1_number]._x = kyda_x;
_root.game["flyer1" + _root.flyer1_number]._y = kyda_y;
_root.game["flyer1" + _root.flyer1_number].go = 1;
}
}
Instance of Symbol 875 MovieClip "unit_16" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go != 1) {
gotoAndStop (3);
}
if ((((random(_root.flyer2_rr) eq 2) and (_root.enemy_count < _root.enemy_max)) and (go != 1)) and (_root.flyer2_count < 10)) {
if (_root.flyer2_number < 100) {
_root.flyer2_number++;
} else {
_root.flyer2_number = 0;
}
kuda = random(2);
if (kuda eq 0) {
kyda_x = -430;
kyda_y = random(320);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
} else if (kuda eq 1) {
kyda_x = 430;
kyda_y = random(330);
if (random(2) eq 1) {
kyda_y = kyda_y * -1;
}
}
duplicateMovieClip (this, "flyer2" + _root.flyer2_number, _root.flyer2_number + 5500);
_root.game["flyer2" + _root.flyer2_number]._x = kyda_x;
_root.game["flyer2" + _root.flyer2_number]._y = kyda_y;
_root.game["flyer2" + _root.flyer2_number].go = 1;
}
}
Instance of Symbol 1061 MovieClip "base" in Symbol 1168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (testzone.hitTest(_root.game.nukemine_installed.nuking.dmg_zone) eq "true") {
_root.dmg_taken = _root.dmg_taken + _root.nukemine_dmg;
}
right_projectile_1._rotation = rotor._rotation;
left_projectile_1._rotation = rotor._rotation + 180;
up_projectile_1._rotation = rotor._rotation - 90;
down_projectile_1._rotation = rotor._rotation + 90;
right_projectile_2._rotation = rotor._rotation;
left_projectile_2._rotation = rotor._rotation + 180;
up_projectile_2._rotation = rotor._rotation - 90;
down_projectile_2._rotation = rotor._rotation + 90;
right_projectile_3._rotation = rotor._rotation;
left_projectile_3._rotation = rotor._rotation + 180;
up_projectile_3._rotation = rotor._rotation - 90;
down_projectile_3._rotation = rotor._rotation + 90;
right_projectile_4._rotation = rotor._rotation;
if (_root.shoot eq 1) {
if (_root.weapon_equiped eq 1) {
if ((_root.right_gun_shoot != 1) and (_root.right_gun_enabled eq 1)) {
_root.right_gun_shoot = 1;
if (_root.projectile_1_number < _root.max_projectiles) {
_root.projectile_1_number++;
} else {
_root.projectile_1_number = 1;
}
_root.energy = _root.energy - _root.weapon_1_encost;
duplicateMovieClip ("right_projectile_1", "projectile" + _root.projectile_1_number, _root.projectile_1_number);
this["projectile" + _root.projectile_1_number].go = 1;
this["projectile" + _root.projectile_1_number].number = _root.projectile_1_number;
} else {
_root.shoot = 0;
}
if ((_root.left_gun_shoot != 1) and (_root.left_gun_enabled eq 1)) {
_root.left_gun_shoot = 1;
if (_root.projectile_1_number < _root.max_projectiles) {
_root.projectile_1_number++;
} else {
_root.projectile_1_number = 1;
}
_root.energy = _root.energy - _root.weapon_1_encost;
duplicateMovieClip ("left_projectile_1", "projectile" + _root.projectile_1_number, _root.projectile_1_number);
this["projectile" + _root.projectile_1_number].go = 1;
this["projectile" + _root.projectile_1_number].number = _root.projectile_1_number;
} else {
_root.shoot = 0;
}
if ((_root.up_gun_shoot != 1) and (_root.up_gun_enabled eq 1)) {
_root.up_gun_shoot = 1;
if (_root.projectile_1_number < _root.max_projectiles) {
_root.projectile_1_number++;
} else {
_root.projectile_1_number = 1;
}
_root.energy = _root.energy - _root.weapon_1_encost;
duplicateMovieClip ("up_projectile_1", "projectile" + _root.projectile_1_number, _root.projectile_1_number);
this["projectile" + _root.projectile_1_number].go = 1;
this["projectile" + _root.projectile_1_number].number = _root.projectile_1_number;
} else {
_root.shoot = 0;
}
if ((_root.down_gun_shoot != 1) and (_root.down_gun_enabled eq 1)) {
_root.down_gun_shoot = 1;
if (_root.projectile_1_number < _root.max_projectiles) {
_root.projectile_1_number++;
} else {
_root.projectile_1_number = 1;
}
_root.energy = _root.energy - _root.weapon_1_encost;
duplicateMovieClip ("down_projectile_1", "projectile" + _root.projectile_1_number, _root.projectile_1_number);
this["projectile" + _root.projectile_1_number].go = 1;
this["projectile" + _root.projectile_1_number].number = _root.projectile_1_number;
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 2) {
if ((_root.right_gun_shoot != 1) and (_root.right_gun_enabled eq 1)) {
_root.right_gun_shoot = 1;
if (_root.projectile_2_number < _root.max_projectiles) {
_root.projectile_2_number++;
} else {
_root.projectile_2_number = 1;
}
_root.energy = _root.energy - _root.weapon_2_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_2 = _root.weapon_ammo_2 - 1;
}
duplicateMovieClip ("right_projectile_2", "projectile2_" + _root.projectile_2_number, _root.projectile_2_number + 50);
this["projectile2_" + _root.projectile_2_number].go = 1;
this["projectile2_" + _root.projectile_2_number].number = _root.projectile_2_number;
} else {
_root.shoot = 0;
}
if (((_root.left_gun_shoot != 1) and (_root.left_gun_enabled eq 1)) and (_root.energy >= _root.weapon_2_encost)) {
_root.left_gun_shoot = 1;
if (_root.projectile_2_number < _root.max_projectiles) {
_root.projectile_2_number++;
} else {
_root.projectile_2_number = 1;
}
_root.energy = _root.energy - _root.weapon_2_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_2 = _root.weapon_ammo_2 - 1;
}
duplicateMovieClip ("left_projectile_2", "projectile2_" + _root.projectile_2_number, _root.projectile_2_number + 50);
this["projectile2_" + _root.projectile_2_number].go = 1;
this["projectile2_" + _root.projectile_2_number].number = _root.projectile_2_number;
} else {
_root.shoot = 0;
}
if (((_root.up_gun_shoot != 1) and (_root.up_gun_enabled eq 1)) and (_root.energy >= _root.weapon_2_encost)) {
_root.up_gun_shoot = 1;
if (_root.projectile_2_number < _root.max_projectiles) {
_root.projectile_2_number++;
} else {
_root.projectile_2_number = 1;
}
_root.energy = _root.energy - _root.weapon_2_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_2 = _root.weapon_ammo_2 - 1;
}
duplicateMovieClip ("up_projectile_2", "projectile2_" + _root.projectile_2_number, _root.projectile_2_number + 50);
this["projectile2_" + _root.projectile_2_number].go = 1;
this["projectile2_" + _root.projectile_2_number].number = _root.projectile_2_number;
} else {
_root.shoot = 0;
}
if (((_root.down_gun_shoot != 1) and (_root.down_gun_enabled eq 1)) and (_root.energy >= _root.weapon_2_encost)) {
_root.down_gun_shoot = 1;
if (_root.projectile_2_number < _root.max_projectiles) {
_root.projectile_2_number++;
} else {
_root.projectile_2_number = 1;
}
_root.energy = _root.energy - _root.weapon_2_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_2 = _root.weapon_ammo_2 - 1;
}
duplicateMovieClip ("down_projectile_2", "projectile2_" + _root.projectile_2_number, _root.projectile_2_number + 50);
this["projectile2_" + _root.projectile_2_number].go = 1;
this["projectile2_" + _root.projectile_2_number].number = _root.projectile_2_number;
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 3) {
if ((_root.right_gun_shoot != 1) and (_root.right_gun_enabled eq 1)) {
_root.right_gun_shoot = 1;
if (_root.projectile_3_number < _root.max_projectiles3) {
_root.projectile_3_number++;
} else {
_root.projectile_3_number = 1;
}
_root.energy = _root.energy - _root.weapon_3_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_3 = _root.weapon_ammo_3 - 1;
}
duplicateMovieClip ("right_projectile_3", "projectile3_" + _root.projectile_3_number, _root.projectile_3_number + 2000);
this["projectile3_" + _root.projectile_3_number].go = 1;
this["projectile3_" + _root.projectile_3_number].number = _root.projectile_3_number;
} else {
_root.shoot = 0;
}
if ((_root.left_gun_shoot != 1) and (_root.left_gun_enabled eq 1)) {
_root.left_gun_shoot = 1;
if (_root.projectile_3_number < _root.max_projectiles3) {
_root.projectile_3_number++;
} else {
_root.projectile_3_number = 1;
}
_root.energy = _root.energy - _root.weapon_3_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_3 = _root.weapon_ammo_3 - 1;
}
duplicateMovieClip ("left_projectile_3", "projectile3_" + _root.projectile_3_number, _root.projectile_3_number + 2000);
this["projectile3_" + _root.projectile_3_number].go = 1;
this["projectile3_" + _root.projectile_3_number].number = _root.projectile_3_number;
} else {
_root.shoot = 0;
}
if ((_root.up_gun_shoot != 1) and (_root.up_gun_enabled eq 1)) {
_root.up_gun_shoot = 1;
if (_root.projectile_3_number < _root.max_projectiles3) {
_root.projectile_3_number++;
} else {
_root.projectile_3_number = 1;
}
_root.energy = _root.energy - _root.weapon_3_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_3 = _root.weapon_ammo_3 - 1;
}
duplicateMovieClip ("up_projectile_3", "projectile3_" + _root.projectile_3_number, _root.projectile_3_number + 2000);
this["projectile3_" + _root.projectile_3_number].go = 1;
this["projectile3_" + _root.projectile_3_number].number = _root.projectile_3_number;
} else {
_root.shoot = 0;
}
if ((_root.down_gun_shoot != 1) and (_root.down_gun_enabled eq 1)) {
_root.down_gun_shoot = 1;
if (_root.projectile_3_number < _root.max_projectiles3) {
_root.projectile_3_number++;
} else {
_root.projectile_3_number = 1;
}
_root.energy = _root.energy - _root.weapon_3_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_3 = _root.weapon_ammo_3 - 1;
}
duplicateMovieClip ("down_projectile_3", "projectile3_" + _root.projectile_3_number, _root.projectile_3_number + 2000);
this["projectile3_" + _root.projectile_3_number].go = 1;
this["projectile3_" + _root.projectile_3_number].number = _root.projectile_3_number;
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 4) {
if ((_root.right_gun_shoot != 1) and (_root.right_gun_enabled eq 1)) {
_root.right_gun_shoot = 1;
_root.energy = _root.energy - _root.weapon_4_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_4 = _root.weapon_ammo_4 - 1;
}
_root.shoot = 0;
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 5) {
if (_root.shockwave_start != 1) {
_root.shockwave_start = 1;
_root.energy = _root.energy - _root.weapon_5_encost;
_root.shoot = 0;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_5 = _root.weapon_ammo_5 - 1;
}
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 6) {
if ((_root.right_gun_shoot != 1) and (_root.right_gun_enabled eq 1)) {
_root.right_gun_shoot = 1;
if (_root.projectile_4_number < _root.max_projectiles4) {
_root.projectile_4_number++;
} else {
_root.projectile_4_number = 1;
}
_root.energy = _root.energy - _root.weapon_6_encost;
if (_root.powerup_ammo <= 0) {
_root.weapon_ammo_6 = _root.weapon_ammo_6 - 1;
}
duplicateMovieClip ("right_projectile_4", "projectile4_" + _root.projectile_4_number, _root.projectile_4_number + 5000);
this["projectile4_" + _root.projectile_4_number].go = 1;
this["projectile4_" + _root.projectile_4_number].number = _root.projectile_4_number;
} else {
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 7) {
_root.shoot = 0;
if (_root.mines_installed_count >= 10) {
_root.error_play = 5;
}
if ((_root.mines_installed_count < 10) and (_root.mine_deploy != 1)) {
if (_root.mine_installed_1 eq 0) {
_root.mine_number = 1;
} else if (_root.mine_installed_2 eq 0) {
_root.mine_number = 2;
} else if (_root.mine_installed_3 eq 0) {
_root.mine_number = 3;
} else if (_root.mine_installed_4 eq 0) {
_root.mine_number = 4;
} else if (_root.mine_installed_5 eq 0) {
_root.mine_number = 5;
} else if (_root.mine_installed_6 eq 0) {
_root.mine_number = 6;
} else if (_root.mine_installed_7 eq 0) {
_root.mine_number = 7;
} else if (_root.mine_installed_8 eq 0) {
_root.mine_number = 8;
} else if (_root.mine_installed_9 eq 0) {
_root.mine_number = 9;
} else if (_root.mine_installed_10 eq 0) {
_root.mine_number = 10;
}
duplicateMovieClip (_root.game.mine_source, "mine_" + _root.mine_number, _root.mine_number);
_root.game["mine_" + _root.mine_number]._x = _root.game._xmouse;
_root.game["mine_" + _root.mine_number]._y = _root.game._ymouse;
_root.game["mine_" + _root.mine_number].number = _root.mine_number;
_root.game["mine_" + _root.mine_number].activated = 1;
_root.mine_deploy = 1;
_root.shoot = 0;
}
} else if (_root.weapon_equiped eq 8) {
_root.shoot = 0;
if (_root.mine_deploy != 1) {
_root.game.nukemine.yiff = 1;
_root.mine_deploy = 1;
_root.shoot = 0;
}
}
}
}
Symbol 1168 MovieClip Frame 2
if (_root.scenario_cheat_god eq 1) {
_root.shield = _root.shield_max;
}
if (_root.scenario_cheat_energy eq 1) {
_root.energy = _root.energy_max;
}
if (_root.scenario_cheat_cash eq 1) {
_root.cash = 6000;
}
if (yiff_desudesuggsggh != 1) {
yiff_desudesuggsggh = 1;
kogda_obnulat_projectili = 0;
}
kogda_obnulat_projectili++;
if (_root.wave >= 13) {
_root.red_alien_ship_lvl = 2;
} else {
_root.red_alien_ship_lvl = 1;
}
if (_root.weapon_equiped eq 1) {
if (_root.energy < _root.weapon_1_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
} else if (_root.weapon_equiped eq 2) {
if (_root.energy < _root.weapon_2_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
} else if (_root.weapon_equiped eq 3) {
if (_root.energy < _root.weapon_3_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
} else if (_root.weapon_equiped eq 4) {
if (_root.energy < _root.weapon_4_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
} else if (_root.weapon_equiped eq 5) {
if (_root.energy < _root.weapon_5_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
} else if (_root.weapon_equiped eq 6) {
if (_root.energy < _root.weapon_6_encost) {
_root.notenoughenergytoshoot = 1;
} else {
_root.notenoughenergytoshoot = 0;
}
}
gotoAndPlay (1);
if (_root.dmg_lvl < 4) {
_root.dmg_price = 500;
} else if ((_root.dmg_lvl >= 4) and (_root.dmg_lvl < 8)) {
_root.dmg_price = 1500;
} else if (_root.dmg_lvl >= 8) {
_root.dmg_price = 3000;
}
if (_root.shield_lvl < 4) {
_root.shield_price = 500;
} else if ((_root.shield_lvl >= 4) and (_root.shield_lvl < 8)) {
_root.shield_price = 1500;
} else if (_root.shield_lvl >= 8) {
_root.shield_price = 3000;
}
if (_root.energy_lvl < 4) {
_root.energy_price = 500;
} else if ((_root.energy_lvl >= 4) and (_root.energy_lvl < 8)) {
_root.energy_price = 1500;
} else if (_root.energy_lvl >= 8) {
_root.energy_price = 3000;
}
if (_root.dmg_lvl <= 4) {
dmg_tech = _root.dmg_lvl;
dmg_modifier = 1 + (0.05 * _root.dmg_lvl);
dmg_investment = 500 * _root.dmg_lvl;
} else if ((_root.dmg_lvl >= 5) and (_root.dmg_lvl < 9)) {
dmg_tech = 4 + ((_root.dmg_lvl - 4) * 2);
dmg_modifier = 1.2 + (0.1 * (_root.dmg_lvl - 4));
dmg_investment = 2000 + (1500 * (_root.dmg_lvl - 4));
} else if (_root.dmg_lvl >= 9) {
dmg_tech = 12 + ((_root.dmg_lvl - 8) * 4.5);
dmg_modifier = 1.6 + (0.15 * (_root.dmg_lvl - 8));
dmg_investment = 8000 + (3000 * (_root.dmg_lvl - 8));
}
if (_root.energy_lvl <= 4) {
_root.energy_max = _root.energy_max_base * (1 + (0.05 * _root.energy_lvl));
_root.energy_regen = 2 * (1 + (0.05 * _root.energy_lvl));
energy_tech = _root.energy_lvl;
energy_investment = 500 * _root.energy_lvl;
} else if ((_root.energy_lvl >= 5) and (_root.energy_lvl < 9)) {
energy_tech = 4 + ((_root.energy_lvl - 4) * 2);
_root.energy_max = _root.energy_max_base * (1.2 + (0.1 * (_root.energy_lvl - 4)));
_root.energy_regen = 2 * (1.2 + (0.1 * (_root.energy_lvl - 4)));
energy_investment = 2000 + (1500 * (_root.energy_lvl - 4));
} else if (_root.energy_lvl >= 9) {
energy_tech = 12 + ((_root.energy_lvl - 8) * 4.5);
_root.energy_max = _root.energy_max_base * (1.6 + (0.15 * (_root.energy_lvl - 8)));
_root.energy_regen = 2 * (1.6 + (0.15 * (_root.energy_lvl - 8)));
energy_investment = 8000 + (3000 * (_root.energy_lvl - 8));
}
if (_root.shield_lvl <= 4) {
_root.shield_max = _root.shield_max_base * (1 + (0.05 * _root.shield_lvl));
shield_tech = _root.shield_lvl;
shield_investment = 500 * _root.shield_lvl;
} else if ((_root.shield_lvl >= 5) and (_root.shield_lvl < 9)) {
shield_tech = 4 + ((_root.shield_lvl - 4) * 2);
_root.shield_max = _root.shield_max_base * (1.2 + (0.1 * (_root.shield_lvl - 4)));
shield_investment = 2000 + (1500 * (_root.shield_lvl - 4));
} else if (_root.shield_lvl >= 9) {
shield_tech = 12 + ((_root.shield_lvl - 8) * 4.5);
_root.shield_max = _root.shield_max_base * (1.6 + (0.15 * (_root.shield_lvl - 8)));
shield_investment = 8000 + (3000 * (_root.shield_lvl - 8));
}
tech_points = ((_root.power_lvl + dmg_tech) + energy_tech) + shield_tech;
_root.tech_points = tech_points;
if ((tech_points >= 4) and (tech_points < 12)) {
_root.tech_lvl = 1;
} else if ((tech_points >= 12) and (tech_points < 20)) {
_root.tech_lvl = 2;
} else if ((tech_points >= 20) and (tech_points < 35)) {
_root.tech_lvl = 3;
} else if ((tech_points >= 35) and (tech_points < 60)) {
_root.tech_lvl = 4;
} else if (tech_points >= 60) {
_root.tech_lvl = 5;
}
power_investment = 500 * (_root.power_lvl - 1);
weapon_spendings = ((((((_root.weapon_available_2 * 1500) + (_root.weapon_available_3 * 2000)) + (_root.weapon_available_4 * 4500)) + (_root.weapon_available_5 * 3500)) + (_root.weapon_available_6 * 5500)) + (_root.weapon_available_7 * 2000)) + (_root.weapon_available_8 * 2000);
_root.overall_spendings = (((weapon_spendings + power_investment) + dmg_investment) + shield_investment) + energy_investment;
if (_root.dmg_taken > 0) {
if (_root.shield >= _root.dmg_taken) {
_root.shield = _root.shield - _root.dmg_taken;
_root.dmg_taken = 0;
} else {
_root.structure = _root.structure - Math.abs(_root.shield - _root.dmg_taken);
_root.shield = 0;
_root.dmg_taken = 0;
}
}
if (_root.structure <= 0) {
_root.base_dead = 1;
}
if (_root.base_dead eq 1) {
_root.energy = 0;
_root.shield = 0;
_root.startmenu.gotoAndStop(1);
_root.upgrades_menu_shell.gotoAndStop(1);
_root.stop_all_respawns = 1;
}
if ((_root.wave_timer_rough > _root.wave_length) and (_root.base_dead != 1)) {
_root.stop_all_respawns = 1;
} else if (_root.game_on_hold != 1) {
if (_root.wave eq 1) {
if (_root.wave_timer_rough < 0.5) {
_root.trooper_rr = 10;
} else if ((_root.wave_timer_rough > 0.5) and (_root.wave_timer_rough < 30)) {
_root.trooper_rr = 150;
_root.red_alien_ship_rr = 150;
} else if (_root.wave_timer_rough > 30) {
if (_root.trooper_count eq 0) {
_root.trooper_rr = 10;
} else {
_root.trooper_rr = 250;
}
_root.red_alien_ship_rr = 150;
}
}
if (_root.wave eq 2) {
if (_root.wave_timer_rough < 1) {
_root.trooper_rr = 10;
} else if ((_root.wave_timer_rough > 0.5) and (_root.wave_timer_rough < 30)) {
_root.trooper_rr = 150;
_root.red_alien_ship_rr = 150;
} else if (_root.wave_timer_rough > 30) {
if (_root.red_alien_ship_count eq 0) {
_root.red_alien_ship_rr = 10;
} else {
_root.red_alien_ship_rr = 250;
}
_root.trooper_rr = 150;
}
}
if (_root.wave eq 3) {
if (_root.wave_timer_rough < 1) {
_root.trooper_rr = 20;
_root.red_alien_ship_rr = 30;
} else if ((_root.wave_timer_rough > 0.5) and (_root.wave_timer_rough < 30)) {
_root.trooper_rr = 150;
_root.red_alien_ship_rr = 150;
} else if (_root.wave_timer_rough > 30) {
if (_root.lexx_count eq 0) {
_root.lexx_rr = 10;
} else {
_root.lexx_rr = 250;
}
_root.trooper_rr = 250;
_root.red_alien_rr = 250;
}
}
if (_root.wave eq 4) {
if (_root.wave_timer_rough < 15) {
if (trigger_1 != 1) {
_root.lazertank_rr = 10;
} else {
_root.lazertank_rr = 0;
}
if (_root.lazertank_count > 0) {
trigger_1 = 1;
}
_root.trooper_rr = 150;
_root.red_alien_ship_rr = 150;
} else if (_root.wave_timer_rough > 15) {
if (_root.trooper_count eq 0) {
_root.trooper_rr = 10;
} else {
_root.trooper_rr = 250;
}
_root.red_alien_ship_rr = 150;
if (_root.wave_timer_rough > 45) {
if (trigger_2 != 1) {
_root.lazertank_rr = 5;
} else {
_root.lazertank_rr = 0;
}
if (_root.lazertank_count > 1) {
trigger_2 = 1;
}
}
}
}
if (_root.wave eq 5) {
if (_root.wave_timer_rough < 60) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 40;
_root.lexx_rr = 40;
_root.red_alien_ship_rr = 40;
} else {
_root.trooper_rr = 250;
_root.lexx_rr = 250;
_root.red_alien_ship_rr = 250;
}
}
}
if (_root.wave eq 6) {
if (_root.wave_timer_rough < 600) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.tank_rr = 800;
_root.buggy_rr = 450;
_root.trooper_rr = 350;
_root.lexx_rr = 350;
_root.red_alien_ship_rr = 350;
}
}
}
if (_root.wave eq 7) {
if (_root.wave_timer_rough < 5) {
if (_root.enemy_count < 6) {
_root.lexx_rr = 20;
} else {
_root.lexx_rr = 150;
}
} else if ((_root.wave_timer_rough > 5) and (_root.wave_timer_rough < 30)) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.tank_rr = 800;
_root.buggy_rr = 450;
_root.trooper_rr = 350;
_root.lexx_rr = 350;
_root.red_alien_ship_rr = 350;
}
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 35)) {
_root.tank_rr = 0;
_root.buggy_rr = 0;
_root.trooper_rr = 0;
_root.lexx_rr = 0;
if (_root.enemy_count < 7) {
_root.red_alien_ship_rr = 5;
} else {
_root.red_alien_ship_rr = 150;
}
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 42)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 42) and (_root.wave_timer_rough < 55)) {
_root.tank_rr = 300;
_root.buggy_rr = 300;
_root.trooper_rr = 300;
_root.lexx_rr = 300;
_root.red_alien_ship_rr = 300;
} else if ((_root.wave_timer_rough > 55) and (_root.wave_timer_rough < 60)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 65)) {
if (_root.enemy_count < 8) {
_root.tank_rr = 6;
} else {
_root.tank_rr = 650;
}
} else if ((_root.wave_timer_rough > 65) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 73) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.tank_rr = 800;
_root.buggy_rr = 450;
_root.trooper_rr = 350;
_root.lexx_rr = 350;
_root.red_alien_ship_rr = 350;
}
}
}
if (_root.wave eq 8) {
if (_root.wave_timer_rough < 45) {
if (_root.enemy_count < 3) {
_root.helicopter_rr = 15;
_root.hovertank_rr = 70;
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.trooper_rr = 440;
_root.lexx_rr = 440;
_root.red_alien_ship_rr = 440;
_root.buggy_rr = 440;
_root.tank_rr = 450;
_root.helicopter_rr = 400;
_root.hovertank_rr = 400;
}
if (_root.hovertank_count != 0) {
_root.hovertank_rr = 0;
}
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 50)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 50) {
if (_root.enemy_count < 5) {
_root.tank_rr = 6;
} else {
_root.tank_rr = 650;
}
}
}
if (_root.wave eq 9) {
if (_root.wave_timer_rough < 600) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.helicopter_rr = 40;
} else {
_root.trooper_rr = 350;
_root.lexx_rr = 350;
_root.helicopter_rr = 350;
_root.red_alien_ship_rr = 350;
}
}
}
if (_root.wave eq 10) {
if (_root.wave_timer_rough < 6) {
if (_root.enemy_count < 10) {
_root.lexx_rr = 20;
_root.red_alien_ship_rr = 20;
} else {
_root.lexx_rr = 550;
_root.red_alien_ship_rr = 550;
}
} else if ((_root.wave_timer_rough > 6) and (_root.wave_timer_rough < 10)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 10) and (_root.wave_timer_rough < 20)) {
_root.lexx_rr = 0;
_root.red_alien_ship_rr = 0;
if (_root.enemy_count < 6) {
_root.lazertank_rr = 20;
_root.tank_rr = 20;
} else {
_root.lazertank_rr = 550;
_root.tank_rr = 550;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 30)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 36)) {
if (_root.enemy_count < 5) {
_root.helicopter_rr = 20;
_root.buggy_rr = 20;
} else {
_root.helicopter_rr = 550;
_root.buggy_rr = 550;
}
} else if ((_root.wave_timer_rough > 36) and (_root.wave_timer_rough < 40)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 40) {
if (_root.enemy_count < 3) {
_root.helicopter_rr = 15;
_root.hovertank_rr = 70;
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.trooper_rr = 440;
_root.lexx_rr = 440;
_root.red_alien_ship_rr = 440;
_root.buggy_rr = 440;
_root.tank_rr = 450;
_root.helicopter_rr = 400;
_root.hovertank_rr = 400;
}
}
}
if (_root.wave eq 11) {
if (_root.wave_timer_rough < 5) {
if (_root.enemy_count < 10) {
_root.lexx_rr = 20;
_root.red_alien_ship_rr = 20;
} else {
_root.lexx_rr = 550;
_root.red_alien_ship_rr = 550;
}
} else if ((_root.wave_timer_rough > 5) and (_root.wave_timer_rough < 10)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 10) and (_root.wave_timer_rough < 30)) {
if (_root.enemy_count < 3) {
_root.helicopter_rr = 15;
_root.hovertank_rr = 70;
_root.trooper_rr = 70;
_root.lexx_rr = 70;
_root.red_alien_ship_rr = 70;
_root.buggy_rr = 60;
_root.tank_rr = 150;
} else {
_root.trooper_rr = 440;
_root.lexx_rr = 440;
_root.red_alien_ship_rr = 440;
_root.buggy_rr = 440;
_root.tank_rr = 450;
_root.helicopter_rr = 400;
_root.hovertank_rr = 400;
}
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 35)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 45)) {
if (_root.enemy_count < 1) {
_root.spider_rr = 20;
} else {
_root.spider_rr = 250;
}
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 47)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 47) and (_root.wave_timer_rough < 55)) {
if (_root.enemy_count < 6) {
_root.lazertank_rr = 20;
} else {
_root.lazertank_rr = 550;
}
} else if (_root.wave_timer_rough > 55) {
_root.lazertank_rr = 0;
if (_root.enemy_count < 4) {
_root.helicopter_rr = 20;
} else {
_root.helicopter_rr = 350;
}
}
}
if (_root.wave eq 12) {
if (_root.wave_timer_rough < 600) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 60;
_root.lexx_rr = 60;
_root.red_alien_ship_rr = 60;
_root.helicopter_rr = 60;
_root.tank_rr = 60;
_root.buggy_rr = 60;
_root.lazertank_rr = 60;
} else {
_root.tank_rr = 650;
_root.buggy_rr = 650;
_root.lazertank_rr = 650;
_root.trooper_rr = 550;
_root.lexx_rr = 550;
_root.helicopter_rr = 550;
_root.red_alien_ship_rr = 550;
}
}
}
if (_root.wave eq 13) {
if (_root.wave_timer_rough < 15) {
if (_root.enemy_count < 8) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 15) and (_root.wave_timer_rough < 25)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 25) {
if (_root.enemy_count < 7) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 14) {
if (_root.wave_timer_rough < 9) {
if (_root.enemy_count < 4) {
_root.trooper_rr = 15;
} else {
_root.trooper_rr = 300;
}
} else if ((_root.wave_timer_rough > 9) and (_root.wave_timer_rough < 10)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 10) and (_root.wave_timer_rough < 19)) {
if (_root.enemy_count < 4) {
_root.lexx_rr = 15;
} else {
_root.lexx_rr = 300;
}
} else if ((_root.wave_timer_rough > 19) and (_root.wave_timer_rough < 20)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 29)) {
if (_root.enemy_count < 4) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 300;
}
} else if ((_root.wave_timer_rough > 29) and (_root.wave_timer_rough < 30)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 39)) {
if (_root.enemy_count < 4) {
_root.buggy_rr = 15;
} else {
_root.buggy_rr = 300;
}
} else if ((_root.wave_timer_rough > 39) and (_root.wave_timer_rough < 40)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 49)) {
if (_root.enemy_count < 4) {
_root.helicopter_rr = 15;
} else {
_root.helicopter_rr = 300;
}
} else if ((_root.wave_timer_rough > 49) and (_root.wave_timer_rough < 50)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 50) and (_root.wave_timer_rough < 59)) {
if (_root.enemy_count < 4) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 300;
}
} else if ((_root.wave_timer_rough > 59) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 70) and (_root.wave_timer_rough < 83)) {
if (_root.enemy_count < 7) {
_root.tank_rr = 15;
_root.lazertank_rr = 15;
} else {
_root.tank_rr = 0;
_root.lazertank_rr = 0;
}
} else if ((_root.wave_timer_rough > 83) and (_root.wave_timer_rough < 95)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 95) and (_root.wave_timer_rough < 98)) {
if (_root.spider_count < 2) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.nuketruck_count < 1) {
_root.nuketruck_rr = 15;
} else {
_root.nuketruck_rr = 0;
}
} else if (_root.wave_timer_rough > 98) {
_root.stop_all_respawns = 1;
}
}
if (_root.wave eq 15) {
if (_root.wave_timer_rough < 600) {
if (_root.enemy_count < 3) {
_root.trooper_rr = 60;
_root.lexx_rr = 60;
_root.red_alien_ship_rr = 60;
_root.helicopter_rr = 60;
_root.tank_rr = 60;
_root.buggy_rr = 60;
_root.lazertank_rr = 90;
_root.spider_rr = 150;
} else {
_root.spider_rr = 600;
_root.tank_rr = 650;
_root.buggy_rr = 650;
_root.lazertank_rr = 650;
_root.trooper_rr = 550;
_root.lexx_rr = 550;
_root.helicopter_rr = 550;
_root.red_alien_ship_rr = 550;
}
}
}
if (_root.wave eq 16) {
if (_root.wave_timer_rough < 20) {
if (_root.enemy_count < 5) {
_root.tank_rr = 15;
_root.lazertank_rr = 15;
_root.spider_rr = 25;
} else {
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.spider_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 30)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 30) {
if (_root.enemy_count < 7) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 17) {
if (_root.wave_timer_rough < 3) {
if (_root.enemy_count < 9) {
_root.nuketruck_rr = 5;
} else {
_root.nuketruck_rr = 0;
}
} else if ((_root.wave_timer_rough > 3) and (_root.wave_timer_rough < 15)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 15) and (_root.wave_timer_rough < 18)) {
if (_root.enemy_count < 13) {
_root.red_alien_ship_rr = 5;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 18) and (_root.wave_timer_rough < 28)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 28) and (_root.wave_timer_rough < 38)) {
if (_root.enemy_count < 2) {
_root.spider_rr = 10;
} else {
_root.spider_rr = 0;
}
} else if ((_root.wave_timer_rough > 38) and (_root.wave_timer_rough < 45)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 45) {
if (_root.enemy_count < 3) {
_root.trooper_rr = 60;
_root.lexx_rr = 60;
_root.red_alien_ship_rr = 60;
_root.helicopter_rr = 60;
_root.tank_rr = 60;
_root.buggy_rr = 60;
_root.lazertank_rr = 90;
_root.spider_rr = 150;
} else {
_root.spider_rr = 600;
_root.tank_rr = 650;
_root.buggy_rr = 650;
_root.lazertank_rr = 650;
_root.trooper_rr = 550;
_root.lexx_rr = 550;
_root.helicopter_rr = 550;
_root.red_alien_ship_rr = 550;
}
}
}
if (_root.wave eq 18) {
if (_root.wave_timer_rough < 700) {
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 40;
} else {
_root.lazertank_rr = 0;
}
if (_root.red_alien_ship_count < 5) {
_root.red_alien_ship_rr = 40;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.helicopter_count < 5) {
_root.helicopter_rr = 40;
} else {
_root.helicopter_rr = 0;
}
if (_root.spider_count < 5) {
_root.spider_rr = 40;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 4) {
_root.stop_all_respawns = 1;
}
}
}
if (_root.wave eq 19) {
if (_root.wave_timer_rough < 35) {
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 40;
} else {
_root.lazertank_rr = 0;
}
if (_root.tank_count < 5) {
_root.tank_rr = 40;
} else {
_root.tank_rr = 0;
}
if (_root.blacktank_count < 1) {
_root.blacktank_rr = 40;
} else {
_root.blacktank_rr = 0;
}
if (_root.spider_count < 5) {
_root.spider_rr = 40;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 4) {
_root.stop_all_respawns = 1;
}
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 47)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 47) {
if (_root.enemy_count < 13) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 20) {
if (_root.wave_timer_rough < 45) {
if (_root.nukebuggy_count < 1) {
_root.nukebuggy_rr = 70;
} else {
_root.nukebuggy_rr = 0;
}
if (_root.nuketruck_count < 1) {
_root.nuketruck_rr = 85;
} else {
_root.nuketruck_rr = 0;
}
if (_root.red_alien_ship_count < 10) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.tank_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
if (_root.blacktank_count < 5) {
_root.blacktank_rr = 25;
} else {
_root.blacktank_rr = 0;
}
if (_root.spider_count < 1) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 4) {
_root.stop_all_respawns = 1;
}
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 55)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 55) {
if (_root.enemy_count < 18) {
_root.red_alien_ship_rr = 18;
} else {
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 21) {
if (_root.wave_timer_rough < 405) {
if (_root.nukebuggy_count < 1) {
_root.nukebuggy_rr = 100;
} else {
_root.nukebuggy_rr = 0;
}
if (_root.battletank_count < 1) {
_root.battletank_rr = 10;
} else {
_root.battletank_rr = 0;
}
if (_root.red_alien_ship_count < 10) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.tank_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
if (_root.blacktank_count < 5) {
_root.blacktank_rr = 25;
} else {
_root.blacktank_rr = 0;
}
if (_root.nuketruck_count < 1) {
_root.nuketruck_rr = 25;
} else {
_root.nuketruck_rr = 0;
}
if (_root.spider_count < 1) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 4) {
_root.stop_all_respawns = 1;
}
}
}
if (_root.wave eq 22) {
if (_root.wave_timer_rough < 20) {
if (_root.enemy_count < 8) {
_root.battletank_rr = 25;
_root.nuketruck_rr = 140;
} else {
_root.nuketruck_rr = 0;
_root.battletank_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 35)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 60)) {
_root.blacktank_rr = 45;
_root.tank_rr = 25;
_root.lazertank_rr = 35;
if (_root.enemy_count > 5) {
_root.stop_all_respawns = 1;
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 70) and (_root.wave_timer_rough < 80)) {
_root.spider_rr = 25;
if (_root.enemy_count > 3) {
_root.spider_rr = 0;
}
if (_root.wave_timer_rough > 76) {
if (_root.enemy_count < 20) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
}
} else if ((_root.wave_timer_rough > 80) and (_root.wave_timer_rough < 90)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 90) {
if (_root.nukebuggy_count < 1) {
_root.nukebuggy_rr = 100;
} else {
_root.nukebuggy_rr = 0;
}
if (_root.battletank_count < 1) {
_root.battletank_rr = 10;
} else {
_root.battletank_rr = 0;
}
if (_root.red_alien_ship_count < 10) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.tank_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
if (_root.blacktank_count < 5) {
_root.blacktank_rr = 25;
} else {
_root.blacktank_rr = 0;
}
if (_root.nuketruck_count < 1) {
_root.nuketruck_rr = 25;
} else {
_root.nuketruck_rr = 0;
}
if (_root.spider_count < 1) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 4) {
_root.stop_all_respawns = 1;
}
}
}
if (_root.wave eq 23) {
if (_root.wave_timer_rough < 20) {
if (_root.enemy_count < 8) {
_root.battletank_rr = 25;
_root.rockettank_rr = 25;
} else {
_root.rockettank_rr = 0;
_root.battletank_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 35)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 60)) {
if (_root.spider_count < 3) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.wave_timer_rough > 55) {
if (_root.enemy_count < 10) {
_root.trooper_rr = 15;
} else {
_root.trooper_rr = 0;
}
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 75) {
if (_root.enemy_count < 12) {
_root.red_alien_ship_rr = 15;
_root.nukebuggy_rr = 35;
} else {
_root.nukebuggy_rr = 0;
_root.trooper_rr = 0;
}
} else if (_root.wave_timer_rough > 79) {
_root.stop_all_respawns = 1;
}
}
if (_root.wave eq 24) {
if (_root.wave_timer_rough < 20) {
if (_root.tank_count < 6) {
_root.tank_rr = 25;
} else {
_root.tank_rr = 0;
}
if (_root.flyer1_count < 3) {
_root.flyer1_rr = 35;
} else {
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 35)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 40)) {
if (_root.enemy_count < 16) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.enemy_count < 16) {
_root.trooper_rr = 15;
} else {
_root.trooper_rr = 0;
}
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 50)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 50) {
if (_root.nukebuggy_count < 1) {
_root.nukebuggy_rr = 100;
} else {
_root.nukebuggy_rr = 0;
}
if (_root.battletank_count < 1) {
_root.battletank_rr = 10;
} else {
_root.battletank_rr = 0;
}
if (_root.red_alien_ship_count < 10) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.tank_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.lazertank_count < 5) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
if (_root.blacktank_count < 5) {
_root.blacktank_rr = 25;
} else {
_root.blacktank_rr = 0;
}
if (_root.nuketruck_count < 1) {
_root.nuketruck_rr = 25;
} else {
_root.nuketruck_rr = 0;
}
if (_root.spider_count < 1) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
if (_root.enemy_count > 5) {
_root.stop_all_respawns = 1;
}
}
}
if (_root.wave > 24) {
_root.blacktank_limit = 100;
}
if (_root.wave eq 25) {
if (_root.wave_timer_rough < 15) {
if (_root.red_alien_ship_count < 10) {
_root.red_alien_ship_rr = 15;
} else {
_root.red_alien_ship_rr = 0;
}
if (_root.trooper_count < 7) {
_root.trooper_rr = 15;
} else {
_root.trooper_rr = 0;
}
} else if ((_root.wave_timer_rough > 15) and (_root.wave_timer_rough < 20)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 40)) {
if (_root.tank_count < 6) {
_root.tank_rr = 35;
} else {
_root.tank_rr = 0;
}
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 45)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 60)) {
if (_root.enemy_count < 5) {
_root.battletank_rr = 15;
} else {
_root.battletank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.rockettank_rr = 15;
} else {
_root.rockettank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.blacktank_rr = 15;
} else {
_root.blacktank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.flyer1_rr = 15;
} else {
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 70) {
if (_root.enemy_count < 4) {
_root.spider_rr = 15;
} else {
_root.spider_rr = 0;
}
}
}
if (_root.wave eq 26) {
if (_root.wave_timer_rough < 25) {
if (_root.enemy_count < 9) {
_root.blacktank_rr = 15;
} else {
_root.blacktank_rr = 0;
}
if (_root.red_alien_ship_count < 2) {
_root.red_alien_ship_rr = 20;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 25) and (_root.wave_timer_rough < 35)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 60)) {
if (_root.enemy_count < 5) {
_root.battletank_rr = 15;
} else {
_root.battletank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.nuketruck_rr = 15;
} else {
_root.nuketruck_rr = 0;
}
if (_root.enemy_count < 5) {
_root.rockettank_rr = 15;
} else {
_root.rockettank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.blacktank_rr = 15;
} else {
_root.blacktank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.tank_rr = 15;
} else {
_root.tank_rr = 0;
}
if (_root.enemy_count < 5) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 62)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 62) and (_root.wave_timer_rough < 80)) {
if (_root.enemy_count < 4) {
_root.lazertank_rr = 15;
} else {
_root.lazertank_rr = 0;
}
} else if ((_root.wave_timer_rough > 80) and (_root.wave_timer_rough < 82)) {
if (_root.enemy_count < 10) {
_root.flyer1_rr = 10;
} else {
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 82) and (_root.wave_timer_rough < 98)) {
_root.stop_all_respawns = 1;
_root.flyer1_rr = 0;
if (_root.red_alien_ship_count < 2) {
_root.red_alien_ship_rr = 20;
} else {
_root.red_alien_ship_rr = 0;
}
} else if (_root.wave_timer_rough > 98) {
if (_root.red_alien_ship_count < 15) {
_root.red_alien_ship_rr = 10;
} else {
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 27) {
if (_root.wave_timer_rough < 30) {
_root.tank_rr = 15;
_root.lazertank_rr = 15;
_root.blacktank_rr = 15;
_root.battletank_rr = 15;
_root.rockettank_rr = 15;
_root.nuketruck_rr = 25;
_root.flyer1_rr = 25;
if (_root.enemy_count > 8) {
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
_root.nuketruck_rr = 0;
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 50)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 50) and (_root.wave_timer_rough < 60)) {
_root.battletank_rr = 15;
_root.flyer1_rr = 15;
if (_root.enemy_count > 5) {
_root.battletank_rr = 0;
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 70)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 70) and (_root.wave_timer_rough < 90)) {
_root.battletank_rr = 0;
_root.flyer1_rr = 0;
if (_root.red_alien_ship_count < 8) {
_root.red_alien_ship_rr = 20;
_root.nukebuggy_rr = 110;
} else {
_root.nukebuggy_rr = 0;
_root.red_alien_ship_rr = 0;
}
}
}
if (_root.wave eq 28) {
if (_root.wave_timer_rough < 25) {
_root.trooper_rr = 15;
if (_root.trooper_count > 7) {
_root.trooper_rr = 0;
}
if (_root.wave_timer_rough > 5) {
_root.red_alien_ship_rr = 15;
if (_root.red_alien_ship_count > 10) {
_root.red_alien_ship_rr = 0;
}
}
} else if ((_root.wave_timer_rough > 25) and (_root.wave_timer_rough < 30)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 40)) {
_root.nukebuggy_rr = 10;
if (_root.nukebuggy_count > 5) {
_root.nukebuggy_rr = 0;
}
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 45)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 45) {
_root.battletank_rr = 10;
_root.flyer1_rr = 10;
if (_root.enemy_count > 7) {
_root.battletank_rr = 0;
_root.flyer1_rr = 0;
}
}
}
if (_root.wave eq 29) {
if (_root.wave_timer_rough < 5) {
_root.flyer2_rr = 5;
if (_root.enemy_count > 9) {
_root.flyer2_rr = 0;
}
} else if ((_root.wave_timer_rough > 5) and (_root.wave_timer_rough < 13)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 13) and (_root.wave_timer_rough < 20)) {
_root.flyer1_rr = 5;
if (_root.enemy_count > 5) {
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 35)) {
_root.flyer1_rr = 0;
_root.red_alien_ship_rr = 45;
if (_root.red_alien_ship_count > 4) {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 45)) {
_root.rockettank_rr = 15;
_root.red_alien_ship_rr = 0;
if (_root.rockettank_count > 5) {
_root.rockettank_rr = 0;
}
if (_root.wave_timer_rough < 38) {
_root.red_alien_ship_rr = 15;
if (_root.red_alien_ship_count > 9) {
_root.red_alien_ship_rr = 0;
}
}
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 55)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 55) {
_root.tank_rr = 15;
_root.lazertank_rr = 15;
_root.blacktank_rr = 15;
_root.battletank_rr = 15;
_root.rockettank_rr = 15;
_root.nuketruck_rr = 15;
_root.flyer1_rr = 15;
_root.flyer2_rr = 15;
if (_root.enemy_count > 8) {
_root.flyer2_rr = 0;
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
_root.nuketruck_rr = 0;
_root.flyer1_rr = 0;
}
}
}
if (_root.wave eq 30) {
if (_root.wave_timer_rough < 10) {
_root.red_alien_ship_rr = 20;
if (_root.enemy_count > 12) {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 10) and (_root.wave_timer_rough < 15)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 15) and (_root.wave_timer_rough < 25)) {
_root.trooper_rr = 20;
if (_root.enemy_count > 8) {
_root.trooper_rr = 0;
}
} else if ((_root.wave_timer_rough > 25) and (_root.wave_timer_rough < 35)) {
_root.trooper_rr = 0;
_root.helicopter_rr = 20;
if (_root.enemy_count > 8) {
_root.helicopter_rr = 0;
}
} else if ((_root.wave_timer_rough > 35) and (_root.wave_timer_rough < 45)) {
_root.helicopter_rr = 0;
_root.buggy_rr = 10;
_root.nukebuggy_rr = 10;
if (_root.enemy_count > 8) {
_root.buggy_rr = 0;
_root.nukebuggy_rr = 0;
}
} else if ((_root.wave_timer_rough > 45) and (_root.wave_timer_rough < 60)) {
_root.buggy_rr = 0;
_root.nukebuggy_rr = 0;
_root.nuketruck_rr = 30;
_root.flyer2_rr = 150;
if (_root.enemy_count > 9) {
_root.nuketruck_rr = 0;
_root.flyer2_rr = 0;
}
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 75)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 75) and (_root.wave_timer_rough < 95)) {
_root.lazertank_rr = 15;
_root.blacktank_rr = 15;
_root.battletank_rr = 15;
_root.rockettank_rr = 15;
_root.flyer1_rr = 15;
_root.flyer2_rr = 15;
if (_root.enemy_count > 8) {
_root.flyer2_rr = 0;
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
_root.nuketruck_rr = 0;
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 95) and (_root.wave_timer_rough < 110)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 110) and (_root.wave_timer_rough < 115)) {
_root.flyer1_rr = 3;
if (_root.enemy_count > 12) {
_root.flyer1_rr = 0;
}
} else if ((_root.wave_timer_rough > 115) and (_root.wave_timer_rough < 123)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 123) and (_root.wave_timer_rough < 127)) {
_root.flyer2_rr = 3;
if (_root.enemy_count > 6) {
_root.flyer2_rr = 0;
}
} else if (_root.wave_timer_rough > 127) {
_root.stop_all_respawns = 1;
}
}
}
if ((_root.survival eq 1) and (_root.game_on_hold eq 0)) {
if (_root.wave_timer_rough < 160) {
_root.power_up_rr = 650;
} else if ((_root.wave_timer_rough > 160) and (_root.wave_timer_rough < 170)) {
_root.power_up_rr = 350;
} else if ((_root.wave_timer_rough > 170) and (_root.wave_timer_rough < 220)) {
_root.power_up_rr = 500;
} else if ((_root.wave_timer_rough > 220) and (_root.wave_timer_rough < 255)) {
_root.power_up_rr = 280;
} else if ((_root.wave_timer_rough > 255) and (_root.wave_timer_rough < 300)) {
_root.power_up_rr = 250;
} else if ((_root.wave_timer_rough > 300) and (_root.wave_timer_rough < 310)) {
_root.power_up_rr = 450;
} else if ((_root.wave_timer_rough > 310) and (_root.wave_timer_rough < 320)) {
_root.power_up_rr = 750;
} else if (_root.wave_timer_rough > 320) {
_root.power_up_rr = 1000;
}
if (_root.weapon_ammo_3 <= 30) {
_root.ammo_3_rr = 100;
} else if ((_root.weapon_ammo_3 > 30) and (_root.weapon_ammo_3 <= 100)) {
_root.ammo_3_rr = 200;
} else if ((_root.weapon_ammo_3 > 100) and (_root.weapon_ammo_3 <= 300)) {
_root.ammo_3_rr = 400;
} else if ((_root.weapon_ammo_3 > 300) and (_root.weapon_ammo_3 <= 500)) {
_root.ammo_3_rr = 500;
} else if ((_root.weapon_ammo_3 > 500) and (_root.weapon_ammo_3 <= 700)) {
_root.ammo_3_rr = 700;
} else if ((_root.weapon_ammo_3 > 700) and (_root.weapon_ammo_3 <= 1000)) {
_root.ammo_3_rr = 1000;
} else if (_root.weapon_ammo_3 > 1000) {
_root.ammo_3_rr = 1500;
}
if (_root.wave_timer_rough < 30) {
_root.ammo_2_rr = 600;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 1500;
_root.ammo_6_rr = 1500;
} else if ((_root.wave_timer_rough > 30) and (_root.wave_timer_rough < 40)) {
_root.ammo_2_rr = 1000;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 1500;
_root.ammo_6_rr = 1500;
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 50)) {
_root.ammo_2_rr = 1800;
_root.ammo_4_rr = 1700;
_root.ammo_5_rr = 1500;
_root.ammo_6_rr = 1500;
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 100)) {
_root.ammo_2_rr = 1800;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 1300;
_root.ammo_6_rr = 1300;
} else if ((_root.wave_timer_rough > 190) and (_root.wave_timer_rough < 135)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 2000;
_root.ammo_5_rr = 1000;
_root.ammo_6_rr = 1000;
} else if ((_root.wave_timer_rough > 135) and (_root.wave_timer_rough < 180)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 1000;
_root.ammo_5_rr = 500;
_root.ammo_6_rr = 500;
} else if ((_root.wave_timer_rough > 180) and (_root.wave_timer_rough < 225)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 900;
_root.ammo_5_rr = 400;
_root.ammo_6_rr = 400;
} else if ((_root.wave_timer_rough > 255) and (_root.wave_timer_rough < 300)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 300;
_root.ammo_6_rr = 300;
} else if ((_root.wave_timer_rough > 300) and (_root.wave_timer_rough < 310)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 900;
_root.ammo_5_rr = 400;
_root.ammo_6_rr = 400;
} else if ((_root.wave_timer_rough > 310) and (_root.wave_timer_rough < 320)) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 600;
_root.ammo_6_rr = 600;
} else if (_root.wave_timer_rough > 320) {
_root.ammo_2_rr = 1300;
_root.ammo_4_rr = 700;
_root.ammo_5_rr = 800;
_root.ammo_6_rr = 800;
}
if (_root.weapon_ammo_2 > 25) {
_root.ammo_2_rr = 0;
}
if (_root.wave_timer_rough < 20) {
if (_root.enemy_count < 8) {
_root.trooper_rr = 210;
_root.red_alien_ship_rr = 110;
_root.lexx_rr = 110;
_root.spider_rr = 310;
_root.tank_rr = 250;
_root.buggy_rr = 210;
_root.helicopter_rr = 200;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.spider_rr = 0;
_root.tank_rr = 0;
_root.buggy_rr = 0;
_root.helicopter_rr = 0;
}
} else if ((_root.wave_timer_rough > 20) and (_root.wave_timer_rough < 22)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 22) and (_root.wave_timer_rough < 25)) {
if (_root.enemy_count < 15) {
_root.red_alien_ship_rr = 3;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 25) and (_root.wave_timer_rough < 40)) {
if (_root.enemy_count < 4) {
_root.red_alien_ship_rr = 40;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 40) and (_root.wave_timer_rough < 50)) {
if (_root.wave_timer_rough > 41) {
if (_root.enemy_count < 8) {
_root.nuketruck_rr = 5;
} else {
_root.nuketruck_rr = 0;
}
} else {
_root.nuketruck_rr = 0;
}
if (_root.enemy_count < 5) {
_root.red_alien_ship_rr = 40;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 50) and (_root.wave_timer_rough < 55)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 60) and (_root.wave_timer_rough < 61)) {
if (_root.enemy_count < 15) {
_root.red_alien_ship_rr = 3;
} else {
_root.red_alien_ship_rr = 0;
}
} else if ((_root.wave_timer_rough > 61) and (_root.wave_timer_rough < 62)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 62) and (_root.wave_timer_rough < 80)) {
if (_root.enemy_count < 8) {
_root.trooper_rr = 100;
_root.red_alien_ship_rr = 100;
_root.lexx_rr = 100;
_root.helicopter_rr = 100;
_root.flyer1_rr = 400;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.flyer1_rr = 0;
_root.helicopter_rr = 0;
}
} else if ((_root.wave_timer_rough > 80) and (_root.wave_timer_rough < 90)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 90) and (_root.wave_timer_rough < 120)) {
if (_root.enemy_count < 8) {
_root.tank_rr = 100;
_root.lazertank_rr = 100;
_root.blacktank_rr = 100;
} else {
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
}
} else if ((_root.wave_timer_rough > 120) and (_root.wave_timer_rough < 130)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 130) and (_root.wave_timer_rough < 150)) {
if (_root.enemy_count < 7) {
_root.trooper_rr = 50;
_root.red_alien_ship_rr = 100;
_root.lexx_rr = 100;
_root.flyer1_rr = 600;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.flyer1_rr = 0;
_root.helicopter_rr = 0;
}
} else if ((_root.wave_timer_rough > 150) and (_root.wave_timer_rough < 155)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 155) and (_root.wave_timer_rough < 170)) {
if (_root.enemy_count < 8) {
_root.battletank_rr = 100;
_root.rockettank_rr = 100;
_root.lazertank_rr = 100;
_root.blacktank_rr = 100;
} else {
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
_root.tank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
}
} else if ((_root.wave_timer_rough > 170) and (_root.wave_timer_rough < 180)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 180) and (_root.wave_timer_rough < 190)) {
if (_root.enemy_count < 8) {
_root.nukebuggy_rr = 20;
} else {
_root.nukebuggy_rr = 0;
}
} else if ((_root.wave_timer_rough > 190) and (_root.wave_timer_rough < 195)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 195) and (_root.wave_timer_rough < 215)) {
if (_root.enemy_count < 8) {
_root.battletank_rr = 100;
_root.blacktank_rr = 100;
_root.nuketruck_rr = 150;
_root.flyer1_rr = 200;
_root.flyer2_rr = 300;
_root.spider_rr = 100;
} else {
_root.battletank_rr = 0;
_root.blacktank_rr = 0;
_root.nuketruck_rr = 0;
_root.flyer1_rr = 0;
_root.flyer2_rr = 0;
_root.spider_rr = 0;
}
} else if ((_root.wave_timer_rough > 215) and (_root.wave_timer_rough < 217)) {
_root.stop_all_respawns = 1;
} else if ((_root.wave_timer_rough > 217) and (_root.wave_timer_rough < 250)) {
if (_root.enemy_count < 7) {
_root.trooper_rr = 100;
_root.red_alien_ship_rr = 100;
_root.lexx_rr = 100;
_root.buggy_rr = 100;
_root.helicopter_rr = 100;
_root.flyer1_rr = 200;
_root.flyer2_rr = 250;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.buggy_rr = 0;
_root.helicopter_rr = 0;
_root.flyer1_rr = 0;
_root.flyer2_rr = 0;
}
} else if ((_root.wave_timer_rough > 250) and (_root.wave_timer_rough < 265)) {
_root.stop_all_respawns = 1;
} else if (_root.wave_timer_rough > 265) {
if (_root.wave_timer_rough < 280) {
maxenemycount = 6;
} else if ((_root.wave_timer_rough > 280) and (_root.wave_timer_rough < 300)) {
maxenemycount = 7;
} else if (_root.wave_timer_rough > 300) {
maxenemycount = 8;
}
if (_root.enemy_count < maxenemycount) {
_root.red_alien_ship_rr = 100;
_root.lexx_rr = 100;
_root.spider_rr = 600;
_root.tank_rr = 100;
_root.buggy_rr = 500;
_root.nukebuggy_rr = 350;
_root.helicopter_rr = 600;
_root.nuketruck_rr = 200;
_root.hovertank_rr = 1000;
_root.lazertank_rr = 150;
_root.blacktank_rr = 150;
_root.flyer1_rr = 300;
_root.flyer2_rr = 300;
_root.battletank_rr = 150;
_root.rockettank_rr = 200;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.spider_rr = 0;
_root.tank_rr = 0;
_root.buggy_rr = 0;
_root.nukebuggy_rr = 0;
_root.helicopter_rr = 0;
_root.nuketruck_rr = 0;
_root.hovertank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.flyer1_rr = 0;
_root.flyer2_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
}
}
}
if ((_root.construct_mode eq 1) and (_root.game_on_hold eq 0)) {
if (_root.enemy_count < _root.construct_limit) {
_root.trooper_rr = _root.trooper_rr2;
_root.red_alien_ship_rr = _root.red_alien_ship_rr2;
_root.lexx_rr = _root.lexx_rr2;
_root.spider_rr = _root.spider_rr2;
_root.tank_rr = _root.tank_rr2;
_root.buggy_rr = _root.buggy_rr2;
_root.nukebuggy_rr = _root.nukebuggy_rr2;
_root.helicopter_rr = _root.helicopter_rr2;
_root.nuketruck_rr = _root.nuketruck_rr2;
_root.hovertank_rr = _root.hovertank_rr2;
_root.lazertank_rr = _root.lazertank_rr2;
_root.blacktank_rr = _root.blacktank_rr2;
_root.flyer1_rr = _root.flyer1_rr2;
_root.flyer2_rr = _root.flyer2_rr2;
_root.battletank_rr = _root.battletank_rr2;
_root.rockettank_rr = _root.rockettank_rr2;
} else {
_root.trooper_rr = 0;
_root.red_alien_ship_rr = 0;
_root.lexx_rr = 0;
_root.spider_rr = 0;
_root.tank_rr = 0;
_root.buggy_rr = 0;
_root.nukebuggy_rr = 0;
_root.helicopter_rr = 0;
_root.nuketruck_rr = 0;
_root.hovertank_rr = 0;
_root.lazertank_rr = 0;
_root.blacktank_rr = 0;
_root.flyer1_rr = 0;
_root.flyer2_rr = 0;
_root.battletank_rr = 0;
_root.rockettank_rr = 0;
}
}
Symbol 1170 Button
on (keyPress "1") {
if (_root.game_on_hold != 1) {
_root.weapon_equiped = 1;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
}
}
Symbol 1171 Button
on (keyPress "2") {
if (_root.game_on_hold != 1) {
if (_root.weapon_available_2 eq 1) {
_root.weapon_equiped = 2;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
} else {
_root.error_play = 4;
}
}
}
Symbol 1172 Button
on (keyPress "3") {
if (_root.game_on_hold != 1) {
if (_root.weapon_available_3 eq 1) {
_root.weapon_equiped = 3;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
} else {
_root.error_play = 4;
}
}
}
Symbol 1173 Button
on (keyPress "5") {
if (_root.game_on_hold != 1) {
if (_root.weapon_available_4 eq 1) {
_root.weapon_equiped = 4;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
} else {
_root.error_play = 4;
}
}
}
Symbol 1174 Button
on (keyPress "4") {
if (_root.game_on_hold != 1) {
if (_root.weapon_available_5 eq 1) {
_root.weapon_equiped = 5;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
} else {
_root.error_play = 4;
}
}
}
Symbol 1176 Button
on (keyPress "w") {
if (_root.left_gun_enabled eq 1) {
_root.left_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.left_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
on (keyPress "W") {
if (_root.left_gun_enabled eq 1) {
_root.left_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.left_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
Symbol 1177 Button
on (keyPress "e") {
if (_root.up_gun_enabled eq 1) {
_root.up_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.up_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
on (keyPress "E") {
if (_root.up_gun_enabled eq 1) {
_root.up_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.up_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
Symbol 1178 Button
on (keyPress "r") {
if (_root.down_gun_enabled eq 1) {
_root.down_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.down_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
on (keyPress "R") {
if (_root.down_gun_enabled eq 1) {
_root.down_gun_enabled = 0;
} else if (_root.power_lvl > _root.guns_enabled) {
_root.down_gun_enabled = 1;
} else {
_root.error_play = 3;
}
}
Symbol 1179 Button
on (keyPress "6") {
if (_root.game_on_hold != 1) {
if (_root.weapon_available_6 eq 1) {
_root.weapon_equiped = 6;
_root.shoot = 0;
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
} else {
_root.error_play = 4;
}
}
}
Symbol 1189 MovieClip Frame 1
max_dlinna = bar._width;
onEnterFrame = function () {
this.bar._width = (max_dlinna * _root.shield) / _root.shield_max;
};
Symbol 1191 MovieClip Frame 1
max_dlinna = bar._width;
onEnterFrame = function () {
this.bar._width = (max_dlinna * _root.structure) / _root.structure_max;
};
Instance of Symbol 1229 MovieClip in Symbol 1230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.game_on_hold eq 1) {
gotoAndStop (1);
} else if (_root.wave eq 1337) {
gotoAndStop (32);
} else if (_root.wave eq 7331) {
gotoAndStop (33);
} else {
gotoAndStop(_root.wave + 1);
}
}
Symbol 1234 MovieClip Frame 10
cash = _root.cash;
Symbol 1236 MovieClip Frame 1
if (_root.survival eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Instance of Symbol 1245 MovieClip in Symbol 1252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.left_gun_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1248 MovieClip in Symbol 1252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.up_gun_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1251 MovieClip in Symbol 1252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.down_gun_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1254 Button
on (keyPress "t") {
_root.down_gun_enabled = 0;
_root.up_gun_enabled = 0;
_root.left_gun_enabled = 0;
}
on (keyPress "T") {
_root.down_gun_enabled = 0;
_root.up_gun_enabled = 0;
_root.left_gun_enabled = 0;
}
Symbol 1257 MovieClip Frame 10
score = "SCORE: " + _root.score;
Symbol 1261 MovieClip Frame 9
stop();
Symbol 1283 MovieClip Frame 1
stop();
Instance of Symbol 1283 MovieClip in Symbol 1284 MovieClip Frame 1
onClipEvent (load) {
_root.error_play = 0;
timer = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.error_play != 0) {
gotoAndStop(_root.error_play + 2);
timer = timer + 0.0333333333333333;
if (timer > 1.2) {
timer = 0;
_root.error_play = 0;
}
} else if (_root.survival eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1286 MovieClip Frame 1
if ((_root.survival eq 1) or (_root.construct_mode eq 1)) {
time = "Time: " + _root.wave_timer;
} else if ((_root.wave_length - _root.wave_timer) > 0) {
time = "Time: " + (_root.wave_length - _root.wave_timer);
} else {
time = "Time: 0";
}
Symbol 1299 MovieClip Frame 1
max_dlinna = bar._width;
onEnterFrame = function () {
this.bar._width = (max_dlinna * _root.energy) / _root.energy_max;
if (_root.weapon_equiped eq 1) {
ukazatel_rough = _root.weapon_1_encost / _root.energy_max;
} else if (_root.weapon_equiped eq 2) {
ukazatel_rough = _root.weapon_2_encost / _root.energy_max;
} else if (_root.weapon_equiped eq 3) {
ukazatel_rough = _root.weapon_3_encost / _root.energy_max;
} else if (_root.weapon_equiped eq 4) {
ukazatel_rough = _root.weapon_4_encost / _root.energy_max;
} else if (_root.weapon_equiped eq 5) {
ukazatel_rough = _root.weapon_5_encost / _root.energy_max;
} else if (_root.weapon_equiped eq 6) {
ukazatel_rough = _root.weapon_6_encost / _root.energy_max;
}
ukazatel = Math.floor(ukazatel_rough * max_dlinna);
if (Math.abs(this.meniscus._x - ukazatel) > 5) {
if (this.meniscus._x < ukazatel) {
this.meniscus._x = this.meniscus._x + 3;
} else if (this.meniscus._x > ukazatel) {
this.meniscus._x = this.meniscus._x - 3;
}
}
};
Symbol 1316 MovieClip Frame 10
weapon_ammo_2 = _root.weapon_ammo_2;
weapon_ammo_3 = _root.weapon_ammo_3;
weapon_ammo_4 = _root.weapon_ammo_4;
weapon_ammo_5 = _root.weapon_ammo_5;
weapon_ammo_6 = _root.weapon_ammo_6;
Instance of Symbol 1310 MovieClip in Symbol 1317 MovieClip Frame 3
onClipEvent (load) {
this.cashAsBitmap = true;
}
Instance of Symbol 1317 MovieClip in Symbol 1318 MovieClip Frame 1
onClipEvent (load) {
if (_root.survival eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Symbol 1322 MovieClip Frame 5
timer = Math.floor(_root.powerup_ammo);
Symbol 1323 MovieClip Frame 2
if (_root.powerup_ammo > 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1323 MovieClip Frame 16
if (_root.powerup_ammo > 0) {
gotoAndPlay (15);
}
Symbol 1325 MovieClip Frame 5
timer = Math.floor(_root.powerup_shield);
Symbol 1326 MovieClip Frame 2
if (_root.powerup_shield > 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1326 MovieClip Frame 16
if (_root.powerup_shield > 0) {
gotoAndPlay (15);
}
Symbol 1328 MovieClip Frame 5
timer = Math.floor(_root.powerup_dmg);
Symbol 1329 MovieClip Frame 2
if (_root.powerup_dmg > 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1329 MovieClip Frame 16
if (_root.powerup_dmg > 0) {
gotoAndPlay (15);
}
Symbol 1332 MovieClip Frame 2
stop();
Symbol 1332 MovieClip Frame 27
stop();
Symbol 1335 MovieClip Frame 5
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
if (test eq "true") {
_root.show_strelku = 1;
} else {
_root.show_strelku = 0;
}
Symbol 1342 Button
on (release) {
if (music_stopped != 1) {
game_music.stop();
music_stopped = 1;
} else {
game_music.start(0, 1999);
music_stopped = 0;
}
}
Symbol 1343 MovieClip Frame 1
if (sound_starter != 1337) {
sound_starter = 1337;
game_music = new Sound();
game_music.attachSound("music");
game_music.start(0, 1999);
}
game_music.setVolume(_root.music_volume);
if (_root.volume_set != 1) {
_root.volume_set = 1;
_root.music_volume = 100;
}
Symbol 1347 MovieClip Frame 5
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
if (test eq "true") {
_root.show_strelku2 = 1;
} else {
_root.show_strelku2 = 0;
}
Symbol 1351 Button
on (release) {
_root.scenario_cheat_god = 0;
_root.shield = -50;
_root.energy = -50;
_root.structure = -50;
}
Symbol 1353 MovieClip Frame 5
if (_root.scenario_cheat_god eq 1) {
gotoAndStop (10);
} else if ((_root.construct_mode eq 1) and (_root.game_on_hold eq 1)) {
gotoAndStop (10);
} else {
gotoAndPlay (1);
}
Symbol 1357 MovieClip Frame 1
stop();
Symbol 1357 MovieClip Frame 2
stop();
Instance of Symbol 1442 MovieClip in Symbol 1464 MovieClip Frame 1
onClipEvent (enterFrame) {
cash = _root.cash;
}
Instance of Symbol 1450 MovieClip in Symbol 1464 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.tech_lvl + 1);
}
Instance of Symbol 1454 MovieClip in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
if (_root.bardesydesyyiff_zapomnili != 1) {
_root.bardesydesyyiff_zapomnili = 1;
_root.bardesydesyyiff_length = bar._width;
}
}
onClipEvent (enterFrame) {
if (_root.tech_lvl eq 0) {
bar._width = (_root.tech_points / 4) * _root.bardesydesyyiff_length;
} else if (_root.tech_lvl eq 1) {
bar._width = ((_root.tech_points - 4) / 8) * _root.bardesydesyyiff_length;
} else if (_root.tech_lvl eq 2) {
bar._width = ((_root.tech_points - 12) / 8) * _root.bardesydesyyiff_length;
} else if (_root.tech_lvl eq 3) {
bar._width = ((_root.tech_points - 20) / 15) * _root.bardesydesyyiff_length;
} else if (_root.tech_lvl eq 4) {
bar._width = ((_root.tech_points - 35) / 25) * _root.bardesydesyyiff_length;
} else if (_root.tech_lvl eq 5) {
bar._width = _root.bardesydesyyiff_length;
}
}
Instance of Symbol 1457 MovieClip in Symbol 1464 MovieClip Frame 1
onClipEvent (enterFrame) {
cash = _root.overall_spendings;
}
Symbol 1468 Button
on (release) {
_root.upgrades_menu_shell.gotoAndStop(1);
}
Symbol 1472 Button
on (release) {
_root.upgrade_ekran_show_what = 17;
}
Symbol 1476 Button
on (release) {
_root.upgrade_ekran_show_what = 1;
}
Symbol 1481 Button
on (release) {
_root.cash = 9000;
_root.weapon_available_2 = 1;
_root.weapon_available_3 = 1;
_root.weapon_available_4 = 1;
_root.weapon_available_5 = 1;
_root.weapon_available_6 = 1;
_root.weapon_available_7 = 1;
_root.weapon_available_8 = 1;
_root.power_lvl = 4;
_root.dmg_lvl = 9;
_root.energy_lvl = 9;
_root.shield_lvl = 9;
}
Symbol 1487 Button
on (release) {
_root.upgrade_ekran_show_what = 20;
}
Symbol 1490 MovieClip Frame 1
stop();
Instance of Symbol 1482 MovieClip in Symbol 1491 MovieClip Frame 1
onClipEvent (load) {
if (_root.construct_mode eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1488 MovieClip in Symbol 1491 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.reset_used != 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1490 MovieClip in Symbol 1491 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.global_quality eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1496 Button
on (release) {
nextFrame();
}
Symbol 1503 Button
on (release) {
prevFrame();
}
Symbol 1518 Button
on (release) {
gotoAndStop (1);
}
Symbol 1520 MovieClip Frame 1
stop();
Symbol 1541 Button
on (release) {
if (what eq "wpn2") {
_root.cash = _root.cash - 1500;
_root.weapon_available_2 = 1;
} else if (what eq "wpn3") {
_root.cash = _root.cash - 2000;
_root.weapon_available_3 = 1;
} else if (what eq "wpn4") {
_root.cash = _root.cash - 3500;
_root.weapon_available_5 = 1;
} else if (what eq "wpn5") {
_root.cash = _root.cash - 4500;
_root.weapon_available_4 = 1;
} else if (what eq "wpn6") {
_root.cash = _root.cash - 5500;
_root.weapon_available_6 = 1;
} else if (what eq "wpn7") {
_root.cash = _root.cash - 2000;
_root.weapon_available_7 = 1;
} else if (what eq "wpn8") {
_root.cash = _root.cash - 2000;
_root.weapon_available_8 = 1;
}
}
Symbol 1545 Button
on (release) {
if (what eq "power") {
_root.cash = _root.cash - 500;
_root.power_lvl = _root.power_lvl + 1;
} else if (what eq "dmg") {
_root.cash = _root.cash - _root.dmg_price;
_root.dmg_lvl = _root.dmg_lvl + 1;
} else if (what eq "energy") {
_root.cash = _root.cash - _root.energy_price;
_root.energy_lvl = _root.energy_lvl + 1;
} else if (what eq "shield") {
_root.cash = _root.cash - _root.shield_price;
_root.shield_lvl = _root.shield_lvl + 1;
}
}
Symbol 1565 MovieClip Frame 1
stop();
Symbol 1707 Button
on (release) {
if ((_root.dmg_lvl > 0) and (_root.dmg_lvl < 5)) {
_root.cash = _root.cash + (_root.dmg_lvl * 500);
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.dmg_lvl = 0;
} else if ((_root.dmg_lvl >= 5) and (_root.dmg_lvl < 9)) {
_root.cash = _root.cash + (2000 + ((_root.dmg_lvl - 4) * 1500));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.dmg_lvl = 0;
} else if (_root.dmg_lvl >= 9) {
_root.cash = _root.cash + (8000 + ((_root.dmg_lvl - 8) * 3000));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.dmg_lvl = 0;
}
}
Symbol 1711 Button
on (release) {
if ((_root.shield_lvl > 0) and (_root.shield_lvl < 5)) {
_root.cash = _root.cash + (_root.shield_lvl * 500);
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.shield_lvl = 0;
} else if ((_root.shield_lvl >= 5) and (_root.shield_lvl < 9)) {
_root.cash = _root.cash + (2000 + ((_root.shield_lvl - 4) * 1500));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.shield_lvl = 0;
} else if (_root.shield_lvl >= 9) {
_root.cash = _root.cash + (8000 + ((_root.shield_lvl - 8) * 3000));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.shield_lvl = 0;
}
}
Symbol 1715 Button
on (release) {
if ((_root.energy_lvl > 0) and (_root.energy_lvl < 5)) {
_root.cash = _root.cash + (_root.energy_lvl * 500);
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.energy_lvl = 0;
} else if ((_root.energy_lvl >= 5) and (_root.energy_lvl < 9)) {
_root.cash = _root.cash + (2000 + ((_root.energy_lvl - 4) * 1500));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.energy_lvl = 0;
} else if (_root.energy_lvl >= 9) {
_root.cash = _root.cash + (8000 + ((_root.energy_lvl - 8) * 3000));
_root.reset_used = 1;
_root.upgrade_ekran_show_what = 1;
_root.energy_lvl = 0;
}
}
Symbol 1716 MovieClip Frame 1
stop();
Instance of Symbol 1531 MovieClip in Symbol 1716 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.power_lvl);
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 2
onClipEvent (enterFrame) {
what = "power";
if (_root.power_lvl >= 4) {
gotoAndStop (4);
} else if (_root.cash < 500) {
gotoAndStop (11);
} else {
gotoAndStop (3);
}
}
Instance of Symbol 1578 MovieClip in Symbol 1716 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.shield_lvl + 1);
}
Instance of Symbol 1592 MovieClip in Symbol 1716 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.shield_lvl < 4) {
gotoAndStop (2);
} else if ((_root.shield_lvl >= 4) and (_root.shield_lvl < 8)) {
gotoAndStop (3);
} else if (_root.shield_lvl >= 8) {
gotoAndStop (4);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 3
onClipEvent (enterFrame) {
what = "shield";
if (_root.shield_lvl >= 12) {
gotoAndStop (4);
} else if (_root.cash < _root.shield_price) {
gotoAndStop (11);
} else {
gotoAndStop (3);
}
}
Instance of Symbol 1578 MovieClip in Symbol 1716 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.dmg_lvl + 1);
}
Instance of Symbol 1592 MovieClip in Symbol 1716 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.dmg_lvl < 4) {
gotoAndStop (2);
} else if ((_root.dmg_lvl >= 4) and (_root.dmg_lvl < 8)) {
gotoAndStop (3);
} else if (_root.dmg_lvl >= 8) {
gotoAndStop (4);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 4
onClipEvent (enterFrame) {
what = "dmg";
if (_root.dmg_lvl >= 12) {
gotoAndStop (4);
} else if (_root.cash < _root.dmg_price) {
gotoAndStop (11);
} else {
gotoAndStop (3);
}
}
Instance of Symbol 1578 MovieClip in Symbol 1716 MovieClip Frame 5
onClipEvent (enterFrame) {
gotoAndStop(_root.energy_lvl + 1);
}
Instance of Symbol 1592 MovieClip in Symbol 1716 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.energy_lvl < 4) {
gotoAndStop (2);
} else if ((_root.energy_lvl >= 4) and (_root.energy_lvl < 8)) {
gotoAndStop (3);
} else if (_root.energy_lvl >= 8) {
gotoAndStop (4);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 5
onClipEvent (enterFrame) {
what = "energy";
if (_root.energy_lvl >= 12) {
gotoAndStop (4);
} else if (_root.cash < _root.energy_price) {
gotoAndStop (11);
} else {
gotoAndStop (3);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 7
onClipEvent (enterFrame) {
what = "wpn2";
if (_root.tech_lvl < 1) {
gotoAndStop (6);
} else if (_root.weapon_available_2 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 1500) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 8
onClipEvent (enterFrame) {
what = "wpn3";
if (_root.tech_lvl < 2) {
gotoAndStop (7);
} else if (_root.weapon_available_3 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 2000) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 9
onClipEvent (enterFrame) {
what = "wpn4";
if (_root.tech_lvl < 3) {
gotoAndStop (8);
} else if (_root.weapon_available_5 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 3500) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 10
onClipEvent (enterFrame) {
what = "wpn5";
if (_root.tech_lvl < 4) {
gotoAndStop (9);
} else if (_root.weapon_available_4 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 4500) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 11
onClipEvent (enterFrame) {
what = "wpn6";
if (_root.tech_lvl < 5) {
gotoAndStop (10);
} else if (_root.weapon_available_6 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 5500) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 12
onClipEvent (enterFrame) {
what = "wpn7";
if (_root.tech_lvl < 3) {
gotoAndStop (8);
} else if (_root.weapon_available_7 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 2000) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1565 MovieClip in Symbol 1716 MovieClip Frame 13
onClipEvent (enterFrame) {
what = "wpn8";
if (_root.tech_lvl < 5) {
gotoAndStop (10);
} else if (_root.weapon_available_8 eq 1) {
gotoAndStop (5);
} else if (_root.cash < 2000) {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1696 MovieClip in Symbol 1716 MovieClip Frame 14
onClipEvent (load) {
if (_root.dmg_lvl <= 4) {
dmg_modifier = 1 + (0.05 * _root.dmg_lvl);
} else if ((_root.dmg_lvl >= 5) and (_root.dmg_lvl < 9)) {
dmg_modifier = 1.2 + (0.1 * (_root.dmg_lvl - 4));
} else if (_root.dmg_lvl >= 9) {
dmg_modifier = 1.6 + (0.15 * (_root.dmg_lvl - 8));
}
dmg = (dmg_modifier * 100) + "%";
energy = _root.energy_max;
rate = _root.energy_regen;
shield = _root.shield_max;
wave = _root.wave;
structure = _root.structure;
}
Instance of Symbol 1716 MovieClip in Symbol 1725 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.upgrade_ekran_show_what);
}
Symbol 1790 MovieClip Frame 8
stop();
Symbol 1792 Button
on (release) {
_root.upgrade_ekran_show_what = 3;
}
Symbol 1793 Button
on (release) {
_root.upgrade_ekran_show_what = 4;
}
Symbol 1794 Button
on (release) {
_root.upgrade_ekran_show_what = 5;
}
Symbol 1816 MovieClip Frame 6
stop();
Symbol 1817 MovieClip Frame 16
stop();
Symbol 1819 Button
on (release) {
_root.upgrade_ekran_show_what = 2;
}
Symbol 1830 MovieClip Frame 9
stop();
Symbol 1832 Button
on (release) {
_root.upgrade_ekran_show_what = 6;
}
Symbol 1833 Button
on (release) {
_root.upgrade_ekran_show_what = 7;
}
Symbol 1834 Button
on (release) {
_root.upgrade_ekran_show_what = 8;
}
Symbol 1835 Button
on (release) {
_root.upgrade_ekran_show_what = 9;
}
Symbol 1836 Button
on (release) {
_root.upgrade_ekran_show_what = 10;
}
Symbol 1837 Button
on (release) {
_root.upgrade_ekran_show_what = 11;
}
Symbol 1838 Button
on (release) {
_root.upgrade_ekran_show_what = 13;
}
Symbol 1839 Button
on (release) {
_root.upgrade_ekran_show_what = 12;
}
Symbol 1860 MovieClip Frame 8
stop();
Symbol 1862 Button
on (release) {
_root.upgrade_ekran_show_what = 14;
}
Symbol 1863 MovieClip Frame 1
stop();
Instance of Symbol 1417 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.power_lvl);
}
Instance of Symbol 1740 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.shield_lvl eq 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1742 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_7 + 1);
}
Instance of Symbol 1744 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_8 + 1);
}
Instance of Symbol 1745 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.dmg_lvl eq 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1747 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_2 + 1);
}
Instance of Symbol 1748 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_3 + 1);
}
Instance of Symbol 1749 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_4 + 1);
}
Instance of Symbol 1750 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_6 + 1);
}
Instance of Symbol 1751 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_available_5 + 1);
}
Instance of Symbol 1752 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.energy_lvl eq 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 1754 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.dmg_lvl + 1);
}
Instance of Symbol 1768 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.shield_lvl + 1);
}
Instance of Symbol 1781 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.energy_lvl + 1);
}
Symbol 1867 Button
on (release) {
gotoAndStop (1);
}
Symbol 1868 MovieClip Frame 1
stop();
_root.upgrade_ekran_show_what = 1;
_root.upgrade_menu_on = 0;
Symbol 1868 MovieClip Frame 2
_root.upgrade_menu_on = 1;
stop();
Symbol 1887 Button
on (release) {
_root.startmenu.save_.play();
_root.startmenu.save_.kuda = 1;
}
Symbol 1889 Button
on (release) {
_root.startmenu.save_.play();
_root.startmenu.save_.kuda = 2;
}
Symbol 1891 Button
on (release) {
_root.gotoAndPlay("MainMenu", "mainmenu");
}
Symbol 1893 Button
on (release) {
play();
kuda = 1;
_root.weapon_equiped = 1;
}
Symbol 1895 Button
on (release) {
play();
kuda = 3;
}
Symbol 1898 Button
on (release) {
play();
kuda = 2;
}
Symbol 1907 Button
on (release) {
gotoAndStop (1);
}
Symbol 1914 MovieClip Frame 11
stop();
Symbol 1916 Button
on (release) {
play();
}
Symbol 1925 MovieClip Frame 1
stop();
Symbol 1925 MovieClip Frame 5
save_slot1 = SharedObject.getLocal("save_slot1");
save_slot1.data.saved = 1;
save_slot1.data.wave = _root.wave;
save_slot1.data.cash = _root.cash;
save_slot1.data.overall_spendings = _root.overall_spendings;
save_slot1.data.reset_used = _root.reset_used;
save_slot1.data.power_lvl = _root.power_lvl;
save_slot1.data.dmg_lvl = _root.dmg_lvl;
save_slot1.data.shield_lvl = _root.shield_lvl;
save_slot1.data.energy_lvl = _root.energy_lvl;
save_slot1.data.weapon_available_1 = _root.weapon_available_1;
save_slot1.data.weapon_available_2 = _root.weapon_available_2;
save_slot1.data.weapon_available_3 = _root.weapon_available_3;
save_slot1.data.weapon_available_4 = _root.weapon_available_4;
save_slot1.data.weapon_available_5 = _root.weapon_available_5;
save_slot1.data.weapon_available_6 = _root.weapon_available_6;
save_slot1.data.weapon_available_7 = _root.weapon_available_7;
save_slot1.data.weapon_available_8 = _root.weapon_available_8;
Symbol 1925 MovieClip Frame 18
stop();
Symbol 1928 Button
on (release) {
play();
}
Symbol 1929 MovieClip Frame 1
stop();
Symbol 1929 MovieClip Frame 5
save_slot2 = SharedObject.getLocal("save_slot2");
save_slot2.data.saved = 1;
save_slot2.data.wave = _root.wave;
save_slot2.data.cash = _root.cash;
save_slot2.data.overall_spendings = _root.overall_spendings;
save_slot2.data.reset_used = _root.reset_used;
save_slot2.data.power_lvl = _root.power_lvl;
save_slot2.data.dmg_lvl = _root.dmg_lvl;
save_slot2.data.shield_lvl = _root.shield_lvl;
save_slot2.data.energy_lvl = _root.energy_lvl;
save_slot2.data.weapon_available_1 = _root.weapon_available_1;
save_slot2.data.weapon_available_2 = _root.weapon_available_2;
save_slot2.data.weapon_available_3 = _root.weapon_available_3;
save_slot2.data.weapon_available_4 = _root.weapon_available_4;
save_slot2.data.weapon_available_5 = _root.weapon_available_5;
save_slot2.data.weapon_available_6 = _root.weapon_available_6;
save_slot2.data.weapon_available_7 = _root.weapon_available_7;
save_slot2.data.weapon_available_8 = _root.weapon_available_8;
Symbol 1929 MovieClip Frame 18
stop();
Symbol 1936 Button
on (press) {
_parent.dx = _xmouse;
_parent.onMouseMove = function () {
tmp_x = this._xmouse - this.dx;
tmp_x = ((tmp_x >= 0) ? (((tmp_x <= this.x_lim) ? (tmp_x) : (this.x_lim))) : 0);
this.polsun._x = tmp_x;
_root.music_volume = Math.round((tmp_x / this.x_lim) * 100);
updateAfterEvent();
};
}
on (release, releaseOutside) {
delete _parent.onMouseMove;
}
Symbol 1938 MovieClip Frame 1
x_lim = polosa._width - polsun._width;
Symbol 1940 MovieClip Frame 2
aaa = _root.music_volume + "%";
Symbol 1959 Button
on (release) {
_root.global_quality = 1;
}
Symbol 1963 Button
on (release) {
_root.global_quality = 2;
}
Symbol 1967 Button
on (release) {
_root.global_quality = 3;
}
Symbol 1971 Button
on (release) {
_root.global_quality = 4;
}
Instance of Symbol 1953 MovieClip in Symbol 1972 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.global_quality + 1);
}
Symbol 1973 MovieClip Frame 9
if (kuda eq 1) {
sho.gotoAndStop(2);
} else {
sho.gotoAndStop(3);
}
stop();
Symbol 1984 Button
on (release) {
play();
}
Symbol 1991 MovieClip Frame 1
stop();
a = 0;
Symbol 1991 MovieClip Frame 2
stop();
a = 1;
Symbol 1994 Button
on (release) {
if (wave < 30) {
wave = wave + 1;
}
}
Symbol 1998 Button
on (release) {
if (wave > 0) {
wave = wave - 1;
}
}
Symbol 2006 MovieClip Frame 2
stop();
Instance of Symbol 1991 MovieClip in Symbol 2006 MovieClip Frame 2
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
gotoAndStop(_root.scenario_cheat_cash + 1);
} else {
_root.scenario_cheat_cash = a;
}
}
Instance of Symbol 1991 MovieClip in Symbol 2006 MovieClip Frame 2
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
gotoAndStop(_root.scenario_cheat_god + 1);
} else {
_root.scenario_cheat_god = a;
}
}
Instance of Symbol 1999 MovieClip in Symbol 2006 MovieClip Frame 2
onClipEvent (enterFrame) {
if (yifffff != 555) {
yifffff = 555;
wave = _root.wave;
} else {
_root.wave = wave;
}
}
Instance of Symbol 1991 MovieClip in Symbol 2006 MovieClip Frame 2
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
gotoAndStop(_root.scenario_cheat_energy + 1);
} else {
_root.scenario_cheat_energy = a;
}
}
Symbol 2011 MovieClip Frame 4
stop();
Symbol 2014 Button
on (release) {
if (_root.survival eq 1) {
gotoAndStop (45);
} else {
gotoAndPlay (1);
}
}
Symbol 2029 MovieClip Frame 12
stop();
Symbol 2031 MovieClip Frame 4
stop();
Symbol 2033 Button
on (press) {
if (_root.weapon_available_7 eq 1) {
_root.weapon_equiped = 7;
_root.shoot = 0;
gotoAndStop (41);
_root.deploy_mines_mode = 1;
_root.deploy_land_mines = 1;
} else {
_root.error_play = 4;
}
}
Symbol 2047 MovieClip Frame 18
stop();
Symbol 2048 MovieClip Frame 4
stop();
Symbol 2050 Button
on (press) {
if (_root.weapon_available_8 eq 1) {
_root.weapon_equiped = 8;
_root.shoot = 0;
gotoAndStop (41);
_root.deploy_mines_mode = 1;
_root.deploy_land_mines = 1;
} else {
_root.error_play = 4;
}
}
Symbol 2064 MovieClip Frame 12
stop();
Symbol 2066 MovieClip Frame 4
stop();
Symbol 2067 Button
on (release) {
if (_root.mines_installed_count > 0) {
_root.blowallmines = 1;
}
}
Symbol 2077 MovieClip Frame 4
stop();
Symbol 2079 Button
on (release) {
gotoAndStop (40);
}
Symbol 2095 Button
on (release) {
if (_root.dmg_lvl < 4) {
if (_root.upgrade_points > 0) {
_root.upgrade_points = _root.upgrade_points - 1;
_root.dmg_lvl = _root.dmg_lvl + 1;
}
} else if ((_root.dmg_lvl >= 4) and (_root.dmg_lvl < 8)) {
if (_root.upgrade_points > 1) {
_root.upgrade_points = _root.upgrade_points - 2;
_root.dmg_lvl = _root.dmg_lvl + 1;
}
} else if ((_root.dmg_lvl >= 8) and (_root.dmg_lvl < 12)) {
if (_root.upgrade_points > 2) {
_root.upgrade_points = _root.upgrade_points - 3;
_root.dmg_lvl = _root.dmg_lvl + 1;
}
}
}
Symbol 2100 Button
on (release) {
if ((_root.dmg_lvl > 0) and (_root.dmg_lvl <= 4)) {
if (_root.dmg_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 1;
_root.dmg_lvl = _root.dmg_lvl - 1;
}
} else if ((_root.dmg_lvl > 4) and (_root.dmg_lvl <= 8)) {
if (_root.dmg_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 2;
_root.dmg_lvl = _root.dmg_lvl - 1;
}
} else if ((_root.dmg_lvl > 8) and (_root.dmg_lvl <= 12)) {
if (_root.dmg_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 3;
_root.dmg_lvl = _root.dmg_lvl - 1;
}
}
}
Symbol 2101 Button
on (release) {
if (_root.shield_lvl < 4) {
if (_root.upgrade_points > 0) {
_root.upgrade_points = _root.upgrade_points - 1;
_root.shield_lvl = _root.shield_lvl + 1;
}
} else if ((_root.shield_lvl >= 4) and (_root.shield_lvl < 8)) {
if (_root.upgrade_points > 1) {
_root.upgrade_points = _root.upgrade_points - 2;
_root.shield_lvl = _root.shield_lvl + 1;
}
} else if ((_root.shield_lvl >= 8) and (_root.shield_lvl < 12)) {
if (_root.upgrade_points > 2) {
_root.upgrade_points = _root.upgrade_points - 3;
_root.shield_lvl = _root.shield_lvl + 1;
}
}
}
Symbol 2102 Button
on (release) {
if ((_root.shield_lvl > 0) and (_root.shield_lvl <= 4)) {
if (_root.shield_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 1;
_root.shield_lvl = _root.shield_lvl - 1;
}
} else if ((_root.shield_lvl > 4) and (_root.shield_lvl <= 8)) {
if (_root.shield_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 2;
_root.shield_lvl = _root.shield_lvl - 1;
}
} else if ((_root.shield_lvl > 8) and (_root.shield_lvl <= 12)) {
if (_root.shield_lvl > 0) {
_root.upgrade_points = _root.upgrade_points + 3;
_root.shield_lvl = _root.shield_lvl - 1;
}
}
}
Symbol 2111 MovieClip Frame 5
points = _root.upgrade_points;
Symbol 2114 MovieClip Frame 2
defence = ((_root.shield_max / 1000) * 100) + "%";
Symbol 2119 MovieClip Frame 2
if (_root.dmg_lvl <= 4) {
dmg_modifier = 1 + (0.05 * _root.dmg_lvl);
} else if ((_root.dmg_lvl >= 5) and (_root.dmg_lvl < 9)) {
dmg_modifier = 1.2 + (0.1 * (_root.dmg_lvl - 4));
} else if (_root.dmg_lvl >= 9) {
dmg_modifier = 1.6 + (0.15 * (_root.dmg_lvl - 8));
}
offence = (dmg_modifier * 100) + "%";
Symbol 2129 Button
on (release) {
_root.gotoAndPlay("MainMenu", "mainmenu");
}
Symbol 2133 Button
on (release) {
gotoAndStop (40);
}
Symbol 2137 Button
on (release) {
gotoAndPlay (1);
_root.game_on_hold = 0;
}
Symbol 2140 Button
on (release) {
if (_root.upgrade_points eq 30) {
_root.upgrade_points = 0;
_root.dmg_lvl = 9;
_root.shield_lvl = 9;
} else if (_root.upgrade_points eq 0) {
_root.dmg_lvl = 0;
_root.shield_lvl = 0;
_root.upgrade_points = 30;
}
}
Symbol 2147 MovieClip Frame 7
qb_stat = SharedObject.getLocal("qb_stat");
qb_stat.data.victory = 1;
Symbol 2147 MovieClip Frame 20
stop();
Symbol 2151 MovieClip Frame 25
stop();
Symbol 2159 MovieClip Frame 5
stop();
Symbol 2160 MovieClip Frame 4
stop();
Symbol 2162 Button
on (release) {
_root.gotoAndPlay("MainMenu", "mainmenu");
}
Symbol 2165 MovieClip Frame 4
stop();
Symbol 2167 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 2168 MovieClip Frame 46
stop();
Symbol 2176 Button
on (release) {
nextFrame();
}
Symbol 2177 Button
on (release) {
gotoAndStop (12);
}
Symbol 2179 Button
on (release) {
prevFrame();
}
Symbol 2190 Button
on (release) {
gotoAndStop (1);
}
Symbol 2192 MovieClip Frame 1
rr = 0;
stop();
Symbol 2192 MovieClip Frame 2
rr = 1;
Symbol 2192 MovieClip Frame 3
rr = 2;
Symbol 2192 MovieClip Frame 4
rr = 3;
Symbol 2192 MovieClip Frame 5
rr = 4;
Symbol 2192 MovieClip Frame 6
rr = 5;
Symbol 2192 MovieClip Frame 7
rr = 6;
Symbol 2192 MovieClip Frame 8
rr = 7;
Symbol 2192 MovieClip Frame 9
rr = 8;
Symbol 2192 MovieClip Frame 10
rr = 9;
Symbol 2192 MovieClip Frame 11
rr = 10;
Symbol 2192 MovieClip Frame 12
rr = 11;
Symbol 2215 Button
on (release) {
if (limit < 50) {
limit = limit + 1;
}
}
Symbol 2217 Button
on (release) {
if (limit > 1) {
limit = limit - 1;
}
}
Symbol 2225 Button
on (release) {
gotoAndPlay (1);
_root.game_on_hold = 1;
_root.upgrades_menu_shell.gotoAndStop(2);
_root.upgrade_menu_on = 1;
}
Symbol 2236 MovieClip Frame 1
_root.deploy_land_mines = 0;
Symbol 2236 MovieClip Frame 2
if ((_root.game_on_hold != 1) or (_root.upgrade_menu_on eq 1)) {
gotoAndPlay (1);
} else if (_root.survival eq 1) {
gotoAndStop (45);
} else if (_root.wave eq 31) {
gotoAndStop (60);
} else if (_root.construct_mode eq 1) {
gotoAndStop (70);
} else {
play();
}
Symbol 2236 MovieClip Frame 22
stop();
Instance of Symbol 1973 MovieClip "save_" in Symbol 2236 MovieClip Frame 22
onClipEvent (load) {
stop();
}
Instance of Symbol 2006 MovieClip in Symbol 2236 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_root.cheat_menu_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 2236 MovieClip Frame 37
if (kuda eq 1) {
gotoAndPlay (1);
_root.game_on_hold = 0;
} else if (kuda eq 2) {
gotoAndPlay (1);
_root.game_on_hold = 1;
_root.upgrades_menu_shell.gotoAndStop(2);
_root.upgrade_menu_on = 1;
} else if (kuda eq 3) {
gotoAndStop (40);
}
Symbol 2236 MovieClip Frame 40
_root.weapon_equiped = 1;
_root.deploy_land_mines = 0;
Instance of Symbol 2070 MovieClip in Symbol 2236 MovieClip Frame 41
onClipEvent (enterFrame) {
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
if (test eq "true") {
_root.deploy_land_mines = 0;
} else {
_root.deploy_land_mines = 1;
}
}
Symbol 2236 MovieClip Frame 42
gotoAndPlay (1);
Instance of Symbol 1768 MovieClip in Symbol 2236 MovieClip Frame 45
onClipEvent (enterFrame) {
gotoAndStop(_root.shield_lvl + 1);
}
Instance of Symbol 1768 MovieClip in Symbol 2236 MovieClip Frame 45
onClipEvent (enterFrame) {
gotoAndStop(_root.dmg_lvl + 1);
}
Symbol 2236 MovieClip Frame 46
gotoAndPlay (1);
Symbol 2236 MovieClip Frame 60
stop();
Symbol 2236 MovieClip Frame 61
gotoAndPlay (1);
Instance of Symbol 2210 MovieClip in Symbol 2236 MovieClip Frame 70
onClipEvent (enterFrame) {
if (respawnratesyiffyiff != 1337) {
respawnratesyiffyiff = 1337;
trooper_rrmod.gotoAndStop(_root.trooper_rrmod + 1);
red_alien_ship_rrmod.gotoAndStop(_root.red_alien_ship_rrmod + 1);
lexx_rrmod.gotoAndStop(_root.lexx_rrmod + 1);
spider_rrmod.gotoAndStop(_root.spider_rrmod + 1);
tank_rrmod.gotoAndStop(_root.tank_rrmod + 1);
buggy_rrmod.gotoAndStop(_root.buggy_rrmod + 1);
nukebuggy_rrmod.gotoAndStop(_root.nukebuggy_rrmod + 1);
helicopter_rrmod.gotoAndStop(_root.helicopter_rrmod + 1);
nuketruck_rrmod.gotoAndStop(_root.nuketruck_rrmod + 1);
hovertank_rrmod.gotoAndStop(_root.hovertank_rrmod + 1);
lazertank_rrmod.gotoAndStop(_root.lazertank_rrmod + 1);
blacktank_rrmod.gotoAndStop(_root.blacktank_rrmod + 1);
flyer1_rrmod.gotoAndStop(_root.flyer1_rrmod + 1);
flyer2_rrmod.gotoAndStop(_root.flyer2_rrmod + 1);
battletank_rrmod.gotoAndStop(_root.battletank_rrmod + 1);
rockettank_rrmod.gotoAndStop(_root.rockettank_rrmod + 1);
} else {
_root.trooper_rrmod = trooper_rrmod.rr;
_root.red_alien_ship_rrmod = red_alien_ship_rrmod.rr;
_root.lexx_rrmod = lexx_rrmod.rr;
_root.spider_rrmod = spider_rrmod.rr;
_root.tank_rrmod = tank_rrmod.rr;
_root.buggy_rrmod = buggy_rrmod.rr;
_root.nukebuggy_rrmod = nukebuggy_rrmod.rr;
_root.helicopter_rrmod = helicopter_rrmod.rr;
_root.nuketruck_rrmod = nuketruck_rrmod.rr;
_root.hovertank_rrmod = hovertank_rrmod.rr;
_root.lazertank_rrmod = lazertank_rrmod.rr;
_root.blacktank_rrmod = blacktank_rrmod.rr;
_root.flyer1_rrmod = flyer1_rrmod.rr;
_root.flyer2_rrmod = flyer2_rrmod.rr;
_root.battletank_rrmod = battletank_rrmod.rr;
_root.rockettank_rrmod = rockettank_rrmod.rr;
}
}
Instance of Symbol 1991 MovieClip in Symbol 2236 MovieClip Frame 70
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
gotoAndStop(_root.scenario_cheat_god + 1);
} else {
_root.scenario_cheat_god = a;
}
}
Instance of Symbol 1991 MovieClip in Symbol 2236 MovieClip Frame 70
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
gotoAndStop(_root.scenario_cheat_energy + 1);
} else {
_root.scenario_cheat_energy = a;
}
}
Instance of Symbol 2218 MovieClip in Symbol 2236 MovieClip Frame 70
onClipEvent (enterFrame) {
if (yiffffffff != "fhtagn") {
yiffffffff = "fhtagn";
limit = _root.construct_limit;
} else {
_root.construct_limit = limit;
}
}
Symbol 2246 MovieClip Frame 4
stop();
Symbol 2248 Button
on (release) {
_root.play();
_root.load_slot_1 = 1;
}
Symbol 2251 MovieClip Frame 4
stop();
Symbol 2253 Button
on (release) {
_root.play();
_root.load_slot_2 = 1;
}
Symbol 2256 MovieClip Frame 4
stop();
Symbol 2258 Button
on (release) {
_root.play();
}
Symbol 2261 MovieClip Frame 3
qb_stat = SharedObject.getLocal("qb_stat");
testingzzz = qb_stat.data.bestscore;
if (_root.score > testingzzz) {
qb_stat.data.bestscore = _root.score;
}
bestscore = "Best Score: " + qb_stat.data.bestscore;
score = "Current Score: " + _root.score;
Symbol 2264 MovieClip Frame 2
if (_root.death_menu_on != 1) {
gotoAndPlay (1);
}
Symbol 2264 MovieClip Frame 3
stop();
Instance of Symbol 2261 MovieClip in Symbol 2264 MovieClip Frame 3
onClipEvent (load) {
if (_root.survival eq 1) {
gotoAndStop (3);
} else if (_root.construct_mode eq 1) {
gotoAndStop (4);
} else {
gotoAndStop (2);
}
}
Symbol 2266 MovieClip Frame 1
count = 0;
Symbol 2266 MovieClip Frame 2
if (_root.shakescreen eq 0) {
gotoAndPlay (1);
}
Symbol 2266 MovieClip Frame 3
def_x = _root.game._x;
def_y = _root.game._y;
if (_root.shakescreen eq 1) {
magnitude = 25;
} else if (_root.shakescreen eq 2) {
magnitude = 40;
} else if (_root.shakescreen eq 3) {
magnitude = 10;
} else if (_root.shakescreen eq 4) {
magnitude = 5;
} else if (_root.shakescreen eq 5) {
magnitude = 20;
}
_root.shakescreen = 0;
Symbol 2266 MovieClip Frame 4
if (random(2) eq 1) {
x_mod = 1;
} else {
x_mod = -1;
}
if (random(2) eq 1) {
y_mod = 1;
} else {
y_mod = -1;
}
x_plus = random(magnitude);
y_plus = random(magnitude);
_root.game._x = _root.game._x + (x_plus * x_mod);
_root.game._y = _root.game._y + (y_plus * y_mod);
Symbol 2266 MovieClip Frame 5
count++;
magnitude = magnitude - (magnitude / 12);
_root.game._x = def_x;
_root.game._y = def_y;
if (_root.shakescreen != 0) {
gotoAndPlay (3);
}
Symbol 2266 MovieClip Frame 6
if (count < 12) {
gotoAndPlay (4);
}
Symbol 2271 MovieClip Frame 1
stop();
Symbol 2271 MovieClip Frame 14
_root.mine_deploy = 0;
Instance of Symbol 2271 MovieClip in Symbol 2272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mine_deploy eq 1) {
play();
}
}
Symbol 2276 MovieClip Frame 1
stop();
Symbol 2276 MovieClip Frame 2
if (_root.notenoughenergytoshoot eq 1) {
_root.error_play = 2;
go = 0;
} else if (_root.survival eq 1) {
if (((_root.weapon_equiped eq 1) or (_root.weapon_equiped eq 7)) or (_root.weapon_equiped eq 8)) {
_root.shoot = 1;
} else if ((_root.weapon_equiped eq 2) and (_root.weapon_ammo_2 > 0)) {
_root.shoot = 1;
} else if ((_root.weapon_equiped eq 3) and (_root.weapon_ammo_3 > 0)) {
_root.shoot = 1;
} else if ((_root.weapon_equiped eq 4) and (_root.weapon_ammo_4 > 0)) {
_root.shoot = 1;
} else if ((_root.weapon_equiped eq 5) and (_root.weapon_ammo_5 > 0)) {
_root.shoot = 1;
} else if ((_root.weapon_equiped eq 6) and (_root.weapon_ammo_6 > 0)) {
_root.shoot = 1;
} else {
_root.error_play = 6;
go = 0;
}
} else {
_root.shoot = 1;
}
Symbol 2278 Button
on (press) {
if (_root.notenoughenergytoshoot eq 1) {
_root.error_play = 2;
shotter.go = 0;
} else {
shotter.go = 1;
}
}
on (release) {
shotter.go = 0;
}
Symbol 2312 MovieClip Frame 1
stop();
Instance of Symbol 2312 MovieClip in Symbol 2319 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndPlay(_root.mines_installed_count);
}
Instance of Symbol 2276 MovieClip "shotter" in Symbol 2330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go eq 1) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon_equiped);
}
Symbol 2360 MovieClip Frame 40
_root.showmouseforbonus = 0;
_root.showmouseforbonus2 = 0;
Symbol 2361 MovieClip Frame 1
stop();
Mouse.hide();
Symbol 2361 MovieClip Frame 2
Mouse.hide();
Symbol 2361 MovieClip Frame 3
Mouse.hide();
Instance of Symbol 2361 MovieClip "kursor" in Symbol 2362 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.showmouseforbonus eq 1) or (_root.showmouseforbonus2 eq 1)) {
gotoAndStop (3);
} else if (((_root.base_dead eq 1) or (_root.show_strelku eq 1)) or (_root.show_strelku2 eq 1)) {
gotoAndStop (2);
} else if (_root.deploy_land_mines eq 1) {
gotoAndStop (1);
} else {
gotoAndStop(_root.custom_cursor_off + 1);
}
}
Symbol 2426 MovieClip Frame 1
setProperty("shesterenka", _rotation , shesterenka._rotation - 1);
Symbol 2426 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2477 MovieClip Frame 134
tellTarget ("_root") {
play();
};
stop();
Symbol 2483 Button
on (release) {
play();
stopAllSounds();
}
Symbol 2510 MovieClip Frame 105
stop();
_root.play();
Symbol 2519 MovieClip Frame 105
stop();
_root.play();
Symbol 2525 Button
on (release) {
gotoAndStop (3);
}
Symbol 2529 Button
on (release) {
gotoAndStop (2);
}
Symbol 2533 Button
on (release) {
gotoAndStop (11);
}
Symbol 2537 Button
on (release) {
getURL ("http://dimonzerg.narod.ru/", "_blank");
}
Symbol 2541 Button
on (release) {
gotoAndStop (17);
}
Symbol 2545 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 2566 Button
on (release) {
_root.goplaygame = 1;
_root.load_slot_1 = 1;
_root.survival = 0;
_root.construct_mode = 0;
}
Symbol 2567 MovieClip Frame 15
stop();
Symbol 2577 MovieClip Frame 3
save_slot1 = SharedObject.getLocal("save_slot1");
wave = "Wave: " + save_slot1.data.wave;
spendings = "Spendings: " + save_slot1.data.overall_spendings;
weapon_available_2 = save_slot1.data.weapon_available_2;
weapon_available_3 = save_slot1.data.weapon_available_3;
weapon_available_4 = save_slot1.data.weapon_available_4;
weapon_available_5 = save_slot1.data.weapon_available_5;
weapon_available_6 = save_slot1.data.weapon_available_6;
weapon_available_7 = save_slot1.data.weapon_available_7;
weapon_available_8 = save_slot1.data.weapon_available_8;
if (weapon_available_2 eq 1) {
weapon2.gotoAndStop(2);
} else {
weapon2.gotoAndStop(1);
}
if (weapon_available_3 eq 1) {
weapon3.gotoAndStop(2);
} else {
weapon3.gotoAndStop(1);
}
if (weapon_available_4 eq 1) {
weapon4.gotoAndStop(2);
} else {
weapon4.gotoAndStop(1);
}
if (weapon_available_5 eq 1) {
weapon5.gotoAndStop(2);
} else {
weapon5.gotoAndStop(1);
}
if (weapon_available_6 eq 1) {
weapon6.gotoAndStop(2);
} else {
weapon6.gotoAndStop(1);
}
if (weapon_available_7 eq 1) {
weapon7.gotoAndStop(2);
} else {
weapon7.gotoAndStop(1);
}
if (weapon_available_8 eq 1) {
weapon8.gotoAndStop(2);
} else {
weapon8.gotoAndStop(1);
}
Symbol 2580 Button
on (release) {
_root.goplaygame = 1;
_root.load_slot_2 = 1;
_root.survival = 0;
_root.construct_mode = 0;
}
Symbol 2583 MovieClip Frame 3
save_slot2 = SharedObject.getLocal("save_slot2");
wave = "Wave: " + save_slot2.data.wave;
spendings = "Spendings: " + save_slot2.data.overall_spendings;
weapon_available_2 = save_slot2.data.weapon_available_2;
weapon_available_3 = save_slot2.data.weapon_available_3;
weapon_available_4 = save_slot2.data.weapon_available_4;
weapon_available_5 = save_slot2.data.weapon_available_5;
weapon_available_6 = save_slot2.data.weapon_available_6;
weapon_available_7 = save_slot2.data.weapon_available_7;
weapon_available_8 = save_slot2.data.weapon_available_8;
if (weapon_available_2 eq 1) {
weapon2.gotoAndStop(2);
} else {
weapon2.gotoAndStop(1);
}
if (weapon_available_3 eq 1) {
weapon3.gotoAndStop(2);
} else {
weapon3.gotoAndStop(1);
}
if (weapon_available_4 eq 1) {
weapon4.gotoAndStop(2);
} else {
weapon4.gotoAndStop(1);
}
if (weapon_available_5 eq 1) {
weapon5.gotoAndStop(2);
} else {
weapon5.gotoAndStop(1);
}
if (weapon_available_6 eq 1) {
weapon6.gotoAndStop(2);
} else {
weapon6.gotoAndStop(1);
}
if (weapon_available_7 eq 1) {
weapon7.gotoAndStop(2);
} else {
weapon7.gotoAndStop(1);
}
if (weapon_available_8 eq 1) {
weapon8.gotoAndStop(2);
} else {
weapon8.gotoAndStop(1);
}
Symbol 2596 Button
on (release) {
gotoAndStop (1);
}
Symbol 2600 Button
on (release) {
gotoAndStop (4);
}
Symbol 2604 Button
on (release) {
gotoAndStop (6);
}
Symbol 2608 Button
on (release) {
gotoAndStop (16);
}
Symbol 2613 Button
on (release) {
gotoAndStop (3);
}
Symbol 2617 Button
on (release) {
nextFrame();
}
Symbol 2634 Button
on (release) {
_root.goplaygame = 1;
_root.survival = 0;
_root.construct_mode = 0;
}
Symbol 2644 Button
on (release) {
qb_stat = SharedObject.getLocal("qb_stat");
qb_stat.data.bestscore = 0;
}
Symbol 2656 Button
on (release) {
_root.goplaygame = 1;
_root.survival = 1;
_root.construct_mode = 0;
}
Symbol 2669 Button
on (release) {
_root.cheat_menu_enabled = 1;
}
Symbol 2673 Button
on (release) {
_root.cheat_menu_enabled = 0;
}
Instance of Symbol 2674 MovieClip in Symbol 2679 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.cheat_menu_enabled eq 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 2684 Button
on (release) {
_root.mainmenu.gotoAndStop(12);
}
Symbol 2690 Button
on (release) {
gotoAndStop (11);
}
Symbol 2704 Button
on (release) {
_root.goplaygame = 1;
_root.survival = 0;
_root.construct_mode = 1;
}
Symbol 2713 Button
on (release) {
getURL ("http://games.armorgames.com/misc/quadrobarrel.zip", "_blank");
}
Symbol 2721 MovieClip Frame 7
stop();
Symbol 2722 MovieClip Frame 10
stop();
Symbol 2725 Button
on (press) {
play();
}
Symbol 2731 MovieClip Frame 1
stop();
Symbol 2731 MovieClip Frame 10
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.bestscore < 61000) {
qb_stat.data.bestscore = 61000;
}
qb_stat.data.weapon_available_4 = 1;
qb_stat.data.weapon_available_5 = 1;
qb_stat.data.weapon_available_6 = 1;
qb_stat.data.weapon_available_7 = 1;
qb_stat.data.weapon_available_8 = 1;
qb_stat.data.victory = 1;
Symbol 2731 MovieClip Frame 20
stop();
Symbol 2735 Button
on (release) {
nextFrame();
}
Symbol 2740 Button
on (release) {
SDGSDDF = 1;
}
Symbol 2743 Button
on (release) {
SDGSDDDF = 1;
}
Symbol 2746 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2749 Button
on (release) {
SDGSDDF = 1567;
}
Symbol 2752 Button
on (release) {
SDGSDDF = 234231 /* 0x0392F7 */;
}
Symbol 2755 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2758 Button
on (release) {
SDGSDDF = 1345345 /* 0x148741 */;
}
Symbol 2761 Button
on (release) {
SDG353425SDDF = 1;
}
Symbol 2764 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2767 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2768 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2769 Button
on (release) {
SDG353425SDDF = 1;
}
Symbol 2770 Button
on (release) {
SDG353425SDDF = 1;
}
Symbol 2771 Button
on (release) {
SDGSDDF = 1567;
}
Symbol 2772 Button
on (release) {
nextFrame();
}
Symbol 2773 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2774 Button
on (release) {
SDGSDDF = 1345345 /* 0x148741 */;
}
Symbol 2775 Button
on (release) {
SDGSDDF = 234231 /* 0x0392F7 */;
}
Symbol 2776 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2777 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2778 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2779 Button
on (release) {
SDGSDDF = 234231 /* 0x0392F7 */;
}
Symbol 2780 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2781 Button
on (release) {
nextFrame();
}
Symbol 2782 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2783 Button
on (release) {
nextFrame();
}
Symbol 2784 Button
on (release) {
SDG353425SDDF = 1;
}
Symbol 2785 Button
on (release) {
SDGSDDF = 234231 /* 0x0392F7 */;
}
Symbol 2786 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2787 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2788 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2789 Button
on (release) {
SDGSDDF = 3453451 /* 0x34B20B */;
}
Symbol 2790 Button
on (release) {
nextFrame();
}
Symbol 2791 Button
on (release) {
SDGSDDF = 1345345 /* 0x148741 */;
}
Symbol 2792 Button
on (release) {
SDGSDDF = 1567;
}
Symbol 2793 Button
on (release) {
SDGSDDF = 1567;
}
Symbol 2794 Button
on (release) {
nextFrame();
}
Symbol 2795 Button
on (release) {
SDGSDDF = 1;
}
Symbol 2796 Button
on (release) {
SDGSDDF = 14;
}
Symbol 2797 Button
on (release) {
SDGSDDDF = 1;
}
Symbol 2798 Button
on (release) {
nextFrame();
}
Symbol 2799 Button
on (release) {
SDGSDDF = 234231 /* 0x0392F7 */;
}
Symbol 2800 Button
on (release) {
SDGSDDDF = 1;
}
Symbol 2801 Button
on (release) {
SDGSDDDF = 1;
}
Symbol 2806 Button
on (release) {
_root.mainmenu.gotoAndStop(30);
}
Symbol 2807 MovieClip Frame 7
stop();
Symbol 2808 Button
on (release) {
prevFrame();
}
Symbol 2818 Button
on (release) {
prevFrame();
}
Symbol 2822 Button
on (release) {
_root.mainmenu.gotoAndStop(1);
}
Symbol 2877 MovieClip Frame 1
stop();
Symbol 2878 MovieClip Frame 1
stop();
Instance of Symbol 2577 MovieClip in Symbol 2878 MovieClip Frame 2
onClipEvent (enterFrame) {
save_slot1 = SharedObject.getLocal("save_slot1");
if (save_slot1.data.saved eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 2583 MovieClip in Symbol 2878 MovieClip Frame 2
onClipEvent (enterFrame) {
save_slot2 = SharedObject.getLocal("save_slot2");
if (save_slot2.data.saved eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Symbol 2878 MovieClip Frame 7
qb_stat = SharedObject.getLocal("qb_stat");
testingzzz = qb_stat.data.bestscore;
if (testingzzz > 0) {
} else {
qb_stat.data.bestscore = 0;
}
bestscore = qb_stat.data.bestscore;
if (qb_stat.data.weapon_available_4 != 1) {
qb_stat.data.weapon_available_4 = 0;
weapon4.gotoAndStop(1);
} else {
weapon4.gotoAndStop(2);
}
if (qb_stat.data.weapon_available_5 != 1) {
qb_stat.data.weapon_available_5 = 0;
weapon5.gotoAndStop(1);
} else {
weapon5.gotoAndStop(2);
}
if (qb_stat.data.weapon_available_6 != 1) {
qb_stat.data.weapon_available_6 = 0;
weapon6.gotoAndStop(1);
} else {
weapon6.gotoAndStop(2);
}
if (qb_stat.data.weapon_available_7 != 1) {
qb_stat.data.weapon_available_7 = 0;
weapon7.gotoAndStop(1);
} else {
weapon7.gotoAndStop(2);
}
if (qb_stat.data.weapon_available_8 != 1) {
qb_stat.data.weapon_available_8 = 0;
weapon8.gotoAndStop(1);
} else {
weapon8.gotoAndStop(2);
}
weapon2.gotoAndStop(2);
weapon3.gotoAndStop(2);
Instance of Symbol 2679 MovieClip in Symbol 2878 MovieClip Frame 11
onClipEvent (enterFrame) {
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.victory eq 1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 2685 MovieClip in Symbol 2878 MovieClip Frame 11
onClipEvent (enterFrame) {
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.bestscore > 59999) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 2705 MovieClip in Symbol 2878 MovieClip Frame 16
onClipEvent (enterFrame) {
qb_stat = SharedObject.getLocal("qb_stat");
if (qb_stat.data.bestscore > 59999) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Symbol 2878 MovieClip Frame 18
gotoAndStop (1);
Instance of Symbol 2807 MovieClip in Symbol 2878 MovieClip Frame 21
onClipEvent (enterFrame) {
if (((SDGSDDF != 0) or (SDG353425SDDF != 0)) or (SDGSDDDF != 0)) {
SDGSDDF = 0;
SDG353425SDDF = 0;
SDGSDDDF = 0;
gotoAndStop (1);
}
}
Symbol 2878 MovieClip Frame 22
gotoAndStop (1);
Symbol 2878 MovieClip Frame 29
gotoAndStop (1);
Symbol 2878 MovieClip Frame 30
stop();
fscommand ("fullscreen", "true");
fscommand ("allowscale", "true");
fscommand ("showmenu", "true");
Symbol 2878 MovieClip Frame 41
gotoAndStop (1);
Symbol 2878 MovieClip Frame 54
gotoAndStop (1);
Symbol 2881 Button
on (release) {
gotoAndPlay (445);
}
Symbol 2917 MovieClip Frame 13
stop();
Symbol 2935 MovieClip Frame 13
stop();
Symbol 2960 MovieClip Frame 15
stop();
Symbol 2970 MovieClip Frame 15
stop();
Symbol 2988 MovieClip Frame 7
stop();
Symbol 2991 Button
on (release) {
gotoAndPlay (1);
}
Symbol 3006 MovieClip Frame 14
stop();
Symbol 3012 MovieClip Frame 15
stop();
Instance of Symbol 2893 MovieClip in Symbol 3016 MovieClip Frame 13
onClipEvent (enterFrame) {
a = ((((((("A" + random(800)) + 100) + "B") + random(800)) + 100) + "C") + random(800)) + 100;
b = ((((((("ZC-" + random(800)) + 100) + "V") + random(800)) + 100) + "XX^") + random(80)) + 10;
c = "GGTX" + random(9000);
}
Instance of Symbol 2939 MovieClip in Symbol 3016 MovieClip Frame 106
onClipEvent (enterFrame) {
a = ((("XZ" + random(999)) + 100) + "-") + random(99);
b = "ZC-" + random(9999);
c = random(999) + "/DFG";
}
Instance of Symbol 2986 MovieClip "ttt" in Symbol 3016 MovieClip Frame 404
onClipEvent (enterFrame) {
a = "G" + random(999999999);
b = "D" + random(999999999);
c = "L" + random(999999999);
}
Instance of Symbol 3015 MovieClip in Symbol 3016 MovieClip Frame 446
onClipEvent (enterFrame) {
test = testzone.hitTest(_root._xmouse, _root._ymouse, true);
onMouseDown = function () {
if (test eq "true") {
a++;
}
};
if (a eq 25) {
a = 0;
_root.mainmenu.gotoAndStop(20);
}
}
onClipEvent (load) {
a = 0;
}
Symbol 3026 MovieClip Frame 10
stop();