Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
percentone = totalBytes / 100;
percent = Math.round(loadedBytes / percentone);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay (5);
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
stop();
stopAllSounds();
Frame 6
stop();
Frame 15
var amithealth = 100;
var enemy = 5;
var amitavaplay = true;
var radcount = 0;
var amitavaguna = true;
var gunname = "Machine Gun";
var amitavagunb = false;
var amitavagunc = false;
var amitavalevel = 1;
var lasercount = 50;
var nukcount = 80;
var terget = 200;
var sco = 0;
stop();
Instance of Symbol 67 MovieClip "nuk" in Frame 15
onClipEvent (load) {
function reset() {
pl = 1;
bl = 1;
gl = 1;
cndn = false;
count = 0;
_x = -150;
_y = 250;
}
lbonus = 500;
display = false;
pl = 1;
bl = 1;
gl = 1;
cndn = false;
count = 0;
_x = xpos;
_y = ypos;
}
onClipEvent (enterFrame) {
if (_root.sco == lbonus) {
display = true;
}
if ((cndn == true) && (count <= 80)) {
count = count + 1;
}
if (count > 70) {
if (gl == 1) {
cndn = false;
count = 0;
this.gotoAndPlay(27);
gl = 0;
}
}
if (display == true) {
if (pl == 1) {
cndn = true;
this._x = random(500);
if (this._x < 50) {
this._x = this._x + 100;
}
this._y = random(350);
pl = 0;
}
}
if (this.hitTest(_root.tank)) {
if (bl == 1) {
_root.controler.pl = 1;
this.play();
bl = 0;
}
}
}
Instance of Symbol 72 MovieClip "las" in Frame 15
onClipEvent (load) {
function reset() {
pl = 1;
bl = 1;
gl = 1;
cndn = false;
count = 0;
_x = -150;
_y = 250;
}
lbonus = 400;
display = false;
pl = 1;
bl = 1;
gl = 1;
cndn = false;
count = 0;
_x = xpos;
_y = ypos;
}
onClipEvent (enterFrame) {
if (_root.sco == lbonus) {
display = true;
}
if ((cndn == true) && (count <= 80)) {
count = count + 1;
}
if (count > 70) {
if (gl == 1) {
cndn = false;
count = 0;
this.gotoAndPlay(27);
gl = 0;
}
}
if (display == true) {
if (pl == 1) {
cndn = true;
this._x = random(500);
if (this._x < 50) {
this._x = this._x + 100;
}
this._y = random(350);
pl = 0;
}
}
if (this.hitTest(_root.tank)) {
if (bl == 1) {
_root.controler.pl = 1;
this.play();
bl = 0;
}
}
}
Instance of Symbol 77 MovieClip "hp" in Frame 15
onClipEvent (load) {
function reset() {
_x = -252;
_y = 252;
pl = 1;
bl = 1;
}
display = false;
pl = 1;
bl = 1;
_x = xpos;
_y = ypos;
}
onClipEvent (enterFrame) {
lov = Math.round(_root.hb._xscale);
if ((_root.hb._xscale < 30) && (_root.amitavalevel > 1)) {
display = true;
} else {
display = false;
}
if (display == true) {
if (pl == 1) {
this._x = random(500);
if (this._x < 50) {
this._x = this._x + 100;
}
this._y = random(350);
pl = 0;
}
}
if (this.hitTest(_root.tank)) {
if (bl == 1) {
this.play();
bl = 0;
}
}
}
Instance of Symbol 84 MovieClip "controler" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.lasercount <= 0) {
if (pl == 1) {
_root.amitavaguna = true;
_root.amitavagunb = false;
_root.amitavagunc = false;
_root.lasercount = 50;
_root.gunname = "Machine Gun";
_root.amitavafire = "Unlimited";
pl = 0;
}
}
if (_root.nukcount <= 0) {
if (pl == 1) {
_root.amitavaguna = true;
_root.amitavagunb = false;
_root.amitavagunc = false;
_root.nukcount = 50;
_root.gunname = "Machine Gun";
_root.amitavafire = "Unlimited";
pl = 0;
}
}
}
Instance of Symbol 122 MovieClip "e1" in Frame 15
onClipEvent (load) {
att = true;
speed = 3;
life = 5;
die = false;
radcount = random(6);
if (radcount == 0) {
radcount = 1;
}
if (radcount == 1) {
xposi = -108;
yposi = 252;
} else if (radcount == 2) {
xposi = 188;
_yposi = 504;
} else if (radcount == 3) {
xposi = 412;
yposi = 504;
} else if (radcount == 4) {
xposi = 640;
yposi = 194;
} else if (radcount == 5) {
xposi = 382;
yposi = -70;
}
this._x = xposi;
this._y = yposi;
}
onClipEvent (enterFrame) {
if (this.tb.hitTest(_root.tank)) {
if (die == false) {
_root.tank.gotoAndStop(3);
this.gotoAndStop(4);
die = true;
}
}
if (_root.amitavaplay == false) {
att = false;
}
if (att == true) {
dx = _x - _root.tank._x;
dy = _y - _root.tank._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 100) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
b = speed * Math.cos(rad);
p = speed * Math.sin(rad);
_x = (_x + b);
_y = (_y + p);
} else if (_root.amithealth > 0) {
if (die == false) {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 126 MovieClip "shot" in Frame 15
onClipEvent (load) {
if (String(_name) != "shot") {
cannonLength = 10;
turretpoint = _parent.tank._rotation + _parent.tank.turret._rotation;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.tank._x);
_y = (ycomponent + _parent.tank._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint - 90;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.e1.tb)) {
if (_root.e1.life > 1) {
_root.e1.life = _root.e1.life - 1;
_root.e1.gotoAndStop(3);
_root.e1.att = false;
} else {
_root.e1.att = false;
_root.e1.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2.tb)) {
if (_root.e2.life > 1) {
_root.e2.life = _root.e2.life - 1;
_root.e2.gotoAndStop(3);
_root.e2.att = false;
} else {
_root.e2.att = false;
_root.e2.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3.tb)) {
if (_root.e3.life > 1) {
_root.e3.life = _root.e3.life - 1;
_root.e3.gotoAndStop(3);
_root.e3.att = false;
} else {
_root.e3.att = false;
_root.e3.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4.tb)) {
if (_root.e4.life > 1) {
_root.e4.life = _root.e4.life - 1;
_root.e4.gotoAndStop(3);
_root.e4.att = false;
} else {
_root.e4.att = false;
_root.e4.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5.tb)) {
if (_root.e5.life > 1) {
_root.e5.life = _root.e5.life - 1;
_root.e5.gotoAndStop(3);
_root.e5.att = false;
} else {
_root.e5.att = false;
_root.e5.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this._y < 10) {
removeMovieClip(this);
}
if (this._y > 394) {
removeMovieClip(this);
}
if (this._x < 15) {
removeMovieClip(this);
}
if (this._x > 565) {
removeMovieClip(this);
}
if (String(_name) != "shot") {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
Instance of Symbol 128 MovieClip "ter" in Frame 15
onClipEvent (load) {
_alpha = 10;
startDrag ("", true);
}
on (press) {
if (_root.amitavaplay == false) {
stopDrag();
}
}
Instance of Symbol 154 MovieClip "e4" in Frame 15
onClipEvent (load) {
att = true;
speed = 3;
life = 5;
die = false;
radcount = random(6);
if (radcount == 0) {
radcount = 1;
}
if (radcount == 1) {
xposi = -108;
yposi = 252;
} else if (radcount == 2) {
xposi = 188;
yposi = 504;
} else if (radcount == 3) {
xposi = 412;
yposi = 504;
} else if (radcount == 4) {
xposi = 640;
yposi = 194;
} else if (radcount == 5) {
xposi = 380;
yposi = -70;
}
_x = xposi;
_y = yposi;
}
onClipEvent (enterFrame) {
if (this.tb.hitTest(_root.tank)) {
if (die == false) {
_root.tank.gotoAndStop(3);
this.gotoAndStop(4);
die = true;
}
}
if (_root.amitavaplay == false) {
att = false;
}
if (att == true) {
dx = _x - _root.tank._x;
dy = _y - _root.tank._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 100) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
b = speed * Math.cos(rad);
p = speed * Math.sin(rad);
_x = (_x + b);
_y = (_y + p);
} else if (_root.amithealth > 0) {
if (die == false) {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 179 MovieClip "e2" in Frame 15
onClipEvent (load) {
att = false;
speed = 4;
life = 5;
die = false;
radcount = random(6);
if (radcount == 0) {
radcount = 1;
}
if (_root.radcount == 1) {
xposi = -108;
yposi = 252;
} else if (_root.radcount == 2) {
xposi = 188;
yposi = 504;
} else if (_root.radcount == 3) {
xposi = 412;
yposi = 504;
} else if (_root.radcount == 4) {
xposi = 640;
yposi = 194;
} else if (_root.radcount == 5) {
xposi = 382;
yposi = -70;
}
_x = xposi;
_y = yposi;
}
onClipEvent (enterFrame) {
if (this.tb.hitTest(_root.tank)) {
if (die == false) {
_root.tank.gotoAndStop(3);
this.gotoAndStop(4);
die = true;
}
}
if (_root.amitavaplay == false) {
att = false;
}
if (att == true) {
dx = _x - _root.tank._x;
dy = _y - _root.tank._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 100) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
b = speed * Math.cos(rad);
p = speed * Math.sin(rad);
_x = (_x + b);
_y = (_y + p);
} else if (_root.amithealth > 0) {
if (die == false) {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 204 MovieClip "e3" in Frame 15
onClipEvent (load) {
att = false;
speed = 4;
life = 10;
die = false;
radcount = random(6);
if (radcount == 0) {
radcount = 1;
}
if (radcount == 1) {
xposi = -108;
yposi = 252;
} else if (radcount == 2) {
xposi = 188;
yposi = 504;
} else if (radcount == 3) {
xposi = 412;
yposi = 504;
} else if (radcount == 4) {
xposi = 640;
yposi = 194;
} else if (radcount == 5) {
xposi = 380;
yposi = -70;
}
_x = xposi;
_y = yposi;
}
onClipEvent (enterFrame) {
if (this.tb.hitTest(_root.tank)) {
if (die == false) {
_root.tank.gotoAndStop(3);
this.gotoAndStop(4);
die = true;
}
}
if (_root.amitavaplay == false) {
att = false;
}
if (att == true) {
dx = _x - _root.tank._x;
dy = _y - _root.tank._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 100) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
b = speed * Math.cos(rad);
p = speed * Math.sin(rad);
_x = (_x + b);
_y = (_y + p);
} else if (_root.amithealth > 0) {
if (die == false) {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 230 MovieClip "e5" in Frame 15
onClipEvent (load) {
att = false;
speed = 6;
life = 10;
die = false;
radcount = random(6);
if (radcount == 0) {
radcount = 1;
}
if (radcount == 1) {
xposi = -108;
yposi = 252;
} else if (radcount == 2) {
xposi = 188;
yposi = 504;
} else if (radcount == 3) {
xposi = 412;
yposi = 504;
} else if (radcount == 4) {
xposi = 640;
yposi = 194;
} else if (radcount == 5) {
xposi = 380;
yposi = -70;
}
_x = xposi;
_y = yposi;
}
onClipEvent (enterFrame) {
if (this.tb.hitTest(_root.tank)) {
if (die == false) {
_root.tank.gotoAndStop(3);
this.gotoAndStop(4);
die = true;
}
}
if (_root.amitavaplay == false) {
att = false;
}
if (att == true) {
dx = _x - _root.tank._x;
dy = _y - _root.tank._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 100) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
b = speed * Math.cos(rad);
p = speed * Math.sin(rad);
_x = (_x + b);
_y = (_y + p);
} else if (_root.amithealth > 0) {
if (die == false) {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 240 MovieClip "shota" in Frame 15
onClipEvent (load) {
if (String(_name) != "shota") {
cannonLength = 10;
turretpoint = _parent.tank._rotation + _parent.tank.turret._rotation;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.tank._x);
_y = (ycomponent + _parent.tank._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint - 90;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.e1.tb)) {
if (_root.e1.life > 1) {
_root.e1.life = _root.e1.life - 2;
_root.e1.gotoAndStop(3);
_root.e1.att = false;
} else {
_root.e1.att = false;
_root.e1.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2.tb)) {
if (_root.e2.life > 1) {
_root.e2.life = _root.e2.life - 2;
_root.e2.gotoAndStop(3);
_root.e2.att = false;
} else {
_root.e2.att = false;
_root.e2.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3.tb)) {
if (_root.e3.life > 1) {
_root.e3.life = _root.e3.life - 2;
_root.e3.gotoAndStop(3);
_root.e3.att = false;
} else {
_root.e3.att = false;
_root.e3.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4.tb)) {
if (_root.e4.life > 1) {
_root.e4.life = _root.e4.life - 2;
_root.e4.gotoAndStop(3);
_root.e4.att = false;
} else {
_root.e4.att = false;
_root.e4.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5.tb)) {
if (_root.e5.life > 1) {
_root.e5.life = _root.e5.life - 2;
_root.e5.gotoAndStop(3);
_root.e5.att = false;
} else {
_root.e5.att = false;
_root.e5.gotoAndStop(4);
removeMovieClip(this);
}
}
if (this._y < 10) {
removeMovieClip(this);
}
if (this._y > 394) {
removeMovieClip(this);
}
if (this._x < 15) {
removeMovieClip(this);
}
if (this._x > 565) {
removeMovieClip(this);
}
if (String(_name) != "shota") {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
Instance of Symbol 244 MovieClip "shotb" in Frame 15
onClipEvent (load) {
if (String(_name) != "shotb") {
cannonLength = 10;
turretpoint = _parent.tank._rotation + _parent.tank.turret._rotation;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.tank._x);
_y = (ycomponent + _parent.tank._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint - 90;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.e1.tb)) {
_root.e1.att = false;
_root.e1.gotoAndStop(4);
removeMovieClip(this);
}
if (this.hitTest(_root.e2.tb)) {
_root.e2.att = false;
_root.e2.gotoAndStop(4);
removeMovieClip(this);
}
if (this.hitTest(_root.e3.tb)) {
_root.e3.att = false;
_root.e3.gotoAndStop(4);
removeMovieClip(this);
}
if (this.hitTest(_root.e4.tb)) {
_root.e4.att = false;
_root.e4.gotoAndStop(4);
removeMovieClip(this);
}
if (this.hitTest(_root.e5.tb)) {
_root.e5.att = false;
_root.e5.gotoAndStop(4);
removeMovieClip(this);
}
if (this._y < 10) {
removeMovieClip(this);
}
if (this._y > 394) {
removeMovieClip(this);
}
if (this._x < 15) {
removeMovieClip(this);
}
if (this._x > 565) {
removeMovieClip(this);
}
if (String(_name) != "shotb") {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
Instance of Symbol 278 MovieClip "tank" in Frame 15
onClipEvent (load) {
shooting = false;
fire = false;
inj = false;
}
onClipEvent (mouseDown) {
fire = true;
}
onClipEvent (mouseUp) {
fire = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (fire == true) {
shooting = true;
} else {
shooting = false;
}
if (this.hitTest(_root.ter)) {
shooting = true;
}
if (fire == true) {
if (shotTimer <= 0) {
this.gotoAndStop(2);
bumSound.start();
if (_root.amitavaguna == true) {
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 8;
} else if (_root.amitavagunb == true) {
shotCount++;
_root.lasercount = _root.lasercount - 1;
duplicateMovieClip (_parent.shota, "shota" + shotCount, (shotCount % 100) + 1100);
shotTimer = 8;
} else if (_root.amitavagunc == true) {
_root.nukcount = _root.nukcount - 1;
shotCount++;
duplicateMovieClip (_parent.shotb, "shotb" + shotCount, (shotCount % 100) + 1100);
shotTimer = 8;
}
}
shotTimer--;
}
}
}
Instance of Symbol 280 MovieClip "an" in Frame 15
onClipEvent (load) {
_visible = false;
}
onClipEvent (mouseMove) {
x = this._xmouse * 1;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
_root.angletext = angle;
_root.tank._rotation = angle * -1;
updateAfterEvent();
}
Instance of Symbol 284 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((this.br.hitTest(_root.e1.tb) || (this.hitTest(_root.e4.tb))) || (this.hitTest(_root.e2.tb))) || (this.hitTest(_root.e3.tb))) || (this.hitTest(_root.e5.tb))) {
this.play();
}
}
Instance of Symbol 287 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((this.br.hitTest(_root.e1.tb) || (this.hitTest(_root.e4.tb))) || (this.hitTest(_root.e2.tb))) || (this.hitTest(_root.e3.tb))) || (this.hitTest(_root.e5.tb))) {
this.play();
}
}
Instance of Symbol 289 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((this.br.hitTest(_root.e1.tb) || (this.hitTest(_root.e4.tb))) || (this.hitTest(_root.e2.tb))) || (this.hitTest(_root.e3.tb))) || (this.hitTest(_root.e5.tb))) {
this.play();
}
}
Instance of Symbol 291 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((this.br.hitTest(_root.e1.tb) || (this.hitTest(_root.e4.tb))) || (this.hitTest(_root.e2.tb))) || (this.hitTest(_root.e3.tb))) || (this.hitTest(_root.e5.tb))) {
this.play();
}
}
Instance of Symbol 293 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((this.br.hitTest(_root.e1.tb) || (this.hitTest(_root.e4.tb))) || (this.hitTest(_root.e2.tb))) || (this.hitTest(_root.e3.tb))) || (this.hitTest(_root.e5.tb))) {
this.play();
}
}
Instance of Symbol 299 MovieClip "hb" in Frame 15
onClipEvent (load) {
function reset() {
_xscale = scale;
}
scale = _xscale;
}
Instance of Symbol 308 MovieClip "lev" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.sco >= _root.terget) {
if (pl == 1) {
if (_root.amitavalevel == 3) {
_root.e2.att = true;
} else if (_root.amitavalevel == 4) {
_root.e3.att = true;
} else if (_root.amitavalevel == 5) {
_root.e5.att = true;
}
this.play();
pl = 0;
}
}
}
Instance of Symbol 322 MovieClip "gov" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.hb._xscale <= 2) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 336 MovieClip "wel" in Frame 15
onClipEvent (load) {
plo = 1;
}
onClipEvent (enterFrame) {
if ((_root.amitavalevel == 9) && (_root.enemy <= 0)) {
if (plo == 1) {
this.play();
plo = 0;
}
}
}
Symbol 18 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 19 MovieClip Frame 22
stop();
Symbol 27 Button
on (press) {
gotoAndStop (6);
}
Symbol 30 MovieClip Frame 12
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 42 Button
on (press) {
gotoAndStop (15);
}
Symbol 55 Button
on (press) {
gotoAndStop (5);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
_root.nuk.lbonus = _root.nuk.lbonus + 300;
Symbol 67 MovieClip Frame 5
_root.amitavagunb = false;
_root.amitavaguna = false;
_root.amitavagunc = true;
_root.gunname = "Nuke";
Symbol 67 MovieClip Frame 26
_root.nuk.reset();
_root.nuk.display = false;
gotoAndStop (1);
Symbol 67 MovieClip Frame 28
_root.nuk.lbonus = _root.nuk.lbonus + 300;
Symbol 67 MovieClip Frame 40
_root.nuk.reset();
_root.nuk.display = false;
gotoAndStop (1);
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
_root.las.lbonus = _root.las.lbonus + 200;
Symbol 72 MovieClip Frame 3
_root.amitavagunb = true;
_root.amitavaguna = false;
_root.amitavagunc = false;
_root.gunname = "laser";
Symbol 72 MovieClip Frame 26
_root.las.reset();
_root.las.display = false;
gotoAndStop (1);
Symbol 72 MovieClip Frame 27
_root.las.lbonus = _root.las.lbonus + 200;
Symbol 72 MovieClip Frame 40
_root.las.reset();
_root.las.display = false;
gotoAndStop (1);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
_root.hb.reset();
Symbol 77 MovieClip Frame 25
_root.hp.reset();
gotoAndStop (1);
Symbol 101 MovieClip Frame 1
this.a._visible = true;
this.b._visible = true;
Instance of Symbol 99 MovieClip "a" in Symbol 101 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 101 MovieClip Frame 25
_root.e1.gotoAndStop(1);
Instance of Symbol 99 MovieClip "b" in Symbol 101 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 106 MovieClip Frame 10
_parent.att = true;
_parent.gotoAndStop(1);
Symbol 121 MovieClip Frame 18
_root.sco = _root.sco + 10;
if (_root.amitavalevel == 9) {
_root.enemy = _root.enemy - 1;
}
Symbol 121 MovieClip Frame 20
_root.e1.radcount = random(6);
if (_root.e1.radcount == 0) {
_root.e1.radcount = 1;
}
if (_root.e1.radcount == 1) {
_root.e1.xposi = -108;
_root.e1.yposi = 252;
} else if (_root.e1.radcount == 2) {
_root.e1.xposi = 188;
_root.e1.yposi = 504;
} else if (_root.e1.radcount == 3) {
_root.e1.xposi = 412;
_root.e1.yposi = 504;
} else if (_root.e1.radcount == 4) {
_root.e1.xposi = 640;
_root.yposi = 194;
} else if (_root.e1.radcount == 5) {
_root.e1.xposi = 382;
_root.e1.yposi = -70;
}
_root.e1._x = _root.e1.xposi;
_root.e1._y = _root.e1.yposi;
if (_root.amitavalevel == 9) {
_parent.att = false;
} else {
_parent.att = true;
}
_parent.life = 4;
_root.e1.die = false;
_root.e1.gotoAndStop(1);
Symbol 122 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "tb" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 122 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 3
stop();
Symbol 122 MovieClip Frame 4
stop();
Symbol 138 MovieClip Frame 1
this.a._visible = true;
this.b._visible = true;
Instance of Symbol 135 MovieClip "a" in Symbol 138 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 138 MovieClip Frame 25
_parent.gotoAndStop(1);
Instance of Symbol 135 MovieClip "b" in Symbol 138 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 140 MovieClip Frame 10
_parent.att = true;
_parent.gotoAndStop(1);
Symbol 153 MovieClip Frame 19
_root.sco = _root.sco + 10;
if (_root.amitavalevel == 9) {
_root.enemy = _root.enemy - 1;
}
Symbol 153 MovieClip Frame 22
_root.e4.radcount = random(6);
if (_root.e4.radcount == 0) {
_root.e4.radcount = 1;
}
if (_root.e4.radcount == 1) {
_root.e4.xposi = -108;
_root.e4.yposi = 252;
} else if (_root.e4.radcount == 2) {
_root.e4.xposi = 188;
_root.e4.yposi = 504;
} else if (_root.e4.radcount == 3) {
_root.e4.xposi = 412;
_root.e4.yposi = 504;
} else if (_root.e4.radcount == 4) {
_root.e4.xposi = 640;
_root.e4.yposi = 194;
} else if (_root.e4.radcount == 5) {
_root.e4.xposi = 380;
_root.e4.yposi = -70;
}
_root.e4._x = _root.e4.xposi;
_root.e4._y = _root.e4.yposi;
if (_root.amitavalevel == 9) {
_parent.att = false;
} else {
_parent.att = true;
}
_parent.life = 4;
_root.e4.die = false;
_root.e4.gotoAndStop(1);
Symbol 154 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "tb" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 154 MovieClip Frame 2
stop();
Symbol 154 MovieClip Frame 3
stop();
Symbol 154 MovieClip Frame 4
stop();
Symbol 164 MovieClip Frame 1
this.a._visible = true;
this.b._visible = true;
Instance of Symbol 161 MovieClip "a" in Symbol 164 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 164 MovieClip Frame 25
_parent.gotoAndStop(1);
Instance of Symbol 161 MovieClip "b" in Symbol 164 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 165 MovieClip Frame 10
_parent.att = true;
_parent.gotoAndStop(1);
Symbol 178 MovieClip Frame 19
_root.sco = _root.sco + 20;
if (_root.amitavalevel == 9) {
_root.enemy = _root.enemy - 1;
}
Symbol 178 MovieClip Frame 20
_root.e2.radcount = random(6);
if (_root.e2.radcount == 0) {
_root.e2.radcount = 1;
}
if (_root.e2.radcount == 1) {
_root.e2.xposi = -108;
_root.e2.yposi = 252;
} else if (_root.e2.radcount == 2) {
_root.e2.xposi = 188;
_root.e2.yposi = 504;
} else if (_root.e2.radcount == 3) {
_root.e2.xposi = 412;
_root.e2.yposi = 504;
} else if (_root.e2.radcount == 4) {
_root.e2.xposi = 640;
_root.yposi = 194;
} else if (_root.e2.radcount == 5) {
_root.e2.xposi = 380;
_root.e2.yposi = -70;
}
_root.e2._x = _root.e2.xposi;
_root.e2._y = _root.e2.yposi;
if (_root.amitavalevel == 9) {
_parent.att = false;
} else {
_parent.att = true;
}
_parent.life = 4;
_root.e2.die = false;
_root.e2.gotoAndStop(1);
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "tb" in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 189 MovieClip Frame 1
this.a._visible = true;
this.b._visible = true;
Instance of Symbol 186 MovieClip "a" in Symbol 189 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 189 MovieClip Frame 25
_parent.gotoAndStop(1);
Instance of Symbol 186 MovieClip "b" in Symbol 189 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 191 MovieClip Frame 10
_parent.att = true;
_parent.gotoAndStop(1);
Symbol 203 MovieClip Frame 24
_root.sco = _root.sco + 10;
if (_root.amitavalevel == 9) {
_root.enemy = _root.enemy - 1;
}
Symbol 203 MovieClip Frame 26
_root.e3.radcount = random(6);
if (_root.e3.radcount == 0) {
_root.e3.radcount = 1;
}
if (_root.e3.radcount == 1) {
_root.e3.xposi = -108;
_root.e3.yposi = 252;
} else if (_root.e3.radcount == 2) {
_root.e3.xposi = 188;
_root.e3.yposi = 504;
} else if (_root.e3.radcount == 3) {
_root.e3.xposi = 412;
_root.e3.yposi = 504;
} else if (_root.e3.radcount == 4) {
_root.e3.xposi = 640;
_root.e3.yposi = 194;
} else if (_root.e3.radcount == 5) {
_root.e3.xposi = 380;
_root.e3.yposi = -70;
}
_root.e3._x = _root.e3.xposi;
_root.e3._y = _root.e3.yposi;
if (_root.amitavalevel == 9) {
_parent.att = false;
} else {
_parent.att = true;
}
_parent.life = 4;
_root.e3.die = false;
_root.e3.gotoAndStop(1);
Symbol 204 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "tb" in Symbol 204 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 204 MovieClip Frame 2
stop();
Symbol 204 MovieClip Frame 3
stop();
Symbol 204 MovieClip Frame 4
stop();
Symbol 214 MovieClip Frame 1
this.c._visible = true;
this.b._visible = true;
Instance of Symbol 211 MovieClip "c" in Symbol 214 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 214 MovieClip Frame 25
_parent.gotoAndStop(1);
Instance of Symbol 211 MovieClip "b" in Symbol 214 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank.br)) {
_root.tank.gotoAndStop(3);
this._visible = false;
}
}
Symbol 216 MovieClip Frame 10
_parent.att = true;
_parent.gotoAndStop(1);
Symbol 229 MovieClip Frame 20
_root.sco = _root.sco + 20;
if (_root.amitavalevel == 9) {
_root.enemy = _root.enemy - 1;
}
Symbol 229 MovieClip Frame 22
_root.e5.radcount = random(6);
if (_root.e5.radcount == 0) {
_root.e5.radcount = 1;
}
if (_root.e5.radcount == 1) {
_root.e5.xposi = -108;
_root.e5.yposi = 252;
} else if (_root.e5.radcount == 2) {
_root.e5.xposi = 188;
_root.e5.yposi = 504;
} else if (_root.e5.radcount == 3) {
_root.e5.xposi = 412;
_root.e5.yposi = 504;
} else if (_root.e5.radcount == 4) {
_root.e5.xposi = 640;
_root.e5.yposi = 194;
} else if (_root.e5.radcount == 5) {
_root.e5.xposi = 380;
_root.e5.yposi = -70;
}
_root.e5._x = _root.e5.xposi;
_root.e5._y = _root.e5.yposi;
if (_root.amitavalevel == 9) {
_parent.att = false;
} else {
_parent.att = true;
}
_root.e5.die = false;
_parent.life = 4;
_root.e5.gotoAndStop(1);
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "tb" in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
stop();
Symbol 230 MovieClip Frame 4
stop();
Symbol 245 MovieClip Frame 1
if (_root.tank.shooting == false) {
if (_root._xmouse > _level0.tank._x) {
_level0.tank._x = _level0.tank._x + 3;
} else {
_level0.tank._x = _level0.tank._x - 3;
}
if (_root._ymouse > _level0.tank._y) {
_level0.tank._y = _level0.tank._y + 3;
} else {
_level0.tank._y = _level0.tank._y - 3;
}
if (_root._xmouse > _level0.an._x) {
_level0.an._x = _level0.an._x + 3;
} else {
_level0.an._x = _level0.an._x - 3;
}
if (_root._ymouse > _level0.an._y) {
_level0.an._y = _level0.an._y + 3;
} else {
_level0.an._y = _level0.an._y - 3;
}
}
Symbol 245 MovieClip Frame 2
if (_root.tank.shooting == false) {
if (_root._xmouse > _level0.tank._x) {
_level0.tank._x = _level0.tank._x + 3;
} else {
_level0.tank._x = _level0.tank._x - 3;
}
if (_root._ymouse > _level0.tank._y) {
_level0.tank._y = _level0.tank._y + 3;
} else {
_level0.tank._y = _level0.tank._y - 3;
}
if (_root._xmouse > _level0.an._x) {
_level0.an._x = _level0.an._x + 3;
} else {
_level0.an._x = _level0.an._x - 3;
}
if (_root._ymouse > _level0.an._y) {
_level0.an._y = _level0.an._y + 3;
} else {
_level0.an._y = _level0.an._y - 3;
}
}
gotoAndPlay (1);
Instance of Symbol 264 MovieClip in Symbol 273 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavagunc == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 269 MovieClip in Symbol 273 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavagunb == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaguna == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 273 MovieClip Frame 6
_root.tank.gotoAndStop(1);
Symbol 277 MovieClip Frame 1
if (_root.hb._xscale > 1) {
_root.hb._xscale = _root.hb._xscale - 5;
}
Symbol 277 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 254 MovieClip "br" in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 256 MovieClip "turret" in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 278 MovieClip Frame 2
stop();
Symbol 278 MovieClip Frame 3
stop();
Symbol 284 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "br" in Symbol 284 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 284 MovieClip Frame 17
gotoAndStop (1);
Symbol 287 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "br" in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 287 MovieClip Frame 17
gotoAndStop (1);
Symbol 289 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "br" in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 289 MovieClip Frame 17
gotoAndStop (1);
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "br" in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 291 MovieClip Frame 17
gotoAndStop (1);
Symbol 293 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "br" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 293 MovieClip Frame 17
gotoAndStop (1);
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
_root.terget = _root.terget + 200;
Symbol 308 MovieClip Frame 30
_root.amitavalevel = _root.amitavalevel + 1;
_root.lev.pl = 1;
Symbol 318 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
var ssc = _root.sco;
Symbol 322 MovieClip Frame 16
stop();
Symbol 332 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
var ssc = _root.sco;
Symbol 336 MovieClip Frame 19
stop();