Frame 1
fscommand ("allowScale", "false");
Stage.showMenu = false;
onLoad = function () {
this.progressbar.bar_mc._width = 1;
var animationCompleted = false;
};
onEnterFrame = function () {
var _local1 = _root;
myLoaded = Math.round(_local1.getBytesLoaded());
myTotal = Math.round(_local1.getBytesTotal());
myPercent = (myLoaded / myTotal) * 100;
this.progressbar.bar_mc._width = myPercent * 2;
percenttext.percentText.text = Math.round(myPercent) + "%";
if ((myLoaded == myTotal) && (_local1.animationCompleted == true)) {
gotoAndStop (5);
_local1.animationCompleted = false;
}
};
animation.onPress = function () {
getURL ("http://www.flasharcade.com/", "_blank");
};
stop();
_global.ipb_get_gname = function () {
var _local3 = _root._url;
var _loc5 = "";
var _local2 = "";
var _loc6 = (_local3.lastIndexOf("\\") + 1);
if ((_loc6 == -1) || (_loc6 == 0)) {
_loc6 = _local3.lastIndexOf("/") + 1;
}
var _local1 = _loc6;
var _loc7 = String(_local3).length;
while (_local1 < String(_local3).length) {
_local2 = _local3.charAt(_local1);
if (_local2 == ".") {
break;
}
_loc5 = _loc5 + _local2;
_local1++;
}
return(_loc5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowScale", "false");
Stage.showMenu = false;
_root.scoreSubmit = false;
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(_root.bg_sound_clip);
_root.gameBGSound.attachSound("welcome_sound");
_root.gameBGSound.start(0, 2000);
_root.gameBGSound.setVolume(80);
clearInterval(_root.timeInterval);
_root.timeInterval = null;
Frame 15
function updateTime() {
_root.timeNum = _root.timeNum + 1;
}
i = 1;
while (i <= 15) {
_root["drm" + i] = true;
i++;
}
var sco = 0;
var amitavalife = 100;
var amitavaplay = true;
var amitavalevel = 1;
var amitavakey = false;
var enemyLeft = false;
var enemyHit = false;
var enemyBlock = false;
var spark = false;
var enemySwing = false;
var heroBlock = false;
var spark = false;
var enemylife = 20;
var fireball = false;
var msg = "";
var sco = 0;
var timeNum = 0;
var shrokin = 15;
var attkhero = false;
var backhit = false;
var shohit = false;
var herohita = false;
var herohitb = false;
var herohitc = false;
var listener = new Object();
listener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 88) {
herohita = true;
} else if (_local1 == 90) {
herohitb = true;
} else if (_local1 == 67) {
herohitc = true;
}
};
Key.addListener(listener);
listener.onKeyUp = function () {
var _local1 = Key.getCode();
if (_local1 == 88) {
herohita = false;
} else if (_local1 == 90) {
herohitb = false;
} else if (_local1 == 67) {
herohitc = false;
}
};
function resetlevel1() {
this.bubMC._x = 50;
this.bubMC._y = 250;
_root.gotoAndStop("1st");
}
function resetlevel2() {
this.bubMC._x = 50;
this.bubMC._y = 250;
knifeMode = true;
collectknife = true;
_root.gotoAndStop("5th");
}
function resetlevel3() {
this.bubMC._x = 50;
this.bubMC._y = 250;
swordMode = true;
collectsword = true;
_root.gotoAndStop("8th");
}
function resetlevel4() {
this.bubMC._x = 50;
this.bubMC._y = 250;
bhalaMode = true;
collectbhala = true;
_root.gotoAndStop("11th");
}
function resetlevel5() {
this.bubMC._x = 50;
this.bubMC._y = 250;
gunMode = true;
collectgun = true;
_root.gotoAndStop("14th");
}
function move_wait() {
var _local1 = this;
if (((amitavaplay == true) && (amitavaflying == false)) && (Movementfactor == true)) {
if (((Key.isDown(Kleft) && (movement == true)) && (_local1.bubMC.injuri == false)) && (_root.bubMC.shoot == 0)) {
_local1.bubMC.lef = true;
_local1.bubMC.ri = false;
_local1.bubMC._xscale = -100;
_local1.bubMC.gotoAndStop("walk");
lef = 1;
ri = 0;
}
if ((((Key.isDown(Kright) && (movement == true)) && (_local1.bubMC.injuri == false)) && (_root.bubMC.shoot == 0)) && (Movementfactor == true)) {
_local1.bubMC.ri = true;
_local1.bubMC.lef = false;
_local1.bubMC._xscale = 100;
_local1.bubMC.gotoAndStop("walk");
lef = 0;
ri = 1;
}
}
}
function jump_wait() {
if (((amitavaplay == true) && (amitavaflying == false)) && (JumpFactor == true)) {
if (((Key.isDown(Kjump) && (movement == true)) && (this.bubMC.injuri == false)) && (_root.bubMC.shoot == 0)) {
this.bubMC.gotoAndStop("jumpUp");
jumpFlag = true;
Fight = false;
}
}
}
function fall_wait() {
var _local1 = this;
if (((amitavaplay == true) && (amitavaflying == false)) && (_root.bubMC.shoot == 0)) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y, true)) {
_local1.bubMC.gotoAndStop("jumpDown");
Fight = false;
}
}
}
function move_left(valueX) {
var _local1 = this;
var _local2 = valueX;
if (((((amitavaplay == true) && (amitavaflying == false)) && (_local1.bubMC.injuri == false)) && (_root.bubMC.shoot == 0)) && (Movementfactor == true)) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x - _local2) - 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x - _local2;
trace("valueX =" add _local2);
}
}
trace("movementFactor =" add movementFactor);
}
function move_right(valueX) {
var _local1 = this;
if (((((amitavaplay == true) && (amitavaflying == false)) && (_local1.bubMC.injuri == false)) && (_root.bubMC.shoot == 0)) && (Movementfactor == true)) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x + valueX) + 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x + valueX;
}
}
trace("movementFactor =" add movementFactor);
}
function jump_down(valueY) {
var _local1 = this;
if ((amitavaplay == true) && (amitavaflying == false)) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - 2, true)) {
_local1.bubMC._y = _local1.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - i, true)) {
_local1.bubMC._y = _local1.bubMC._y - (i - 3);
break;
}
i++;
}
if (((_local1.bubMC.injuri == false) && (_local1.bubMC.shoot == 0)) && (_root.bubMC.die == false)) {
jumpFlag = false;
_local1.bubMC.gotoAndStop("stand");
Fight = true;
}
}
}
}
fscommand ("allowscale", false);
Stage.showMenu = false;
_quality = "high";
Cutter = false;
stoneMode = true;
knifeMode = false;
swordMode = false;
bhalaMode = false;
gunMode = false;
collectknife = false;
collectbonus = false;
collectbonus2 = false;
collectbonus3 = false;
collectbonus4 = false;
collectsword = false;
collectbhala = false;
collectgun = false;
animation = false;
collectlife1 = false;
collectlife2 = false;
collectlife3 = false;
collectlife4 = false;
collectlife5 = false;
grablife1 = false;
grablife2 = false;
grablife3 = false;
grablife4 = false;
grablife5 = false;
switchOnThn1 = false;
switchOnThn2 = true;
switchonThn2a = false;
switchOnThn3 = false;
switchOnThn4 = false;
switchOnThn5 = false;
var strength = 0;
alerte1 = false;
alerte2 = false;
alerte3 = false;
alerte4 = false;
alerte5 = false;
enemylifea = 1;
enemylifeb = 1;
enemylifec = 1;
enemylifed = 2;
enemylifee = 3;
amitavaflying = false;
jetpack = true;
amitavagun = false;
amitavafrm = "2ndlevel";
amitavajetpack = false;
amitavaplay = true;
amitavakey = false;
amitavakey2 = false;
amitavakey3 = false;
amitavakey4 = false;
amitavakey5 = false;
movement = true;
sco = 0;
Kleft = 37;
Kright = 39;
Kjump = 38;
Fight = false;
walkSpeed = 5;
jumpHeight = 6;
jumpSpeed = 0.5;
fallSpeed = 10;
JumpFactor = true;
Movementfactor = true;
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(bg_sound_clip);
_root.gameBGSound.attachSound("bg_sound");
_root.gameBGSound.start(0, 8000);
_root.gameBGSound.setVolume(80);
Frame 16
fscommand ("allowscale", false);
Stage.showMenu = false;
this.stageMC.limitMC._visible = false;
_root.stone_IC.gotoAndStop(5);
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
i++;
}
stop();
if (_root.timeInterval == null) {
_root.timeNum = 0;
_root.timeInterval = setInterval(updateTime, 1000);
}
Instance of Symbol 189 MovieClip "b5" in Frame 16
onClipEvent (load) {
if (_root.drm5 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm5 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm5 = false;
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 16
onClipEvent (load) {
if (_root.drm4 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm4 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm4 = false;
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 16
onClipEvent (load) {
if (_root.drm3 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm3 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm3 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 16
onClipEvent (load) {
if (_root.drm2 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm2 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm2 = false;
}
}
Instance of Symbol 204 MovieClip "thn1" in Frame 16
onClipEvent (load) {
pl = 1;
rad = 2 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(10);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.switchOnThn1 == true)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 209 MovieClip in Frame 16
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 2 + random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == 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)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 273 MovieClip "e1" in Frame 16
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifea < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 1;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifea >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.amitavalife = 0;
_root.bubMC.die = true;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 250) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 90) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte1 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 283 MovieClip "b1" in Frame 16
onClipEvent (load) {
if (_root.drm1 == false) {
this.brk = true;
if (!_root.amitavakey) {
_root.doorkey._visible = true;
_root.doorkey._x = _root.b1._x;
_root.doorkey._y = _root.b1._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm1 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm1 = false;
}
}
Instance of Symbol 286 MovieClip "doorkey" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.amitavakey = true;
pl = 0;
}
}
}
Instance of Symbol 290 MovieClip "eshota" in Frame 16
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e1._x;
_y = (_root.e1._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
if (_root.swordMode == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
} else {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
}
}
}
Instance of Symbol 295 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 10;
_root.gotoAndStop("2nd");
}
}
Instance of Symbol 295 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 10;
_root.gotoAndStop("2nd");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 295 MovieClip "siri1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 295 MovieClip in Frame 16
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte1 = true;
}
}
Instance of Symbol 295 MovieClip in Frame 16
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte1 = false;
}
}
Instance of Symbol 295 MovieClip in Frame 16
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte1 = true;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 16
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte3 = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 922 MovieClip "bubMC" in Frame 16
onClipEvent (load) {
function reset() {
_x = xpos;
_y = ypos;
}
xpos = _x;
ypos = _y;
injuri = false;
inj = false;
amitgo = 0;
speed = 5;
d = 0;
dir = 0;
shoot = 0;
land = 1;
fly = 0;
pow = 0;
shotTimer_gun = -1;
tana = false;
climb = 0;
die = false;
block = 0;
att1 = 0;
att2 = 0;
att3 = 0;
duk = 0;
ri = true;
lef = false;
pow = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.swordMode == true) {
if (Key.isDown(39)) {
ri = true;
lef = false;
} else if (Key.isDown(37)) {
ri = false;
lef = true;
}
if (_root.amitavalife > 0) {
if (injuri == false) {
if (((((_root.herohita == true) && (_root.Fight == true)) && (att2 == 0)) && (att3 == 0)) && (climb == 0)) {
if ((att1 == 0) && (_root.heroBlock == false)) {
this.gotoAndStop("attk1");
att1 = 1;
}
} else {
att1 = 0;
}
if (((((_root.herohitb == true) && (_root.Fight == true)) && (att1 == 0)) && (att3 == 0)) && (climb == 0)) {
if ((att2 == 0) && (_root.heroBlock == false)) {
this.gotoAndStop("attk2");
att2 = 1;
}
} else {
att2 = 0;
}
if (((((_root.herohitc == true) && (_root.Fight == true)) && (att1 == 0)) && (att2 == 0)) && (climb == 0)) {
if ((att3 == 0) && (_root.heroBlock == false)) {
this.gotoAndStop("attk3");
att3 = 1;
}
} else {
att3 = 0;
}
if ((((Key.isDown(32) && (_root.Fight == true)) && (_root.backhit == false)) && (climb == 0)) && (_root.swordMode == true)) {
this.gotoAndStop("block");
_root.heroBlock = true;
block = 1;
} else {
_root.heroBlock = false;
block = 0;
}
if (((Key.isDown(40) && (_root.Fight == true)) && (_root.heroBlock == false)) && (climb == 0)) {
if (duk == 0) {
this.gotoAndStop("duck");
duk = 1;
}
} else if (duk == 1) {
gotoAndPlay (1);
duk = 0;
}
}
if ((this.sw1.hitTest(_root.warrior1.br) || (this.sw2.hitTest(_root.warrior1.br))) || (this.sw3.hitTest(_root.warrior1.br))) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if ((this.sw1.hitTest(_root.warrior2.br) || (this.sw2.hitTest(_root.warrior2.br))) || (this.sw3.hitTest(_root.warrior2.br))) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
i = 0;
while (i <= 6) {
if (this.sw1.body.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
} else if (this.sw2.body.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
} else if (this.sw3.body.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
}
i++;
}
}
}
if (((this.shootStone == true) && (climb == 0)) && (_root.stoneMode == true)) {
if ((((shotTimer <= 0) && (_root.ri == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 1;
this.shootStone = false;
} else if ((((shotTimer <= 0) && (_root.lef == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.shota, "shota" + shotCount, (shotCount % 120) + 1200);
shotTimer = 1;
this.shootStone = false;
}
shotTimer--;
}
if (((this.shootStone == true) && (climb == 0)) && (_root.knifeMode == true)) {
if ((((shotTimer <= 0) && (_root.ri == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.kshot, "kshot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 1;
this.shootStone = false;
} else if ((((shotTimer <= 0) && (_root.lef == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.kshota, "kshota" + shotCount, (shotCount % 120) + 1200);
shotTimer = 1;
this.shootStone = false;
}
shotTimer--;
}
if ((this._xscale == 100) && (climb == 0)) {
_root.ri = 1;
_root.lef = 0;
dir = 0;
} else if ((this._xscale == -100) && (climb == 0)) {
_root.ri = 0;
_root.lef = 1;
dir = 1;
}
if (((((((Key.isDown(32) && (!Key.isDown(40))) && (!Key.isDown(38))) && (_root.gunMode == true)) && (injuri == false)) && (fly == 0)) && (climb == 0)) && (!_root.jumpFlag)) {
trace(_root.Fight);
if (shotTimer_gun <= 0) {
if (!a) {
this.gotoAndStop("thro");
d++;
_root.bullet.duplicateMovieClip("newb" + d, d);
if (dir == 0) {
_root["newb" + d].speed = 20;
_root["newb" + d].stepx = 20;
} else if (dir == 1) {
_root["newb" + d].speed = -20;
_root["newb" + d].stepx = -20;
}
a = true;
shotTimer_gun = 2;
}
}
shotTimer_gun--;
} else {
a = false;
}
if (d > 19) {
d = 0;
}
if (((this.shootStone == true) && (climb == 0)) && (_root.bhalaMode == true)) {
if ((((shotTimer <= 0) && (_root.ri == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.bshot, "bshot" + shotCount, (shotCount % 100) + 1100);
shotTimer = 1;
this.shootStone = false;
} else if ((((shotTimer <= 0) && (_root.lef == 1)) && (_root.Fight == true)) && (inj == false)) {
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.bshota, "bshota" + shotCount, (shotCount % 120) + 1200);
shotTimer = 1;
this.shootStone = false;
}
shotTimer--;
}
if (this._xscale == 100) {
_root.ri = 1;
_root.lef = 0;
} else if (this._xscale == -100) {
_root.ri = 0;
_root.lef = 1;
}
if (((((Key.isDown(32) && (climb == 0)) && (injuri == false)) && (_root.Fight == true)) && (_root.swordMode == false)) && (_root.gunMode == false)) {
if (inj == false) {
rang = 1;
tana = true;
}
} else if ((((((tana == true) && (climb == 0)) && (injuri == false)) && (_root.Fight == true)) && (_root.swordMode == false)) && (_root.gunMode == false)) {
this.gotoAndStop("thro");
rang = 0;
tana = false;
}
_root.strength = Math.round(jor);
if (_root.strength <= 1) {
_root.strength = 2;
}
if ((rang == 1) && (_root.strength < 16)) {
if (_root.power._width < 30) {
jor = jor + 1;
_root.power._width = _root.power._width + 2;
}
} else if (_root.power._width > 2) {
_root.power._width = _root.power._width - 2;
}
if (this.body.hitTest(_root.siri1) && (injuri == false)) {
if (Key.isDown(38)) {
if (this._y > 223) {
this._x = _root.siri1._x;
amitgo = amitgo + 1;
this.gotoAndStop("climb");
climb = 1;
this._y = this._y - 3;
_root.Fight = false;
_root.climbStatus = true;
_root.jumpFlag = false;
_root.attkhero = false;
_root.attkheroa = false;
} else {
_root.alerte1 = false;
climb = 0;
amitgo = 0;
_root.Fight = true;
_root.jumpFlag = false;
_root.climbStatus = false;
this.gotoAndStop(2);
}
} else if (Key.isDown(40)) {
if (this._y < 383) {
this._x = _root.siri1._x;
amitgo = amitgo + 1;
climb = 1;
this.gotoAndStop("climb");
this._y = this._y + 3;
_root.Fight = false;
_root.attkhero = false;
_root.attkheroa = false;
_root.jumpFlag = false;
_root.climbStatus = true;
_root.alerte1 = false;
} else {
amitgo = 0;
climb = 0;
_root.Fight = true;
_root.jumpFlag = false;
_root.climbStatus = false;
this.gotoAndStop(2);
}
}
}
}
}
Instance of Symbol 938 MovieClip "kshota" in Frame 16
onClipEvent (load) {
if ((String(_name) != "kshota") && (_root.lef == true)) {
_rotation = -130;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_knifeSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "kshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 3);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 3);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.warrior1.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 2;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 2;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 2;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 2;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 2;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 2;
removeMovieClip(this);
}
}
i = 0;
while (i <= 6) {
if (this.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 942 MovieClip "bullet" in Frame 16
onClipEvent (load) {
if (_name != "bullet") {
this._x = _root.bubMC._x + stepx;
this._y = _root.bubMC._y - 40;
_root.mc_bulletSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_name != "bullet") {
_x = (_x + speed);
if (_root.stageMC.hitTest(this._x - 10, this._y, true)) {
_root.bubMC.shoot = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.e1)) {
_root.bubMC.shoot = 0;
_root.alerte1 == true;
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 8;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.switchOnThn1 = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 8;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2)) {
_root.bubMC.shoot = 0;
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 8;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 8;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3)) {
_root.bubMC.shoot = 0;
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 8;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 8;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4)) {
_root.bubMC.shoot = 0;
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 8;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.switchOnThn3 = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 8;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5)) {
_root.bubMC.shoot = 0;
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 8;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 8;
removeMovieClip(this);
}
}
if (_x > 550) {
_root.bubMC.shoot = 0;
removeMovieClip(this);
} else if (_x < -10) {
_root.bubMC.shoot = 0;
removeMovieClip(this);
}
i = 0;
while (i <= 6) {
if (this.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
}
Instance of Symbol 946 MovieClip "bshot" in Frame 16
onClipEvent (load) {
if ((String(_name) != "bshot") && (_root.ri == true)) {
_rotation = 165;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_knifeSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "bshot") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 3.5);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 3.5);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.br.hitTest(_root.warrior1.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.br.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.br.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 4;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 4;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 4;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 4;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 2;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 4;
removeMovieClip(this);
}
}
i = 0;
while (i <= 6) {
if (this.br.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 290 MovieClip "shota" in Frame 16
onClipEvent (load) {
if ((String(_name) != "shota") && (_root.lef == true)) {
_rotation = -130;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_stoneSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 3);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 3);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
_root.power._width = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.warrior1.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 1;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 1;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 1;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 1;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 1;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 1;
removeMovieClip(this);
}
}
i = 0;
while (i <= 6) {
if (this.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 290 MovieClip "shot" in Frame 16
onClipEvent (load) {
if ((String(_name) != "shot") && (_root.ri == true)) {
_rotation = -50;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_stoneSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 3.5);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 3.5);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
_root.power._width = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
_root.power._width = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
_root.power._width = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.warrior1.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 1;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 1;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 1;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 1;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 1;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 1;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 1;
removeMovieClip(this);
}
}
i = 0;
while (i <= 6) {
if (this.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 297 MovieClip "ground" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 938 MovieClip "kshot" in Frame 16
onClipEvent (load) {
if ((String(_name) != "kshot") && (_root.ri == true)) {
_rotation = -50;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_knifeSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "kshot") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 3.5);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 3.5);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 2;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 2;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 2;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 2;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 2;
removeMovieClip(this);
}
}
if (this.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 2;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 2;
removeMovieClip(this);
}
}
i = 0;
while (i <= 5) {
if (this.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 946 MovieClip "bshota" in Frame 16
onClipEvent (load) {
if ((String(_name) != "bshota") && (_root.lef == true)) {
_rotation = 14;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.bubMC._x;
_y = (_root.bubMC._y - 40);
_root.mc_knifeSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "bshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.strength;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 3);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 3);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
_root.bubMC.jor = 0;
removeMovieClip(this);
}
if (this.br.hitTest(_root.warrior1.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior1.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.br.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife2nd > 0)) {
_root.warrior2.gotoAndStop(3);
} else {
_root.spark = true;
}
}
if (this.br.hitTest(_root.e1)) {
if (_root.enemylifea > 0) {
_root.enemylifea = _root.enemylifea - 4;
_root.e1.inj = true;
_root.e1.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e1.inj = true;
_root.e1.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifea = _root.enemylifea - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e2)) {
if (_root.enemylifeb > 0) {
_root.enemylifeb = _root.enemylifeb - 4;
_root.e2.inj = true;
_root.e2.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e2.inj = true;
_root.e2.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifeb = _root.enemylifeb - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e3)) {
if (_root.enemylifec > 0) {
_root.enemylifec = _root.enemylifec - 4;
_root.e3.inj = true;
_root.e3.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e3.inj = true;
_root.e3.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifec = _root.enemylifec - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e4)) {
if (_root.enemylifed > 0) {
_root.enemylifed = _root.enemylifed - 4;
_root.e4.inj = true;
_root.e4.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e4.inj = true;
_root.e4.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifed = _root.enemylifed - 4;
removeMovieClip(this);
}
}
if (this.br.hitTest(_root.e5)) {
if (_root.enemylifee > 0) {
_root.enemylifee = _root.enemylifee - 2;
_root.e5.inj = true;
_root.e5.gotoAndStop(4);
_root.bubMC.jor = 0;
removeMovieClip(this);
} else {
_root.e5.inj = true;
_root.e5.gotoAndStop(5);
_root.bubMC.jor = 0;
_root.enemylifee = _root.enemylifee - 4;
removeMovieClip(this);
}
}
i = 0;
while (i <= 6) {
if (this.br.hitTest(_root["b" + i]) && (_root["b" + i].brk == false)) {
_root["b" + i].gotoAndStop(2);
_root.bubMC.jor = 0;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 985 MovieClip "hbar" in Frame 16
onClipEvent (enterFrame) {
trace("bar = " add this._width);
trace("life = " add _root.amitavalife);
}
Frame 18
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
i++;
}
Instance of Symbol 1060 MovieClip "nob1" in Frame 18
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn1 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn1 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn1 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn1 = false;
pl = 0;
}
}
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 18
onClipEvent (load) {
if (_root.drm8 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm8 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm8 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 18
onClipEvent (load) {
if (_root.drm7 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm7 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm7 = false;
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 18
onClipEvent (load) {
if (_root.drm10 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm10 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm10 = false;
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 18
onClipEvent (load) {
if (_root.drm9 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm9 == false) {
this.brk = true;
}
trace(this.brk);
if (this.brk == true) {
_root.drm9 = false;
}
}
Instance of Symbol 204 MovieClip "thn2" in Frame 18
onClipEvent (load) {
pl = 1;
rad = 2 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn2 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(10);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 290 MovieClip "eshota" in Frame 18
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e3._x;
_y = (_root.e3._y - 30);
_root.bulletNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (_root.removeBullets == true) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1062 MovieClip "e3" in Frame 18
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifec < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 1;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifec >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 550) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 350) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte3 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 290 MovieClip "eshotb" in Frame 18
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshotb") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e2._x;
_y = (_root.e2._y - 30);
_root.bulletNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (_root.removeBullets == true) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1064 MovieClip "e2" in Frame 18
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifeb < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 1;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifeb >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.amitavalife = 0;
_root.bubMC.die = true;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 550) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 350) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte2 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 1074 MovieClip "b3" in Frame 18
onClipEvent (load) {
if (_root.drm6 == false) {
this.brk = true;
if ((!_root.collectlife1) && (_root.grablife1 == false)) {
_root.life._visible = true;
_root.life._x = _root.b3._x;
_root.life._y = _root.b3._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm6 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm6 = false;
}
}
Instance of Symbol 1076 MovieClip "life" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.collectlife1 = true;
_root.grablife1 = true;
_root.life_IC.gotoAndStop(5);
pl = 0;
}
}
}
Instance of Symbol 295 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 10;
_root.gotoAndStop("3rd");
}
}
Instance of Symbol 295 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 10;
_root.gotoAndStop("3rd");
}
}
Instance of Symbol 295 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 520;
_root.gotoAndStop("1st");
}
}
Instance of Symbol 295 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 520;
_root.gotoAndStop("1st");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 18
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte2 = true;
pl = 0;
}
} else {
_root.alerte2 = false;
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 18
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte3 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 20
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b3" in Frame 20
onClipEvent (load) {
if (_root.drm13 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm13 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm13 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 20
onClipEvent (load) {
if (_root.drm12 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm12 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm12 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 20
onClipEvent (load) {
if (_root.drm11 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm11 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm11 = false;
}
}
Instance of Symbol 1087 MovieClip in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC.body) && (_root.amitavakey == true)) {
_root.JumpFactor = false;
if (pl == 1) {
if (Key.isDown(65)) {
_root.animation = true;
_root.Movementfactor = false;
this.gotoAndStop(2);
pl = 0;
}
}
} else {
_root.JumpFactor = true;
}
}
Instance of Symbol 1098 MovieClip "b5" in Frame 20
onClipEvent (load) {
if (_root.drm15 == false) {
if (!_root.collectknife) {
_root.knife._visible = true;
_root.knife._x = _root.b5._x;
_root.knife._y = _root.b5._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.brk == true) {
_root.drm15 = false;
}
}
Instance of Symbol 1108 MovieClip "b4" in Frame 20
onClipEvent (load) {
if (_root.drm14 == false) {
this.brk = true;
if (!_root.collectbonus) {
_root.pum._visible = true;
_root.pum._x = _root.b4._x;
_root.pum._y = _root.b4._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm14 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm14 = false;
}
}
Instance of Symbol 1119 MovieClip "e4" in Frame 20
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifed < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 4;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifed >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 530) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 316) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte4 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 209 MovieClip in Frame 20
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 2 + random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == 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)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 290 MovieClip "eshota" in Frame 20
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e4._x;
_y = (_root.e4._y - 30);
_root.bulletNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 290 MovieClip "eshotb" in Frame 20
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshotb") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e5._x;
_y = (_root.e5._y - 30);
_root.bulletNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1060 MovieClip "nob2" in Frame 20
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn2 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn2 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn2 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn2 = false;
pl = 0;
}
}
}
}
Instance of Symbol 1132 MovieClip "e5" in Frame 20
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifee < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifee >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 449) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 281) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte5 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 1136 MovieClip "pum" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.collectbonus = true;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.sco = _root.sco + 100;
pl = 0;
}
}
}
Instance of Symbol 1139 MovieClip "knife" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.collectknife = true;
pl = 0;
}
}
}
Instance of Symbol 295 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 520;
_root.gotoAndStop("2nd");
}
}
Instance of Symbol 295 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bulletNum);
_root.bubMC._x = 520;
_root.gotoAndStop("2nd");
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 20
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte5 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 20
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte4 = true;
pl = 0;
}
} else {
_root.alerte4 = false;
pl = 1;
}
}
Frame 22
fscommand ("allowscale", false);
Stage.showMenu = false;
Frame 27
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
if (_root.timeInterval == null) {
_root.timeNum = 0;
_root.timeInterval = setInterval(updateTime, 1000);
}
Instance of Symbol 1087 MovieClip in Frame 27
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC.body) && (_root.amitavakey2 == true)) {
_root.JumpFactor = false;
if (pl == 1) {
if (Key.isDown(65)) {
_root.animation = true;
_root.Movementfactor = false;
this.gotoAndStop(2);
pl = 0;
}
}
} else {
_root.JumpFactor = true;
}
}
Instance of Symbol 1190 MovieClip "e1" in Frame 27
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifea < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifea >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 230) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 35) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte1 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 27
onClipEvent (load) {
if (_root.drm3 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm3 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm3 = false;
}
}
Instance of Symbol 1074 MovieClip "b3" in Frame 27
onClipEvent (load) {
if (_root.drm2 == false) {
this.brk = true;
if ((!_root.collectlife2) && (_root.grablife2 == false)) {
_root.life._visible = true;
_root.life._x = _root.b3._x;
_root.life._y = _root.b3._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm2 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm2 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 27
onClipEvent (load) {
if (_root.drm1 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm1 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm1 = false;
}
}
Instance of Symbol 209 MovieClip in Frame 27
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 209 MovieClip in Frame 27
onClipEvent (load) {
pl = 1;
rad = 2 + random(50);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(50);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body) && (_root.switchOnThn1 == true)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1201 MovieClip "e2" in Frame 27
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifeb < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifeb >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 449) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 320) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte2 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 938 MovieClip "eshota" in Frame 27
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e1._x;
_y = (_root.e1._y - 30);
_root.knifeNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 938 MovieClip "eshotb" in Frame 27
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshotb") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e2._x;
_y = (_root.e2._y - 30);
_root.knifeNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1076 MovieClip "life" in Frame 27
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.collectlife2 = true;
_root.grablife2 = true;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.life_IC.gotoAndStop(5);
pl = 0;
}
}
}
Instance of Symbol 1211 MovieClip "b5" in Frame 27
onClipEvent (load) {
if (_root.drm12 == false) {
this.brk = true;
if (!_root.collectsword) {
_root.sword._visible = true;
_root.sword._x = _root.b5._x;
_root.sword._y = _root.b5._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm12 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm12 = false;
}
}
Instance of Symbol 1214 MovieClip "sword" in Frame 27
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.collectsword = true;
pl = 0;
}
}
}
Instance of Symbol 295 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 10;
_root.gotoAndStop("6th");
}
}
Instance of Symbol 295 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 10;
_root.gotoAndStop("6th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 27
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte1 = true;
pl = 0;
}
} else {
_root.alerte1 = false;
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 27
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte2 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 29
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b3" in Frame 29
onClipEvent (load) {
if (_root.drm7 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm7 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm7 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 29
onClipEvent (load) {
if (_root.drm6 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm6 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm6 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 29
onClipEvent (load) {
if (_root.drm4 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm4 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm4 = false;
}
}
Instance of Symbol 1228 MovieClip "e4" in Frame 29
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifed < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifed >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 449) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 300) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte4 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 1239 MovieClip "e3" in Frame 29
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifec < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifec >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 200) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 35) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte3 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 209 MovieClip in Frame 29
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 938 MovieClip "eshota" in Frame 29
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e3._x;
_y = (_root.e3._y - 30);
_root.knifeNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 938 MovieClip "eshotb" in Frame 29
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshotb") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e4._x;
_y = (_root.e4._y - 30);
_root.knifeNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 295 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 10;
_root.gotoAndStop("7th");
}
}
Instance of Symbol 295 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 10;
_root.gotoAndStop("7th");
}
}
Instance of Symbol 295 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 520;
_root.gotoAndStop("5th");
}
}
Instance of Symbol 295 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 520;
_root.gotoAndStop("5th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte3 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte4 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 31
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b2" in Frame 31
onClipEvent (load) {
if (_root.drm9 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm9 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm9 = false;
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 31
onClipEvent (load) {
if (_root.drm8 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm8 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm8 = false;
}
}
Instance of Symbol 209 MovieClip in Frame 31
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1060 MovieClip "nob2" in Frame 31
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn2 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn2 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn2 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn2 = false;
pl = 0;
}
}
}
}
Instance of Symbol 1253 MovieClip "e5" in Frame 31
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifee < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifee >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
movement();
if (_x > 160) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 35) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte5 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 204 MovieClip "thn2" in Frame 31
onClipEvent (load) {
pl = 1;
rad = 3 + random(50);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
trace("playStatus =" + _root.switchOnThn2);
if ((_root.amitavaplay == true) && (_root.switchOnThn2 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 3 + random(50);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1108 MovieClip "b4" in Frame 31
onClipEvent (load) {
if (_root.drm11 == false) {
this.brk = true;
if (!_root.collectbonus2) {
_root.pum._visible = true;
_root.pum._x = _root.b4._x;
_root.pum._y = _root.b4._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm11 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm11 = false;
}
}
Instance of Symbol 938 MovieClip "eshota" in Frame 31
onClipEvent (load) {
_root.dist = 15;
if (String(_name) != "eshota") {
_rotation = -150;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e5._x;
_y = (_root.e5._y - 30);
_root.knifeNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 283 MovieClip "b1" in Frame 31
onClipEvent (load) {
if (_root.drm10 == false) {
this.brk = true;
if (!_root.amitavakey2) {
_root.doorkey._visible = true;
_root.doorkey._x = _root.b1._x;
_root.doorkey._y = _root.b1._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm10 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm10 = false;
}
}
Instance of Symbol 286 MovieClip "doorkey" in Frame 31
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.amitavakey2 = true;
pl = 0;
}
}
}
Instance of Symbol 1136 MovieClip "pum" in Frame 31
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.sco = _root.sco + 100;
_root.collectbonus2 = true;
pl = 0;
}
}
}
Instance of Symbol 295 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 520;
_root.gotoAndStop("6th");
}
}
Instance of Symbol 295 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.knifeNum);
_root.bubMC._x = 520;
_root.gotoAndStop("6th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte5 = true;
pl = 0;
}
} else {
_root.alerte5 = false;
pl = 1;
}
}
Instance of Symbol 295 MovieClip in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = true;
}
}
Instance of Symbol 295 MovieClip in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = false;
}
}
Instance of Symbol 295 MovieClip in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = true;
}
}
Instance of Symbol 295 MovieClip "siri1" in Frame 31
onClipEvent (load) {
_visible = false;
}
Frame 39
var spark = false;
var sparkh = false;
var enemy = true;
var attkhero = false;
var enemylife = 20;
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
if (_root.timeInterval == null) {
_root.timeNum = 0;
_root.timeInterval = setInterval(updateTime, 1000);
}
Instance of Symbol 189 MovieClip "b1" in Frame 39
onClipEvent (load) {
if (_root.drm3 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm3 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm3 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 39
onClipEvent (load) {
if (_root.drm2 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm2 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm2 = false;
}
}
Instance of Symbol 1266 MovieClip "b4" in Frame 39
onClipEvent (load) {
if (_root.drm14 == false) {
this.brk = true;
if (!_root.collectbhala) {
_root.bhala._visible = true;
_root.bhala._x = _root.b4._x;
_root.bhala._y = _root.b4._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm14 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm14 = false;
}
}
Instance of Symbol 204 MovieClip in Frame 39
onClipEvent (load) {
pl = 1;
rad = 2 + random(20);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn2a == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(20);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 209 MovieClip in Frame 39
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1074 MovieClip "b3" in Frame 39
onClipEvent (load) {
if (_root.drm4 == false) {
this.brk = true;
if ((!_root.collectlife3) && (_root.grablife3 == false)) {
_root.life._visible = true;
_root.life._x = _root.b3._x;
_root.life._y = _root.b3._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm4 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm4 = false;
}
}
Instance of Symbol 1317 MovieClip "warrior1" in Frame 39
onClipEvent (load) {
if (_root.enemylifea == false) {
inj = true;
this.gotoAndStop(67);
}
}
onClipEvent (enterFrame) {
if (_root.enemylifea == true) {
if (_root.enemylife > 0) {
if (_root.amitavaplay == true) {
if (_root.attkhero == true) {
if (_root.enemylife > 0) {
if (((_root.bubMC._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.oppDirection = false;
_root.enemyLeft = true;
} else if (((_root.bubMC._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.oppDirection = true;
_root.enemyLeft = false;
}
if ((((_x > (_root.bubMC._x + 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 45)) || (_x >= (_root.bubMC._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
if (this.shooting_clip.sword_clip.hitTest(_root.bubMC.bodys) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if ((_root.heroBlock == false) && (_root.Fight)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
_root.trca = true;
}
} else {
this.gotoAndStop(1);
_root.trcb = true;
}
}
}
}
Instance of Symbol 1076 MovieClip "life" in Frame 39
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.collectlife3 = true;
_root.grablife3 = true;
_root.life_IC.gotoAndStop(5);
pl = 0;
}
}
}
Instance of Symbol 1327 MovieClip "b5" in Frame 39
onClipEvent (load) {
if (_root.drm1 == false) {
this.brk = true;
if (!_root.amitavakey3) {
_root.doorkeya._visible = true;
_root.doorkeya._x = _root.b5._x;
_root.doorkeya._y = _root.b5._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm1 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm1 = false;
}
}
Instance of Symbol 286 MovieClip "doorkeya" in Frame 39
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.amitavakey3 = true;
pl = 0;
}
}
}
Instance of Symbol 1330 MovieClip "bhala" in Frame 39
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.collectbhala = true;
pl = 0;
}
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 39
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
trace(_root.enemyHit);
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.enemyHit = false;
_root.attkhero = true;
_root.warrior1.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 295 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
_root.attkhero = true;
_root.gotoAndStop("9th");
}
}
Instance of Symbol 295 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
_root.gotoAndStop("9th");
}
}
Frame 41
var spark = false;
var sparkh = false;
var enemyHit = false;
var enemylife = 30;
var enemylife2nd = 30;
var enemy = true;
var attkheroa = false;
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b1" in Frame 41
onClipEvent (load) {
if (_root.drm5 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm5 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm5 = false;
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 41
onClipEvent (load) {
if (_root.drm7 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm7 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm7 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 41
onClipEvent (load) {
if (_root.drm6 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm6 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm6 = false;
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 41
onClipEvent (load) {
if (_root.drm9 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm9 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm9 = false;
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 41
onClipEvent (load) {
if (_root.drm8 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm8 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm8 = false;
}
}
Instance of Symbol 209 MovieClip in Frame 41
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == 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)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1336 MovieClip "warrior1" in Frame 41
onClipEvent (load) {
if (_root.enemylifeb == false) {
inj = true;
this.gotoAndStop(67);
}
}
onClipEvent (enterFrame) {
if (_root.enemylifeb == true) {
if (_root.enemylife > 0) {
if (_root.amitavaplay == true) {
if (_root.attkhero == true) {
if (_root.enemylife > 0) {
if (((_root.bubMC._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.oppDirection = true;
_root.enemyLeft = true;
} else if (((_root.bubMC._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.oppDirection = false;
_root.enemyLeft = false;
}
if ((((_x > (_root.bubMC._x + 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 45)) || (_x >= (_root.bubMC._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
if (this.shooting_clip.sword_clip.hitTest(_root.bubMC.bodys) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if ((_root.heroBlock == false) && (_root.Fight)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
_root.trca = true;
}
} else {
this.gotoAndStop(1);
_root.trcb = true;
}
}
}
}
Instance of Symbol 1349 MovieClip "warrior2" in Frame 41
onClipEvent (load) {
if (_root.enemylifec == false) {
inj = true;
this.gotoAndStop(67);
}
}
onClipEvent (enterFrame) {
if (_root.enemylifec == true) {
if (_root.enemylife2nd > 0) {
if (_root.amitavaplay == true) {
if (_root.attkheroa == true) {
if (_root.enemylife2nd > 0) {
if (((_root.bubMC._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.bubMC._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.bubMC._x + 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 45)) || (_x >= (_root.bubMC._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
if (this.shooting_clip.sword_clip.hitTest(_root.bubMC.bodys) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if ((_root.heroBlock == false) && (_root.Fight)) {
trace("heroBlock =" + _root.heroBlock);
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
_root.trca = true;
}
} else {
this.gotoAndStop(1);
_root.trcb = true;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
_root.gotoAndStop("10th");
}
}
Instance of Symbol 295 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
_root.gotoAndStop("10th");
}
}
Instance of Symbol 295 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
_root.gotoAndStop("8th");
}
}
Instance of Symbol 295 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
_root.gotoAndStop("8th");
}
}
Instance of Symbol 1353 MovieClip "ground1" in Frame 41
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
trace(_root.attkhero);
if (pl == 1) {
_root.enemyHit = false;
_root.attkhero = true;
_root.warrior1.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 41
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.enemyHit = false;
_root.attkheroa = true;
_root.warrior2.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 295 MovieClip "siri1" in Frame 41
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1353 MovieClip "ground1_1" in Frame 41
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
trace(_root.attkhero);
if (pl == 1) {
_root.enemyHit = false;
_root.attkhero = true;
_root.warrior1.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2_1" in Frame 41
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.enemyHit = false;
_root.attkheroa = true;
_root.warrior2.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Frame 44
var spark = false;
var sparkh = false;
var enemyHit = false;
var enemylife = 50;
var enemylife2nd = 40;
var enemy = true;
var attkhero = false;
var attkheroa = false;
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b3" in Frame 44
onClipEvent (load) {
if (_root.drm12 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm12 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm12 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 44
onClipEvent (load) {
if (_root.drm11 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm11 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm11 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 44
onClipEvent (load) {
if (_root.drm10 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm10 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm10 = false;
}
}
Instance of Symbol 1087 MovieClip in Frame 44
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC.body) && (_root.amitavakey3 == true)) {
_root.JumpFactor = false;
if (pl == 1) {
if (Key.isDown(65)) {
_root.animation = true;
_root.Movementfactor = false;
_root.bubMC.injuri = false;
this.gotoAndStop(2);
pl = 0;
}
}
} else {
_root.JumpFactor = true;
}
}
Instance of Symbol 209 MovieClip in Frame 44
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn4 == 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)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1060 MovieClip in Frame 44
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn2a == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn2a == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn2a)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn2a = false;
pl = 0;
}
}
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 44
onClipEvent (load) {
if (_root.drm13 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm13 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm13 = false;
}
}
Instance of Symbol 1363 MovieClip "warrior1" in Frame 44
onClipEvent (load) {
if (_root.enemylifed == false) {
inj = true;
this.gotoAndStop(67);
}
}
onClipEvent (enterFrame) {
if (_root.enemylifed > 0) {
if (_root.enemylife > 0) {
if (_root.amitavaplay == true) {
if (_root.attkhero == true) {
if (_root.enemylife > 0) {
if (((_root.bubMC._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.oppDirection = true;
_root.enemyLeft = true;
} else if (((_root.bubMC._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.oppDirection = false;
_root.enemyLeft = false;
}
if ((((_x > (_root.bubMC._x + 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 45)) || (_x >= (_root.bubMC._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
if (this.shooting_clip.sword_clip.hitTest(_root.bubMC.bodys) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if ((_root.heroBlock == false) && (_root.Fight)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
_root.trca = true;
}
} else {
this.gotoAndStop(1);
_root.trcb = true;
}
}
}
}
Instance of Symbol 1365 MovieClip "warrior2" in Frame 44
onClipEvent (load) {
if (_root.enemylifee == false) {
inj = true;
this.gotoAndStop(67);
}
}
onClipEvent (enterFrame) {
if (_root.enemylifee > 0) {
if (_root.enemylife2nd > 0) {
if (_root.amitavaplay == true) {
if (_root.attkheroa == true) {
if (_root.enemylife2nd > 0) {
if (((_root.bubMC._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.bubMC._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.bubMC._x + 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 40)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 45)) || (_x >= (_root.bubMC._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
if (this.shooting_clip.sword_clip.hitTest(_root.bubMC.bodys) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if ((_root.heroBlock == false) && (_root.Fight)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
_root.trca = true;
}
} else {
this.gotoAndStop(1);
_root.trcb = true;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
_root.gotoAndStop("9th");
}
}
Instance of Symbol 295 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
_root.gotoAndStop("9th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 44
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.enemyHit = false;
_root.attkhero = true;
_root.warrior1.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 44
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.enemyHit = false;
_root.attkheroa = true;
_root.warrior2.stand.play();
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 295 MovieClip in Frame 44
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.attkhero = true;
}
}
Frame 51
this.stageMC.limitMC._visible = false;
countBullet = this.bubMC.shotCount;
_root.movementFactor = true;
_root.jumpFactor = false;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
fscommand ("allowscale", false);
Stage.showMenu = false;
if (_root.timeInterval == null) {
_root.timeNum = 0;
_root.timeInterval = setInterval(updateTime, 1000);
}
Instance of Symbol 1087 MovieClip in Frame 51
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC.body) && (_root.amitavakey4 == true)) {
_root.JumpFactor = false;
if (pl == 1) {
if (Key.isDown(65)) {
_root.animation = true;
_root.Movementfactor = false;
this.gotoAndStop(2);
pl = 0;
}
}
} else {
_root.JumpFactor = true;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 51
onClipEvent (load) {
if (_root.drm2 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm2 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm2 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 51
onClipEvent (load) {
if (_root.drm1 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm1 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm1 = false;
}
}
Instance of Symbol 1428 MovieClip "e2" in Frame 51
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifeb < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifeb >= 0)) {
if ((this.hitTest(_root.bubMC.body) && (inj == false)) && (_root.bubMC.die == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 240) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 10) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte1 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 1450 MovieClip "e1" in Frame 51
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifea < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifea >= 0)) {
if ((this.hitTest(_root.bubMC.body) && (inj == false)) && (_root.bubMC.die == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 320) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte2 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 300) + 3100);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 946 MovieClip "eshota" in Frame 51
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshota") {
_rotation = 14;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e1._x;
_y = (_root.e1._y - 30);
_root.bhalaNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this.br._x - 12, this.br._y, true)) {
removeMovieClip(this);
}
if (this.br.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 946 MovieClip "eshotb" in Frame 51
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshotb") {
_rotation = 165;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e2._x;
_y = (_root.e2._y - 30);
_root.bhalaNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
removeMovieClip(this);
}
if (this.br.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1074 MovieClip "b3" in Frame 51
onClipEvent (load) {
if (_root.drm3 == false) {
this.brk = true;
if ((!_root.collectlife4) && (_root.grablife4 == false)) {
_root.life._visible = true;
_root.life._x = _root.b3._x;
_root.life._y = _root.b3._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm3 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm3 = false;
}
}
Instance of Symbol 1076 MovieClip "life" in Frame 51
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.collectlife4 = true;
_root.grablife4 = true;
_root.life_IC.gotoAndStop(5);
pl = 0;
}
}
}
Instance of Symbol 1460 MovieClip "b5" in Frame 51
onClipEvent (load) {
if (_root.drm12 == false) {
this.brk = true;
if (!_root.collectgun) {
_root.gun._visible = true;
_root.gun._x = _root.b5._x;
_root.gun._y = _root.b5._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm12 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm12 = false;
}
}
Instance of Symbol 1463 MovieClip "gun" in Frame 51
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.collectgun = true;
pl = 0;
}
}
}
Instance of Symbol 204 MovieClip "thn1" in Frame 51
onClipEvent (load) {
pl = 1;
rad = 2 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(10);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 10;
_root.gotoAndStop("12th");
}
}
Instance of Symbol 295 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 10;
_root.gotoAndStop("12th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 51
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte1 = true;
pl = 0;
}
} else {
_root.alerte1 = false;
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 51
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte2 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 53
this.stageMC.limitMC._visible = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
fscommand ("allowscale", false);
Stage.showMenu = false;
Instance of Symbol 1060 MovieClip "nob2" in Frame 53
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn2 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn2 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchonThn2)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn2 = false;
pl = 0;
}
}
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 53
onClipEvent (load) {
if (_root.drm6 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm6 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm6 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 53
onClipEvent (load) {
if (_root.drm5 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm5 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm5 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 53
onClipEvent (load) {
if (_root.drm4 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm4 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm4 = false;
}
}
Instance of Symbol 1477 MovieClip "e3" in Frame 53
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifec < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifec >= 0)) {
if ((this.hitTest(_root.bubMC.body) && (inj == false)) && (_root.bubMC.die == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 230) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 10) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte3 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 1479 MovieClip "e4" in Frame 53
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifed < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifed >= 0)) {
if ((this.hitTest(_root.bubMC.body) && (inj == false)) && (_root.bubMC.die == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 300) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte4 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 946 MovieClip "eshota" in Frame 53
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshota") {
_rotation = 14;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e4._x;
_y = (_root.e4._y - 30);
_root.bhalaNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation - 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation - 4);
}
this._y = this._y - vel_y;
this._x = this._x - vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.br.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 946 MovieClip "eshotb" in Frame 53
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshotb") {
_rotation = 165;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e3._x;
_y = (_root.e3._y - 30);
_root.bhalaNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.br.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1060 MovieClip "nob1" in Frame 53
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn1 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn1 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn1 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn1 = false;
pl = 0;
}
}
}
}
Instance of Symbol 209 MovieClip in Frame 53
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = random(200);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 10;
_root.gotoAndStop("13th");
}
}
Instance of Symbol 295 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 10;
_root.gotoAndStop("13th");
}
}
Instance of Symbol 295 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 520;
_root.gotoAndStop("11th");
}
}
Instance of Symbol 295 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 520;
_root.gotoAndStop("11th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 53
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte3 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground4" in Frame 53
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte4 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 55
this.stageMC.limitMC._visible = false;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
fscommand ("allowscale", false);
Stage.showMenu = false;
Instance of Symbol 189 MovieClip "b3" in Frame 55
onClipEvent (load) {
if (_root.drm9 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm9 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm9 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 55
onClipEvent (load) {
if (_root.drm8 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm8 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm8 = false;
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 55
onClipEvent (load) {
if (_root.drm7 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm7 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm7 = false;
}
}
Instance of Symbol 1485 MovieClip "e5" in Frame 55
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifee < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(100);
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifee >= 0)) {
if ((this.hitTest(_root.bubMC.body) && (inj == false)) && (_root.bubMC.die == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 200) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 10) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte5 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, (shotCount % 350) + 3150);
shotTimer = random(100);
this.Throw = true;
}
shotTimer--;
}
}
}
Instance of Symbol 946 MovieClip "eshotb" in Frame 55
onClipEvent (load) {
_root.dist = 12;
if (String(_name) != "eshotb") {
_rotation = 165;
vel_y = 0;
vel_x = 0;
jumping = false;
_x = _root.e5._x;
_y = (_root.e5._y - 30);
_root.bhalaNum = this;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
if (!jumping) {
vel_y = 10;
vel_x = _root.dist;
jumping = true;
}
if (jumping) {
vel_y = vel_y - 1;
_rotation = (_rotation + 4);
if (vel_y <= -10) {
vel_y = -10;
_rotation = (_rotation + 4);
}
this._y = this._y - vel_y;
this._x = this._x + vel_x;
}
}
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground1)) {
removeMovieClip(this);
}
if (this.hitTest(_root.ground2)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this.br.hitTest(_root.bubMC.body) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
Instance of Symbol 1108 MovieClip "b4" in Frame 55
onClipEvent (load) {
if (_root.drm10 == false) {
this.brk = true;
if (!_root.collectbonus4) {
_root.pum._visible = true;
_root.pum._x = _root.b4._x;
_root.pum._y = _root.b4._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm10 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm10 = false;
}
}
Instance of Symbol 1136 MovieClip "pum" in Frame 55
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.sco = _root.sco + 100;
_root.collectbonus4 = true;
pl = 0;
}
}
}
Instance of Symbol 283 MovieClip "b1" in Frame 55
onClipEvent (load) {
if (_root.drm11 == false) {
this.brk = true;
if (!_root.amitavakey4) {
_root.doorkey._visible = true;
_root.doorkey._x = _root.b1._x;
_root.doorkey._y = _root.b1._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm11 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm11 = false;
}
}
Instance of Symbol 286 MovieClip "doorkey" in Frame 55
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.amitavakey4 = true;
pl = 0;
}
}
}
Instance of Symbol 204 MovieClip "thn2" in Frame 55
onClipEvent (load) {
pl = 1;
rad = 2 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn2 == true)) {
count++;
if (count == rad) {
if (pl == 1) {
this.play();
count = 0;
rad = 2 + random(10);
pl = 0;
}
} else {
pl = 1;
}
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 520;
_root.gotoAndStop("12th");
}
}
Instance of Symbol 295 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
removeMovieClip(_root.bhalaNum);
_root.bubMC._x = 520;
_root.gotoAndStop("12th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 55
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte5 = true;
pl = 0;
}
} else {
_root.alerte5 = false;
pl = 1;
}
}
Instance of Symbol 295 MovieClip "siri1" in Frame 55
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 295 MovieClip in Frame 55
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = true;
}
}
Instance of Symbol 295 MovieClip in Frame 55
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = false;
}
}
Instance of Symbol 295 MovieClip in Frame 55
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte5 = true;
}
}
Frame 62
fscommand ("allowscale", false);
Stage.showMenu = false;
this.stageMC.limitMC._visible = false;
countGun = this.bubMC.d;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countGun) {
_root["newb" + i].unloadMovie();
i++;
}
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
if (_root.timeInterval == null) {
_root.timeNum = 0;
_root.timeInterval = setInterval(updateTime, 1000);
}
Instance of Symbol 1493 MovieClip in Frame 62
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 62
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 62
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 62
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 62
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn1 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 62
onClipEvent (load) {
if (_root.drm5 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm5 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm5 = false;
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 62
onClipEvent (load) {
if (_root.drm3 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm3 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm3 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 62
onClipEvent (load) {
if (_root.drm2 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm2 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm2 = false;
}
}
Instance of Symbol 1548 MovieClip "e1" in Frame 62
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifea < 0) {
inj = true;
this.gotoAndStop(7);
}
shotCount = 500;
shotTimer = random(20);
life = 3;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifea >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = -100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 220) {
ri = 0;
lef = 1;
attack = false;
}
if (_x < 60) {
lef = 0;
ri = 1;
attack = true;
}
if ((attack == true) && (_root.alerte1 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = -100;
this.gotoAndStop("thro");
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, shotCount);
shotTimer = random(20);
this.Throw = true;
}
shotTimer--;
if (shotCount > 600) {
shotCount = 500;
}
}
}
}
Instance of Symbol 942 MovieClip "eshotb" in Frame 62
onClipEvent (load) {
if (String(_name) != "eshotb") {
_x = _root.e1._x;
_y = (_root.e1._y - 30);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
_x = (_x + 15);
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if ((this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) && (_root.climbStatus != true)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
if (this._x < -10) {
removeMovieClip(this);
}
if (this._x > 600) {
removeMovieClip(this);
}
}
}
Instance of Symbol 1558 MovieClip "b4" in Frame 62
onClipEvent (load) {
if (_root.drm4 == false) {
this.brk = true;
if ((!_root.collectlife5) && (!_root.grablife5)) {
_root.life._visible = true;
_root.life._x = _root.b4._x;
_root.life._y = _root.b4._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm4 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm4 = false;
}
}
Instance of Symbol 1076 MovieClip "life" in Frame 62
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
_root.mc_doorKeySound.gotoAndPlay(2);
this._visible = false;
_root.collectlife5 = true;
_root.grablife5 = true;
_root.life_IC.gotoAndStop(5);
pl = 0;
}
}
}
Instance of Symbol 283 MovieClip "b1" in Frame 62
onClipEvent (load) {
if (_root.drm1 == false) {
this.brk = true;
if (!_root.amitavakey5) {
_root.doorkey._visible = true;
_root.doorkey._x = _root.b1._x;
_root.doorkey._y = _root.b1._y;
}
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm1 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm1 = false;
}
}
Instance of Symbol 209 MovieClip in Frame 62
onClipEvent (load) {
this.br._visible = false;
pl = 1;
rad = 2 + random(200);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1060 MovieClip "nob2" in Frame 62
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn3 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn3 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn3 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn3 = false;
pl = 0;
}
}
}
}
Instance of Symbol 286 MovieClip "doorkey" in Frame 62
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if (pl == 1) {
this._visible = false;
_root.mc_doorKeySound.gotoAndPlay(2);
_root.amitavakey5 = true;
pl = 0;
}
}
}
Instance of Symbol 295 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("15th");
}
}
Instance of Symbol 295 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
_root.climbStatus = false;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("15th");
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 62
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte1 = true;
pl = 0;
}
} else {
_root.alerte1 = false;
pl = 1;
}
}
Instance of Symbol 295 MovieClip "siri1" in Frame 62
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 295 MovieClip in Frame 62
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
_root.alerte1 = true;
}
}
Frame 64
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countGun = this.bubMC.d;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countGun) {
_root["newb" + i].unloadMovie();
i++;
}
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b1" in Frame 64
onClipEvent (load) {
if (_root.drm6 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm6 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm6 = false;
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 64
onClipEvent (load) {
if (_root.drm8 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm8 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm8 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 64
onClipEvent (load) {
if (_root.drm7 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm7 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm7 = false;
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 64
onClipEvent (load) {
if (_root.drm10 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm10 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm10 = false;
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 64
onClipEvent (load) {
if (_root.drm9 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm9 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm9 = false;
}
}
Instance of Symbol 1584 MovieClip "e3" in Frame 64
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifec < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(20);
shotCount = 500;
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifec >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 324) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte3 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, shotCount);
shotTimer = random(20);
this.Throw = true;
}
shotTimer--;
if (shotCount > 600) {
shotCount = 500;
}
}
}
}
Instance of Symbol 1589 MovieClip "e2" in Frame 64
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifeb < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(20);
shotCount = 500;
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifeb >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 300) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte2 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, shotCount);
shotTimer = random(20);
this.Throw = true;
}
shotTimer--;
if (shotCount > 600) {
shotCount = 500;
}
}
}
}
Instance of Symbol 942 MovieClip "eshotb" in Frame 64
onClipEvent (load) {
if (String(_name) != "eshotb") {
_x = _root.e2._x;
_y = (_root.e2._y - 30);
_root.mc_bulletSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
_x = (_x - 15);
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this._x < -10) {
removeMovieClip(this);
}
if (this._x > 600) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
}
Instance of Symbol 942 MovieClip "eshota" in Frame 64
onClipEvent (load) {
if (String(_name) != "eshota") {
_x = _root.e3._x;
_y = (_root.e3._y - 30);
_root.mc_bulletSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
_x = (_x - 15);
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this._x < -10) {
removeMovieClip(this);
}
if (this._x > 600) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
}
Instance of Symbol 209 MovieClip in Frame 64
onClipEvent (load) {
pl = 1;
rad = random(50);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("16th");
}
}
Instance of Symbol 295 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 10;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("16th");
}
}
Instance of Symbol 295 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("14th");
}
}
Instance of Symbol 295 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("14th");
}
}
Instance of Symbol 297 MovieClip "ground2" in Frame 64
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte2 = true;
pl = 0;
}
} else {
_root.alerte2 = false;
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground3" in Frame 64
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte3 = true;
pl = 0;
}
} else {
_root.alerte3 = false;
pl = 1;
}
}
Frame 66
this.stageMC.limitMC._visible = false;
fscommand ("allowscale", false);
Stage.showMenu = false;
countGun = this.bubMC.d;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countGun) {
_root["newb" + i].unloadMovie();
i++;
}
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Instance of Symbol 189 MovieClip "b3" in Frame 66
onClipEvent (load) {
if (_root.drm13 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm13 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm13 = false;
}
}
Instance of Symbol 189 MovieClip "b2" in Frame 66
onClipEvent (load) {
if (_root.drm12 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm12 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm12 = false;
}
}
Instance of Symbol 189 MovieClip "b1" in Frame 66
onClipEvent (load) {
if (_root.drm11 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm11 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm11 = false;
}
}
Instance of Symbol 1595 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.br.hitTest(_root.bubMC.body) && (_root.amitavakey5 == true)) {
_root.JumpFactor = false;
if (pl == 1) {
if (Key.isDown(65)) {
_root.animation = true;
_root.Movementfactor = false;
this.gotoAndStop(2);
pl = 0;
}
}
} else {
_root.JumpFactor = true;
}
}
Instance of Symbol 189 MovieClip "b4" in Frame 66
onClipEvent (load) {
if (_root.drm14 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm14 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm14 = false;
}
}
Instance of Symbol 189 MovieClip "b5" in Frame 66
onClipEvent (load) {
if (_root.drm15 == false) {
this.brk = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.drm15 == false) {
this.brk = true;
}
if (this.brk == true) {
_root.drm15 = false;
}
}
Instance of Symbol 1060 MovieClip "nob1" in Frame 66
onClipEvent (load) {
pl = 1;
if (_root.switchOnThn1 == true) {
this.gotoAndStop(1);
} else if (_root.switchOnThn1 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.switchArea.hitTest(_root.bubMC.hitarea2) && (_root.switchOnThn1 == true)) {
if (Key.isDown(65)) {
if (pl == 1) {
this.gotoAndStop(2);
_root.switchOnThn1 = false;
pl = 0;
}
}
}
}
Instance of Symbol 1614 MovieClip "e4" in Frame 66
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifed < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(10);
shotCount = 500;
life = 3;
kill = 1;
attack = true;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifed >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 300) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte4 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshotb, "eshotb" + shotCount, shotCount);
shotTimer = random(10);
this.Throw = true;
}
shotTimer--;
if (shotCount > 600) {
shotCount = 500;
}
}
}
}
Instance of Symbol 1630 MovieClip "e5" in Frame 66
onClipEvent (load) {
function movement() {
var _local1 = this;
if (((ri == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = -100;
_x = (_x + 2);
_local1.gotoAndStop(2);
} else if (((lef == 1) && (inj == false)) && (_local1.Throw == false)) {
_xscale = 100;
_x = (_x - 2);
_local1.gotoAndStop(2);
}
}
if (_root.enemylifee < 0) {
inj = true;
this.gotoAndStop(7);
}
shotTimer = random(20);
shotCount = 500;
life = 5;
kill = 1;
attack = false;
ri = 0;
lef = 1;
sht = 0;
inj = this.inj;
}
onClipEvent (enterFrame) {
inj = this.inj;
if ((_root.amitavaplay == true) && (_root.enemylifee >= 0)) {
if (this.hitTest(_root.bubMC.body) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
if ((_root.swordMode == true) && (_root.bubMC.die == false)) {
if (this.hitTest(_root.bubMC) && (inj == false)) {
if (kill == 1) {
this._xscale = 100;
attack = false;
ri = 0;
lef = 0;
inj = true;
this.gotoAndStop(6);
_root.bubMC.die = true;
_root.amitavalife = 0;
_root.bubMC.inj = true;
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("die");
kill = 0;
}
}
}
movement();
if (_x > 500) {
ri = 0;
lef = 1;
attack = true;
}
if (_x < 324) {
lef = 0;
ri = 1;
attack = false;
}
if ((attack == true) && (_root.alerte5 == true)) {
if ((shotTimer <= 0) && (inj == false)) {
_xscale = 100;
this.gotoAndStop("thro");
_root.b.start();
shotCount++;
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, shotCount);
shotTimer = random(20);
this.Throw = true;
}
shotTimer--;
if (shotCount > 600) {
shotCount = 500;
}
}
}
}
Instance of Symbol 942 MovieClip "eshotb" in Frame 66
onClipEvent (load) {
if (String(_name) != "eshotb") {
_x = _root.e4._x;
_y = (_root.e4._y - 30);
_root.mc_bulletSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshotb") {
_x = (_x - 15);
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this._x < -10) {
removeMovieClip(this);
}
if (this._x > 600) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
}
Instance of Symbol 942 MovieClip "eshota" in Frame 66
onClipEvent (load) {
if (String(_name) != "eshota") {
_x = _root.e5._x;
_y = (_root.e5._y - 30);
_root.mc_bulletSound.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "eshota") {
_x = (_x - 15);
if (this.hitTest(_root.ground)) {
removeMovieClip(this);
}
if (_root.stageMC.limitMC.hitTest(this._x - 12, this._y, true)) {
removeMovieClip(this);
}
if (this._x < -10) {
removeMovieClip(this);
}
if (this._x > 600) {
removeMovieClip(this);
}
if (this.hitTest(_root.bubMC) && (_root.bubMC.die == false)) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("hit");
removeMovieClip(this);
}
}
}
Instance of Symbol 1493 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 1493 MovieClip in Frame 66
onClipEvent (load) {
pl = 1;
rad = 5 + random(10);
count = 0;
hit = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.switchOnThn3 == true)) {
this.play();
if (this.tr.hitTest(_root.bubMC.body)) {
if (hit == 1) {
_root.Cutter = true;
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.b.start();
_root.bubMC.gotoAndStop("die");
hit = 0;
}
}
}
}
Instance of Symbol 295 MovieClip in Frame 66
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("15th");
}
}
Instance of Symbol 295 MovieClip in Frame 66
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.bodys)) {
_root.bubMC._x = 520;
i = 500;
while (i < 550) {
var clipName1 = _root["eshotb" + i];
clipName1.removeMovieClip();
var clipName2 = _root["eshota" + i];
clipName2.removeMovieClip();
i++;
}
_root.gotoAndStop("15th");
}
}
Instance of Symbol 297 MovieClip "ground5" in Frame 66
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.alerte5 = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 297 MovieClip "ground1" in Frame 66
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.foot)) {
if (pl == 1) {
_root.alerte4 = true;
pl = 0;
}
} else {
_root.alerte4 = false;
pl = 1;
}
}
Frame 68
fscommand ("allowscale", false);
Stage.showMenu = false;
countGun = this.bubMC.d;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countGun) {
_root["newb" + i].unloadMovie();
i++;
}
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Frame 70
fscommand ("allowscale", false);
Stage.showMenu = false;
countGun = this.bubMC.d;
countBullet = this.bubMC.shotCount;
i = 0;
while (i <= countGun) {
_root["newb" + i].unloadMovie();
i++;
}
i = 0;
while (i <= countBullet) {
_root["eshota" + i].unloadMovie();
_root["eshotb" + i].unloadMovie();
_root["shota" + i].unloadMovie();
_root["shot" + i].unloadMovie();
_root["bshota" + i].unloadMovie();
_root["bshot" + i].unloadMovie();
_root["kshota" + i].unloadMovie();
_root["kshot" + i].unloadMovie();
i++;
}
Frame 73
stop();
Symbol 70 MovieClip Frame 95
stop();
Symbol 86 MovieClip Frame 201
stop();
_root.animationCompleted = true;
Instance of Symbol 91 MovieClip "bar_mc" in Symbol 92 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Symbol 1728 MovieClip Frame 1
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
Symbol 21 MovieClip Frame 14
stop();
Symbol 26 MovieClip [am] Frame 1
var ssc = "amitavagame";
Symbol 27 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 28 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 29 Button
on (press) {
_root.gotoAndPlay(15);
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 20
stop();
Symbol 133 Button
on (release) {
getURL ("http://www.flasharcade.com", "_blank");
}
Symbol 137 Button
on (release) {
getURL ("http://www.flasharcade.com/flash-games/", "_blank");
}
Symbol 141 Button
on (press) {
_root.gotoAndStop(6);
}
Symbol 144 Button
on (press) {
_root.gotoAndPlay("submitScore");
}
Symbol 152 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 167 Button
on (press) {
_root.letter._visible = false;
_root.butt_mc._visible = false;
}
Symbol 173 Button
on (press) {
_root.letter._visible = false;
_root.butt_mc._visible = false;
}
Symbol 187 MovieClip Frame 1
_parent.brk = true;
Symbol 187 MovieClip Frame 10
stop();
Symbol 189 MovieClip Frame 1
stop();
brk = false;
Symbol 204 MovieClip Frame 1
stop();
Instance of Symbol 203 MovieClip "tr" in Symbol 204 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 203 MovieClip "tr" in Symbol 209 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Symbol 248 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 252 MovieClip Frame 15
_parent.inj = false;
Symbol 252 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 263 MovieClip Frame 6
_root.switchOnThn1 = true;
Symbol 263 MovieClip Frame 7
_root.sco = _root.sco + 100;
Symbol 263 MovieClip Frame 40
stop();
Symbol 272 MovieClip Frame 20
stop();
Symbol 273 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 273 MovieClip Frame 2
Throw = false;
Symbol 281 MovieClip Frame 9
_root.doorkey._x = _root.b1._x;
_root.doorkey._y = _root.b1._y - 20;
_parent.brk = true;
Symbol 281 MovieClip Frame 10
stop();
Symbol 283 MovieClip Frame 1
stop();
brk = false;
Symbol 316 MovieClip Frame 1
_root.bubMC.shoot = 0;
Symbol 343 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 11
stop();
Symbol 583 MovieClip Frame 11
stop();
Symbol 604 MovieClip Frame 1
if (_root.gunMode) {
play();
} else {
stop();
}
Symbol 604 MovieClip Frame 2
_root.bubMC.jor = 0;
_root.power._width = 0;
Symbol 604 MovieClip Frame 14
_root.bubMC.jor = 0;
Symbol 604 MovieClip Frame 15
_root.hbar._width = _root.hbar._width - 10;
_root.amitavalife = _root.amitavalife - 10;
if (_root.amitavalife > 0) {
if (_root.bubMC.climb == false) {
_root.Fight = true;
}
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 622 MovieClip Frame 1
if (_root.bhalaMode) {
play();
} else {
stop();
}
Symbol 622 MovieClip Frame 2
_root.bubMC.jor = 0;
_root.power._width = 0;
Symbol 622 MovieClip Frame 15
_root.hbar._width = _root.hbar._width - 6;
_root.amitavalife = _root.amitavalife - 6;
if (_root.amitavalife > 0) {
if (_root.bubMC.climb == false) {
_root.Fight = true;
}
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 629 MovieClip Frame 1
if (_root.knifeMode) {
play();
} else {
stop();
}
Symbol 629 MovieClip Frame 2
_root.bubMC.jor = 0;
_root.power._width = 0;
Symbol 629 MovieClip Frame 15
_root.hbar._width = _root.hbar._width - 6;
_root.amitavalife = _root.amitavalife - 6;
if (_root.amitavalife > 0) {
if (_root.bubMC.climb == false) {
_root.Fight = true;
}
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 635 MovieClip Frame 1
if (_root.stoneMode) {
play();
} else {
stop();
}
Symbol 635 MovieClip Frame 2
_root.bubMC.jor = 0;
_root.power._width = 0;
Symbol 635 MovieClip Frame 15
_root.hbar._width = _root.hbar._width - 4;
_root.amitavalife = _root.amitavalife - 4;
if (_root.amitavalife > 0) {
if (_root.bubMC.climb == false) {
_root.Fight = true;
}
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 678 MovieClip Frame 11
Symbol 678 MovieClip Frame 12
_parent.gotoAndStop(2);
Symbol 708 MovieClip Frame 25
_parent.gotoAndStop(2);
Symbol 722 MovieClip Frame 12
_parent.Shootstone = true;
Symbol 722 MovieClip Frame 23
_parent.Shootstone = false;
_parent.gotoAndStop(2);
Symbol 728 MovieClip Frame 12
_parent.Shootstone = true;
Symbol 728 MovieClip Frame 28
_parent.gotoAndStop(2);
Symbol 754 MovieClip Frame 40
stop();
Symbol 769 MovieClip Frame 37
stop();
Symbol 785 MovieClip Frame 37
stop();
Symbol 804 MovieClip Frame 37
stop();
Symbol 821 MovieClip Frame 36
_root.gov.play();
_root.amitavaplay = false;
Symbol 821 MovieClip Frame 37
stop();
Symbol 839 MovieClip Frame 12
_root.bubMC.amitgo = 0;
Symbol 847 MovieClip Frame 34
if (_root.amitavalevel == 1) {
_root.gotoAndStop("4th");
} else if (_root.amitavalevel == 5) {
_root.gotoAndStop("roomcreen");
} else {
_root.lev.play();
}
Symbol 847 MovieClip Frame 36
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 6
_root.sparkh = false;
Instance of Symbol 853 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.sparkh == true) {
this.play();
}
}
Symbol 855 MovieClip Frame 6
if (_root.bubMC.block == 0) {
_parent.gotoAndStop(2);
}
Symbol 862 MovieClip Frame 16
_parent.gotoAndStop(2);
Instance of Symbol 336 MovieClip "body" in Symbol 867 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Symbol 867 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 879 MovieClip Frame 10
_parent.gotoAndStop(2);
Instance of Symbol 336 MovieClip "body" in Symbol 888 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Symbol 888 MovieClip Frame 10
_parent.gotoAndStop(2);
Symbol 903 MovieClip Frame 15
_parent.gotoAndStop(2);
Instance of Symbol 336 MovieClip "body" in Symbol 915 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
Symbol 915 MovieClip Frame 15
_parent.gotoAndStop(2);
Symbol 921 MovieClip Frame 1
_parent.injuri = true;
if (_root.attkhero == true) {
if ((_root.warrior1._x > _parent._x) && (_parent._x > 80)) {
_parent._x = _parent._x - 10;
} else if ((_root.warrior1._x < _parent._x) && (_parent._x < 500)) {
_parent._x = _parent._x + 10;
}
} else if (_root.attkheroa == true) {
if ((_root.warrior2._x > _parent._x) && (_parent._x > 80)) {
_parent._x = _parent._x - 10;
} else if ((_root.warrior2._x < _parent._x) && (_parent._x < 500)) {
_parent._x = _parent._x + 10;
}
}
_root.Fight = true;
Symbol 921 MovieClip Frame 8
_root.hbar._width = _root.hbar._width - 10;
_root.amitavalife = _root.amitavalife - 10;
if (_root.amitavalife > 0) {
if (_root.bubMC.climb == false) {
_root.Fight = true;
}
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.bubMC.die = true;
_root.bubMC.injuri = true;
_root.bubMC.inj = true;
_root.bubMC.gotoAndStop("die");
}
Symbol 922 MovieClip Frame 1
stop();
Shootstone = false;
this.gotoAndStop("jumpDown");
Instance of Symbol 311 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 316 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 329 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 332 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 335 MovieClip "bubMC" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 336 MovieClip "body" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 338 MovieClip "foot" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 340 MovieClip "bodys" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 341 MovieClip "back" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_root.oppDirection = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.warrior1.shooting_clip.sword_clip) || (this.hitTest(_root.warrior2.shooting_clip.sword_clip) && (!_root.oppDirection))) {
_root.backhit = true;
} else {
_root.backhit = false;
}
}
Instance of Symbol 342 MovieClip "hitarea2" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 922 MovieClip Frame 2
_root.bubMC.inj = false;
_root.bubMC.injuri = false;
Instance of Symbol 343 MovieClip in Symbol 922 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
_root.move_wait();
_root.jump_wait();
}
}
Instance of Symbol 381 MovieClip in Symbol 922 MovieClip Frame 3
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 391 MovieClip in Symbol 922 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 415 MovieClip in Symbol 922 MovieClip Frame 3
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 422 MovieClip in Symbol 922 MovieClip Frame 3
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 430 MovieClip in Symbol 922 MovieClip Frame 3
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 343 MovieClip in Symbol 922 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 452 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 469 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 486 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 501 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 517 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 343 MovieClip in Symbol 922 MovieClip Frame 4
onClipEvent (load) {
jumpH = -_root.jumpHeight;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
_parent._y = _parent._y + jumpH;
jumpH = jumpH + _root.jumpSpeed;
if (jumpH >= 0) {
_parent.gotoAndStop("jumpDown");
}
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
}
Instance of Symbol 525 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 537 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 551 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 568 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 583 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 343 MovieClip in Symbol 922 MovieClip Frame 5
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if ((_root.amitavaplay == true) && (_root.bubMC.die == false)) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
}
Instance of Symbol 604 MovieClip in Symbol 922 MovieClip Frame 6
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 622 MovieClip in Symbol 922 MovieClip Frame 6
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip in Symbol 922 MovieClip Frame 6
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 635 MovieClip in Symbol 922 MovieClip Frame 6
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 642 MovieClip in Symbol 922 MovieClip Frame 7
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 647 MovieClip in Symbol 922 MovieClip Frame 7
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 652 MovieClip in Symbol 922 MovieClip Frame 7
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 659 MovieClip in Symbol 922 MovieClip Frame 8
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 666 MovieClip in Symbol 922 MovieClip Frame 8
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 673 MovieClip in Symbol 922 MovieClip Frame 8
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 678 MovieClip in Symbol 922 MovieClip Frame 9
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 708 MovieClip in Symbol 922 MovieClip Frame 9
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 722 MovieClip in Symbol 922 MovieClip Frame 9
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 728 MovieClip in Symbol 922 MovieClip Frame 9
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.swordMode == true) && (_root.Cutter == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 769 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.gunMode == true) && (_root.Cutter == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 785 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.bhalaMode == true) && (_root.Cutter == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 804 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.knifeMode == true) && (_root.Cutter == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 821 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.stoneMode == true) && (_root.Cutter == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 821 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.Cutter == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 343 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (_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 839 MovieClip in Symbol 922 MovieClip Frame 11
onClipEvent (enterFrame) {
this.gotoAndStop(_root.bubMC.amitgo);
}
Instance of Symbol 855 MovieClip in Symbol 922 MovieClip Frame 18
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 678 MovieClip in Symbol 922 MovieClip Frame 19
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 329 MovieClip in Symbol 922 MovieClip Frame 19
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 332 MovieClip in Symbol 922 MovieClip Frame 19
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 335 MovieClip "bubMC" in Symbol 922 MovieClip Frame 19
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 862 MovieClip in Symbol 922 MovieClip Frame 20
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 867 MovieClip "sw1" in Symbol 922 MovieClip Frame 20
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 879 MovieClip in Symbol 922 MovieClip Frame 21
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 888 MovieClip "sw2" in Symbol 922 MovieClip Frame 21
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 903 MovieClip in Symbol 922 MovieClip Frame 22
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 915 MovieClip "sw3" in Symbol 922 MovieClip Frame 22
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 921 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.swordMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 604 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gunMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 622 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.bhalaMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knifeMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 635 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.stoneMode == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 343 MovieClip in Symbol 922 MovieClip Frame 23
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
}
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 12
stop();
Symbol 928 MovieClip Frame 1
stop();
Symbol 928 MovieClip Frame 12
stop();
Symbol 930 MovieClip Frame 1
stop();
Symbol 930 MovieClip Frame 12
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 12
stop();
Instance of Symbol 945 MovieClip "br" in Symbol 946 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 948 Button
on (keyPress "1") {
_root.attachMovie("ff", "ff", 10000);
if (((!_root.animation) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
_root.stoneMode = true;
_root.knifeMode = false;
_root.swordMode = false;
_root.bhalaMode = false;
_root.gunMode = false;
_root.bubMC.shootStone = false;
_root.bubMC.gotoAndStop("stand");
_root.stone_IC.gotoAndStop(5);
_root.knife_IC.gotoAndStop(1);
_root.bhala_IC.gotoAndStop(1);
_root.sword_IC.gotoAndStop(1);
_root.gun_IC.gotoAndStop(1);
}
}
on (keyPress "2") {
_root.attachMovie("cl", "cl", 10050);
if ((((_root.collectknife == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
_root.stoneMode = false;
_root.knifeMode = true;
_root.swordMode = false;
_root.bhalaMode = false;
_root.gunMode = false;
_root.bubMC.shootStone = false;
_root.bubMC.gotoAndStop("stand");
_root.stone_IC.gotoAndStop(1);
_root.knife_IC.gotoAndStop(5);
_root.bhala_IC.gotoAndStop(1);
_root.sword_IC.gotoAndStop(1);
_root.gun_IC.gotoAndStop(1);
}
}
on (keyPress "3") {
if ((((_root.collectsword == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
_root.stoneMode = false;
_root.knifeMode = false;
_root.swordMode = true;
_root.bhalaMode = false;
_root.gunMode = false;
_root.bubMC.shootStone = false;
_root.bubMC.gotoAndStop("stand");
_root.stone_IC.gotoAndStop(1);
_root.knife_IC.gotoAndStop(1);
_root.bhala_IC.gotoAndStop(1);
_root.sword_IC.gotoAndStop(5);
_root.gun_IC.gotoAndStop(1);
}
}
on (keyPress "4") {
if ((((_root.collectbhala == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
_root.stoneMode = false;
_root.knifeMode = false;
_root.swordMode = false;
_root.bhalaMode = true;
_root.gunMode = false;
_root.bubMC.shootStone = false;
_root.bubMC.gotoAndStop("stand");
_root.stone_IC.gotoAndStop(1);
_root.knife_IC.gotoAndStop(1);
_root.bhala_IC.gotoAndStop(5);
_root.sword_IC.gotoAndStop(1);
_root.gun_IC.gotoAndStop(1);
}
}
on (keyPress "5") {
if ((((_root.collectgun == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
_root.stoneMode = false;
_root.knifeMode = false;
_root.swordMode = false;
_root.bhalaMode = false;
_root.gunMode = true;
_root.bubMC.shootStone = false;
_root.bubMC.gotoAndStop("stand");
_root.stone_IC.gotoAndStop(1);
_root.knife_IC.gotoAndStop(1);
_root.bhala_IC.gotoAndStop(1);
_root.sword_IC.gotoAndStop(1);
_root.gun_IC.gotoAndStop(5);
}
}
on (keyPress "6") {
if ((((_root.collectlife1 == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
if (_root.hbar._width < 60) {
_root.hbar._width = _root.hbar._width + 40;
_root.amitavalife = _root.amitavalife + 40;
_root.collectlife1 = false;
_root.life_IC.gotoAndStop(1);
} else {
_root.hbar._width = 100;
_root.amitavalife = 100;
_root.collectlife1 = false;
_root.life_IC.gotoAndStop(1);
}
}
if ((((_root.collectlife2 == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
if (_root.hbar._width < 60) {
_root.hbar._width = _root.hbar._width + 40;
_root.amitavalife = _root.amitavalife + 40;
_root.collectlife2 = false;
_root.life_IC.gotoAndStop(1);
} else {
_root.hbar._width = 100;
_root.amitavalife = 100;
_root.collectlife2 = false;
_root.life_IC.gotoAndStop(1);
}
}
if ((((_root.collectlife3 == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
if (_root.hbar._width < 60) {
_root.hbar._width = _root.hbar._width + 40;
_root.amitavalife = _root.amitavalife + 40;
_root.collectlife3 = false;
_root.life_IC.gotoAndStop(1);
} else {
_root.hbar._width = 100;
_root.amitavalife = 100;
_root.collectlife3 = false;
_root.life_IC.gotoAndStop(1);
}
}
if ((((_root.collectlife4 == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
if (_root.hbar._width < 60) {
_root.hbar._width = _root.hbar._width + 40;
_root.amitavalife = _root.amitavalife + 40;
_root.collectlife4 = false;
_root.life_IC.gotoAndStop(1);
} else {
_root.hbar._width = 100;
_root.amitavalife = 100;
_root.collectlife4 = false;
_root.life_IC.gotoAndStop(1);
}
}
if ((((_root.collectlife5 == true) && (!_root.animation)) && (!_root.jumpFlag)) && (!_root.bubMC.injuri)) {
if (_root.hbar._width < 60) {
_root.hbar._width = _root.hbar._width + 40;
_root.amitavalife = _root.amitavalife + 40;
_root.collectlife1 = false;
_root.life_IC.gotoAndStop(1);
} else {
_root.hbar._width = 100;
_root.amitavalife = 100;
_root.collectlife5 = false;
_root.life_IC.gotoAndStop(1);
}
}
}
on (keyPress "7") {
stoneMode = false;
swordMode = false;
gunMode = true;
collectknife = true;
collectbhala = true;
collectsword = true;
collectgun = true;
_root.amitavalevel = 4;
_root.lev.gotoAndPlay(2);
}
Symbol 955 MovieClip Frame 1
stop();
Symbol 958 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 5
stop();
Symbol 967 MovieClip Frame 1
stop();
Symbol 977 MovieClip Frame 1
stop();
Symbol 977 MovieClip Frame 5
stop();
Symbol 980 MovieClip Frame 1
stop();
Symbol 1006 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 1011 Button
on (release) {
_root.score = _root.sco;
_global.ipbSend();
}
Symbol 1025 MovieClip Frame 1
stop();
Symbol 1025 MovieClip Frame 2
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(_root.bg_sound_clip);
_root.gameBGSound.attachSound("lose_sound");
_root.gameBGSound.start(0, 2000);
_root.gameBGSound.setVolume(80);
Symbol 1025 MovieClip Frame 23
_root.amitavaplay = false;
var ssc = _root.sco;
Instance of Symbol 1017 MovieClip in Symbol 1025 MovieClip Frame 23
onClipEvent (load) {
_root.scoreSubmit = false;
}
onClipEvent (enterFrame) {
if (_parent.scoreName.text != "") {
_parent.trans_btn._visible = false;
} else if (_root.scoreSubmit != true) {
_parent.trans_btn.useHandCursor = false;
_parent.trans_btn._visible = true;
}
}
Symbol 1025 MovieClip Frame 25
stop();
Symbol 1047 MovieClip Frame 1
stop();
Symbol 1047 MovieClip Frame 2
_root.gameBGSound.stop();
_root.gameBGSound = null;
Symbol 1047 MovieClip Frame 106
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(_root.bg_sound_clip);
_root.gameBGSound.attachSound("bg_sound");
_root.gameBGSound.start(0, 8000);
_root.gameBGSound.setVolume(80);
_root.animation = false;
_root.bubMC.injuri = false;
_root.bubMC.inj = false;
_root.bubMC.gotoAndPlay(1);
_root.bubMC.reset();
if (_root.amitavalevel == 2) {
i = 1;
while (i <= 15) {
_root["drm" + i] = true;
i++;
}
_root.JumpFactor = true;
_root.Movementfactor = true;
_root.amitavalevel = _root.amitavalevel + 1;
_root.enemylifea = true;
_root.enemylifeb = true;
_root.enemylifec = true;
_root.enemylifed = true;
_root.enemylifee = true;
_root.amitavakey2 = false;
_root.amitavaplay = true;
_root.alerte1 = false;
_root.alerte2 = false;
_root.alerte3 = false;
_root.alerte4 = false;
_root.alerte5 = false;
_root.bubMC.gotoAndPlay(1);
_root.bubMC.reset();
_root.gotoAndStop("8th");
gotoAndStop (1);
} else if (_root.amitavalevel == 3) {
_root.JumpFactor = true;
_root.Movementfactor = true;
i = 1;
while (i <= 15) {
_root["drm" + i] = true;
i++;
}
_root.switchOnThn1 = false;
_root.switchOnThn2 = false;
_root.amitavalevel = _root.amitavalevel + 1;
_root.enemylifea = 4;
_root.enemylifeb = 4;
_root.enemylifec = 4;
_root.enemylifed = 8;
_root.enemylifee = 12;
_root.amitavakey3 = false;
_root.amitavaplay = true;
_root.alerte1 = false;
_root.alerte2 = false;
_root.alerte3 = false;
_root.alerte4 = false;
_root.alerte5 = false;
_root.bubMC.gotoAndPlay(1);
_root.bubMC.reset();
_root.gotoAndStop("11th");
gotoAndStop (1);
} else if (_root.amitavalevel == 4) {
_root.JumpFactor = true;
_root.Movementfactor = true;
i = 1;
while (i <= 15) {
_root["drm" + i] = true;
i++;
}
_root.switchOnThn1 = false;
_root.switchOnThn3 = false;
_root.amitavalevel = _root.amitavalevel + 1;
_root.enemylifea = 8;
_root.enemylifeb = 8;
_root.enemylifec = 8;
_root.enemylifed = 16;
_root.enemylifee = 24;
_root.amitavakey4 = false;
_root.amitavaplay = true;
_root.alerte1 = false;
_root.alerte2 = false;
_root.alerte3 = false;
_root.alerte4 = false;
_root.alerte5 = false;
_root.bubMC.gotoAndPlay(1);
_root.bubMC.reset();
_root.gotoAndStop("14th");
gotoAndStop (1);
}
Symbol 1051 MovieClip Frame 1
stop();
Symbol 1059 MovieClip Frame 10
stop();
Symbol 1060 MovieClip Frame 1
stop();
Instance of Symbol 1057 MovieClip "switchArea" in Symbol 1060 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1061 MovieClip Frame 7
_root.sco = _root.sco + 100;
Symbol 1061 MovieClip Frame 40
stop();
Symbol 1062 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1062 MovieClip Frame 2
Throw = false;
Symbol 1063 MovieClip Frame 8
_root.sco = _root.sco + 100;
Symbol 1063 MovieClip Frame 40
stop();
Symbol 1064 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1064 MovieClip Frame 2
Throw = false;
Symbol 1072 MovieClip Frame 9
_root.life._x = _root.b3._x;
_root.life._y = _root.b3._y;
_parent.brk = true;
Symbol 1072 MovieClip Frame 10
stop();
Symbol 1074 MovieClip Frame 1
stop();
brk = false;
Symbol 1076 MovieClip Frame 1
stop();
Symbol 1076 MovieClip Frame 16
stop();
Symbol 1086 MovieClip Frame 13
_root.amitavaplay = false;
clearInterval(_root.timeInterval);
_root.timeInterval = null;
if (_root.timeNum < 100) {
var bonusNum = (100 - _root.timeNum);
_root.sco = _root.sco + (bonusNum * 30);
} else if (_root.timeNum < 130) {
var bonusNum = (130 - _root.timeNum);
_root.sco = _root.sco + (bonusNum * 10);
}
_root.bubMC.gotoAndStop("goin");
Symbol 1086 MovieClip Frame 14
stop();
Symbol 1087 MovieClip Frame 1
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1087 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1096 MovieClip Frame 9
_root.knife._x = _root.b5._x;
_root.knife._y = _root.b5._y;
_parent.brk = true;
Symbol 1096 MovieClip Frame 10
stop();
Symbol 1098 MovieClip Frame 1
stop();
brk = false;
Symbol 1106 MovieClip Frame 9
_root.pum._x = _root.b4._x;
_root.pum._y = _root.b4._y;
_parent.brk = true;
Symbol 1106 MovieClip Frame 10
stop();
Symbol 1108 MovieClip Frame 1
stop();
brk = false;
Symbol 1113 MovieClip Frame 28
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1116 MovieClip Frame 15
_parent.inj = false;
Symbol 1116 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 1117 MovieClip Frame 7
_root.sco = _root.sco + 100;
Symbol 1117 MovieClip Frame 28
stop();
Symbol 1118 MovieClip Frame 20
stop();
Symbol 1119 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1119 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1126 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1129 MovieClip Frame 15
_parent.inj = false;
Symbol 1129 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 1130 MovieClip Frame 7
_root.sco = _root.sco + 100;
Symbol 1130 MovieClip Frame 29
stop();
Symbol 1131 MovieClip Frame 20
stop();
Symbol 1132 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1132 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1136 MovieClip Frame 20
stop();
Symbol 1143 MovieClip Frame 2
_root.gameBGSound.stop();
_root.gameBGSound = null;
Symbol 1143 MovieClip Frame 128
_root.amitavakey = false;
_root.switchOnThn2 = true;
_root.switchOnThn1 = false;
_root.amitavaplay = true;
_root.enemylifea = 8;
_root.enemylifeb = 2;
_root.enemylifec = 2;
_root.enemylifed = 4;
_root.enemylifee = 6;
_root.amitavalevel = _root.amitavalevel + 1;
_root.alerte1 = false;
_root.alerte2 = false;
_root.alerte3 = false;
_root.alerte4 = false;
_root.alerte5 = false;
_root.JumpFactor = true;
_root.animation = false;
_root.Movementfactor = true;
i = 1;
while (i <= 15) {
_root["drm" + i] = true;
i++;
}
Symbol 1143 MovieClip Frame 129
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(_root.bg_sound_clip);
_root.gameBGSound.attachSound("bg_sound");
_root.gameBGSound.start(0, 8000);
_root.gameBGSound.setVolume(80);
_root.animation = false;
_root.bubMC.gotoAndPlay(1);
_root.bubMC.reset();
_root.gotoAndStop("5th");
Symbol 1177 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1180 MovieClip Frame 15
if (_root.enemylifea >= 0) {
_parent.inj = false;
}
Symbol 1180 MovieClip Frame 16
if (_root.enemylifea >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1185 MovieClip Frame 9
_root.sco = _root.sco + 150;
Symbol 1185 MovieClip Frame 40
stop();
Symbol 1189 MovieClip Frame 28
stop();
Symbol 1190 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1190 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1195 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1198 MovieClip Frame 15
if (_root.enemylifeb >= 0) {
_parent.inj = false;
}
Symbol 1198 MovieClip Frame 16
if (_root.enemylifeb >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1199 MovieClip Frame 10
_root.switchOnThn1 = true;
_root.sco = _root.sco + 150;
Symbol 1199 MovieClip Frame 40
stop();
Symbol 1200 MovieClip Frame 28
stop();
Symbol 1201 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1201 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1209 MovieClip Frame 9
_root.sword._x = _root.b5._x;
_root.sword._y = _root.b5._y;
_parent.brk = true;
Symbol 1209 MovieClip Frame 10
stop();
Symbol 1211 MovieClip Frame 1
stop();
brk = false;
Symbol 1222 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1225 MovieClip Frame 15
if (_root.enemylifed >= 0) {
_parent.inj = false;
}
Symbol 1225 MovieClip Frame 16
if (_root.enemylifed >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1226 MovieClip Frame 8
_root.sco = _root.sco + 150;
Symbol 1226 MovieClip Frame 40
stop();
Symbol 1227 MovieClip Frame 28
stop();
Symbol 1228 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1228 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1233 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1236 MovieClip Frame 15
if (_root.enemylifec >= 0) {
_parent.inj = false;
}
Symbol 1236 MovieClip Frame 16
if (_root.enemylifec >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1237 MovieClip Frame 9
_root.sco = _root.sco + 150;
Symbol 1237 MovieClip Frame 40
stop();
Symbol 1238 MovieClip Frame 28
stop();
Symbol 1239 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1239 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1247 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1250 MovieClip Frame 15
if (_root.enemylifee >= 0) {
_parent.inj = false;
}
Symbol 1250 MovieClip Frame 16
if (_root.enemylifee >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1251 MovieClip Frame 8
_root.sco = _root.sco + 150;
Symbol 1251 MovieClip Frame 40
stop();
Symbol 1252 MovieClip Frame 28
stop();
Symbol 1253 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1253 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1264 MovieClip Frame 9
_root.bhala._x = _root.b4._x;
_root.bhala._y = _root.b4._y;
_parent.brk = true;
Symbol 1264 MovieClip Frame 10
stop();
Symbol 1266 MovieClip Frame 1
stop();
brk = false;
Symbol 1295 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
} else {
gotoAndPlay (2);
}
Instance of Symbol 1280 MovieClip in Symbol 1295 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 1282 MovieClip in Symbol 1295 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 6
_root.spark = false;
Symbol 1303 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 1303 MovieClip Frame 3
if (myAction <= 15) {
gotoAndPlay (4);
} else if ((myAction > 20) && (myAction <= 25)) {
gotoAndPlay (13);
} else if ((myAction > 25) && (myAction <= 30)) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 1303 MovieClip Frame 10
_root.enemySwing = true;
Symbol 1303 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1303 MovieClip Frame 13
_root.enemySwing = true;
Symbol 1303 MovieClip Frame 23
gotoAndPlay (1);
Symbol 1303 MovieClip Frame 25
_root.enemySwing = true;
Symbol 1303 MovieClip Frame 40
_root.enemyBlock = true;
Instance of Symbol 1302 MovieClip in Symbol 1303 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 1303 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 1311 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 1311 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.swordMode == true) {
_root.enemylife = _root.enemylife - 3;
}
Symbol 1311 MovieClip Frame 10
_root.shohit = false;
Symbol 1311 MovieClip Frame 20
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 1316 MovieClip Frame 34
stop();
Symbol 1317 MovieClip Frame 1
this._name = "warrior1";
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1317 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1317 MovieClip Frame 2
this._name = "warrior1";
stop();
Symbol 1317 MovieClip Frame 3
stop();
Symbol 1317 MovieClip Frame 4
this._name = "dead";
play();
Symbol 1317 MovieClip Frame 5
_root.switchOnThn2a = true;
_root.enemylifea = false;
_root.sco = _root.sco + 200;
Symbol 1317 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 1317 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 1317 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 1317 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 1317 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1317 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1317 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1317 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1317 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 1325 MovieClip Frame 9
_root.doorkeya._x = _root.b5._x;
_root.doorkeya._y = _root.b5._y;
_parent.brk = true;
Symbol 1325 MovieClip Frame 10
stop();
Symbol 1327 MovieClip Frame 1
stop();
brk = false;
Symbol 1335 MovieClip Frame 34
stop();
Symbol 1336 MovieClip Frame 1
this._name = "warrior1";
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1336 MovieClip Frame 2
this._name = "warrior1";
stop();
Symbol 1336 MovieClip Frame 3
stop();
Symbol 1336 MovieClip Frame 4
this._name = "dead";
play();
Symbol 1336 MovieClip Frame 5
_root.enemylifeb = false;
_root.switchOnThn3 = true;
_root.sco = _root.sco + 200;
Symbol 1336 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 1336 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 1336 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 1336 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 1336 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1336 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1336 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1336 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1336 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 1341 MovieClip Frame 1
if (_root.attkheroa == false) {
_root.enemyHit = false;
stop();
} else {
gotoAndPlay (2);
}
Instance of Symbol 1339 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkheroa == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.attkheroa == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 1340 MovieClip "pogision" in Symbol 1341 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkheroa == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attkheroa == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1342 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 1342 MovieClip Frame 3
if (myAction <= 15) {
gotoAndPlay (4);
} else if ((myAction > 20) && (myAction <= 25)) {
gotoAndPlay (13);
} else if ((myAction > 25) && (myAction <= 30)) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 1342 MovieClip Frame 10
_root.enemySwing = true;
Symbol 1342 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1342 MovieClip Frame 13
Symbol 1342 MovieClip Frame 23
gotoAndPlay (1);
Symbol 1342 MovieClip Frame 25
_root.enemySwing = true;
Symbol 1342 MovieClip Frame 40
_root.enemyBlock = true;
Symbol 1342 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 1347 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 1347 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.swordMode == true) {
_root.enemylife2nd = _root.enemylife2nd - 3;
}
Symbol 1347 MovieClip Frame 9
_root.shohit = false;
Symbol 1347 MovieClip Frame 21
if (_root.enemylife2nd > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 1348 MovieClip Frame 34
stop();
Symbol 1349 MovieClip Frame 1
this._name = "warrior2";
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1349 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1349 MovieClip Frame 2
this._name = "warrior2";
stop();
Symbol 1349 MovieClip Frame 3
stop();
Symbol 1349 MovieClip Frame 4
this._name = "dead";
play();
Symbol 1349 MovieClip Frame 5
_root.enemylifec = false;
_root.sco = _root.sco + 200;
Symbol 1349 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 1349 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 1349 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 1349 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 1349 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1349 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1349 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1349 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1349 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 1356 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
} else {
gotoAndPlay (2);
}
Instance of Symbol 1354 MovieClip in Symbol 1356 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 1355 MovieClip "pogision" in Symbol 1356 MovieClip Frame 1
onClipEvent (load) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1357 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 1357 MovieClip Frame 3
if (myAction <= 15) {
gotoAndPlay (4);
} else if ((myAction > 20) && (myAction <= 25)) {
gotoAndPlay (13);
} else if ((myAction > 25) && (myAction <= 30)) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 1357 MovieClip Frame 10
_root.enemySwing = true;
Symbol 1357 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1357 MovieClip Frame 13
_root.enemySwing = true;
Symbol 1357 MovieClip Frame 23
gotoAndPlay (1);
Symbol 1357 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 1357 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 1361 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 1361 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.swordMode == true) {
_root.enemylife = _root.enemylife - 3;
}
Symbol 1361 MovieClip Frame 10
_root.shohit = false;
Symbol 1361 MovieClip Frame 20
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 1362 MovieClip Frame 34
stop();
Symbol 1363 MovieClip Frame 1
this._name = "warrior1";
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1363 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1363 MovieClip Frame 2
this._name = "warrior1";
stop();
Symbol 1363 MovieClip Frame 3
stop();
Symbol 1363 MovieClip Frame 4
this._name = "dead";
play();
Symbol 1363 MovieClip Frame 5
_root.enemylifed = false;
_root.switchOnThn4 = true;
_root.sco = _root.sco + 200;
Symbol 1363 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 1363 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 1363 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 1363 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 1363 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1363 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1363 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1363 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1363 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 1364 MovieClip Frame 40
stop();
Symbol 1365 MovieClip Frame 1
this._name = "warrior2";
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1365 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1365 MovieClip Frame 2
this._name = "warrior2";
stop();
Symbol 1365 MovieClip Frame 3
stop();
Symbol 1365 MovieClip Frame 4
this._name = "dead";
play();
Symbol 1365 MovieClip Frame 5
_root.enemylifee = false;
_root.sco = _root.sco + 200;
Symbol 1365 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 1365 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 1365 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 1365 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 1365 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1365 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 1365 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1365 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 1365 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 1405 MovieClip Frame 11
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1408 MovieClip Frame 15
if (_root.enemylifeb >= 0) {
_parent.inj = false;
}
Symbol 1408 MovieClip Frame 16
if (_root.enemylifeb >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1421 MovieClip Frame 8
_root.sco = _root.sco + 250;
_root.switchOnThn1 = true;
Symbol 1421 MovieClip Frame 40
stop();
Symbol 1427 MovieClip Frame 26
stop();
Symbol 1428 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1428 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1433 MovieClip Frame 13
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1436 MovieClip Frame 15
if (_root.enemylifea >= 0) {
_parent.inj = false;
}
Symbol 1436 MovieClip Frame 16
if (_root.enemylifea >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1448 MovieClip Frame 7
_root.sco = _root.sco + 250;
Symbol 1448 MovieClip Frame 40
stop();
Symbol 1449 MovieClip Frame 26
stop();
Symbol 1450 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1450 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1458 MovieClip Frame 9
_root.gun._x = _root.b5._x;
_root.gun._y = _root.b5._y;
_parent.brk = true;
Symbol 1458 MovieClip Frame 10
stop();
Symbol 1460 MovieClip Frame 1
stop();
brk = false;
Symbol 1471 MovieClip Frame 13
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1474 MovieClip Frame 15
if (_root.enemylifec >= 0) {
_parent.inj = false;
}
Symbol 1474 MovieClip Frame 16
if (_root.enemylifec >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1475 MovieClip Frame 7
_root.sco = _root.sco + 250;
Symbol 1475 MovieClip Frame 40
stop();
Symbol 1476 MovieClip Frame 26
stop();
Symbol 1477 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1477 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1478 MovieClip Frame 15
if (_root.enemylifed >= 0) {
_parent.inj = false;
}
Symbol 1478 MovieClip Frame 16
if (_root.enemylifed >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1479 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1479 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1483 MovieClip Frame 15
if (_root.enemylifee >= 0) {
_parent.inj = false;
}
Symbol 1483 MovieClip Frame 16
if (_root.enemylifee >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1484 MovieClip Frame 8
_root.sco = _root.sco + 250;
_root.switchOnThn2 = true;
Symbol 1484 MovieClip Frame 40
stop();
Symbol 1485 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1485 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1493 MovieClip Frame 1
stop();
Symbol 1493 MovieClip Frame 65
gotoAndPlay (2);
Symbol 1526 MovieClip Frame 10
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1534 MovieClip Frame 14
if (_root.enemylifea >= 0) {
_parent.inj = false;
}
Symbol 1534 MovieClip Frame 15
if (_root.enemylifea >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1540 MovieClip Frame 11
_root.switchOnThn1 = true;
_root.sco = _root.sco + 350;
Symbol 1540 MovieClip Frame 41
stop();
Symbol 1547 MovieClip Frame 25
stop();
Symbol 1548 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1548 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1548 MovieClip Frame 5
_root.switchOnThn1 = true;
Instance of Symbol 1540 MovieClip in Symbol 1548 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.bhalaMode == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1556 MovieClip Frame 9
_root.life._x = _root.b4._x;
_root.life._y = _root.b4._y;
_parent.brk = true;
Symbol 1556 MovieClip Frame 10
stop();
Symbol 1558 MovieClip Frame 1
stop();
brk = false;
Symbol 1570 MovieClip Frame 13
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1575 MovieClip Frame 14
if (_root.enemylifec >= 0) {
_parent.inj = false;
}
Symbol 1575 MovieClip Frame 15
if (_root.enemylifec >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1582 MovieClip Frame 7
_root.sco = _root.sco + 350;
Symbol 1582 MovieClip Frame 40
stop();
Symbol 1583 MovieClip Frame 25
stop();
Symbol 1584 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1584 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1587 MovieClip Frame 14
if (_root.enemylifeb >= 0) {
_parent.inj = false;
}
Symbol 1587 MovieClip Frame 15
if (_root.enemylifeb >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1588 MovieClip Frame 11
_root.sco = _root.sco + 350;
Symbol 1588 MovieClip Frame 41
stop();
Symbol 1589 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1589 MovieClip Frame 2
Throw = false;
inj = false;
Instance of Symbol 1588 MovieClip in Symbol 1589 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.bhalaMode == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1594 MovieClip Frame 13
_root.amitavaplay = false;
clearInterval(_root.timeInterval);
_root.timeInterval = null;
if (_root.timeNum < 100) {
var bonusNum = (100 - _root.timeNum);
_root.sco = _root.sco + (bonusNum * 30);
} else if (_root.timeNum < 130) {
var bonusNum = (130 - _root.timeNum);
_root.sco = _root.sco + (bonusNum * 10);
}
_root.bubMC.gotoAndStop("goin");
Symbol 1594 MovieClip Frame 14
stop();
Symbol 1595 MovieClip Frame 1
stop();
Instance of Symbol 1084 MovieClip "br" in Symbol 1595 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1603 MovieClip Frame 10
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1608 MovieClip Frame 14
if (_root.enemylifed >= 0) {
_parent.inj = false;
}
Symbol 1608 MovieClip Frame 15
if (_root.enemylifed >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1612 MovieClip Frame 7
_root.switchOnThn3 = true;
_root.sco = _root.sco + 350;
Symbol 1612 MovieClip Frame 40
stop();
Symbol 1613 MovieClip Frame 25
stop();
Symbol 1614 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1614 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1614 MovieClip Frame 5
_root.switchOnThn3 = true;
Symbol 1619 MovieClip Frame 10
_parent.Throw = false;
_parent.gotoAndStop(1);
Symbol 1624 MovieClip Frame 14
if (_root.enemylifee >= 0) {
_parent.inj = false;
}
Symbol 1624 MovieClip Frame 15
if (_root.enemylifee >= 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1628 MovieClip Frame 7
_root.sco = _root.sco + 350;
Symbol 1628 MovieClip Frame 40
stop();
Symbol 1629 MovieClip Frame 25
stop();
Symbol 1630 MovieClip Frame 1
Throw = false;
inj = false;
Symbol 1630 MovieClip Frame 2
Throw = false;
inj = false;
Symbol 1634 MovieClip Frame 2
_root.gameBGSound.stop();
_root.gameBGSound = null;
Symbol 1634 MovieClip Frame 129
_root.gotoAndStop("winscreen");
Symbol 1669 MovieClip Frame 33
stop();
Symbol 1674 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 1678 Button
on (release) {
_root.score = _root.sco;
_global.ipbSend();
}
Symbol 1683 MovieClip Frame 3
_root.gameBGSound.stop();
_root.gameBGSound = null;
_root.gameBGSound = new Sound(_root.bg_sound_clip);
_root.gameBGSound.attachSound("welcome_sound");
_root.gameBGSound.start(0, 2000);
_root.gameBGSound.setVolume(80);
Symbol 1683 MovieClip Frame 135
_root.amitavaplay = false;
var ssc = _root.sco;
stop();
Instance of Symbol 1017 MovieClip in Symbol 1683 MovieClip Frame 135
onClipEvent (load) {
_root.scoreSubmit = false;
}
onClipEvent (enterFrame) {
if (_parent.scoreName.text != "") {
_parent.trans_btn._visible = false;
} else if (_root.scoreSubmit != true) {
_parent.trans_btn.useHandCursor = false;
_parent.trans_btn._visible = true;
}
}
Symbol 1727 MovieClip Frame 12
var lv = new LoadVars();
var lvAnswer = new LoadVars();
this.get_message_text.text = "";
lv.gameId = "ace013";
lv.sendAndLoad("http://www.flasharcade.com/getscores.php", lvAnswer, "POST");
lvAnswer.onLoad = function (success) {
var _local1 = _root;
var _local2 = this;
if (lvAnswer.status1 == "success") {
_local1.score_mc.name0.text = _local2.name0;
_local1.score_mc.name1.text = _local2.name1;
_local1.score_mc.name2.text = _local2.name2;
_local1.score_mc.name3.text = _local2.name3;
_local1.score_mc.name4.text = _local2.name4;
_local1.score_mc.name5.text = _local2.name5;
_local1.score_mc.name6.text = _local2.name6;
_local1.score_mc.name7.text = _local2.name7;
_local1.score_mc.name8.text = _local2.name8;
_local1.score_mc.name9.text = _local2.name9;
_local1.score_mc.score0.text = _local2.score0;
_local1.score_mc.score1.text = _local2.score1;
_local1.score_mc.score2.text = _local2.score2;
_local1.score_mc.score3.text = _local2.score3;
_local1.score_mc.score4.text = _local2.score4;
_local1.score_mc.score5.text = _local2.score5;
_local1.score_mc.score6.text = _local2.score6;
_local1.score_mc.score7.text = _local2.score7;
_local1.score_mc.score8.text = _local2.score8;
_local1.score_mc.score9.text = _local2.score9;
_local1.score_mc.date0.text = _local2.date0;
_local1.score_mc.date1.text = _local2.date1;
_local1.score_mc.date2.text = _local2.date2;
_local1.score_mc.date3.text = _local2.date3;
_local1.score_mc.date4.text = _local2.date4;
_local1.score_mc.date5.text = _local2.date5;
_local1.score_mc.date6.text = _local2.date6;
_local1.score_mc.date7.text = _local2.date7;
_local1.score_mc.date8.text = _local2.date8;
_local1.score_mc.date9.text = _local2.date9;
}
i = 0;
while (i < 11) {
var val1 = _local1.score_mc["date" + i].text;
if (String(val1) == "undefined") {
_local1.score_mc["date" + i].text = "";
}
var val2 = _local1.score_mc["name" + i].text;
if (String(val2) == "undefined") {
_local1.score_mc["name" + i].text = "";
}
var _local3 = _local1.score_mc["score" + i].text;
if (String(_local3) == "undefined") {
_local1.score_mc["score" + i].text = "";
}
i++;
}
};
stop();