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) {
_root.attachMovie("ff", "ff", 10000);
_root.attachMovie("cl", "cl", 10050);
gotoAndStop (5);
}
this.bar._xscale = _root.percentDone * 4;
Instance of Symbol 14 MovieClip "bar" in Frame 1
onClipEvent (enterFrame) {
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
Stage.showMenu = false;
stopAllSounds();
Frame 6
fscommand ("allowscale", false);
Stage.showMenu = false;
Frame 10
fscommand ("allowscale", false);
Stage.showMenu = false;
bat = new Sound();
bat.attachSound("bat");
bite = new Sound();
bite.attachSound("bite");
door = new Sound();
door.attachSound("door");
shoot = new Sound();
shoot.attachSound("shoot");
las = new Sound();
las.attachSound("las");
es = new Sound();
es.attachSound("es");
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 52) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
NormMode = true;
Gunmode = false;
crossMode = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "2nd";
Land = true;
var score = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
var level = 1;
Instance of Symbol 159 MovieClip in Frame 10
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
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.bat.start();
sn = 0;
}
_x = (_x - 6);
st = false;
}
if (_x < -150) {
_x = 600;
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.duck = false;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 426 MovieClip "bubMC" in Frame 10
onClipEvent (load) {
die = false;
duck = false;
d = 0;
dir = 0;
a = false;
injuri = false;
shoot = false;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (die == false)) {
if (this._xscale == 100) {
dir = 0;
} else if (this._xscale == -100) {
dir = 1;
}
if ((((Key.isDown(40) && (die == false)) && (_root.Land == true)) && (shoot == 0)) && (injuri == false)) {
this.gotoAndStop("dak");
duck = true;
} else if (((((duck == true) && (die == false)) && (_root.Land == true)) && (shoot == 0)) && (injuri == false)) {
this.gotoAndStop("daku");
duck = false;
}
if (((_root.Gunmode == true) && (_root.Land == true)) && (die == false)) {
if (Key.isDown(65) && (_root.Gunmode == true)) {
shoot = 1;
if (!a) {
this.gotoAndStop("shoot");
_root.shoot.start();
d++;
_root.bullet.duplicateMovieClip("newb" + d, d);
if (dir == 0) {
_root["newb" + d].speed = 20;
_root["newb" + d].stepx = 30;
} else if (dir == 1) {
_root["newb" + d].speed = -20;
_root["newb" + d].stepx = -30;
}
a = true;
}
} else {
shoot = 0;
}
}
if ((_root.crossMode == true) && (die == false)) {
if (((Key.isDown(65) && (_root.crossMode == true)) && (_root.Land == true)) && (duck == false)) {
shoot = 1;
if (!a) {
this.gotoAndStop("shoot");
_root.las.start();
d++;
_root.lbullet.duplicateMovieClip("newb" + d, d);
if (dir == 0) {
_root["newb" + d].speed = 20;
_root["newb" + d].stepx = 30;
} else if (dir == 1) {
_root["newb" + d].speed = -20;
_root["newb" + d].stepx = -30;
}
a = true;
}
} else {
shoot = 0;
}
}
}
}
Instance of Symbol 430 MovieClip "bullet" in Frame 10
onClipEvent (load) {
if (_name != "bullet") {
this._x = _root.bubMC._x + stepx;
this._y = _root.bubMC._y - 25;
}
}
onClipEvent (enterFrame) {
if (_name != "bullet") {
_x = (_x + speed);
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
_root.bubMC.a = false;
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
_root.bubMC.a = false;
removeMovieClip(this);
}
i = 0;
while (i < 11) {
if (this.hitTest(_root.bg["sp" + i])) {
_root.bg["sp" + i].die = true;
_root.bubMC.a = false;
removeMovieClip(this);
}
i++;
}
if (this.hitTest(_root.bg.e1) && (_root.bg.e1.die == false)) {
if (_root.bg.e1.life > 0) {
_root.bg.e1.life = _root.bg.e1.life - 1;
_root.bg.e1.inj = true;
_root.bg.e1.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e1.die = true;
_root.bg.e1.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e2) && (_root.bg.e2.die == false)) {
if (_root.bg.e2.life > 0) {
_root.bg.e2.life = _root.bg.e2.life - 1;
_root.bg.e2.inj = true;
_root.bg.e2.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e2.die = true;
_root.bg.e2.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e3) && (_root.bg.e3.die == false)) {
if (_root.bg.e3.life > 0) {
trace("FIRE");
_root.bubMC.a = false;
_root.bg.e3.life = _root.bg.e3.life - 1;
_root.bg.e3.inj = true;
_root.bg.e3.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.bubMC.a = false;
_root.bg.e3.die = true;
_root.bg.e3.gotoAndStop(5);
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e4) && (_root.bg.e4.die == false)) {
if (_root.bg.e4.life > 0) {
_root.bubMC.a = false;
_root.bg.e4.life = _root.bg.e4.life - 1;
_root.bg.e4.inj = true;
_root.bg.e4.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.bubMC.a = false;
_root.bg.e4.die = true;
_root.bg.e4.gotoAndStop(5);
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.mummy) && (_root.bg.mummy.die == false)) {
if (_root.bg.mummy.life > 0) {
_root.bg.mummy.attak = false;
_root.bg.mummy._x = _root.bg.mummy._x + 10;
_root.bg.mummy.life = _root.bg.mummy.life - 1;
_root.bg.mummy.gotoAndStop(4);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.mummy.attak = false;
_root.bg.mummy.die = true;
_root.bg.mummy.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.mummy.attak = true;
}
if (this.hitTest(_root.bg.ghost) && (_root.bg.ghost.die == false)) {
if (_root.bg.ghost.life > 0) {
_root.bg.ghost.attak = false;
_root.bg.ghost._x = _root.bg.ghost._x + 10;
_root.bg.ghost.life = _root.bg.ghost.life - 1;
_root.bg.ghost.gotoAndStop(4);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.ghost.attak = false;
_root.bg.ghost.die = true;
_root.bg.ghost.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.ghost.attak = true;
}
if (this.hitTest(_root.bg.dino) && (_root.bg.dino.die == false)) {
if (_root.bg.dino.life > 0) {
_root.bg.dino.attak = false;
_root.bg.dino.life = _root.bg.dino.life - 1;
_root.bg.dino.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.dino.attak = false;
_root.bg.dino.die = true;
_root.bg.dino.gotoAndStop(4);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.ghost.attak = true;
}
if (_x > 550) {
removeMovieClip(this);
_root.bubMC.a = false;
} else if (_x < -10) {
removeMovieClip(this);
_root.bubMC.a = false;
}
}
}
Instance of Symbol 433 MovieClip "lbullet" in Frame 10
onClipEvent (load) {
if (_name != "lbullet") {
this._x = _root.bubMC._x + stepx;
this._y = _root.bubMC._y - 25;
}
}
onClipEvent (enterFrame) {
if (_name != "lbullet") {
_x = (_x + speed);
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
removeMovieClip(this);
}
i = 0;
while (i < 11) {
if (this.hitTest(_root.bg["sp" + i])) {
_root.bg["sp" + i].die = true;
_root.bubMC.a = false;
removeMovieClip(this);
}
i++;
}
if (this.hitTest(_root.bg.e1) && (_root.bg.e1.die == false)) {
if (_root.bg.e1.life > 0) {
_root.bg.e1.life = _root.bg.e1.life - 1;
_root.bg.e1.inj = true;
_root.bg.e1.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e1.die = true;
_root.bg.e1.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e2) && (_root.bg.e2.die == false)) {
if (_root.bg.e2.life > 0) {
_root.bg.e2.life = _root.bg.e2.life - 1;
_root.bg.e2.inj = true;
_root.bg.e2.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e2.die = true;
_root.bg.e2.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e3) && (_root.bg.e3.die == false)) {
if (_root.bg.e3.life > 0) {
_root.bg.e3.life = _root.bg.e3.life - 1;
_root.bg.e3.inj = true;
_root.bg.e3.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e3.die = true;
_root.bg.e3.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.e4) && (_root.bg.e4.die == false)) {
if (_root.bg.e4.life > 0) {
_root.bg.e4.life = _root.bg.e4.life - 1;
_root.bg.e4.inj = true;
_root.bg.e4.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.e4.die = true;
_root.bg.e4.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
}
if (this.hitTest(_root.bg.mummy) && (_root.bg.mummy.die == false)) {
if (_root.bg.mummy.life > 0) {
_root.bg.mummy.attak = false;
_root.bg.mummy._x = _root.bg.mummy._x + 10;
_root.bg.mummy.life = _root.bg.mummy.life - 1;
_root.bg.mummy.gotoAndStop(4);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.mummy.attak = false;
_root.bg.mummy.die = true;
_root.bg.mummy.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.mummy.attak = true;
}
if (this.hitTest(_root.bg.ghost) && (_root.bg.ghost.die == false)) {
if (_root.bg.ghost.life > 0) {
_root.bg.ghost.attak = false;
_root.bg.ghost._x = _root.bg.ghost._x + 10;
_root.bg.ghost.life = _root.bg.ghost.life - 1;
_root.bg.ghost.gotoAndStop(4);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.ghost.attak = false;
_root.bg.ghost.die = true;
_root.bg.ghost.gotoAndStop(5);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.ghost.attak = true;
}
if (this.hitTest(_root.bg.dino) && (_root.bg.dino.die == false)) {
if (_root.bg.dino.life > 0) {
_root.bg.dino.attak = false;
_root.bg.dino._x = _root.bg.dino._x + 10;
_root.bg.dino.life = _root.bg.dino.life - 1;
_root.bg.dino.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
} else {
_root.bg.dino.attak = false;
_root.bg.dino.die = true;
_root.bg.dino.gotoAndStop(3);
_root.bubMC.a = false;
removeMovieClip(this);
}
} else {
_root.bg.ghost.attak = true;
}
if (_x > 550) {
_root.bubMC.a = false;
removeMovieClip(this);
} else if (_x < -10) {
_root.bubMC.a = false;
removeMovieClip(this);
}
}
}
Instance of Symbol 447 MovieClip in Frame 10
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.gov.Falldn = true;
_root.bubMC.gotoAndStop("die");
_root.bubMC.die = true;
}
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.water_eff._x = _root.bubMC._x;
_root.water_eff._y = _root.bubMC._y;
_root.water_eff.play();
pl = 0;
}
}
}
Instance of Symbol 487 MovieClip "lev" in Frame 10
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.lev2._visible = true;
this.lev3._visible = false;
this.lev4._visible = false;
this.lev5._visible = false;
this.lev6._visible = false;
this.lev7._visible = false;
} else if (_root.level == 2) {
this.lev2._visible = false;
this.lev3._visible = true;
this.lev4._visible = false;
this.lev5._visible = false;
this.lev6._visible = false;
this.lev7._visible = false;
} else if (_root.level == 3) {
this.lev2._visible = false;
this.lev3._visible = false;
this.lev4._visible = true;
this.lev5._visible = false;
this.lev6._visible = false;
this.lev7._visible = false;
} else if (_root.level == 4) {
this.lev2._visible = false;
this.lev3._visible = false;
this.lev4._visible = false;
this.lev5._visible = true;
this.lev6._visible = false;
this.lev7._visible = false;
} else if (_root.level == 5) {
this.lev2._visible = false;
this.lev3._visible = false;
this.lev4._visible = false;
this.lev5._visible = false;
this.lev6._visible = true;
this.lev7._visible = false;
} else if (_root.level == 5) {
this.lev2._visible = false;
this.lev3._visible = false;
this.lev4._visible = false;
this.lev5._visible = false;
this.lev6._visible = false;
this.lev7._visible = true;
}
}
Instance of Symbol 504 MovieClip "gov" in Frame 10
onClipEvent (load) {
Falldn = false;
}
onClipEvent (enterFrame) {
if (Falldn == true) {
this.fall._visible = true;
} else {
this.fall._visible = false;
}
}
Frame 12
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "3rd";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
Instance of Symbol 571 MovieClip "stageMC" in Frame 12
onClipEvent (enterFrame) {
}
Instance of Symbol 159 MovieClip in Frame 12
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
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.bat.start();
sn = 0;
}
_x = (_x - 6);
st = false;
}
if (_x < -150) {
_x = 600;
_y = random(150);
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 447 MovieClip in Frame 12
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.gov.Falldn = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.water_eff._x = _root.bubMC._x;
_root.water_eff._y = _root.bubMC._y;
_root.water_eff.play();
pl = 0;
}
}
}
Frame 14
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "4th";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
Instance of Symbol 447 MovieClip in Frame 14
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.gov.Falldn = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.water_eff._x = _root.bubMC._x;
_root.water_eff._y = _root.bubMC._y;
_root.water_eff.play();
pl = 0;
}
}
}
Frame 16
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "5th";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
Instance of Symbol 700 MovieClip "bg" in Frame 16
onClipEvent (enterFrame) {
trace(this._x);
}
Instance of Symbol 159 MovieClip in Frame 16
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
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.bat.start();
sn = 0;
}
_x = (_x - 6);
st = false;
}
if (_x < -150) {
_x = 600;
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 447 MovieClip in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.gov.Falldn = true;
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.water_eff._x = _root.bubMC._x;
_root.water_eff._y = _root.bubMC._y;
_root.water_eff.play();
pl = 0;
}
}
}
Frame 18
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.dir = 1;
this.bubMC.gotoAndStop("walk");
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.dir = 0;
this.bubMC.gotoAndStop("walk");
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "6th";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
Frame 20
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "7th";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
NormMode = true;
Gunmode = false;
crossMode = false;
Instance of Symbol 159 MovieClip in Frame 20
onClipEvent (load) {
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
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.bat.start();
sn = 0;
}
_x = (_x - 6);
st = false;
}
if (_x < -150) {
_x = 600;
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Frame 22
fscommand ("allowscale", false);
Stage.showMenu = false;
function move_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kleft) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = -100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 1;
}
if ((Key.isDown(Kright) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC._xscale = 100;
this.bubMC.gotoAndStop("walk");
this.bubMC.dir = 0;
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if ((Key.isDown(Kjump) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpUp");
Land = false;
}
}
}
function fall_wait() {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
this.bubMC.gotoAndStop("jumpDown");
Land = false;
}
}
}
function move_left(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x - valueX) - 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x > 50) {
this.bubMC._x = this.bubMC._x - valueX;
}
if (this.stageMC._x < 1142) {
this.stageMC._x = this.stageMC._x + (valueX * 2);
this.bg._x = this.bg._x + (valueX * 2);
this.pum_house._x = this.pum_house._x + (valueX * 2);
}
}
}
}
function move_right(valueX) {
if (amitavaplay == true) {
if (((!this.stageMC.limitMC.hitTest((this.bubMC._x + valueX) + 8, this.bubMC._y - 4, true)) && (this.bubMC.duck == false)) && (this.bubMC.die == false)) {
if (this.bubMC._x < rlimit) {
this.bubMC._x = this.bubMC._x + valueX;
}
if (this.stageMC._x > -500) {
this.stageMC._x = this.stageMC._x - (valueX * 2);
this.bg._x = this.bg._x - (valueX * 2);
this.pum_house._x = this.pum_house._x - (valueX * 2);
rlimit = 300;
} else {
rlimit = 550;
}
}
}
}
function jump_down(valueY) {
if (amitavaplay == true) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - 2, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if ((!this.stageMC.limitMC.hitTest(this.bubMC._x, this.bubMC._y - i, true)) && (this.bubMC.duck == false)) {
this.bubMC._y = this.bubMC._y - (i - 3);
break;
}
i++;
}
if ((this.bubMC.die == false) && (this.bubMC.duck == false)) {
this.bubMC.gotoAndStop("stand");
Land = true;
}
}
}
}
fscommand ("allowscale", false);
_quality = "high";
s = new Sound();
s.attachSound("bat");
b = new Sound();
b.attachSound("bite");
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
walkSpeed = 2;
jumpHeight = 9;
jumpSpeed = 0.8;
fallSpeed = 8;
rlimit = 300;
frm = "8th";
Land = true;
var sco = 0;
var amitavalife = 6;
var amitavaplay = true;
var amitavaheart = 0;
Symbol 9 MovieClip [am] Frame 1
var ssc = "amitavagame";
Symbol 10 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 11 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 28 Button
on (release) {
getURL ("http://www.timewasterz.com", "_blank");
}
Symbol 34 MovieClip Frame 30
stop();
Symbol 41 Button
on (press) {
_root.gotoAndStop(6);
}
Symbol 48 Button
on (press) {
_root.gotoAndStop("1st");
}
Symbol 58 MovieClip Frame 14
stop();
Symbol 59 Button
on (release) {
getURL ("http://www.timewasterz.com", "_blank");
}
Symbol 66 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 82 MovieClip Frame 19
_root.stageMC.limitMC.cb1.gotoAndStop(1);
Symbol 82 MovieClip Frame 20
stop();
Symbol 98 MovieClip Frame 31
_root.stageMC.limitMC.cb1.play();
Symbol 98 MovieClip Frame 38
stop();
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip "br" in Symbol 99 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.fire.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
}
}
Symbol 101 MovieClip Frame 19
_root.stageMC.limitMC.cb2.gotoAndStop(1);
Symbol 101 MovieClip Frame 20
stop();
Symbol 103 MovieClip Frame 30
_root.stageMC.limitMC.cb2.play();
Symbol 103 MovieClip Frame 38
stop();
Symbol 104 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip "br" in Symbol 104 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 2
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.fire.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
}
}
Symbol 106 MovieClip Frame 19
_root.stageMC.limitMC.cb3.gotoAndStop(1);
Symbol 106 MovieClip Frame 20
stop();
Symbol 108 MovieClip Frame 30
_root.stageMC.limitMC.cb3.play();
Symbol 108 MovieClip Frame 38
stop();
Symbol 109 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip "br" in Symbol 109 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.fire.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
}
}
Symbol 111 MovieClip Frame 19
_root.stageMC.limitMC.cb4.gotoAndStop(1);
Symbol 111 MovieClip Frame 20
stop();
Symbol 113 MovieClip Frame 30
_root.stageMC.limitMC.cb4.play();
Symbol 113 MovieClip Frame 38
stop();
Symbol 114 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip "br" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 113 MovieClip in Symbol 114 MovieClip Frame 2
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.fire.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (pl == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
pl = 0;
}
}
}
Symbol 116 MovieClip Frame 19
_root.stageMC.limitMC.cb5.gotoAndStop(1);
Symbol 116 MovieClip Frame 20
stop();
Symbol 118 MovieClip Frame 30
_root.stageMC.limitMC.cb5.play();
Symbol 118 MovieClip Frame 38
stop();
Symbol 119 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip "br" in Symbol 119 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip Frame 2
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.fire.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (pl == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
pl = 0;
}
}
}
Symbol 136 MovieClip Frame 25
_root.score = _root.score + 50;
Symbol 136 MovieClip Frame 26
stop();
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip "c1" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(200);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
this.gotoAndStop(2);
startcounter = 0;
rad = 50 + random(200);
gl = 1;
st = 0;
}
}
}
}
Instance of Symbol 104 MovieClip "c2" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(200);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
this.gotoAndStop(2);
startcounter = 0;
rad = 50 + random(200);
gl = 1;
st = 0;
}
}
}
}
Instance of Symbol 109 MovieClip "c3" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(200);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
this.gotoAndStop(2);
startcounter = 0;
rad = 50 + random(200);
gl = 1;
st = 0;
}
}
if (this.br.hitTest(_root.moveLayer.hero)) {
if (pl == 1) {
_root.amitavadie = true;
_root.moveLayer.hero.gotoAndStop("die");
pl = 0;
}
} else {
pl = 1;
}
}
}
Instance of Symbol 114 MovieClip "c4" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(200);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
this.gotoAndStop(2);
startcounter = 0;
rad = 50 + random(200);
gl = 1;
st = 0;
}
}
if (this.br.hitTest(_root.moveLayer.hero)) {
if (pl == 1) {
_root.amitavadie = true;
_root.moveLayer.hero.gotoAndStop("die");
pl = 0;
}
} else {
pl = 1;
}
}
}
Instance of Symbol 119 MovieClip "c5" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(200);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
this.gotoAndStop(2);
startcounter = 0;
rad = 50 + random(200);
gl = 1;
st = 0;
}
}
if (this.br.hitTest(_root.moveLayer.hero)) {
if (pl == 1) {
_root.amitavadie = true;
_root.moveLayer.hero.gotoAndStop("die");
pl = 0;
}
} else {
pl = 1;
}
}
}
Instance of Symbol 137 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 139 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Symbol 158 MovieClip Frame 12
stop();
Symbol 159 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip "br" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 4
if (_root.bg.c1.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.duck = false;
_root.gov.Falldn = true;
_root.bubMC.gotoAndStop("die");
_root.bubMC.die = true;
}
Symbol 162 MovieClip Frame 6
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 4
if (_root.bg.c2.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.duck = false;
_root.gov.Falldn = true;
_root.bubMC.gotoAndStop("die");
_root.bubMC.die = true;
}
Symbol 163 MovieClip Frame 6
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 4
if (_root.bg.c3.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.duck = false;
_root.bubMC.gotoAndStop("die");
_root.gov.Falldn = true;
_root.bubMC.die = true;
}
Symbol 164 MovieClip Frame 6
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 4
if (_root.bg.c4.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.duck = false;
_root.bubMC.gotoAndStop("die");
_root.bubMC.die = true;
_root.gov.Falldn = true;
}
Symbol 165 MovieClip Frame 6
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 4
if (_root.bg.c5.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.duck = false;
_root.bubMC.gotoAndStop("die");
_root.bubMC.die = true;
_root.gov.Falldn = true;
}
Symbol 166 MovieClip Frame 6
stop();
Symbol 167 MovieClip Frame 1
Symbol 193 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 20
stop();
Symbol 253 MovieClip Frame 15
stop();
Symbol 275 MovieClip Frame 17
stop();
Symbol 289 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 299 MovieClip Frame 14
_root.bubMC.injuri = false;
Symbol 317 MovieClip Frame 11
stop();
Symbol 324 MovieClip Frame 11
stop();
Symbol 331 MovieClip Frame 6
stop();
Symbol 351 MovieClip Frame 13
if (_root.bubMC.die == false) {
_parent.gotoAndStop(2);
}
Symbol 381 MovieClip Frame 42
_root.gov.play();
Symbol 381 MovieClip Frame 43
stop();
Symbol 397 MovieClip Frame 42
_root.gov.play();
Symbol 397 MovieClip Frame 43
stop();
Symbol 409 MovieClip Frame 39
_root.gov.play();
Symbol 409 MovieClip Frame 40
stop();
Symbol 413 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 425 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 426 MovieClip Frame 1
this.gotoAndStop("jumpDown");
Instance of Symbol 182 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 189 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 192 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 92 MovieClip "body" in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.move_wait();
_root.jump_wait();
}
Instance of Symbol 206 MovieClip in Symbol 426 MovieClip Frame 3
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 211 MovieClip in Symbol 426 MovieClip Frame 3
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 218 MovieClip in Symbol 426 MovieClip Frame 3
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
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 225 MovieClip in Symbol 426 MovieClip Frame 4
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 237 MovieClip in Symbol 426 MovieClip Frame 4
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 247 MovieClip in Symbol 426 MovieClip Frame 4
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 4
onClipEvent (load) {
jumpH = -_root.jumpHeight;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + jumpH;
jumpH = jumpH + _root.jumpSpeed;
if (jumpH >= 0) {
_parent.gotoAndStop("jumpDown");
}
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
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 253 MovieClip in Symbol 426 MovieClip Frame 5
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 263 MovieClip in Symbol 426 MovieClip Frame 5
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 275 MovieClip in Symbol 426 MovieClip Frame 5
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 5
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
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 289 MovieClip in Symbol 426 MovieClip Frame 6
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 299 MovieClip in Symbol 426 MovieClip Frame 6
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 310 MovieClip in Symbol 426 MovieClip Frame 6
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 6
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
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 317 MovieClip in Symbol 426 MovieClip Frame 7
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 324 MovieClip in Symbol 426 MovieClip Frame 7
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 331 MovieClip in Symbol 426 MovieClip Frame 7
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 341 MovieClip in Symbol 426 MovieClip Frame 8
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 351 MovieClip in Symbol 426 MovieClip Frame 8
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 361 MovieClip in Symbol 426 MovieClip Frame 8
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 381 MovieClip in Symbol 426 MovieClip Frame 9
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 397 MovieClip in Symbol 426 MovieClip Frame 9
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 409 MovieClip in Symbol 426 MovieClip Frame 9
onClipEvent (load) {
if (_root.NormMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 193 MovieClip in Symbol 426 MovieClip Frame 9
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
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 413 MovieClip in Symbol 426 MovieClip Frame 10
onClipEvent (load) {
if (_root.crossMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 425 MovieClip in Symbol 426 MovieClip Frame 10
onClipEvent (load) {
if (_root.Gunmode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 2
stopAllSounds();
Symbol 445 MovieClip Frame 15
stop();
Symbol 486 Button
on (press) {
if (_root.level == 1) {
_root.bubMC._x = 25;
_root.bubMC._y = 130;
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC.gotoAndStop(1);
} else if (_root.level == 2) {
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC._x = 25;
_root.bubMC._y = 114;
_root.bubMC.gotoAndStop(1);
} else if (_root.level == 3) {
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC._x = 25;
_root.bubMC._y = 114;
_root.bubMC.gotoAndStop(1);
} else if (_root.level == 4) {
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC._x = 25;
_root.bubMC._y = 256;
_root.bubMC.gotoAndStop(1);
} else if (_root.level == 5) {
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC._x = 25;
_root.bubMC._y = 256;
_root.bubMC.gotoAndStop(1);
} else if (_root.level == 6) {
_root.bubMC.die = false;
_root.bubMC.duck = false;
_root.bubMC.d = 0;
_root.bubMC.dir = 0;
_root.bubMC.a = false;
_root.bubMC.injuri = false;
_root.bubMC.shoot = false;
_root.bubMC._x = 25;
_root.bubMC._y = 256;
_root.bubMC.gotoAndStop(1);
}
_root.level = _root.level + 1;
_root.gotoAndStop(_root.frm);
gotoAndStop (1);
}
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
_root.amitavaplay = false;
Symbol 487 MovieClip Frame 20
stop();
Symbol 497 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
var ssc = _root.score;
_root.amitavaplay = false;
Symbol 504 MovieClip Frame 25
stop();
Symbol 511 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 2
var ssc = _root.score;
_root.amitavaplay = false;
Symbol 515 MovieClip Frame 26
stop();
Symbol 551 MovieClip Frame 9
_root.bg.enemyNum = _root.bg.enemyNum - 1;
Symbol 551 MovieClip Frame 13
stop();
Instance of Symbol 535 MovieClip "br" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 552 MovieClip Frame 2
stop();
Symbol 562 MovieClip Frame 12
_root.NormMode = false;
_root.Gunmode = true;
_root.crossMode = false;
Symbol 562 MovieClip Frame 13
stop();
Symbol 563 MovieClip Frame 1
stop();
Instance of Symbol 565 MovieClip "tr" in Symbol 567 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Symbol 567 MovieClip Frame 55
stop();
Symbol 568 MovieClip Frame 1
enemyNum = 2;
Instance of Symbol 552 MovieClip "e1" in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos + 200;
limitl = xpos;
ri = 1;
lef = 0;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = 100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = -100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 552 MovieClip "e2" in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos + 200;
limitl = xpos;
ri = 1;
lef = 0;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = 100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = -100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 137 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 563 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 139 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 2 + random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Symbol 635 MovieClip Frame 55
stop();
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 635 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 552 MovieClip "e4" in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 90;
ri = 0;
lef = 1;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 137 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 552 MovieClip "e3" in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 90;
ri = 0;
lef = 1;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 139 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 567 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(500);
count = 0;
hit = 1;
this.gotoAndStop(1);
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(500);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
active = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Symbol 657 MovieClip Frame 14
_root.crossMode = true;
_root.NormMode = false;
_root.Gunmode = false;
Symbol 657 MovieClip Frame 16
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 680 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 689 MovieClip Frame 40
_root.bubMC.injuri = false;
Symbol 689 MovieClip Frame 55
stop();
Symbol 690 MovieClip Frame 1
stop();
Instance of Symbol 694 MovieClip "br" in Symbol 699 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 700 MovieClip Frame 1
enemyNum = 4;
Instance of Symbol 658 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_parent.enemyNum < 1) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.bubMC) && (_parent.enemyNum < 1)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 690 MovieClip "dino" in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
function Fire() {
Shoottimer--;
if (Shoottimer < 0) {
trace("FIRE");
if (!a) {
this.gotoAndStop(2);
d++;
_parent.ebullet.duplicateMovieClip("newh" + d, d);
if (dir == 0) {
_parent["newh" + d].speed = 10;
_parent["newh" + d].stepx = 25;
_parent["newh" + d]._xscale = -100;
} else if (dir == 1) {
_parent["newh" + d].speed = -10;
_parent["newh" + d].stepx = -25;
_parent["newh" + d]._xscale = 100;
}
Shoottimer = 3;
st = 0;
a = true;
}
} else {
a = false;
}
}
life = 10;
die = false;
pl = 1;
rad = random(50);
stopcounter = 0;
startcounter = 0;
gl = 1;
st = 0;
d = 0;
dir = 1;
Shoottimer = 3;
}
onClipEvent (enterFrame) {
if (die == false) {
if (st == 1) {
startcounter++;
}
if (gl == 1) {
stopcounter++;
}
if (stopcounter > rad) {
if (gl == 1) {
this.gotoAndStop(1);
stopcounter = 0;
rad = random(50);
st = 1;
gl = 0;
}
}
if (st == 1) {
if (startcounter > rad) {
Fire();
rad = random(50);
gl = 1;
startcounter = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
Shoottimer = 0;
Fire();
pl = 0;
}
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
}
}
Instance of Symbol 552 MovieClip "e2" in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos + 150;
limitl = xpos;
ri = 1;
lef = 0;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = 100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = -100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
}
Instance of Symbol 552 MovieClip "e3" in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos + 150;
limitl = xpos;
ri = 1;
lef = 0;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = 100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = -100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
}
Instance of Symbol 552 MovieClip "e4" in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 200;
ri = 0;
lef = 1;
att = true;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 137 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 699 MovieClip "ebullet" in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
if (_name != "ebullet") {
this._x = _parent.dino._x + stepx;
this._y = _parent.dino._y - 20;
}
}
onClipEvent (enterFrame) {
if (_name != "ebullet") {
_x = (_x + speed);
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 0) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
removeMovieClip(this);
}
}
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 137 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 137 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 137 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 137 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 139 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 567 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 10;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 10;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 10;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 50;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 10;
count = 0;
hit = 1;
this.gotoAndStop(1);
active = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
active = true;
}
if (this.hitTest(_root.stl)) {
active = false;
}
if ((_root.amitavaplay == true) && (active == true)) {
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Symbol 726 MovieClip Frame 13
stop();
Symbol 731 MovieClip Frame 20
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 14
if ((_root.amitavalife > 0) && (_root.bubMC.die == false)) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 751 MovieClip Frame 25
_parent.attak = false;
_parent.hit = 1;
_parent.gotoAndStop(2);
Symbol 760 MovieClip Frame 19
_parent.gotoAndStop(2);
Symbol 763 MovieClip Frame 39
stop();
Symbol 764 MovieClip Frame 2
stop();
attak = false;
hit = 1;
Symbol 790 MovieClip Frame 11
if ((_root.amitavalife > 0) && (_root.bubMC.die == false)) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 790 MovieClip Frame 22
_parent.attak = false;
_parent.hit = 1;
_parent.gotoAndStop(2);
Symbol 797 MovieClip Frame 21
_parent.gotoAndStop(2);
Symbol 805 MovieClip Frame 45
stop();
Symbol 806 MovieClip Frame 2
stop();
attak = false;
hit = 1;
Symbol 816 MovieClip Frame 17
Symbol 817 MovieClip Frame 9
stop();
Symbol 820 MovieClip Frame 12
stop();
Symbol 821 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 13
stop();
Symbol 833 MovieClip Frame 1
stop();
Symbol 834 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 1
stop();
die = false;
Symbol 835 MovieClip Frame 52
Instance of Symbol 834 MovieClip "spider" in Symbol 835 MovieClip Frame 80
onClipEvent (load) {
_parent.die = false;
_parent.gotoAndStop(1);
}
Instance of Symbol 764 MovieClip "mummy" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 17000;
ri = 0;
lef = 1;
att = false;
die = false;
life = 10;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
att = true;
}
if ((_root.amitavaplay == true) && (die == false)) {
if ((att == true) && (this.attak == false)) {
if (ri == 1) {
_x = (_x + 3);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 3);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (this.hit == 1) {
this.attak = true;
this.gotoAndStop(3);
att = false;
this.hit = 0;
}
} else {
this.attak = false;
att = true;
}
}
}
Instance of Symbol 806 MovieClip "ghost" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 17000;
ri = 0;
lef = 1;
att = false;
die = false;
life = 10;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
att = true;
}
if ((_root.amitavaplay == true) && (die == false)) {
if ((att == true) && (this.attak == false)) {
if (ri == 1) {
_x = (_x + 3);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 3);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (this.hit == 1) {
this.attak = true;
this.gotoAndStop(3);
att = false;
this.hit = 0;
}
} else {
this.attak = false;
att = true;
}
}
}
Instance of Symbol 552 MovieClip "e1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 500;
ri = 0;
lef = 1;
att = false;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
att = true;
}
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if ((this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
_root.bite.start();
att = false;
hit = 0;
}
}
}
}
Instance of Symbol 821 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
limitr = xpos;
limitl = xpos - 700;
ri = 0;
lef = 1;
att = false;
hit = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.str)) {
att = true;
}
if (_root.amitavaplay == true) {
if (att == true) {
if (ri == 1) {
_x = (_x + 1);
_xscale = -100;
}
if (lef == 1) {
_x = (_x - 1);
_xscale = 100;
}
if (_x > limitr) {
ri = 0;
lef = 1;
}
if (_x < limitl) {
ri = 1;
lef = 0;
}
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.b.start();
_root.bubMC.gotoAndStop(6);
_root.bubMC.die = true;
att = false;
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 139 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 847 MovieClip "br" in Symbol 848 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 858 MovieClip "head" in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 859 MovieClip Frame 4
_parent.goin = false;
Symbol 859 MovieClip Frame 40
_parent.out = true;
_parent.gotoAndStop("L_move");
Symbol 860 MovieClip Frame 39
_parent.out = false;
_parent.goin = true;
Symbol 860 MovieClip Frame 40
stop();
Symbol 866 MovieClip Frame 6
stop();
Symbol 873 MovieClip Frame 30
stop();
Instance of Symbol 858 MovieClip "head" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 875 MovieClip Frame 3
_parent.goin = false;
Symbol 875 MovieClip Frame 40
_parent.out = true;
_parent.gotoAndStop("R_move");
Symbol 880 MovieClip Frame 39
_parent.out = false;
_parent.goin = true;
Symbol 880 MovieClip Frame 40
stop();
Symbol 881 MovieClip Frame 1
stop();
out = false;
goin = true;
Instance of Symbol 847 MovieClip "br" in Symbol 881 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 847 MovieClip "br" in Symbol 881 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 658 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 881 MovieClip "snake1" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(500);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(500);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake1._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake1._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 881 MovieClip "snake2" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(400);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(400);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den1.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(400);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(400);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den1.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(400);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake2._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake2._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 881 MovieClip "snake3" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(800);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(800);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den2.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(800);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(800);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den2.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(800);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake3._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake3._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 881 MovieClip "snake4" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(500);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den3.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(500);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den3.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(500);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake4._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake4._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 881 MovieClip "snake5" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(600);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(600);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den4.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(600);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(600);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den4.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(600);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake5._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake5._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 881 MovieClip "snake6" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
walk = false;
outwalk = false;
stcount = true;
count = 0;
radcount = random(300);
ri = 0;
lef = 1;
walkcount = 0;
riatt = false;
lefatt = true;
}
onClipEvent (enterFrame) {
if (lefatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
stcount = false;
radcount = random(300);
outwalk = true;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("L_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
walkcount = walkcount + 1;
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den5.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("L_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(300);
}
}
} else if (riatt == true) {
if (stcount == true) {
count++;
}
if (count >= radcount) {
radcount = random(300);
outwalk = true;
stcount = false;
count = 0;
}
if (outwalk == true) {
this.gotoAndStop("R_out");
outwalk = false;
}
if (this.out == true) {
walk = true;
}
if (walk == true) {
if (lef == 1) {
_x = (_x - 2);
this.gotoAndStop("L_move");
}
if (ri == 1) {
_x = (_x + 2);
this.gotoAndStop("R_move");
}
}
if ((_x < (xpos - 200)) && (lef == 1)) {
ri = 1;
lef = 0;
}
if (_x > (xpos + 200)) {
walkcount = walkcount + 1;
ri = 0;
lef = 1;
}
if (walkcount == random(10)) {
if (this.br.hitTest(_parent.den5.br)) {
ri = 0;
lef = 0;
this.gotoAndStop("R_in");
walkcount = 0;
this.out = false;
walk = false;
this._x = xpos;
outwalk = false;
stcount = true;
count = 0;
radcount = random(300);
}
}
}
if (this.out == false) {
if (_root.bubMC._x < (_root.bg._x + _root.bg.snake6._x)) {
lefatt = true;
riatt = false;
ri = 0;
lef = 1;
}
if (_root.bubMC._x > (_root.bg._x + _root.bg.snake6._x)) {
lefatt = false;
riatt = true;
ri = 1;
lef = 0;
}
walkcount = 0;
stcount = true;
}
if ((this.br.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.lefcl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
}
if ((this.ricl.head.hitTest(_root.bubMC.body) && (this.goin == false)) && (_root.bubMC.die == false)) {
_root.bubMC.die = true;
_root.bite.start();
_root.bubMC.gotoAndStop("die");
}
}
Instance of Symbol 139 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.lev.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 694 MovieClip "br" in Symbol 888 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 921 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 923 MovieClip Frame 20
_parent.inj = false;
Symbol 923 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 929 MovieClip Frame 20
_parent.firng = false;
Symbol 929 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 936 MovieClip Frame 56
stop();
Symbol 937 MovieClip Frame 1
stop();
firng = false;
inj = false;
Instance of Symbol 694 MovieClip "br" in Symbol 939 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 971 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 973 MovieClip Frame 20
_parent.inj = false;
Symbol 973 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 980 MovieClip Frame 20
_parent.firng = false;
Symbol 980 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 986 MovieClip Frame 49
stop();
Symbol 987 MovieClip Frame 1
stop();
firng = false;
inj = false;
Instance of Symbol 694 MovieClip "br" in Symbol 989 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1022 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 1023 MovieClip Frame 20
_parent.inj = false;
Symbol 1023 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 1026 MovieClip Frame 19
_parent.firng = false;
Symbol 1026 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 1033 MovieClip Frame 58
stop();
Symbol 1034 MovieClip Frame 1
stop();
firng = false;
inj = false;
Symbol 1035 MovieClip Frame 1
enemyalife = 10;
Instance of Symbol 888 MovieClip "ebulletb" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_name != "ebulletb") {
this._x = _parent.e3._x + stepx;
this._y = _parent.e3._y - 40;
}
}
onClipEvent (enterFrame) {
if (_name != "ebulletb") {
_x = (_x + speed);
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 0) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
removeMovieClip(this);
}
}
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 937 MovieClip "e2" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_root.enemyalife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(7);
walk = false;
}
shotTimer = random(50);
wk = 1;
walk = true;
shoot = false;
endir = "right";
xpos = _x;
Shoottimer = random(100);
d = 0;
die = false;
life = 4;
attackhero = false;
plo = 1;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (die == false)) {
if (this.hitTest(_root.str) && (plo == 1)) {
attackhero = true;
plo = 0;
}
if ((_parent.enemyalife > 0) && (attackhero == true)) {
if ((((walk == true) && (shoot == false)) && (this.inj == false)) && (this.firng == false)) {
this.gotoAndStop(2);
if ((_root.bg._x + this._x) > (_root.bubMC._x + 10)) {
_x = (_x - 2);
} else if ((_root.bg._x + this._x) < (_root.bubMC._x + 10)) {
_x = (_x + 2);
}
}
if ((_root.bg._x + this._x) < _root.bubMC._x) {
dir = 0;
_xscale = 100;
} else if ((_root.bg._x + this._x) > _root.bubMC._x) {
dir = 1;
_xscale = -100;
}
Shoottimer--;
if (Shoottimer < 0) {
if (!a) {
shoot = true;
this.firng = true;
_root.es.start();
d++;
_parent.ebulleta.duplicateMovieClip("newf" + d, d);
if (dir == 0) {
_parent["newf" + d].speed = 10;
_parent["newf" + d].stepx = 25;
_parent["newf" + d]._xscale = -100;
} else if (dir == 1) {
_parent["newf" + d].speed = -10;
_parent["newf" + d].stepx = -25;
_parent["newf" + d]._xscale = 100;
}
this.gotoAndStop(4);
a = true;
Shoottimer = random(100);
}
} else {
a = false;
shoot = false;
}
}
}
}
Instance of Symbol 939 MovieClip "ebulleta" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_name != "ebulleta") {
this._x = _parent.e2._x + stepx;
this._y = _parent.e2._y - 40;
}
}
onClipEvent (enterFrame) {
if (_name != "ebulleta") {
_x = (_x + speed);
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 0) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
removeMovieClip(this);
}
}
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 987 MovieClip "e1" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_root.enemyalife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(7);
walk = false;
}
shotTimer = random(50);
wk = 1;
walk = true;
shoot = false;
endir = "right";
xpos = _x;
Shoottimer = random(100);
d = 0;
die = false;
life = 4;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (die == false)) {
if (_parent.enemyalife > 0) {
if ((((walk == true) && (shoot == false)) && (this.inj == false)) && (this.firng == false)) {
this.gotoAndStop(2);
if ((_root.bg._x + this._x) > (_root.bubMC._x + 10)) {
_x = (_x - 2);
} else if ((_root.bg._x + this._x) < (_root.bubMC._x + 10)) {
_x = (_x + 2);
}
}
if ((_root.bg._x + this._x) < _root.bubMC._x) {
dir = 0;
_xscale = 100;
} else if ((_root.bg._x + this._x) > _root.bubMC._x) {
dir = 1;
_xscale = -100;
}
Shoottimer--;
if (Shoottimer < 0) {
if (!a) {
shoot = true;
this.firng = true;
_root.es.start();
d++;
_parent.ebullet.duplicateMovieClip("newe" + d, d);
if (dir == 0) {
_parent["newe" + d].speed = 10;
_parent["newe" + d].stepx = 25;
_parent["newe" + d]._xscale = -100;
} else if (dir == 1) {
_parent["newe" + d].speed = -10;
_parent["newe" + d].stepx = -25;
_parent["newe" + d]._xscale = 100;
}
this.gotoAndStop(4);
a = true;
Shoottimer = random(100);
}
} else {
a = false;
shoot = false;
}
}
}
}
Instance of Symbol 989 MovieClip "ebullet" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_name != "ebullet") {
this._x = _parent.e1._x + stepx;
this._y = _parent.e1._y - 40;
}
}
onClipEvent (enterFrame) {
if (_name != "ebullet") {
_x = (_x + speed);
if (this.br.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (_root.amitavalife > 0) {
_root.amitavalife = _root.amitavalife - 1;
_root.hbar.hb._width = _root.hbar.hb._width - 15;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.bubMC.die = true;
_root.bubMC.gotoAndStop("die");
removeMovieClip(this);
}
}
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
removeMovieClip(this);
}
if (_root.stageMC.hitTest(this._x + 10, this._y, true)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 1034 MovieClip "e3" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
if (_root.enemyalife < 1) {
_root.stageMC.limitMC.lim._x = -1000;
this.gotoAndStop(7);
walk = false;
}
shotTimer = random(50);
wk = 1;
walk = true;
shoot = false;
endir = "right";
xpos = _x;
Shoottimer = random(100);
d = 0;
die = false;
life = 6;
attackhero = false;
plo = 1;
}
onClipEvent (enterFrame) {
trace(attackhero);
if ((_root.amitavaplay == true) && (die == false)) {
if (this.hitTest(_root.str) && (plo == 1)) {
attackhero = true;
plo = 0;
}
if ((_parent.enemyalife > 0) && (attackhero == true)) {
if ((((walk == true) && (shoot == false)) && (this.inj == false)) && (this.firng == false)) {
this.gotoAndStop(2);
if ((_root.bg._x + this._x) > (_root.bubMC._x + 10)) {
_x = (_x - 2);
} else if ((_root.bg._x + this._x) < (_root.bubMC._x + 10)) {
_x = (_x + 2);
}
}
if ((_root.bg._x + this._x) < _root.bubMC._x) {
dir = 0;
_xscale = 100;
} else if ((_root.bg._x + this._x) > _root.bubMC._x) {
dir = 1;
_xscale = -100;
}
Shoottimer--;
if (Shoottimer < 0) {
if (!a) {
shoot = true;
this.firng = true;
_root.es.start();
d++;
_parent.ebulletb.duplicateMovieClip("newg" + d, d);
if (dir == 0) {
_parent["newg" + d].speed = 10;
_parent["newg" + d].stepx = 25;
_parent["newg" + d]._xscale = -100;
} else if (dir == 1) {
_parent["newg" + d].speed = -10;
_parent["newg" + d].stepx = -25;
_parent["newg" + d]._xscale = 100;
}
this.gotoAndStop(4);
a = true;
Shoottimer = random(100);
}
} else {
a = false;
shoot = false;
}
}
}
}
Instance of Symbol 139 MovieClip in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.wel.play();
_root.door.start();
pl = 0;
}
}
}
Instance of Symbol 835 MovieClip "sp1" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
_root.bubMC.poker = "Simos";
}
}
}
}
Instance of Symbol 835 MovieClip "sp2" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp3" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp4" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp5" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp6" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp7" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp8" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 835 MovieClip "sp9" in Symbol 1035 MovieClip Frame 1
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (this.die == true) {
this.spider.gotoAndStop(2);
} else {
this.spider.gotoAndStop(1);
}
count++;
if (count >= rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.spider.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.bubMC.die = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Symbol 1063 MovieClip Frame 15
stop();
Symbol 1064 MovieClip Frame 12
stop();
Symbol 1065 MovieClip Frame 1
stop();