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 ("start");
}
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 10
gotoAndPlay (13);
Instance of Symbol 15 MovieClip in Frame 10
onClipEvent (enterFrame) {
_xscale = _root.percentDone;
}
Frame 11
var amitavaplay = true;
var score = 0;
var amitavahealth = 4;
var bach = true;
bumSound = new Sound();
bumSound.attachSound("fire");
blastSound = new Sound();
blastSound.attachSound("blast");
viSound = new Sound();
viSound.attachSound("vifr");
vinjSound = new Sound();
viinjSound.attachSound("viinj");
fscommand ("allowscale", "false");
Stage.showMenu = false;
stop();
Instance of Symbol 58 MovieClip "e7" in Frame 11
onClipEvent (load) {
speed = 6;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 900;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 2000)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 900;
}
}
}
}
Instance of Symbol 60 MovieClip "eshot" in Frame 11
onClipEvent (load) {
laga = 0;
if (String(_name) != "eshot") {
_x = (_root.e17._x - 40);
_y = _root.e17._y;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank) && (_root.bach == true)) {
_root.tank.die = true;
}
if (this._x < -10) {
removeMovieClip(this);
}
if (String(_name) != "eshot") {
_x = (_x - 8);
}
}
Instance of Symbol 68 MovieClip "e17" in Frame 11
onClipEvent (load) {
fir = 1;
di = 1;
pl = 1;
go = false;
att = 1;
dien = false;
gup = false;
jetlifea = 50;
}
onClipEvent (enterFrame) {
if (_root.score >= 4500) {
if (pl == 1) {
go = true;
pl = 0;
}
if ((_y <= (_root.tank._y + 20)) && (shotTimer <= 0)) {
if (fir == 1) {
_root.viSound.start();
shotCount++;
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 25;
fir = 0;
}
}
shotTimer--;
if (_root.amitavaplay == true) {
if (dien == true) {
if (di == 1) {
this.gotoAndPlay(3);
di = 0;
}
go == false;
gup = false;
}
if (go == true) {
_y = (_y + 3);
if (_y > 250) {
go = false;
gup = true;
fir = 1;
}
}
if (gup == true) {
_y = (_y - 3);
}
if (_y <= 50) {
go = true;
gup = false;
fir = 1;
}
}
}
}
Instance of Symbol 75 MovieClip "hill" in Frame 11
/* no clip actions */
Instance of Symbol 78 MovieClip "e1" in Frame 11
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 800;
}
}
}
}
Instance of Symbol 80 MovieClip "e2" in Frame 11
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1000;
}
}
}
}
Instance of Symbol 82 MovieClip "e3" in Frame 11
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 500)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1200;
}
}
}
}
Instance of Symbol 84 MovieClip "e5" in Frame 11
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 1200)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1600;
}
}
}
}
Instance of Symbol 86 MovieClip "e6" in Frame 11
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 1500)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1800;
}
}
}
}
Instance of Symbol 88 MovieClip "e4" in Frame 11
onClipEvent (load) {
speed = 7;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 800)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1400;
}
}
}
}
Instance of Symbol 89 MovieClip "e8" in Frame 11
onClipEvent (load) {
speed = 7;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1300;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 2200)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1300;
}
}
}
}
Instance of Symbol 90 MovieClip "e9" in Frame 11
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1700;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 2400)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1700;
}
}
}
}
Instance of Symbol 91 MovieClip "e10" in Frame 11
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1900;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 2700)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1900;
}
}
}
}
Instance of Symbol 92 MovieClip "e11" in Frame 11
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 2200;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 2900)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 2200;
}
}
}
}
Instance of Symbol 93 MovieClip "e12" in Frame 11
onClipEvent (load) {
speed = 6;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 2400;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.score >= 3200)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 2400;
}
}
}
}
Instance of Symbol 114 MovieClip "tank" in Frame 11
onClipEvent (load) {
function reset() {
_x = pox;
_y = poy;
_rotation = rot;
this.gotoAndStop(3);
}
mov = true;
die = false;
pox = _x;
poy = _y;
rot = _rotation;
di = 1;
dth = 1;
ud = 2;
}
onClipEvent (enterFrame) {
peg = _y;
if (_root.amitavaplay == true) {
if (mov == true) {
if (Key.isDown(38) && (_y > -5)) {
_y = (_y - (ud * 2));
}
} else if (Key.isDown(38) && (_y > -5)) {
_y = (_y - (ud * 2));
}
if (Key.isDown(40) && (_y < 300)) {
_y = (_y + (ud * 2));
}
if (Key.isDown(39) && (_x < 500)) {
_x = (_x + (ud * 2));
}
if (Key.isDown(37) && (_x > 0)) {
_x = (_x - (ud * 2));
}
if (((Key.isDown(32) && (shotTimer <= 0)) && (die == false)) && (mov == true)) {
_root.bumSound.start();
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 6;
}
shotTimer--;
if (die == true) {
_root.bach = false;
mov = false;
_y = (_y + 8);
_rotation = (_rotation + 5);
this.gotoAndStop(7);
if (_y > 750) {
if (dth == 1) {
_root.amitavahealth = _root.amitavahealth - 1;
_root["l" + _root.amitavahealth]._visible = false;
dth = 0;
}
this.gotoAndStop(1);
die = false;
mov = true;
di = 1;
dth = 1;
if (_root.amitavahealth > 1) {
reset();
}
}
}
}
if ((this.hitTest(_root.hill) && (die == false)) && (_root.bach == true)) {
if (di == 1) {
die = true;
di = 0;
}
}
}
Instance of Symbol 120 MovieClip "shot" in Frame 11
onClipEvent (load) {
laga = 0;
if (String(_name) != "shot") {
_x = (_root.tank._x + 10);
_y = (_root.tank._y + 15);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.e1)) {
if (_root.e1.die == false) {
_root.blastSound.start();
_root.e1.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e2)) {
if (_root.e2.die == false) {
_root.blastSound.start();
_root.e2.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e3)) {
if (_root.e3.die == false) {
_root.blastSound.start();
_root.e3.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e4)) {
if (_root.e4.die == false) {
_root.blastSound.start();
_root.e4.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e5)) {
if (_root.e5.die == false) {
_root.blastSound.start();
_root.e5.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e6)) {
if (_root.e6.die == false) {
_root.blastSound.start();
_root.e6.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e7)) {
if (_root.e7.die == false) {
_root.blastSound.start();
_root.e7.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e8)) {
if (_root.e8.die == false) {
_root.blastSound.start();
_root.e8.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e9)) {
if (_root.e9.die == false) {
_root.blastSound.start();
_root.e9.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e10)) {
if (_root.e10.die == false) {
_root.blastSound.start();
_root.e10.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e11)) {
if (_root.e11.die == false) {
_root.blastSound.start();
_root.e11.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e12)) {
if (_root.e12.die == false) {
_root.blastSound.start();
_root.e12.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e17)) {
if (_root.e17.dien == false) {
if (_root.e17.jetlifea < 0) {
_root.blastSound.start();
_root.e17.dien = true;
removeMovieClip(this);
laga = 1;
posx = _x;
} else {
_root.e17.gotoAndStop(2);
removeMovieClip(this);
_root.e17.jetlifea = _root.e17.jetlifea - 1;
}
}
}
if (this._x > 520) {
removeMovieClip(this);
}
if (String(_name) != "shot") {
_x = (_x + 20);
}
}
Instance of Symbol 139 MovieClip "gameover" in Frame 11
onClipEvent (load) {
_root.butt._visible = false;
_root.butta._visible = false;
_root.buttc._visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavahealth == 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
_root.hill.stop();
stopAllSounds();
pl = 0;
}
}
}
Instance of Symbol 142 MovieClip "well" in Frame 11
/* no clip actions */
Frame 13
fscommand ("allowscale", "false");
Stage.showMenu = false;
stopAllSounds();
fscommand ("allowscale", "false");
_root.en1.removeMovieClip();
_root.en2.removeMovieClip();
_root.en3.removeMovieClip();
_root.en4.removeMovieClip();
_root.en5.removeMovieClip();
_root.en6.removeMovieClip();
_root.en7.removeMovieClip();
_root.en8.removeMovieClip();
_root.en9.removeMovieClip();
_root.en10.removeMovieClip();
_root.en11.removeMovieClip();
_root.en11.removeMovieClip();
_root.enb1.removeMovieClip();
_root.enb2.removeMovieClip();
_root.enb3.removeMovieClip();
_root.enb4.removeMovieClip();
_root.enb5.removeMovieClip();
_root.b1.removeMovieClip();
_root.b2.removeMovieClip();
_root.b3.removeMovieClip();
_root.b4.removeMovieClip();
_root.b5.removeMovieClip();
Instance of Symbol 75 MovieClip "bg" in Frame 13
onClipEvent (enterFrame) {
_root.bg._x = _root.bg._x - 5;
_root.bonus._x = _root.bonus._x - 5;
if (_root.bg._x < -526) {
_root.bg._x = -16;
_root.bonus._x = 477;
}
}
Frame 16
stop();
Frame 17
stop();
fscommand ("allowscale", "false");
Stage.showMenu = false;
Frame 18
var amitavaplay = true;
var scoreb = _root.score;
var startup = (scoreb + 500);
var terget = srartup;
var amitavahealth = 5;
var bach = true;
fscommand ("allowscale", "false");
Stage.showMenu = false;
stop();
Instance of Symbol 203 MovieClip "e13" in Frame 18
onClipEvent (load) {
fir = 1;
di = 1;
pl = 1;
go = false;
att = 1;
die = false;
gup = false;
jetlife = 80;
}
onClipEvent (enterFrame) {
if (_root.scoreb >= (_root.startup + 3500)) {
if (pl == 1) {
go = true;
pl = 0;
}
if ((_y <= (_root.tank._y + 20)) && (shotTimer <= 0)) {
if (fir == 1) {
_root.viSound.start();
shotCount++;
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 25;
fir = 0;
}
}
shotTimer--;
if (_root.amitavaplay == true) {
if (die == true) {
if (di == 1) {
this.gotoAndPlay(17);
di = 0;
}
go == false;
gup = false;
}
if (go == true) {
_y = (_y + 3);
if (_y > 250) {
go = false;
gup = true;
fir = 1;
}
}
if (gup == true) {
_y = (_y - 3);
}
if (_y <= 50) {
go = true;
gup = false;
fir = 1;
}
}
}
}
Instance of Symbol 206 MovieClip "eshot" in Frame 18
onClipEvent (load) {
laga = 0;
if (String(_name) != "eshot") {
_x = (_root.e13._x - 40);
_y = _root.e13._y;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.tank.die = true;
}
if (this._x < -10) {
removeMovieClip(this);
}
if (String(_name) != "eshot") {
_x = (_x - 8);
}
}
Instance of Symbol 75 MovieClip "hill" in Frame 18
onClipEvent (enterFrame) {
_root.bg._x = _root.bg._x - 5;
_root.bonpack._x = _root.bonpack._x - 5;
if (_root.bg._x < -255) {
_root.bg._x = -31;
_root.bonpack._x = 766;
}
}
Instance of Symbol 210 MovieClip "e1" in Frame 18
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 800;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 214 MovieClip "e7" in Frame 18
onClipEvent (load) {
speed = 6;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 900;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 1500))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 900;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 120 MovieClip "shot" in Frame 18
onClipEvent (load) {
laga = 0;
if (String(_name) != "shot") {
_x = (_root.tank._x + 10);
_y = (_root.tank._y + 15);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.e1)) {
if (_root.e1.die == false) {
_root.blastSound.start();
_root.e1.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e2)) {
if (_root.e2.die == false) {
_root.blastSound.start();
_root.e2.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e3)) {
if (_root.e3.die == false) {
_root.blastSound.start();
_root.e3.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e4)) {
if (_root.e4.die == false) {
_root.blastSound.start();
_root.e4.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e5)) {
if (_root.e5.die == false) {
_root.blastSound.start();
_root.e5.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e6)) {
if (_root.e6.die == false) {
_root.blastSound.start();
_root.e6.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e7)) {
if (_root.e7.die == false) {
_root.blastSound.start();
_root.e7.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e8)) {
if (_root.e8.die == false) {
_root.blastSound.start();
_root.e8.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e9)) {
if (_root.e9.die == false) {
_root.blastSound.start();
_root.e9.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e10)) {
if (_root.e10.die == false) {
_root.blastSound.start();
_root.e10.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e11)) {
if (_root.e11.die == false) {
_root.blastSound.start();
_root.e11.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e12)) {
if (_root.e12.die == false) {
_root.blastSound.start();
_root.e12.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
}
}
if (this.hitTest(_root.e13)) {
if (_root.e13.die == false) {
_root.blastSound.start();
if (_root.e13.jetlife <= 0) {
_root.e13.die = true;
removeMovieClip(this);
laga = 1;
posx = _x;
} else {
_root.e13.gotoAndStop(2);
removeMovieClip(this);
_root.e13.jetlife = _root.e13.jetlife - 1;
}
}
}
if (this._x > 520) {
removeMovieClip(this);
}
if (String(_name) != "shot") {
_x = (_x + 20);
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 18
onClipEvent (load) {
speed = 3;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1000;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1000;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 216 MovieClip "e3" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1100;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= _root.startup)) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1100;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 217 MovieClip "e4" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1200;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 500))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1200;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 218 MovieClip "e5" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 1000))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1300;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 219 MovieClip "e6" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 800;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 1300))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1400;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 220 MovieClip "e8" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 900;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 1800))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1100;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 221 MovieClip "e9" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1200;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 2000))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1200;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 222 MovieClip "e10" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1950;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 2400))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 950;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 223 MovieClip "e11" in Frame 18
onClipEvent (load) {
speed = 8;
go = true;
att = 1;
die = false;
_y = random(200);
_x = 1250;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.scoreb >= (_root.startup + 2600))) {
if ((this.hitTest(_root.tank) && (_root.bach == true)) && (die == false)) {
_root.tank.die = true;
}
if (die == true) {
if (att == 1) {
this.play();
go = false;
att = 0;
}
}
if (go == true) {
_x = (_x - speed);
if (_x < -60) {
_y = random(200);
_x = 1250;
}
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 114 MovieClip "tank" in Frame 18
onClipEvent (load) {
function reset() {
_x = pox;
_y = poy;
_rotation = rot;
this.gotoAndStop(1);
}
mov = true;
die = false;
pox = _x;
poy = _y;
dth = 1;
rot = _rotation;
di = 1;
ud = 2;
}
onClipEvent (enterFrame) {
peg = _y;
if (_root.amitavaplay == true) {
if (mov == true) {
if (Key.isDown(38) && (_y > 0)) {
_y = (_y - (ud * 2));
}
} else if (Key.isDown(38) && (_y > 169)) {
_y = (_y - (ud * 2));
}
if (Key.isDown(40) && (_y < 300)) {
_y = (_y + (ud * 2));
}
if (Key.isDown(39) && (_x < 500)) {
_x = (_x + (ud * 2));
}
if (Key.isDown(37) && (_x > -5)) {
_x = (_x - (ud * 2));
}
if (((Key.isDown(32) && (shotTimer <= 0)) && (die == false)) && (mov == true)) {
_root.bumSound.start();
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 5;
}
shotTimer--;
if (die == true) {
_root.bach == false;
mov = false;
_y = (_y + 8);
_rotation = (_rotation + 5);
this.gotoAndStop(7);
if (_y > 750) {
if (dth == 1) {
_root.amitavahealth = _root.amitavahealth - 1;
_root["l" + _root.amitavahealth]._visible = false;
dth = 0;
}
this.gotoAndStop(1);
die = false;
mov = true;
di = 1;
dth = 1;
if (_root.amitavahealth > 1) {
reset();
}
}
}
}
if ((this.hitTest(_root.hill) && (die == false)) && (_root.bach == true)) {
if (di == 1) {
die = true;
di = 0;
}
}
}
Instance of Symbol 228 MovieClip "gameover" in Frame 18
onClipEvent (load) {
_root.butt._visible = false;
_root.butta._visible = false;
_root.buttc._visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavahealth == 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
_root.hill.stop();
stopAllSounds();
pl = 0;
}
}
}
Symbol 23 MovieClip Frame 22
stop();
Symbol 57 MovieClip Frame 16
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 25
_root.e7.go = true;
_root.e7.att = 1;
_root.e7.die = false;
_root.e7._y = random(200);
_root.e7._x = 900;
_root.score = _root.score + 200;
_root.e7.speed = random(10);
if (_root.e7.speed == 0) {
_root.e7.speed = _root.e7.speed + 3;
}
_root.e7.gotoAndStop(1);
Symbol 65 MovieClip Frame 10
_root.e17.gotoAndStop(1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 36
_root.amitavaplay = false;
_root.well.play();
Symbol 68 MovieClip Frame 37
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 25
_root.e1.go = true;
_root.e1.att = 1;
_root.e1.die = false;
_root.e1._y = random(200);
_root.e1._x = 800;
_root.score = _root.score + 100;
_root.e1.speed = random(10);
if (_root.e1.speed == 0) {
_root.e1.speed = _root.e1.speed + 3;
}
_root.e1.gotoAndStop(1);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 25
_root.e2.go = true;
_root.e2.att = 1;
_root.e2.die = false;
_root.e2._y = random(200);
_root.e2._x = 1000;
_root.e2.speed = random(10);
if (_root.e2.speed == 0) {
_root.e2.speed = _root.e2.speed + 3;
}
_root.score = _root.score + 100;
_root.e2.gotoAndStop(1);
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 25
_root.e3.go = true;
_root.e3.att = 1;
_root.e3.die = false;
_root.e3._y = random(200);
_root.e3._x = 1200;
_root.e3.speed = random(10);
if (_root.e3.speed == 0) {
_root.e3.speed = _root.e3.speed + 3;
}
_root.score = _root.score + 100;
_root.e3.gotoAndStop(1);
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 25
_root.e5.go = true;
_root.e5.att = 1;
_root.e5.die = false;
_root.e5._y = random(200);
_root.e5._x = 1600;
_root.e5.speed = random(10);
if (_root.e5.speed == 0) {
_root.e5.speed = _root.e5.speed + 3;
}
_root.score = _root.score + 100;
_root.e5.gotoAndStop(1);
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 25
_root.e6.go = true;
_root.e6.att = 1;
_root.e6.die = false;
_root.e6._y = random(200);
_root.e6._x = 1800;
_root.e6.speed = random(10);
if (_root.e6.speed == 0) {
_root.e6.speed = _root.e6.speed + 3;
}
_root.score = _root.score + 100;
_root.e6.gotoAndStop(1);
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 25
_root.e4.go = true;
_root.e4.att = 1;
_root.e4.die = false;
_root.e4._y = random(200);
_root.e4._x = 1400;
_root.e4.speed = random(10);
if (_root.e4.speed == 0) {
_root.e4.speed = _root.e4.speed + 3;
}
_root.score = _root.score + 100;
_root.e4.gotoAndStop(1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 25
_root.e8.go = true;
_root.e8.att = 1;
_root.e8.die = false;
_root.e8._y = random(200);
_root.e8._x = 1300;
_root.score = _root.score + 200;
_root.e8.speed = random(10);
if (_root.e8.speed == 0) {
_root.e8.speed = _root.e8.speed + 3;
}
_root.e8.gotoAndStop(1);
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 25
_root.e9.go = true;
_root.e9.att = 1;
_root.e9.die = false;
_root.e9._y = random(200);
_root.e9._x = 1700;
_root.score = _root.score + 200;
_root.e9.speed = random(10);
if (_root.e9.speed == 0) {
_root.e9.speed = _root.e9.speed + 3;
}
_root.e9.gotoAndStop(1);
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 25
_root.e10.go = true;
_root.e10.att = 1;
_root.e10.die = false;
_root.e10._y = random(200);
_root.e10._x = 1900;
_root.score = _root.score + 200;
_root.e10.speed = random(10);
if (_root.e10.speed == 0) {
_root.e10.speed = _root.e10.speed + 3;
}
_root.e10.gotoAndStop(1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 25
_root.e11.go = true;
_root.e11.att = 1;
_root.e11.die = false;
_root.e11._y = random(200);
_root.e11._x = 2200;
_root.score = _root.score + 200;
_root.e11.speed = random(10);
if (_root.e11.speed == 0) {
_root.e11.speed = _root.e11.speed + 3;
}
_root.e11.gotoAndStop(1);
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 25
_root.e12.go = true;
_root.e12.att = 1;
_root.e12.die = false;
_root.e12._y = random(200);
_root.e12._x = 2400;
_root.score = _root.score + 200;
_root.e12.speed = random(10);
if (_root.e12.speed == 0) {
_root.e12.speed = _root.e12.speed + 3;
}
_root.e12.gotoAndStop(1);
Symbol 108 MovieClip Frame 66
_root.bach = true;
_root.tank.gotoAndStop(1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
gotoAndPlay (1);
Symbol 114 MovieClip Frame 3
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 2
gotoAndStop (1);
Symbol 120 MovieClip Frame 7
gotoAndStop (1);
Symbol 130 Button
on (release) {
gotoAndStop (18);
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
var ssc = _root.score;
Symbol 139 MovieClip Frame 40
stop();
_root.butt._visible = true;
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 10
_root.buttc._visible = true;
Symbol 142 MovieClip Frame 40
stop();
Symbol 151 Button
on (release) {
gotoAndPlay (13);
}
Symbol 157 MovieClip Frame 12
stop();
Symbol 158 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 176 MovieClip Frame 1
Symbol 180 Button
on (press) {
gotoAndStop (17);
}
Symbol 182 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 187 Button
on (press) {
gotoAndPlay (11);
}
Symbol 190 Button
on (release) {
gotoAndStop (11);
}
Symbol 198 Button
on (press) {
gotoAndStop (13);
}
Symbol 200 MovieClip Frame 10
_root.e13.gotoAndStop(1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 16
gotoAndStop (1);
Symbol 203 MovieClip Frame 44
_root.amitavaplay = false;
_root.well.play();
Symbol 203 MovieClip Frame 46
stop();
_root.playlev = false;
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 25
_root.e1.go = true;
_root.e1.att = 1;
_root.e1.die = false;
_root.e1._y = random(200);
_root.e1._x = 800;
_root.scoreb = _root.scoreb + 100;
_root.e1.speed = random(10);
if (_root.e1.speed == 0) {
_root.e1.speed = _root.e1.speed + 3;
}
_root.e1.gotoAndStop(1);
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 25
_root.e7.go = true;
_root.e7.att = 1;
_root.e7.die = false;
_root.e7._y = random(200);
_root.e7._x = 900;
_root.scoreb = _root.scoreb + 100;
_root.e7.speed = random(10);
if (_root.e7.speed == 0) {
_root.e7.speed = _root.e7.speed + 3;
}
_root.e7.gotoAndStop(1);
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 25
_root.e2.go = true;
_root.e2.att = 1;
_root.e2.die = false;
_root.e2._y = random(200);
_root.e2._x = 1000;
_root.scoreb = _root.scoreb + 100;
_root.e2.speed = random(13);
if (_root.e2.speed == 0) {
_root.e2.speed = _root.e2.speed + 3;
}
_root.e2.gotoAndStop(1);
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 25
_root.e3.go = true;
_root.e3.att = 1;
_root.e3.die = false;
_root.e3._y = random(200);
_root.e3._x = 1100;
_root.scoreb = _root.scoreb + 100;
_root.e3.speed = random(13);
if (_root.e3.speed == 0) {
_root.e3.speed = _root.e3.speed + 3;
}
_root.e3.gotoAndStop(1);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 25
_root.e4.go = true;
_root.e4.att = 1;
_root.e4.die = false;
_root.e4._y = random(200);
_root.e4._x = 1200;
_root.scoreb = _root.scoreb + 100;
_root.e4.speed = random(13);
if (_root.e4.speed == 0) {
_root.e4.speed = _root.e4.speed + 3;
}
_root.e4.gotoAndStop(1);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 25
_root.e5.go = true;
_root.e5.att = 1;
_root.e5.die = false;
_root.e5._y = random(200);
_root.e5._x = 1300;
_root.scoreb = _root.scoreb + 100;
_root.e5.speed = random(13);
if (_root.e5.speed == 0) {
_root.e5.speed = _root.e5.speed + 3;
}
_root.e5.gotoAndStop(1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 25
_root.e6.go = true;
_root.e6.att = 1;
_root.e6.die = false;
_root.e6._y = random(200);
_root.e6._x = 1400;
_root.scoreb = _root.scoreb + 100;
_root.e6.speed = random(13);
if (_root.e6.speed == 0) {
_root.e6.speed = _root.e6.speed + 3;
}
_root.e6.gotoAndStop(1);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 25
_root.e8.go = true;
_root.e8.att = 1;
_root.e8.die = false;
_root.e8._y = random(200);
_root.e8._x = 1100;
_root.scoreb = _root.scoreb + 100;
_root.e8.speed = random(10);
if (_root.e8.speed == 0) {
_root.e8.speed = _root.e8.speed + 3;
}
_root.e8.gotoAndStop(1);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 25
_root.e9.go = true;
_root.e9.att = 1;
_root.e9.die = false;
_root.e9._y = random(200);
_root.e9._x = 1200;
_root.scoreb = _root.scoreb + 100;
_root.e9.speed = random(10);
if (_root.e9.speed == 0) {
_root.e9.speed = _root.e9.speed + 3;
}
_root.e9.gotoAndStop(1);
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 25
_root.e10.go = true;
_root.e10.att = 1;
_root.e10.die = false;
_root.e10._y = random(200);
_root.e10._x = 950;
_root.scoreb = _root.scoreb + 100;
_root.e10.speed = random(10);
if (_root.e10.speed == 0) {
_root.e10.speed = _root.e10.speed + 3;
}
_root.e10.gotoAndStop(1);
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 25
_root.e11.go = true;
_root.e11.att = 1;
_root.e11.die = false;
_root.e11._y = random(200);
_root.e11._x = 1250;
_root.scoreb = _root.scoreb + 100;
_root.e11.speed = random(10);
if (_root.e11.speed == 0) {
_root.e11.speed = _root.e11.speed + 3;
}
_root.e11.gotoAndStop(1);
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
var ssc = _root.scoreb;
Symbol 228 MovieClip Frame 40
stop();
_root.butt._visible = true;
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
var ssc = _root.scoreb;
Symbol 234 MovieClip Frame 10
_root.butta._visible = true;
Symbol 234 MovieClip Frame 40
stop();
Symbol 235 Button
on (release) {
gotoAndPlay ("1st");
}
Symbol 238 Button
on (release) {
gotoAndPlay ("1st");
}
Symbol 245 Button
on (release) {
gotoAndPlay ("1st");
}