Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
percentone = totalBytes / 100;
percent = Math.round(loadedBytes / percentone);
if (_root._framesloaded >= _root._totalframes) {
gotoAndStop (5);
}
Instance of Symbol 108 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
stopAllSounds();
Frame 6
fscommand ("allowscale", false);
Frame 15
fscommand ("allowscale", false);
function bg() {
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, tr1, 0, 0, 0, tr2, 0, 0, 1], [1, 0, 1, 1, tr3, 0, 0, 1, 0, tr4, 1], [1, tr5, 1, 0, 0, 0, 0, tr6, 0, 0, 1], [1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1], [1, tr7, 0, 0, tr8, 0, tr9, 0, 0, 0, 1], [1, 0, 1, tr10, 1, 1, 1, tr11, 1, 0, 1], [1, 0, 0, tr12, 0, 0, tr13, 0, tr14, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
}
function reset() {
var _local1 = _root;
y = 0;
while (y < height) {
x = 0;
while (x < width) {
name = (("t" + x) + "_") + y;
_local1.cont.attachMovie("tile", name, (y * width) + x);
_local1.cont[name]._x = tilewidth * x;
_local1.cont[name]._y = tileheight * y;
_local1.cont[name].gotoAndStop(map[y][x] + 1);
if (begin == false) {
if ((char[0] == x) && (char[1] == y)) {
_local1.cont.attachMovie("player", "player", 99999);
_local1.cont.player._x = tilewidth * x;
_local1.cont.player._y = tileheight * y;
begin = true;
}
}
x++;
}
y++;
}
}
tr1 = 3;
tr2 = 3;
tr3 = 3;
tr4 = 3;
tr5 = 3;
tr6 = 3;
tr7 = 3;
tr8 = 3;
tr9 = 3;
tr10 = 3;
tr11 = 3;
tr12 = 3;
tr13 = 3;
tr14 = 3;
savedsco = 0;
amitavaplay = true;
amitavakey = false;
amitavalevel = 1;
inj = false;
begin = false;
amitavalife = 3;
amitavabomb = 9;
sco = 0;
bg();
char = [1, 1];
bad_t = 1;
height = map.length;
width = map[0].length;
tilewidth = 40;
tileheight = 40;
_root.attachMovie("empty", "cont", 1);
_root.cont._x = 40;
_root.cont._y = 40;
reset();
simpleMove = function () {
var _local1 = this;
if (amitavaplay == true) {
if (_local1.br.hitTest(cont.player)) {
if (amitava == 1) {
amitavadie = true;
cont.player.gotoAndStop("die");
amitava = 0;
}
}
if (_local1.x == undefined) {
_local1.x = _local1._x;
_local1.y = _local1._y;
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + _local1.dy;
if (_local1.x < _local1.x1) {
_local1.x = _local1.x1;
_local1.dx = _local1.dx * -1;
} else if (_local1.x > _local1.x2) {
_local1.x = _local1.x2;
_local1.dx = _local1.dx * -1;
}
if (_local1.dx > 0) {
_local1._xscale = 80;
} else if (_local1.dx < 0) {
_local1._xscale = -80;
}
_local1._x = Math.floor(_local1.x);
_local1._y = Math.floor(_local1.y);
}
};
this.bomb.gotoAndStop(1);
stop();
Instance of Symbol 98 MovieClip [bomb] "bomb" in Frame 15
onClipEvent (load) {
if (String(_name) != "bomb") {
pl = 1;
_x = (_root.cont.player._x + 65);
_y = (_root.cont.player._y + 65);
}
}
onClipEvent (enterFrame) {
if (this.bo1.hitTest(_root.cont.t1_3) || (this.bo2.hitTest(_root.cont.t1_3))) {
_root.cont.t1_3.play();
_root.tr5 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_5) || (this.bo2.hitTest(_root.cont.t1_5))) {
_root.cont.t1_5.play();
_root.tr7 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_1) || (this.bo2.hitTest(_root.cont.t3_1))) {
_root.cont.t3_1.play();
_root.tr1 = 0;
_root.bg();
_root.reset();
_root.e1.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t3_6) || (this.bo2.hitTest(_root.cont.t3_6))) {
_root.cont.t3_6.play();
_root.tr10 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_7) || (this.bo2.hitTest(_root.cont.t3_7))) {
_root.cont.t3_7.play();
_root.tr12 = 0;
_root.bg();
_root.reset();
_root.e3.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t4_2) || (this.bo2.hitTest(_root.cont.t4_2))) {
_root.cont.t4_2.play();
_root.tr3 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_5) || (this.bo2.hitTest(_root.cont.t4_5))) {
_root.cont.t4_5.play();
_root.tr8 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t6_5) || (this.bo2.hitTest(_root.cont.t6_5))) {
cont.t6_5.play();
_root.tr9 = 0;
_root.bg();
_root.reset();
_root.e2.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t6_7) || (this.bo2.hitTest(_root.cont.t6_7))) {
_root.cont.t6_7.play();
_root.tr13 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_1) || (this.bo2.hitTest(_root.cont.t7_1))) {
_root.cont.t7_1.play();
_root.tr2 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_3) || (this.bo2.hitTest(_root.cont.t7_3))) {
_root.cont.t7_3.play();
_root.tr6 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_6) || (this.bo2.hitTest(_root.cont.t7_6))) {
_root.cont.t7_6.play();
_root.tr11 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t8_7) || (this.bo2.hitTest(_root.cont.t8_7))) {
_root.cont.t8_7.play();
_root.tr14 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_2) || (this.bo2.hitTest(_root.cont.t9_2))) {
_root.cont.t9_2.play();
_root.tr4 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.e1) || (this.bo2.hitTest(_root.e1))) {
if (pl == 1) {
_root.e1.gotoAndStop(2);
_root.e1.die = true;
_root.e1.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e2) || (this.bo2.hitTest(_root.e2))) {
if (pl == 1) {
_root.e2.gotoAndStop(2);
_root.e2.die = true;
_root.e2.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e3) || (this.bo2.hitTest(_root.e3))) {
if (pl == 1) {
_root.e3.gotoAndStop(2);
_root.e3.die = true;
_root.e3.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
if (this.bo2.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
}
Instance of Symbol 154 MovieClip in Frame 15
onClipEvent (load) {
_root.fire = false;
}
onClipEvent (enterFrame) {
if (_root.fire == false) {
if ((Key.isDown(32) && (shotTimer <= 0)) && (_root.amitavabomb > 0)) {
bumSound.start();
_root.amitavabomb = _root.amitavabomb - 1;
shotCount++;
duplicateMovieClip (_root.bomb, "bomb" + shotCount, (shotCount % 980) + 9800);
shotTimer = 1;
_root.fire = true;
}
}
shotTimer--;
}
Instance of Symbol 166 MovieClip "lev" in Frame 15
onClipEvent (load) {
this.swapDepths(19080);
}
Instance of Symbol 169 MovieClip "key" in Frame 15
onClipEvent (load) {
pl = 1;
this.swapDepths(4000);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 180 MovieClip "door" in Frame 15
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.r1._x = 900;
this.play();
pl = 0;
}
}
}
Instance of Symbol 215 MovieClip "e1" in Frame 15
//component parameters
onClipEvent (initialize) {
x1 = 212;
x2 = 300;
dx = 2;
}
onClipEvent (load) {
this.swapDepths(1000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 15
//component parameters
onClipEvent (initialize) {
x1 = 330;
x2 = 420;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(2000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e3" in Frame 15
//component parameters
onClipEvent (initialize) {
x1 = 220;
x2 = 270;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(2080);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 242 MovieClip "wel" in Frame 15
onClipEvent (load) {
this.swapDepths(9009);
}
Instance of Symbol 256 MovieClip "gov" in Frame 15
onClipEvent (load) {
this.swapDepths(9000);
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 259 MovieClip in Frame 15
onClipEvent (load) {
this.play();
}
Frame 17
fscommand ("allowscale", false);
function bg() {
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, tr1, 0, 0, 0, tr2, 1, 0, 1], [1, 0, 1, 1, tr3, 1, 0, 1, 0, tr4, 1], [1, tr5, 0, 0, 0, 0, 0, tr6, 1, 0, 1], [1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1], [1, tr7, 0, 0, tr8, 0, tr9, 0, 0, 0, 1], [1, 0, 1, tr10, 1, 0, 1, tr11, 1, 0, 1], [1, tr12, 0, 1, 0, tr13, 1, 0, tr14, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
}
function reset() {
var _local1 = _root;
y = 0;
while (y < height) {
x = 0;
while (x < width) {
name = (("t" + x) + "_") + y;
_local1.cont.attachMovie("tile", name, (y * width) + x);
_local1.cont[name]._x = tilewidth * x;
_local1.cont[name]._y = tileheight * y;
_local1.cont[name].gotoAndStop(map[y][x] + 1);
if (begin == false) {
if ((char[0] == x) && (char[1] == y)) {
_local1.cont.attachMovie("player", "player", 99999);
_local1.cont.player._x = tilewidth * x;
_local1.cont.player._y = tileheight * y;
begin = true;
}
}
x++;
}
y++;
}
}
tr1 = 3;
tr2 = 3;
tr3 = 3;
tr4 = 3;
tr5 = 3;
tr6 = 3;
tr7 = 3;
tr8 = 3;
tr9 = 3;
tr10 = 3;
tr11 = 3;
tr12 = 3;
tr13 = 3;
tr14 = 3;
savedsco = sco;
amitavaplay = true;
amitavakey = false;
inj = false;
begin = false;
bg();
char = [1, 1];
bad_t = 1;
height = map.length;
width = map[0].length;
tilewidth = 40;
tileheight = 40;
_root.attachMovie("empty", "cont", 1);
_root.cont._x = 40;
_root.cont._y = 40;
reset();
simpleMove = function () {
var _local1 = this;
if (amitavaplay == true) {
if (_local1.br.hitTest(cont.player)) {
if (amitava == 1) {
amitavadie = true;
cont.player.gotoAndStop("die");
amitava = 0;
}
}
if (_local1.x == undefined) {
_local1.x = _local1._x;
_local1.y = _local1._y;
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + _local1.dy;
if (_local1.x < _local1.x1) {
_local1.x = _local1.x1;
_local1.dx = _local1.dx * -1;
} else if (_local1.x > _local1.x2) {
_local1.x = _local1.x2;
_local1.dx = _local1.dx * -1;
}
if (_local1.dx > 0) {
_local1._xscale = 80;
} else if (_local1.dx < 0) {
_local1._xscale = -80;
}
_local1._x = Math.floor(_local1.x);
_local1._y = Math.floor(_local1.y);
}
};
this.bomb.gotoAndStop(1);
stop();
Instance of Symbol 98 MovieClip [bomb] "bomb" in Frame 17
onClipEvent (load) {
if (String(_name) != "bomb") {
pl = 1;
_x = (_root.cont.player._x + 65);
_y = (_root.cont.player._y + 65);
}
}
onClipEvent (enterFrame) {
if (this.bo1.hitTest(_root.cont.t1_3) || (this.bo2.hitTest(_root.cont.t1_3))) {
_root.cont.t1_3.play();
_root.tr5 = 0;
_root.bg();
_root.reset();
_root.e1.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t1_5) || (this.bo2.hitTest(_root.cont.t1_5))) {
_root.cont.t1_5.play();
_root.tr7 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_1) || (this.bo2.hitTest(_root.cont.t3_1))) {
_root.cont.t3_1.play();
_root.tr1 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_6) || (this.bo2.hitTest(_root.cont.t3_6))) {
_root.cont.t3_6.play();
_root.tr10 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_7) || (this.bo2.hitTest(_root.cont.t1_7))) {
_root.cont.t1_7.play();
_root.tr12 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_2) || (this.bo2.hitTest(_root.cont.t4_2))) {
_root.cont.t4_2.play();
_root.tr3 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_5) || (this.bo2.hitTest(_root.cont.t4_5))) {
_root.cont.t4_5.play();
_root.tr8 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t6_5) || (this.bo2.hitTest(_root.cont.t6_5))) {
cont.t6_5.play();
_root.tr9 = 0;
_root.bg();
_root.reset();
_root.e2.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t5_7) || (this.bo2.hitTest(_root.cont.t5_7))) {
_root.cont.t5_7.play();
_root.tr13 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_1) || (this.bo2.hitTest(_root.cont.t7_1))) {
_root.cont.t7_1.play();
_root.tr2 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_3) || (this.bo2.hitTest(_root.cont.t7_3))) {
_root.cont.t7_3.play();
_root.tr6 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_6) || (this.bo2.hitTest(_root.cont.t7_6))) {
_root.cont.t7_6.play();
_root.tr11 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t8_7) || (this.bo2.hitTest(_root.cont.t8_7))) {
_root.cont.t8_7.play();
_root.tr14 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_2) || (this.bo1.hitTest(_root.cont.t9_2))) {
_root.cont.t9_2.play();
_root.tr4 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.e1) || (this.bo2.hitTest(_root.e1))) {
if (pl == 1) {
_root.e1.gotoAndStop(2);
_root.e1.die = true;
_root.e1.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e2) || (this.bo2.hitTest(_root.e2))) {
if (pl == 1) {
_root.e2.gotoAndStop(2);
_root.e2.die = true;
_root.e2.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e3) || (this.bo2.hitTest(_root.e3))) {
if (pl == 1) {
_root.e3.gotoAndStop(2);
_root.e3.die = true;
_root.e3.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo2.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo1.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo2.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo1.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
if (this.bo2.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
}
Instance of Symbol 154 MovieClip in Frame 17
onClipEvent (load) {
_root.fire = false;
}
onClipEvent (enterFrame) {
if (_root.fire == false) {
if ((Key.isDown(32) && (shotTimer <= 0)) && (_root.amitavabomb > 0)) {
bumSound.start();
_root.amitavabomb = _root.amitavabomb - 1;
shotCount++;
duplicateMovieClip (_root.bomb, "bomb" + shotCount, (shotCount % 980) + 9800);
shotTimer = 1;
_root.fire = true;
}
}
shotTimer--;
}
Instance of Symbol 166 MovieClip "lev" in Frame 17
onClipEvent (load) {
this.swapDepths(19086);
}
Instance of Symbol 180 MovieClip "door" in Frame 17
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.r2._x = 900;
this.play();
pl = 0;
}
}
}
Instance of Symbol 169 MovieClip "key" in Frame 17
onClipEvent (load) {
pl = 1;
this.swapDepths(4000);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 276 MovieClip "bombon" in Frame 17
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(2106);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 215 MovieClip "e1" in Frame 17
//component parameters
onClipEvent (initialize) {
x1 = 212;
x2 = 290;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(1000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 17
//component parameters
onClipEvent (initialize) {
x1 = 330;
x2 = 420;
dx = 2;
}
onClipEvent (load) {
this.swapDepths(2000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 286 MovieClip "m1" in Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1026);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 286 MovieClip "m2" in Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1027);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 242 MovieClip "wel" in Frame 17
onClipEvent (load) {
this.swapDepths(9000);
}
Instance of Symbol 256 MovieClip "gov" in Frame 17
onClipEvent (load) {
this.swapDepths(9000);
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Frame 19
fscommand ("allowscale", false);
function bg() {
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, tr1, 1, 0, 0, tr2, 1, 0, 1], [1, 0, 1, 1, tr3, 0, 0, 1, 0, tr4, 1], [1, 0, 0, 0, tr5, 0, 0, tr6, 1, 0, 1], [1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1], [1, tr7, 0, 0, tr8, 0, tr9, 0, 0, 0, 1], [1, 0, 1, tr10, 1, tr11, 1, 1, 1, 0, 1], [1, tr12, 0, 1, 0, tr13, 0, tr14, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
}
function reset() {
var _local1 = _root;
y = 0;
while (y < height) {
x = 0;
while (x < width) {
name = (("t" + x) + "_") + y;
_local1.cont.attachMovie("tile", name, (y * width) + x);
_local1.cont[name]._x = tilewidth * x;
_local1.cont[name]._y = tileheight * y;
_local1.cont[name].gotoAndStop(map[y][x] + 1);
if (begin == false) {
if ((char[0] == x) && (char[1] == y)) {
_local1.cont.attachMovie("player", "player", 99999);
_local1.cont.player._x = tilewidth * x;
_local1.cont.player._y = tileheight * y;
begin = true;
}
}
x++;
}
y++;
}
}
tr1 = 3;
tr2 = 3;
tr3 = 3;
tr4 = 3;
tr5 = 3;
tr6 = 3;
tr7 = 3;
tr8 = 3;
tr9 = 3;
tr10 = 3;
tr11 = 3;
tr12 = 3;
tr13 = 3;
tr14 = 3;
savedsco = sco;
amitavaplay = true;
amitavakey = false;
inj = false;
begin = false;
bg();
char = [1, 1];
bad_t = 1;
height = map.length;
width = map[0].length;
tilewidth = 40;
tileheight = 40;
_root.attachMovie("empty", "cont", 1);
_root.cont._x = 40;
_root.cont._y = 40;
reset();
simpleMove = function () {
var _local1 = this;
if (amitavaplay == true) {
if (_local1.br.hitTest(cont.player)) {
if (amitava == 1) {
amitavadie = true;
cont.player.gotoAndStop("die");
amitava = 0;
}
}
if (_local1.x == undefined) {
_local1.x = _local1._x;
_local1.y = _local1._y;
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + _local1.dy;
if (_local1.x < _local1.x1) {
_local1.x = _local1.x1;
_local1.dx = _local1.dx * -1;
} else if (_local1.x > _local1.x2) {
_local1.x = _local1.x2;
_local1.dx = _local1.dx * -1;
}
if (_local1.dx > 0) {
_local1._xscale = 80;
} else if (_local1.dx < 0) {
_local1._xscale = -80;
}
_local1._x = Math.floor(_local1.x);
_local1._y = Math.floor(_local1.y);
}
};
this.bomb.gotoAndStop(1);
stop();
Instance of Symbol 98 MovieClip [bomb] "bomb" in Frame 19
onClipEvent (load) {
if (String(_name) != "bomb") {
pl = 1;
_x = (_root.cont.player._x + 65);
_y = (_root.cont.player._y + 65);
}
}
onClipEvent (enterFrame) {
if (this.bo1.hitTest(_root.cont.t3_1) || (this.bo2.hitTest(_root.cont.t3_1))) {
_root.cont.t3_1.play();
_root.tr1 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_1) || (this.bo2.hitTest(_root.cont.t7_1))) {
_root.cont.t7_1.play();
_root.tr2 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_2) || (this.bo2.hitTest(_root.cont.t4_2))) {
_root.cont.t4_2.play();
_root.tr3 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_2) || (this.bo2.hitTest(_root.cont.t9_2))) {
_root.cont.t9_2.play();
_root.tr4 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_3) || (this.bo2.hitTest(_root.cont.t4_3))) {
_root.cont.t4_3.play();
_root.tr5 = 0;
_root.bg();
_root.reset();
_root.e1.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t7_3) || (this.bo2.hitTest(_root.cont.t7_3))) {
_root.cont.t7_3.play();
_root.tr6 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_5) || (this.bo2.hitTest(_root.cont.t1_5))) {
_root.cont.t1_5.play();
_root.tr7 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_5) || (this.bo2.hitTest(_root.cont.t4_5))) {
_root.cont.t4_5.play();
_root.tr8 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t6_5) || (this.bo2.hitTest(_root.cont.t6_5))) {
_root.cont.t6_5.play();
_root.tr9 = 0;
_root.bg();
_root.reset();
_root.e2.x1 = 150;
}
if (this.bo1.hitTest(_root.cont.t3_6) || (this.bo2.hitTest(_root.cont.t3_6))) {
_root.cont.t3_6.play();
_root.tr10 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t5_6) || (this.bo2.hitTest(_root.cont.t5_6))) {
_root.cont.t5_6.play();
_root.tr11 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_7) || (this.bo2.hitTest(_root.cont.t1_7))) {
_root.cont.t1_7.play();
_root.tr12 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t5_7) || (this.bo2.hitTest(_root.cont.t5_7))) {
_root.cont.t5_7.play();
_root.tr13 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_7) || (this.bo2.hitTest(_root.cont.t7_7))) {
_root.cont.t7_7.play();
_root.tr14 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.e1) || (this.bo2.hitTest(_root.e1))) {
if (pl == 1) {
_root.e1.gotoAndStop(2);
_root.e1.die = true;
_root.e1.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e2) || (this.bo2.hitTest(_root.e2))) {
if (pl == 1) {
_root.e2.gotoAndStop(2);
_root.e2.die = true;
_root.e2.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e3) || (this.bo2.hitTest(_root.e3))) {
if (pl == 1) {
_root.e3.gotoAndStop(2);
_root.e3.die = true;
_root.e3.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo2.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo1.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo2.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo1.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
if (this.bo2.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
}
Instance of Symbol 154 MovieClip in Frame 19
onClipEvent (load) {
_root.fire = false;
}
onClipEvent (enterFrame) {
if (_root.fire == false) {
if ((Key.isDown(32) && (shotTimer <= 0)) && (_root.amitavabomb > 0)) {
bumSound.start();
_root.amitavabomb = _root.amitavabomb - 1;
shotCount++;
duplicateMovieClip (_root.bomb, "bomb" + shotCount, (shotCount % 980) + 9800);
shotTimer = 1;
_root.fire = true;
}
}
shotTimer--;
}
Instance of Symbol 166 MovieClip "lev" in Frame 19
onClipEvent (load) {
this.swapDepths(19090);
}
Instance of Symbol 180 MovieClip "door" in Frame 19
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.r3._x = 900;
this.play();
pl = 0;
}
}
}
Instance of Symbol 169 MovieClip "key" in Frame 19
onClipEvent (load) {
pl = 1;
this.swapDepths(4000);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 276 MovieClip "bombon" in Frame 19
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(2106);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 215 MovieClip "e1" in Frame 19
//component parameters
onClipEvent (initialize) {
x1 = 250;
x2 = 310;
dx = -3;
}
onClipEvent (load) {
this.swapDepths(1000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 19
//component parameters
onClipEvent (initialize) {
x1 = 330;
x2 = 420;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(2000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e3" in Frame 19
//component parameters
onClipEvent (initialize) {
x1 = 100;
x2 = 200;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(1009);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 286 MovieClip "m1" in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1026);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 286 MovieClip "m2" in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1028);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 242 MovieClip "wel" in Frame 19
onClipEvent (load) {
this.swapDepths(9000);
}
Instance of Symbol 256 MovieClip "gov" in Frame 19
onClipEvent (load) {
this.swapDepths(9000);
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Frame 21
fscommand ("allowscale", false);
function bg() {
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, tr1, 1, 0, 1, tr2, 1, 0, 1], [1, 0, 1, 1, 0, 0, 0, 0, tr3, tr4, 1], [1, 0, 0, 0, tr5, 0, 0, 1, 1, 0, 1], [1, 0, 1, tr6, 1, 1, 1, 0, 0, tr7, 1], [1, 0, 0, 0, tr8, 0, tr9, 0, 0, 0, 1], [1, tr10, 1, tr11, 1, tr12, 0, 1, 0, tr13, 1], [1, 0, 0, 1, 0, 1, 0, 0, tr14, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
}
function reset() {
var _local1 = _root;
y = 0;
while (y < height) {
x = 0;
while (x < width) {
name = (("t" + x) + "_") + y;
_local1.cont.attachMovie("tile", name, (y * width) + x);
_local1.cont[name]._x = tilewidth * x;
_local1.cont[name]._y = tileheight * y;
_local1.cont[name].gotoAndStop(map[y][x] + 1);
if (begin == false) {
if ((char[0] == x) && (char[1] == y)) {
_local1.cont.attachMovie("player", "player", 99999);
_local1.cont.player._x = tilewidth * x;
_local1.cont.player._y = tileheight * y;
begin = true;
}
}
x++;
}
y++;
}
}
tr1 = 3;
tr2 = 3;
tr3 = 3;
tr4 = 3;
tr5 = 3;
tr6 = 3;
tr7 = 3;
tr8 = 3;
tr9 = 3;
tr10 = 3;
tr11 = 3;
tr12 = 3;
tr13 = 3;
tr14 = 3;
savedsco = sco;
amitavaplay = true;
amitavakey = false;
inj = false;
begin = false;
bg();
char = [1, 1];
bad_t = 1;
height = map.length;
width = map[0].length;
tilewidth = 40;
tileheight = 40;
_root.attachMovie("empty", "cont", 1);
_root.cont._x = 40;
_root.cont._y = 40;
reset();
simpleMove = function () {
var _local1 = this;
if (amitavaplay == true) {
if (_local1.br.hitTest(cont.player)) {
if (amitava == 1) {
amitavadie = true;
cont.player.gotoAndStop("die");
amitava = 0;
}
}
if (_local1.x == undefined) {
_local1.x = _local1._x;
_local1.y = _local1._y;
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + _local1.dy;
if (_local1.x < _local1.x1) {
_local1.x = _local1.x1;
_local1.dx = _local1.dx * -1;
} else if (_local1.x > _local1.x2) {
_local1.x = _local1.x2;
_local1.dx = _local1.dx * -1;
}
if (_local1.dx > 0) {
_local1._xscale = 80;
} else if (_local1.dx < 0) {
_local1._xscale = -80;
}
_local1._x = Math.floor(_local1.x);
_local1._y = Math.floor(_local1.y);
}
};
this.bomb.gotoAndStop(1);
stop();
Instance of Symbol 98 MovieClip [bomb] "bomb" in Frame 21
onClipEvent (load) {
if (String(_name) != "bomb") {
pl = 1;
_x = (_root.cont.player._x + 65);
_y = (_root.cont.player._y + 65);
}
}
onClipEvent (enterFrame) {
if (this.bo1.hitTest(_root.cont.t3_1) || (this.bo2.hitTest(_root.cont.t3_1))) {
_root.cont.t3_1.play();
_root.tr1 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_1) || (this.bo2.hitTest(_root.cont.t7_1))) {
_root.cont.t7_1.play();
_root.tr2 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t8_2) || (this.bo2.hitTest(_root.cont.t8_2))) {
_root.cont.t8_2.play();
_root.tr3 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_2) || (this.bo2.hitTest(_root.cont.t9_2))) {
_root.cont.t9_2.play();
_root.tr4 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_3) || (this.bo2.hitTest(_root.cont.t4_3))) {
_root.cont.t4_3.play();
_root.tr5 = 0;
_root.bg();
_root.reset();
_root.e1.x1 = 100;
}
if (this.bo1.hitTest(_root.cont.t3_4) || (this.bo2.hitTest(_root.cont.t3_4))) {
_root.cont.t3_4.play();
_root.tr6 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_4) || (this.bo2.hitTest(_root.cont.t9_4))) {
_root.cont.t9_4.play();
_root.tr7 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_5) || (this.bo2.hitTest(_root.cont.t4_5))) {
_root.cont.t4_5.play();
_root.tr8 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t6_5) || (this.bo2.hitTest(_root.cont.t6_5))) {
_root.cont.t6_5.play();
_root.tr9 = 0;
_root.bg();
_root.reset();
_root.e2.x1 = 130;
}
if (this.bo1.hitTest(_root.cont.t1_6) || (this.bo2.hitTest(_root.cont.t1_6))) {
_root.cont.t1_6.play();
_root.tr10 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_6) || (this.bo2.hitTest(_root.cont.t3_6))) {
_root.cont.t3_6.play();
_root.tr11 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t5_6) || (this.bo2.hitTest(_root.cont.t5_6))) {
_root.cont.t5_6.play();
_root.tr12 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_6) || (this.bo2.hitTest(_root.cont.t9_6))) {
_root.cont.t9_6.play();
_root.tr13 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t8_7) || (this.bo2.hitTest(_root.cont.t8_7))) {
_root.cont.t8_7.play();
_root.tr14 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.e1) || (this.bo2.hitTest(_root.e1))) {
if (pl == 1) {
_root.e1.gotoAndStop(2);
_root.e1.die = true;
_root.e1.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e2) || (this.bo2.hitTest(_root.e2))) {
if (pl == 1) {
_root.e2.gotoAndStop(2);
_root.e2.die = true;
_root.e2.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e3) || (this.bo2.hitTest(_root.e3))) {
if (pl == 1) {
_root.e3.gotoAndStop(2);
_root.e3.die = true;
_root.e3.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo2.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo1.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo2.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo1.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
if (this.bo2.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
}
Instance of Symbol 154 MovieClip in Frame 21
onClipEvent (load) {
_root.fire = false;
}
onClipEvent (enterFrame) {
if (_root.fire == false) {
if ((Key.isDown(32) && (shotTimer <= 0)) && (_root.amitavabomb > 0)) {
bumSound.start();
_root.amitavabomb = _root.amitavabomb - 1;
shotCount++;
duplicateMovieClip (_root.bomb, "bomb" + shotCount, (shotCount % 980) + 9800);
shotTimer = 1;
_root.fire = true;
}
}
shotTimer--;
}
Instance of Symbol 166 MovieClip "lev" in Frame 21
onClipEvent (load) {
this.swapDepths(19096);
}
Instance of Symbol 180 MovieClip "door" in Frame 21
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.r4._x = 900;
this.play();
pl = 0;
}
}
}
Instance of Symbol 169 MovieClip "key" in Frame 21
onClipEvent (load) {
pl = 1;
this.swapDepths(4000);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 276 MovieClip "bombon" in Frame 21
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(2106);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 215 MovieClip "e1" in Frame 21
//component parameters
onClipEvent (initialize) {
x1 = 250;
x2 = 320;
dx = 3;
}
onClipEvent (load) {
this.swapDepths(1000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 21
//component parameters
onClipEvent (initialize) {
x1 = 330;
x2 = 420;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(1004);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e3" in Frame 21
//component parameters
onClipEvent (initialize) {
x1 = 300;
x2 = 350;
dx = 2;
}
onClipEvent (load) {
this.swapDepths(1008);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 286 MovieClip "m1" in Frame 21
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1026);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 286 MovieClip "m2" in Frame 21
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1028);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 242 MovieClip "wel" in Frame 21
onClipEvent (load) {
this.swapDepths(9000);
}
Instance of Symbol 256 MovieClip "gov" in Frame 21
onClipEvent (load) {
this.swapDepths(9000);
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Frame 23
fscommand ("allowscale", false);
function bg() {
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, tr1, 0, tr2, 0, 1, 0, 1, 0, 1], [1, 0, 1, 1, 0, 0, 0, 1, 0, tr3, 1], [1, 0, 0, 1, tr4, 0, 0, tr5, 1, 0, 1], [1, 0, 1, 0, 1, 1, 1, tr6, 1, 0, 1], [1, tr7, 0, 0, tr8, 0, tr9, 0, 0, 0, 1], [1, 0, 1, tr10, 1, tr11, 1, 1, 1, 0, 1], [1, tr12, 0, 1, 0, tr13, 0, 0, tr14, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
}
function reset() {
var _local1 = _root;
y = 0;
while (y < height) {
x = 0;
while (x < width) {
name = (("t" + x) + "_") + y;
_local1.cont.attachMovie("tile", name, (y * width) + x);
_local1.cont[name]._x = tilewidth * x;
_local1.cont[name]._y = tileheight * y;
_local1.cont[name].gotoAndStop(map[y][x] + 1);
if (begin == false) {
if ((char[0] == x) && (char[1] == y)) {
_local1.cont.attachMovie("player", "player", 99999);
_local1.cont.player._x = tilewidth * x;
_local1.cont.player._y = tileheight * y;
begin = true;
}
}
x++;
}
y++;
}
}
tr1 = 3;
tr2 = 3;
tr3 = 3;
tr4 = 3;
tr5 = 3;
tr6 = 3;
tr7 = 3;
tr8 = 3;
tr9 = 3;
tr10 = 3;
tr11 = 3;
tr12 = 3;
tr13 = 3;
tr14 = 3;
savedsco = sco;
amitavaplay = true;
amitavakey = false;
inj = false;
begin = false;
bg();
char = [1, 1];
bad_t = 1;
height = map.length;
width = map[0].length;
tilewidth = 40;
tileheight = 40;
_root.attachMovie("empty", "cont", 1);
_root.cont._x = 40;
_root.cont._y = 40;
reset();
simpleMove = function () {
var _local1 = this;
if (amitavaplay == true) {
if (_local1.br.hitTest(cont.player)) {
if (amitava == 1) {
amitavadie = true;
cont.player.gotoAndStop("die");
amitava = 0;
}
}
if (_local1.x == undefined) {
_local1.x = _local1._x;
_local1.y = _local1._y;
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + _local1.dy;
if (_local1.x < _local1.x1) {
_local1.x = _local1.x1;
_local1.dx = _local1.dx * -1;
} else if (_local1.x > _local1.x2) {
_local1.x = _local1.x2;
_local1.dx = _local1.dx * -1;
}
if (_local1.dx > 0) {
_local1._xscale = 80;
} else if (_local1.dx < 0) {
_local1._xscale = -80;
}
_local1._x = Math.floor(_local1.x);
_local1._y = Math.floor(_local1.y);
}
};
this.bomb.gotoAndStop(1);
stop();
Instance of Symbol 98 MovieClip [bomb] "bomb" in Frame 23
onClipEvent (load) {
if (String(_name) != "bomb") {
pl = 1;
_x = (_root.cont.player._x + 65);
_y = (_root.cont.player._y + 65);
}
}
onClipEvent (enterFrame) {
if (this.bo1.hitTest(_root.cont.t2_1) || (this.bo2.hitTest(_root.cont.t2_1))) {
_root.cont.t2_1.play();
_root.tr1 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_1) || (this.bo2.hitTest(_root.cont.t4_1))) {
_root.cont.t2_1.play();
_root.tr2 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t9_2) || (this.bo2.hitTest(_root.cont.t9_2))) {
_root.cont.t9_2.play();
_root.tr3 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_3) || (this.bo2.hitTest(_root.cont.t4_3))) {
_root.cont.t4_3.play();
_root.tr4 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_3) || (this.bo2.hitTest(_root.cont.t7_3))) {
_root.cont.t7_3.play();
_root.tr5 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t7_4) || (this.bo2.hitTest(_root.cont.t7_4))) {
_root.cont.t7_4.play();
_root.tr6 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_5) || (this.bo2.hitTest(_root.cont.t1_5))) {
_root.cont.t1_5.play();
_root.tr7 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t4_5) || (this.bo2.hitTest(_root.cont.t4_5))) {
_root.cont.t4_5.play();
_root.tr8 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t6_5) || (this.bo2.hitTest(_root.cont.t6_5))) {
_root.cont.t6_5.play();
_root.tr9 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t3_6) || (this.bo2.hitTest(_root.cont.t3_6))) {
_root.cont.t3_6.play();
_root.tr10 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t5_6) || (this.bo2.hitTest(_root.cont.t5_6))) {
_root.cont.t5_6.play();
_root.tr11 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t1_7) || (this.bo2.hitTest(_root.cont.t1_7))) {
_root.cont.t1_7.play();
_root.tr12 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t5_7) || (this.bo2.hitTest(_root.cont.t5_7))) {
_root.cont.t5_7.play();
_root.tr13 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.cont.t8_7) || (this.bo2.hitTest(_root.cont.t8_7))) {
_root.cont.t8_7.play();
_root.tr14 = 0;
_root.bg();
_root.reset();
}
if (this.bo1.hitTest(_root.e1) || (this.bo2.hitTest(_root.e1))) {
if (pl == 1) {
_root.e1.gotoAndStop(2);
_root.e1.die = true;
_root.e1.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e2) || (this.bo2.hitTest(_root.e2))) {
if (pl == 1) {
_root.e2.gotoAndStop(2);
_root.e2.die = true;
_root.e2.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.e3) || (this.bo2.hitTest(_root.e3))) {
if (pl == 1) {
_root.e3.gotoAndStop(2);
_root.e3.die = true;
_root.e3.dx = 0;
pl = 0;
}
}
if (this.bo1.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo2.hitTest(_root.m1) && (_root.m1.die == false)) {
_root.m1.play();
_root.m1.die = true;
}
if (this.bo1.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo2.hitTest(_root.m2) && (_root.m2.die == false)) {
_root.m2.play();
_root.m2.die = true;
}
if (this.bo1.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
if (this.bo2.hitTest(_root.cont.player.br)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
}
}
Instance of Symbol 154 MovieClip in Frame 23
onClipEvent (load) {
_root.fire = false;
}
onClipEvent (enterFrame) {
if (_root.fire == false) {
if ((Key.isDown(32) && (shotTimer <= 0)) && (_root.amitavabomb > 0)) {
_root.amitavabomb = _root.amitavabomb - 1;
shotCount++;
duplicateMovieClip (_root.bomb, "bomb" + shotCount, (shotCount % 980) + 9800);
shotTimer = 1;
_root.fire = true;
}
}
shotTimer--;
}
Instance of Symbol 166 MovieClip "lev" in Frame 23
onClipEvent (load) {
this.swapDepths(19098);
}
Instance of Symbol 169 MovieClip "key" in Frame 23
onClipEvent (load) {
pl = 1;
this.swapDepths(4000);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 276 MovieClip "bombon" in Frame 23
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(2106);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.inj == false)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 298 MovieClip "door" in Frame 23
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player) && (_root.amitavakey == true)) {
if (pl == 1) {
_root.r5._x = 900;
this.play();
pl = 0;
}
}
}
Instance of Symbol 215 MovieClip "e1" in Frame 23
//component parameters
onClipEvent (initialize) {
x1 = 250;
x2 = 300;
dx = 3;
}
onClipEvent (load) {
this.swapDepths(1000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e2" in Frame 23
//component parameters
onClipEvent (initialize) {
x1 = 350;
x2 = 420;
dx = 4;
}
onClipEvent (load) {
this.swapDepths(2000);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 215 MovieClip "e3" in Frame 23
//component parameters
onClipEvent (initialize) {
x1 = 300;
x2 = 350;
dx = 2;
}
onClipEvent (load) {
this.swapDepths(1008);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 286 MovieClip "m1" in Frame 23
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1026);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 286 MovieClip "m2" in Frame 23
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(1028);
pl = 1;
die = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cont.player.br) && (die == false)) {
if (pl == 1) {
_root.inj = true;
this.play();
pl = 0;
}
}
}
Instance of Symbol 242 MovieClip "wel" in Frame 23
onClipEvent (load) {
this.swapDepths(8006);
}
Instance of Symbol 256 MovieClip "gov" in Frame 23
onClipEvent (load) {
this.swapDepths(9000);
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.amitavaplay = false;
this.play();
pl = 0;
}
}
}
Symbol 9 MovieClip Frame 1
stop();
Instance of Symbol 5 MovieClip in Symbol 10 MovieClip [tile] Frame 2
onClipEvent (load) {
this.swapDepths(10000);
}
Instance of Symbol 9 MovieClip in Symbol 10 MovieClip [tile] Frame 3
/* no clip actions */
Symbol 29 MovieClip Frame 8
_parent.gotoAndStop("rist");
Symbol 39 MovieClip Frame 8
_parent.gotoAndStop("dnst");
Symbol 51 MovieClip Frame 8
_parent.gotoAndStop("upst");
Symbol 57 MovieClip Frame 8
_parent.gotoAndStop("lefst");
Symbol 71 MovieClip Frame 10
stop();
Instance of Symbol 11 MovieClip [empty] "brain" in Symbol 75 MovieClip [player] Frame 1
onClipEvent (load) {
function get_tile(x, y) {
var _local3 = _root;
var _local2 = Math.floor(x / _local3.tilewidth);
var _local1 = Math.floor(y / _local3.tileheight);
return(_local3.map[_local1][_local2]);
}
function move(x, y) {
var _local1 = _parent;
var top = ((_local1._y + y) + b.ymin);
var _local2 = ((_local1._y + y) + b.ymax) - s;
var _local3 = (_local1._x + x) + b.xmin;
var rig = (((_local1._x + x) + b.xmax) - s);
if ((((get_tile(_local3, top) < _root.bad_t) && (get_tile(_local3, _local2) < _root.bad_t)) && (get_tile(rig, top) < _root.bad_t)) && (get_tile(rig, _local2) < _root.bad_t)) {
_local1._x = _local1._x + x;
_local1._y = _local1._y + y;
}
}
function injuri() {
var _local1 = _parent;
if (_local1._alpha > 50) {
_local1._alpha = _local1._alpha - 20;
} else {
_local1._alpha = 100;
}
}
b = _parent.getBounds(_parent);
s = _root.tileheight / 8;
pl = 1;
count = 0;
comkey = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavalife > 0) {
if (_root.inj == true) {
if (pl == 1) {
_root.amitavalife = _root.amitavalife - 1;
pl = 0;
}
if (count < 50) {
count++;
injuri();
} else {
pl = 1;
_root.inj = false;
count = 0;
_parent._alpha = 100;
}
}
}
if (Key.isDown(38)) {
if ((_parent._x % _root.tilewidth) == 0) {
move(0, -s);
lastK = "up";
} else if (lastK == "left") {
move(-s, 0);
} else {
move(s, 0);
}
} else if (Key.isDown(40)) {
if ((_parent._x % _root.tilewidth) == 0) {
move(0, s);
lastK = "down";
} else if (lastK == "left") {
move(-s, 0);
} else {
move(s, 0);
}
} else if (Key.isDown(37)) {
if ((_parent._y % _root.tileheight) == 0) {
move(-s, 0);
lastK = "left";
} else if (lastK == "up") {
move(0, -s);
} else {
move(0, s);
}
} else if (Key.isDown(39)) {
if ((_parent._y % _root.tileheight) == 0) {
move(s, 0);
lastK = "right";
} else if (lastK == "up") {
move(0, -s);
} else {
move(0, s);
}
}
}
}
Instance of Symbol 72 MovieClip "bubMC" in Symbol 75 MovieClip [player] Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop("ri");
} else if (Key.isDown(37)) {
this.gotoAndStop("lef");
} else if (Key.isDown(38)) {
this.gotoAndStop("up");
}
if (Key.isDown(40)) {
this.gotoAndStop("dn");
}
}
Instance of Symbol 74 MovieClip "br" in Symbol 75 MovieClip [player] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "bo1" in Symbol 98 MovieClip [bomb] Frame 30
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "bo2" in Symbol 98 MovieClip [bomb] Frame 30
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "bo2" in Symbol 98 MovieClip [bomb] Frame 37
onClipEvent (load) {
_visible = false;
}
Symbol 98 MovieClip [bomb] Frame 41
_root.fire = false;
Symbol 98 MovieClip [bomb] Frame 42
_parent.removeMovieClip();
stop();
Symbol 116 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 117 MovieClip Frame 22
stop();
Symbol 125 Button
on (press) {
gotoAndStop (6);
}
Symbol 128 MovieClip Frame 12
stop();
Symbol 129 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 131 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 140 Button
on (press) {
gotoAndStop ("1st");
}
Symbol 153 Button
on (press) {
gotoAndStop (5);
}
Symbol 163 Button
on (press) {
_root.amitavaplay = true;
gotoAndPlay (30);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
_root.amitavalevel = _root.amitavalevel + 1;
_root.amitavaplay = false;
_root.cont.player.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.bombon.removeMovieClip();
_root.cont.removeMovieClip();
_root.sco = _root.savedsco;
i = 0;
while (i < 500) {
_root.bomb.removeMovieClip();
i++;
}
Symbol 166 MovieClip Frame 25
stop();
Symbol 166 MovieClip Frame 30
i = 0;
while (i < 10) {
if (_root.amitavalevel == 2) {
_root.gotoAndStop("2nd");
_root.lev.removeMovieClip();
} else if (_root.amitavalevel == 3) {
_root.gotoAndStop("3rd");
_root.lev.removeMovieClip();
} else if (_root.amitavalevel == 4) {
_root.gotoAndStop("4th");
_root.lev.removeMovieClip();
} else if (_root.amitavalevel == 5) {
_root.gotoAndStop("5th");
_root.lev.removeMovieClip();
}
i++;
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 12
_root.amitavakey = true;
Symbol 169 MovieClip Frame 15
stop();
Symbol 180 MovieClip Frame 1
stop();
Instance of Symbol 172 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavakey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 173 MovieClip "br" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 180 MovieClip Frame 27
_root.lev.play();
Symbol 214 MovieClip Frame 3
_root.savedsco = _root.savedsco + 50;
Symbol 214 MovieClip Frame 7
stop();
Symbol 215 MovieClip Frame 1
if (_root.e1.die == false) {
this.onEnterFrame = _root.simpleMove;
this.createSplata = _root.createSplata;
}
stop();
Instance of Symbol 205 MovieClip "br" in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 236 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 15
_root.amitavaplay = false;
i = 0;
while (i < 500) {
_root.bomb.removeMovieClip();
i++;
}
var ssc = _root.sco;
Symbol 242 MovieClip Frame 33
stop();
Symbol 251 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 15
_root.amitavaplay = false;
i = 0;
while (i < 500) {
_root.bomb.removeMovieClip();
i++;
}
var ssc = _root.sco;
Symbol 256 MovieClip Frame 32
stop();
Symbol 263 Button
on (press) {
stopAllSounds();
_root.amitavaplay = true;
_root.amitavakey = false;
_root.amitavalevel = 1;
_root.inj = false;
_root.savedsco = 0;
_root.begin = false;
_root.amitavabomb = 9;
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
_root.gotoAndPlay(14);
}
Symbol 276 MovieClip Frame 1
stop();
Instance of Symbol 273 MovieClip "br" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 276 MovieClip Frame 5
_root.amitavabomb = _root.amitavabomb + 4;
Symbol 276 MovieClip Frame 16
stop();
Symbol 286 MovieClip Frame 11
stop();
Symbol 287 Button
on (press) {
stopAllSounds();
_root.amitavaplay = true;
_root.amitavakey = false;
_root.inj = false;
_root.savedsco = 0;
_root.begin = false;
_root.amitavabomb = 7;
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
_root.gotoAndPlay(16);
}
Symbol 291 Button
on (press) {
_root.cont.player.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
}
Symbol 292 Button
on (press) {
stopAllSounds();
_root.amitavaplay = true;
_root.amitavakey = false;
_root.inj = false;
_root.savedsco = 0;
_root.begin = false;
_root.amitavabomb = 6;
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
_root.gotoAndPlay(18);
}
Symbol 295 Button
on (press) {
stopAllSounds();
_root.amitavaplay = true;
_root.amitavakey = false;
_root.savedsco = 0;
_root.inj = false;
_root.begin = false;
_root.amitavabomb = 6;
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
_root.gotoAndPlay(20);
}
Symbol 298 MovieClip Frame 1
stop();
Instance of Symbol 172 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavakey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 173 MovieClip "br" in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 298 MovieClip Frame 27
_root.wel.play();
Symbol 299 Button
on (press) {
stopAllSounds();
_root.amitavaplay = true;
_root.amitavakey = false;
_root.savedsco = 0;
_root.inj = false;
_root.begin = false;
_root.amitavabomb = 3;
_root.gov.removeMovieClip();
_root.wel.removeMovieClip();
_root.e1.removeMovieClip();
_root.e2.removeMovieClip();
_root.e3.removeMovieClip();
_root.m1.removeMovieClip();
_root.m2.removeMovieClip();
_root.door.removeMovieClip();
_root.key.removeMovieClip();
_root.cont.removeMovieClip();
_root.bombon.removeMovieClip();
_root.gotoAndPlay(22);
}