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) {
gotoAndStop (5);
this.attachMovie("ff", "ff", 11);
this.attachMovie("cl", "cl", 10);
}
Instance of Symbol 18 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
stopAllSounds();
Frame 6
fscommand ("allowscale", false);
Frame 15
fscommand ("allowscale", false);
b = new Sound();
b.attachSound("bum");
e = new Sound();
e.attachSound("enbum");
var amitavalanded = false;
var amitavafly = true;
var amitavaplay = true;
var amitavaplay = true;
var amitavakey = false;
var amitavalife = 6;
var capture = false;
var skyloop = 10;
minea = 1;
mineb = 1;
minec = 1;
mined = 1;
minee = 1;
minef = 1;
mineg = 1;
mineh = 1;
minei = 1;
minej = 1;
minek = 1;
enemyalife = 8;
enemyblife = 8;
enemyclife = 8;
enemydlife = 15;
enemyelife = 20;
tankalife = 8;
tankblife = 8;
keycover = true;
amitavasecret = false;
Frame 16
fscommand ("allowscale", false);
var herohita = false;
var herohitb = false;
var herohitc = false;
var listener = new Object();
listener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
herohita = true;
} else if (_local1 == 90) {
herohitb = true;
} else if (_local1 == 67) {
herohitc = true;
}
};
Key.addListener(listener);
listener.onKeyUp = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
herohita = false;
} else if (_local1 == 90) {
herohitb = false;
} else if (_local1 == 67) {
herohitc = false;
}
};
function move_wait() {
var _local1 = this;
if (amitavaplay == true) {
if (Key.isDown(Kleft) && (movement == true)) {
_local1.bubMC.lef = true;
_local1.bubMC.ri = false;
_local1.bubMC._xscale = -100;
_local1.bubMC.gotoAndStop("walk");
}
if (Key.isDown(Kright) && (movement == true)) {
_local1.bubMC.ri = true;
_local1.bubMC.lef = false;
_local1.bubMC._xscale = 100;
_local1.bubMC.gotoAndStop("walk");
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if (Key.isDown(Kjump) && (movement == true)) {
this.bubMC.gotoAndStop("jumpUp");
Fight = false;
}
}
}
function fall_wait() {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y, true)) {
_local1.bubMC.gotoAndStop("jumpDown");
}
}
}
function move_left(valueX) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x - valueX) - 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x - valueX;
}
}
}
function move_right(valueX) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x + valueX) + 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x + valueX;
}
}
}
function jump_down(valueY) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - 2, true)) {
_local1.bubMC._y = _local1.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - i, true)) {
_local1.bubMC._y = _local1.bubMC._y - (i - 3);
break;
}
i++;
}
if (_local1.bubMC.injuri == false) {
_local1.bubMC.gotoAndStop("stand");
Fight = true;
}
}
}
}
fscommand ("allowscale", false);
Stage.showMenu = false;
_quality = "high";
this.stageMC.limitMC._visible = false;
movement = true;
sco = 0;
Kleft = 37;
Kright = 39;
Kjump = 38;
Fight = false;
walkSpeed = 4;
jumpHeight = 10;
jumpSpeed = 0.5;
fallSpeed = 10;
Instance of Symbol 134 MovieClip in Frame 16
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(500);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavalanded == false) {
if ((st == true) && (_root.skyloop < 8)) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y - 3);
st = false;
}
if (_y < -150) {
_y = 500;
_x = random(150);
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.flyer) && (_root.flyer.die == false)) {
if (hit == 1) {
_root.b.start();
_root.flyer.gotoAndStop(2);
this.gotoAndStop(2);
_root.flyer.die = true;
hit = 0;
}
}
}
}
}
Instance of Symbol 134 MovieClip in Frame 16
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(500);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavalanded == false) {
if ((st == true) && (_root.skyloop < 8)) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y - 3);
st = false;
}
if (_y < -150) {
_y = 500;
_x = random(150);
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.flyer) && (_root.flyer.die == false)) {
if (hit == 1) {
_root.b.start();
_root.flyer.gotoAndStop(2);
this.gotoAndStop(2);
_root.flyer.die = true;
hit = 0;
}
}
}
}
}
Instance of Symbol 134 MovieClip in Frame 16
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(500);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavalanded == false) {
if ((st == true) && (_root.skyloop < 8)) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y - 3);
st = false;
}
if (_y < -150) {
_y = 500;
_x = random(150);
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.flyer) && (_root.flyer.die == false)) {
if (hit == 1) {
_root.b.start();
_root.flyer.gotoAndStop(2);
this.gotoAndStop(2);
_root.flyer.die = true;
hit = 0;
}
}
}
}
}
Instance of Symbol 170 MovieClip "flyer" in Frame 16
onClipEvent (load) {
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavafly == false) {
if (_root.amitavalanded == false) {
_y = (_y + 2);
} else {
this.gotoAndStop(3);
}
}
if (Key.isDown(39) && (_x < 520)) {
_x = (_x + 2);
} else if (Key.isDown(37) && (_x > 10)) {
_x = (_x - 2);
}
}
}
Instance of Symbol 192 MovieClip "intscn" in Frame 16
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 17
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d1" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("1st");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd1" in Frame 17
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("b");
pl = 0;
}
}
}
Instance of Symbol 249 MovieClip in Frame 17
onClipEvent (load) {
pl = 1;
dis = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC) && (_root.amitavakey == false)) {
if (dis == 1) {
_root.msg._x = _root.bubMC._x;
_root.msg._y = _root.bubMC._y - 60;
dis = 0;
}
} else {
_root.msg.reset();
dis = 1;
}
if (this.hitTest(_root.bubMC) && (_root.amitavakey == true)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 257 MovieClip in Frame 17
onClipEvent (load) {
pl = 1;
gv = 1;
h = new Sound();
h.attachSound("heli");
sn = 1;
}
onClipEvent (enterFrame) {
if ((_root.amitavasecret == true) && (pl == 1)) {
if (_y < 150) {
_y = (_y + 2);
if (sn == 1) {
h.start();
}
} else {
pl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (gv == 1) {
_root.bubMC._visible = false;
_root.bubMC.unloadMovie();
this.gotoAndStop(2);
_root.movement = false;
h.start();
gv = 0;
}
}
}
Instance of Symbol 261 MovieClip "msg" in Frame 17
onClipEvent (load) {
function reset() {
_x = xpos;
_y = ypos;
}
xpos = _x;
ypos = _y;
}
Instance of Symbol 296 MovieClip "bubMC" in Frame 17
onClipEvent (load) {
block = 0;
att1 = 0;
att2 = 0;
att3 = 0;
duk = 0;
thro = 0;
ri = true;
lef = false;
injuri = false;
inj = false;
pow = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (die == false) {
if (Key.isDown(39)) {
ri = true;
lef = false;
} else if (Key.isDown(37)) {
ri = false;
lef = true;
}
if ((Key.isDown(40) && (_root.Fight == true)) && (injuri == false)) {
if (duk == 0) {
this.gotoAndStop("duck");
duk = 1;
}
} else if ((duk == 1) && (injuri == false)) {
this.gotoAndPlay(2);
duk = 0;
}
if (((_root.herohita == true) && (duk == false)) && (injuri == false)) {
if ((shotTimer <= 0) && (_root.Fight == true)) {
if (pow == 1) {
_root.b.start();
this.gotoAndStop("shoot");
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 200) + 2100);
duplicateMovieClip (_parent.shota, "shota" + shotCount, (shotCount % 300) + 3200);
shotTimer = 2;
pow = 0;
}
}
} else {
pow = 1;
}
shotTimer--;
}
}
}
Instance of Symbol 298 MovieClip "shot" in Frame 17
onClipEvent (load) {
if ((String(_name) != "shot") && (_root.bubMC._xscale == 100)) {
_x = (_root.bubMC._x + 15);
_y = (_root.bubMC._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
_x = (_x + 20);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.hut.shocase) && (_root.hut.shocase.die == false)) {
_root.hut.shocase.gotoAndStop(2);
_root.capture = true;
_root.hut.shocase.die = true;
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x + 5, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.e1)) {
if (_root.enemyalife > 1) {
_root.enemyalife = _root.enemyalife - 1;
_root.e1.inj = true;
_root.e1.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyalife = 0;
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemyblife > 1) {
_root.enemyblife = _root.enemyblife - 1;
_root.e2.inj = true;
_root.e2.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyblife = 0;
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemyclife > 1) {
_root.enemyclife = _root.enemyclife - 1;
_root.e3.inj = true;
_root.e3.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyclife = 0;
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemydlife > 1) {
_root.enemydlife = _root.enemydlife - 1;
_root.e4.inj = true;
_root.e4.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemydlife = 0;
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
}
}
if (this.hitTest(_root.e6)) {
if (_root.enemyelife > 1) {
_root.enemyelife = _root.enemyelife - 1;
_root.e6.inj = true;
_root.e6.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyelife = 0;
_root.e6.inj = true;
_root.e6.gotoAndStop(5);
}
}
if (this.hitTest(_root.tank.br)) {
if (_root.tankalife > 1) {
_root.tankalife = _root.tankalife - 1;
_root.tank.inj = true;
_root.tank.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.tankalife = 0;
_root.tank.inj = true;
_root.tank.gotoAndStop(4);
}
}
if (this.hitTest(_root.tankb.br)) {
if (_root.tankblife > 1) {
_root.tankblife = _root.tankblife - 1;
_root.tankb.inj = true;
_root.tankb.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.tankblife = 0;
_root.tankb.inj = true;
_root.tankb.gotoAndStop(4);
}
}
}
Instance of Symbol 298 MovieClip "shota" in Frame 17
onClipEvent (load) {
if ((String(_name) != "shota") && (_root.bubMC._xscale == -100)) {
_x = (_root.bubMC._x - 15);
_y = (_root.bubMC._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shota") {
_x = (_x - 20);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.hut.shocase) && (_root.hut.shocase.die == false)) {
_root.hut.shocase.gotoAndStop(2);
_root.capture = true;
_root.hut.shocase.die = true;
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x + 5, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.e1)) {
if (_root.enemyalife > 1) {
_root.enemyalife = _root.enemyalife - 1;
_root.e1.inj = true;
_root.e1.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyalife = 0;
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemyblife > 1) {
_root.enemyblife = _root.enemyblife - 1;
_root.e2.inj = true;
_root.e2.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyblife = 0;
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemyclife > 1) {
_root.enemyclife = _root.enemyclife - 1;
_root.e3.inj = true;
_root.e3.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyclife = 0;
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemydlife > 1) {
_root.enemydlife = _root.enemydlife - 1;
_root.e4.inj = true;
_root.e4.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemydlife = 0;
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
}
}
if (this.hitTest(_root.e6)) {
if (_root.enemyelife > 1) {
_root.enemyelife = _root.enemyelife - 1;
_root.e6.inj = true;
_root.e6.gotoAndStop(6);
removeMovieClip(this);
} else {
_root.enemyelife = 0;
_root.e6.inj = true;
_root.e6.gotoAndStop(5);
}
}
if (this.hitTest(_root.tank.br)) {
if (_root.tankalife > 1) {
_root.tankalife = _root.tankalife - 1;
_root.tank.inj = true;
_root.tank.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.tankalife = 0;
_root.tank.inj = true;
_root.tank.gotoAndStop(4);
}
}
if (this.hitTest(_root.tankb.br)) {
if (_root.tankblife > 1) {
_root.tankblife = _root.tankblife - 1;
_root.tankb.inj = true;
_root.tankb.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.tankblife = 0;
_root.tankb.inj = true;
_root.tankb.gotoAndStop(4);
}
}
}
Frame 18
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d3" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.stageMC.limitMC.lim.reset();
_root.gotoAndStop("2nd");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d2" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("gatea");
pl = 0;
}
}
}
Instance of Symbol 330 MovieClip "m1" in Frame 18
onClipEvent (load) {
if (_root.minea == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minea == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minea = 0;
}
}
}
Instance of Symbol 330 MovieClip "m2" in Frame 18
onClipEvent (load) {
if (_root.mineb == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.mineb == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.mineb = 0;
}
}
}
Instance of Symbol 354 MovieClip "e1" in Frame 18
onClipEvent (load) {
if (_root.enemyalife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(7);
inj = true;
walk = false;
}
shotTimer = random(50);
wk = 1;
walk = true;
shoot = false;
inj = false;
endir = "right";
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.enemyalife > 0) {
if (((walk == true) && (shoot != true)) && (inj == false)) {
this.gotoAndStop(2);
if (_x < 180) {
_x = (_x + 2);
} else if (shoot == false) {
walk = false;
this.gotoAndStop(1);
}
}
if (_x < _root.bubMC._x) {
endir = "right";
_xscale = 100;
} else if (_x > _root.bubMC._x) {
endir = "left";
_xscale = -100;
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
shoot = true;
shotCount++;
this.gotoAndStop(4);
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 180) + 1180);
shotTimer = random(50);
} else {
shoot = false;
}
shotTimer--;
}
}
}
Instance of Symbol 298 MovieClip "eshot" in Frame 18
onClipEvent (load) {
if (String(_name) != "eshot") {
if (_root.e1.endir == "right") {
_xscale = 100;
speed = 20;
_x = (_root.e1._x + 15);
_y = (_root.e1._y - 30);
} else if (_root.e1.endir == "left") {
_xscale = -100;
speed = -20;
_x = (_root.e1._x - 15);
_y = (_root.e1._y - 30);
}
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshot") {
_x = (_x + speed);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 0) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Frame 19
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d4" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("1st");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d5" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("3rd");
pl = 0;
}
}
}
Instance of Symbol 359 MovieClip "mis3" in Frame 19
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis2" in Frame 19
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis1" in Frame 19
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis4" in Frame 19
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Frame 20
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d7" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("4th");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d6" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("2nd");
pl = 0;
}
}
}
Instance of Symbol 330 MovieClip "m4" in Frame 20
onClipEvent (load) {
if (_root.mined == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.mined == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.mined = 0;
}
}
}
Instance of Symbol 330 MovieClip "m6" in Frame 20
onClipEvent (load) {
if (_root.minef == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minef == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minef = 0;
}
}
}
Instance of Symbol 330 MovieClip "m3" in Frame 20
onClipEvent (load) {
if (_root.minec == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minec == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minec = 0;
}
}
}
Instance of Symbol 330 MovieClip "m5" in Frame 20
onClipEvent (load) {
if (_root.minee == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minee == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minee = 0;
}
}
}
Frame 21
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d9" in Frame 21
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.stageMC.limitMC.lim.reset();
_root.gotoAndStop("5th");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d8" in Frame 21
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("3rd");
pl = 0;
}
}
}
Instance of Symbol 383 MovieClip "tank" in Frame 21
onClipEvent (load) {
if (_root.tankalife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(5);
inj = true;
} else {
inj = false;
}
shotTimer = random(50);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.tankalife > 0) {
if (this.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
this.gotoAndStop(2);
shotCount++;
duplicateMovieClip (_parent.tshot, "tshot" + shotCount, (shotCount % 670) + 6600);
shotTimer = random(50);
}
shotTimer--;
}
}
}
Instance of Symbol 386 MovieClip "tshot" in Frame 21
onClipEvent (load) {
if (String(_name) != "tshot") {
_x = (_root.tank._x + 60);
_y = (_root.tank._y - 65);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "tshot") {
_x = (_x + 20);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.br) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 1) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Frame 22
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d11" in Frame 22
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("6th");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d10" in Frame 22
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("4th");
pl = 0;
}
}
}
Instance of Symbol 391 MovieClip "e2" in Frame 22
onClipEvent (load) {
function jump() {
var _local1 = this;
if ((jumpup == true) && (!jumping)) {
vel_y = 15;
jumping = true;
if (inj == false) {
_local1.gotoAndStop(3);
}
}
if (jumping) {
vel_y = vel_y - 1;
if (vel_y <= -10) {
vel_y = -10;
}
_local1._y = _local1._y - vel_y;
}
if (_root.stageMC.hitTest(_local1._x, _local1._y + 1, true)) {
vel_y = 0;
jumping = false;
if ((inj == false) && (jumpup == true)) {
_local1.gotoAndStop(1);
}
count = 0;
jumpup = false;
stcounter = true;
jumptimer = random(500);
}
}
if (_root.enemyblife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(8);
inj = true;
walk = false;
}
shotTimer = random(100);
wk = 1;
walk = true;
shoot = false;
inj = false;
jumplimit = 50;
ypos = _y;
vel_y = 0;
jumping = false;
jumpup = false;
stcounter = true;
count = 0;
jumptimer = random(300);
di = 1;
endir = "right";
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
jump();
if (_root.amitavaplay == true) {
if (_root.enemyblife > 0) {
if (stcounter == true) {
count++;
}
if (count >= jumptimer) {
jumpup = true;
stcounter = false;
}
if ((((walk == true) && (shoot != true)) && (inj == false)) && (jumpup == false)) {
this.gotoAndStop(2);
if (_x < 250) {
_x = (_x + 2);
} else if (shoot == false) {
walk = false;
this.gotoAndStop(1);
}
}
if (_x < _root.bubMC._x) {
endir = "right";
_xscale = 100;
} else if (_x > _root.bubMC._x) {
endir = "left";
_xscale = -100;
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
shoot = true;
shotCount++;
this.gotoAndStop(4);
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 180) + 1180);
shotTimer = random(100);
} else {
shoot = false;
}
shotTimer--;
}
}
}
}
Instance of Symbol 298 MovieClip "eshot" in Frame 22
onClipEvent (load) {
if (String(_name) != "eshot") {
if (_root.e2.endir == "right") {
_xscale = 100;
speed = 20;
_x = (_root.e2._x + 15);
_y = (_root.e2._y - 30);
} else if (_root.e2.endir == "left") {
_xscale = -100;
speed = -20;
_x = (_root.e2._x - 15);
_y = (_root.e2._y - 30);
}
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshot") {
_x = (_x + speed);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC)) {
if (_root.amitavalife > 0) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Frame 23
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d13" in Frame 23
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("7th");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "d12" in Frame 23
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("5th");
pl = 0;
}
}
}
Instance of Symbol 359 MovieClip "mis3" in Frame 23
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis2" in Frame 23
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis1" in Frame 23
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip "mis4" in Frame 23
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Frame 24
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "d14" in Frame 24
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("6th");
pl = 0;
}
}
}
Instance of Symbol 321 MovieClip in Frame 24
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 3) {
_visible = true;
}
if ((this.hitTest(_root.bubMC) && (_root.bubMC.inj == false)) && (_root.amitavalife < 3)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Frame 25
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd2" in Frame 25
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 450;
_root.gotoAndStop("gatea");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd3" in Frame 25
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("c");
pl = 0;
}
}
}
Instance of Symbol 330 MovieClip "m8" in Frame 25
onClipEvent (load) {
if (_root.mineh == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.mineh == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.mineh = 0;
}
}
}
Instance of Symbol 330 MovieClip "m7" in Frame 25
onClipEvent (load) {
if (_root.mineg == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.mineg == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.mineg = 0;
}
}
}
Frame 26
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd5" in Frame 26
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("d");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd4" in Frame 26
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("b");
pl = 0;
}
}
}
Instance of Symbol 433 MovieClip "tankb" in Frame 26
onClipEvent (load) {
if (_root.tankblife < 1) {
_root.stageMC.limitMC.lim._x = 6000;
this.gotoAndStop(5);
inj = true;
} else {
inj = false;
}
shotTimer = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.tankblife > 0) {
if (this.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
this.gotoAndStop(2);
shotCount++;
duplicateMovieClip (_parent.tshot, "tshot" + shotCount, (shotCount % 670) + 6600);
shotTimer = random(100);
}
shotTimer--;
}
}
}
Instance of Symbol 386 MovieClip "tshot" in Frame 26
onClipEvent (load) {
if (String(_name) != "tshot") {
_x = (_root.tankb._x - 60);
_y = (_root.tankb._y - 63);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "tshot") {
_x = (_x - 20);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 5, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC)) {
if (_root.amitavalife > 1) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Frame 27
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
_root["eshotb" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd6" in Frame 27
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("c");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd7" in Frame 27
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("e");
pl = 0;
}
}
}
Instance of Symbol 438 MovieClip "pania" in Frame 27
onClipEvent (load) {
_visible = false;
plo = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (plo == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
plo = 0;
}
}
}
Instance of Symbol 447 MovieClip "f2" in Frame 27
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 447 MovieClip "f3" in Frame 27
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
}
onClipEvent (enterFrame) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
Instance of Symbol 447 MovieClip "f1" in Frame 27
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 321 MovieClip in Frame 27
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 3) {
_visible = true;
}
if ((this.hitTest(_root.bubMC) && (_root.bubMC.inj == false)) && (_root.amitavalife < 3)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Frame 28
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd8" in Frame 28
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("d");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd9" in Frame 28
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("f");
pl = 0;
}
}
}
Instance of Symbol 359 MovieClip in Frame 28
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip in Frame 28
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip in Frame 28
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 359 MovieClip in Frame 28
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 5);
st = false;
}
if (_y > 550) {
this.gotoAndStop(1);
_y = -100;
_x = random(500);
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.injuri == false)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
hit = 0;
}
}
}
}
Instance of Symbol 453 MovieClip "e3" in Frame 28
onClipEvent (load) {
if (_root.enemyclife < 1) {
this.gotoAndStop(7);
_root.e4.attack = true;
inj = true;
walk = false;
}
shotTimer = random(100);
wk = 1;
walk = true;
shoot = false;
inj = false;
endir = "left";
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.enemyclife > 0) {
if (((walk == true) && (shoot != true)) && (inj == false)) {
this.gotoAndStop(2);
if (_x > 450) {
_x = (_x - 2);
} else if (shoot == false) {
walk = false;
this.gotoAndStop(1);
}
}
if (_x < _root.bubMC._x) {
endir = "right";
_xscale = -100;
} else if (_x > _root.bubMC._x) {
endir = "left";
_xscale = 100;
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
shoot = true;
shotCount++;
this.gotoAndStop(4);
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 180) + 1180);
shotTimer = random(100);
} else {
shoot = false;
}
shotTimer--;
}
}
}
Instance of Symbol 298 MovieClip "eshot" in Frame 28
onClipEvent (load) {
if (String(_name) != "eshot") {
if (_root.e3.endir == "right") {
_xscale = -100;
speed = -20;
} else if (_root.e3.endir == "left") {
_xscale = 100;
speed = 20;
}
_x = (_root.e3._x - 10);
_y = (_root.e3._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshot") {
_x = (_x - speed);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.injuri == false)) {
if (_root.amitavalife > 0) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Instance of Symbol 455 MovieClip "e4" in Frame 28
onClipEvent (load) {
function jump() {
var _local1 = this;
if (((jumpup == true) && (!jumping)) && (_x < 500)) {
vel_y = 15;
jumping = true;
if (inj == false) {
_local1.gotoAndStop(3);
}
}
if (jumping) {
vel_y = vel_y - 1;
if (vel_y <= -10) {
vel_y = -10;
}
_local1._y = _local1._y - vel_y;
}
if (_root.stageMC.hitTest(_local1._x, _local1._y, true)) {
vel_y = 0;
jumping = false;
if ((inj == false) && (jumpup == true)) {
_local1.gotoAndStop(1);
}
count = 0;
jumpup = false;
stcounter = true;
jumptimer = random(100);
}
}
if (_root.enemydlife < 1) {
_root.stageMC.limitMC.lim._x = 6000;
this.gotoAndStop(8);
inj = true;
walk = false;
}
if (_root.enemyclife < 1) {
attack = true;
stcounter = true;
} else {
attack = false;
}
shotTimer = random(100);
wk = 1;
walk = true;
shoot = false;
inj = false;
jumplimit = 50;
ypos = _y;
vel_y = 0;
jumping = false;
jumpup = false;
stcounter = false;
count = 0;
jumptimer = 200;
endir = "left";
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((_root.enemyclife < 1) && (this._x < 500)) {
jump();
}
if (_root.amitavaplay == true) {
if (_root.enemydlife > 0) {
if (stcounter == true) {
count++;
}
if (count >= jumptimer) {
jumpup = true;
stcounter = false;
count = 0;
}
if (attack == true) {
if ((((walk == true) && (shoot != true)) && (inj == false)) && (jumpup == false)) {
this.gotoAndStop(2);
if (_x > 450) {
_x = (_x - 5);
} else if (shoot == true) {
walk = false;
this.gotoAndStop(1);
}
}
if (_x < _root.bubMC._x) {
endir = "right";
_xscale = -100;
} else if (_x > _root.bubMC._x) {
endir = "left";
_xscale = 100;
}
if (((shotTimer <= 0) && (inj == false)) && (jumpup == false)) {
bumSound.start();
shoot = true;
shotCount++;
this.gotoAndStop(4);
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 180) + 1180);
shotTimer = random(50);
} else {
shoot = false;
}
shotTimer--;
}
}
}
}
}
Instance of Symbol 298 MovieClip "eshotb" in Frame 28
onClipEvent (load) {
if (String(_name) != "eshotb") {
if (_root.e4.endir == "right") {
_xscale = -100;
speed = -20;
} else if (_root.e4.endir == "left") {
_xscale = 100;
speed = 20;
}
_x = (_root.e4._x - 10);
_y = (_root.e4._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
_x = (_x - speed);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.br)) {
if (_root.amitavalife > 0) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Frame 29
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
_root["eshotb" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd10" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("e");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd11" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("g");
pl = 0;
}
}
}
Instance of Symbol 330 MovieClip "m10" in Frame 29
onClipEvent (load) {
if (_root.minej == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minej == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minej = 0;
}
}
}
Instance of Symbol 330 MovieClip "m11" in Frame 29
onClipEvent (load) {
if (_root.minek == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minek == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minek = 0;
}
}
}
Instance of Symbol 330 MovieClip "m9" in Frame 29
onClipEvent (load) {
if (_root.minei == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (_root.minei == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
this.gotoAndStop(2);
_root.minei = 0;
}
}
}
Frame 30
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
_root["eshotb" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd12" in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("f");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd13" in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("h");
pl = 0;
}
}
}
Instance of Symbol 438 MovieClip "pani" in Frame 30
onClipEvent (load) {
_visible = false;
plo = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (plo == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
plo = 0;
}
}
}
Instance of Symbol 321 MovieClip in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 3) {
_visible = true;
}
if ((this.hitTest(_root.bubMC) && (_root.bubMC.inj == false)) && (_root.amitavalife < 3)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Frame 31
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
i = 0;
while (i < 500) {
_root["shot" + i].removeMovieClip();
_root["shota" + i].removeMovieClip();
_root["tshot" + i].removeMovieClip();
_root["eshotb" + i].removeMovieClip();
_root["eshot" + i].removeMovieClip();
i++;
}
Instance of Symbol 236 MovieClip "bd14" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("g");
pl = 0;
}
}
}
Instance of Symbol 236 MovieClip "bd15" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 50;
_root.gotoAndStop("i");
pl = 0;
}
}
}
Instance of Symbol 447 MovieClip "f4" in Frame 31
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 447 MovieClip "f5" in Frame 31
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Frame 32
fscommand ("allowscale", false);
this.stageMC.limitMC._visible = false;
Instance of Symbol 236 MovieClip "bd16" in Frame 32
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 546;
_root.gotoAndStop("h");
pl = 0;
}
}
}
Instance of Symbol 471 MovieClip in Frame 32
onClipEvent (load) {
if (_root.amitavasecret == true) {
this.gotoAndStop(14);
}
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 473 MovieClip "e6" in Frame 32
onClipEvent (load) {
function jump() {
var _local1 = this;
if ((jumpup == true) && (!jumping)) {
vel_y = 15;
jumping = true;
if (inj == false) {
_local1.gotoAndStop(3);
}
}
if (jumping) {
vel_y = vel_y - 1;
if (vel_y <= -10) {
vel_y = -10;
}
_local1._y = _local1._y - vel_y;
}
if (_root.stageMC.hitTest(_local1._x, _local1._y, true)) {
vel_y = 0;
jumping = false;
if ((inj == false) && (jumpup == true)) {
_local1.gotoAndStop(1);
}
count = 0;
jumpup = false;
stcounter = true;
jumptimer = random(100);
}
}
if (_root.enemyelife < 1) {
this.gotoAndStop(8);
inj = true;
walk = false;
}
shotTimer = random(100);
wk = 1;
walk = true;
shoot = false;
inj = false;
jumplimit = 50;
ypos = _y;
vel_y = 0;
jumping = false;
jumpup = false;
stcounter = true;
count = 0;
jumptimer = random(100);
endir = "left";
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
jump();
if (_root.amitavaplay == true) {
if (_root.enemyelife > 0) {
if (stcounter == true) {
count++;
}
if (count >= jumptimer) {
jumpup = true;
stcounter = false;
}
if ((((walk == true) && (shoot != true)) && (inj == false)) && (jumpup == false)) {
this.gotoAndStop(2);
if (_x > 350) {
_x = (_x - 2);
} else if (shoot == false) {
walk = false;
this.gotoAndStop(1);
}
}
if (_x < _root.bubMC._x) {
endir = "right";
_xscale = -100;
} else if (_x > _root.bubMC._x) {
endir = "left";
_xscale = 100;
}
if ((shotTimer <= 0) && (inj == false)) {
_root.e.start();
shoot = true;
shotCount++;
this.gotoAndStop(4);
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 180) + 1180);
shotTimer = random(100);
} else {
shoot = false;
}
shotTimer--;
}
}
}
}
Instance of Symbol 298 MovieClip "eshot" in Frame 32
onClipEvent (load) {
if (String(_name) != "eshot") {
if (_root.e6.endir == "right") {
_xscale = -100;
speed = -20;
_x = (_root.e6._x + 15);
_y = (_root.e6._y - 30);
} else if (_root.e6.endir == "left") {
_xscale = 100;
speed = 20;
_x = (_root.e6._x - 15);
_y = (_root.e6._y - 30);
}
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshot") {
_x = (_x - speed);
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.br)) {
if (_root.amitavalife > 0) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
_root.amitavalife = _root.amitavalife - 1;
_root.hb._width = _root.hb._width - 14;
removeMovieClip(this);
} else {
_root.hb._width = _root.hb._width - 14;
_root.bubMC.injuri = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Symbol 6 MovieClip [am] Frame 1
var ssc = "amitavagame";
Symbol 7 MovieClip [ff] Frame 1
if (((((_root.cl.ais == true) && (_root.cl.bis == true)) && (_root.cl.mis == true)) && (_root.cl.pis == true)) && (_root.cl.gis == true)) {
this.attachMovie("am", "am", 3);
} else {
removeMovieClip("am");
}
Symbol 8 MovieClip [cl] Frame 1
_root.chkload = true;
var ais = false;
var bis = false;
var mis = false;
var pis = false;
var gis = false;
var listener = new Object();
listener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
ais = true;
}
if (_local1 == 66) {
bis = true;
}
if (_local1 == 77) {
mis = true;
}
if (_local1 == 71) {
pis = true;
}
if (_local1 == 73) {
gis = true;
}
};
Key.addListener(listener);
listener.onKeyUp = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
ais = false;
}
if (_local1 == 66) {
bis = false;
}
if (_local1 == 77) {
mis = false;
}
if (_local1 == 71) {
pis = false;
}
if (_local1 == 73) {
gis = false;
} else {
ais = false;
bis = false;
mis = false;
pis = false;
gis = false;
}
};
Key.addListener(listener);
Symbol 26 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 27 MovieClip Frame 22
stop();
Symbol 35 Button
on (press) {
_root.gotoAndStop(6);
}
Symbol 38 MovieClip Frame 12
stop();
Symbol 39 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 41 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 47 Button
on (press) {
_root.gotoAndStop(15);
}
Symbol 64 Button
on (press) {
gotoAndStop (5);
}
Symbol 85 MovieClip Frame 139
_root.gotoAndStop("sky");
Symbol 96 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
_root.amitavaplay = false;
Symbol 98 MovieClip Frame 21
stop();
Symbol 105 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 26
stop();
Symbol 111 MovieClip Frame 68
_root.skyloop = _root.skyloop + 1;
if (_root.skyloop < 10) {
gotoAndPlay (1);
} else {
_root.amitavafly = false;
}
Symbol 111 MovieClip Frame 106
stop();
Instance of Symbol 110 MovieClip "ground" in Symbol 111 MovieClip Frame 106
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.hitTest(_root.flyer)) {
if (pl == 1) {
_root.amitavalanded = true;
pl = 0;
}
}
}
}
Symbol 133 MovieClip Frame 13
stop();
Symbol 134 MovieClip Frame 1
stop();
Instance of Symbol 115 MovieClip "br" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 160 MovieClip Frame 2
_root.amitavaplay = false;
Symbol 160 MovieClip Frame 30
_root.gov.play();
Symbol 160 MovieClip Frame 31
stop();
Symbol 169 MovieClip Frame 11
_root.intscn.play();
Symbol 169 MovieClip Frame 12
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 22
stop();
Symbol 191 Button
on (press) {
_root.gotoAndStop("gatea");
}
Symbol 192 MovieClip Frame 15
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 10
stop();
Instance of Symbol 200 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
hit = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
Instance of Symbol 200 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
hit = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 7)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 9
_root.stageMC.limitMC.doorMC._y = _root.stageMC.limitMC.doorMC._y + 600;
Symbol 249 MovieClip Frame 10
stop();
Symbol 256 MovieClip Frame 33
_root.wel.play();
Symbol 256 MovieClip Frame 35
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 16
_root.bubMC.inj = false;
Symbol 272 MovieClip Frame 15
_root.bubMC.inj = false;
Symbol 274 MovieClip Frame 5
stop();
Symbol 280 MovieClip Frame 6
_parent.gotoAndStop(2);
Symbol 293 MovieClip Frame 21
_root.gov.play();
Symbol 293 MovieClip Frame 26
stop();
Symbol 295 MovieClip Frame 8
_root.bubMC.injuri = false;
Symbol 295 MovieClip Frame 9
_parent.gotoAndPlay(1);
Symbol 296 MovieClip Frame 1
this.gotoAndStop("jumpDown");
Instance of Symbol 264 MovieClip "foot" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 266 MovieClip in Symbol 296 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.move_wait();
_root.jump_wait();
}
Instance of Symbol 266 MovieClip in Symbol 296 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.move_wait();
if (_parent._xscale == 100) {
_root.move_right(_root.walkSpeed);
if (!Key.isDown(_root.Kright)) {
_parent.gotoAndStop("stand");
}
} else {
_root.move_left(_root.walkSpeed);
if (!Key.isDown(_root.Kleft)) {
_parent.gotoAndStop("stand");
}
}
_root.jump_wait();
_root.fall_wait();
}
Instance of Symbol 266 MovieClip in Symbol 296 MovieClip Frame 4
onClipEvent (load) {
jumpH = -_root.jumpHeight;
}
onClipEvent (enterFrame) {
_root.Fight = false;
if (!_root.stageMC.limitMC.hitTest(_root.bubMC._x, _root.bubMC._y - 50, true)) {
_parent._y = _parent._y + jumpH;
jumpH = jumpH + _root.jumpSpeed;
if (jumpH >= 0) {
_parent.gotoAndStop("jumpDown");
}
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
} else {
_parent.gotoAndStop("jumpDown");
}
}
Instance of Symbol 266 MovieClip in Symbol 296 MovieClip Frame 5
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
_root.Fight = false;
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
Instance of Symbol 266 MovieClip in Symbol 296 MovieClip Frame 8
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
_root.Fight = false;
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 4
_root.amitavalife = _root.amitavalife + 3;
_root.hb._width = _root.hb._width + 42;
Symbol 321 MovieClip Frame 9
stop();
Instance of Symbol 325 MovieClip "lim" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = xpos;
_y = ypos;
}
xpos = _x;
ypos = _y;
}
Symbol 329 MovieClip Frame 13
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 19
_root.e1.wk = 1;
_parent.gotoAndStop(1);
Symbol 346 MovieClip Frame 25
stop();
Symbol 347 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 352 MovieClip Frame 14
_root.sco = _root.sco + 50;
_root.stageMC.limitMC.lim._x = 6000;
Symbol 352 MovieClip Frame 20
stop();
Symbol 353 MovieClip Frame 9
_root.e1.inj = false;
_parent.gotoAndStop(1);
Symbol 354 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 12
_root.m1._y = _root.m1._y + 500;
Symbol 358 MovieClip Frame 13
stop();
Symbol 359 MovieClip Frame 1
stop();
Instance of Symbol 357 MovieClip "br" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 374 MovieClip Frame 19
_parent.gotoAndStop(1);
Symbol 375 MovieClip Frame 9
_root.tank.inj = false;
_parent.gotoAndStop(1);
Symbol 382 MovieClip Frame 10
_root.sco = _root.sco + 100;
_root.stageMC.limitMC.lim._x = -1000;
Symbol 382 MovieClip Frame 13
stop();
Symbol 383 MovieClip Frame 1
stop();
Instance of Symbol 366 MovieClip "br" in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 388 MovieClip Frame 14
_root.sco = _root.sco + 50;
_root.stageMC.limitMC.lim._x = -6000;
Symbol 388 MovieClip Frame 20
stop();
Symbol 389 MovieClip Frame 9
_root.e2.inj = false;
_parent.gotoAndStop(1);
Symbol 390 MovieClip Frame 25
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 14
stop();
Symbol 414 MovieClip Frame 12
_root.amitavakey = true;
_root.keycover = false;
Symbol 414 MovieClip Frame 14
stop();
Instance of Symbol 415 MovieClip "shocase" in Symbol 417 MovieClip Frame 1
onClipEvent (load) {
if (_root.keycover == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(1);
}
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.keycover == true) {
if (this.hitTest(_root.bubMC) && (_root.capture == true)) {
if (pl == 1) {
this.gotoAndStop(3);
pl = 0;
}
}
}
}
Symbol 426 MovieClip Frame 9
_root.tankb.inj = false;
_parent.gotoAndStop(1);
Symbol 432 MovieClip Frame 10
_root.sco = _root.sco + 100;
_root.stageMC.limitMC.lim._x = 6000;
Symbol 432 MovieClip Frame 13
stop();
Symbol 433 MovieClip Frame 1
stop();
Instance of Symbol 366 MovieClip "br" in Symbol 433 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 447 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 18
_root.sco = _root.sco + 50;
_root.e4.attack = true;
_root.e4.stcounter = true;
Symbol 451 MovieClip Frame 20
stop();
Symbol 452 MovieClip Frame 9
_root.e3.inj = false;
_parent.gotoAndStop(1);
Symbol 453 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 9
_root.e4.inj = false;
_parent.gotoAndStop(1);
Symbol 455 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 5
_root.bubMC.gotoAndPlay(1);
Symbol 457 MovieClip Frame 6
stop();
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 7)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
count = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
count++;
if ((pl == 1) && (count > 5)) {
this.play();
pl = 0;
}
}
}
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 12
_root.amitavasecret = true;
Symbol 471 MovieClip Frame 13
stop();
Symbol 472 MovieClip Frame 9
_root.e6.inj = false;
_parent.gotoAndStop(1);
Symbol 473 MovieClip Frame 1
stop();