Frame 1
stop();
_quality = "BEST";
Frame 16
stop();
Frame 18
fscommand ("allowscale", false);
Stage.showMenu = false;
var heroview = 0;
Frame 19
fscommand ("allowscale", false);
Stage.showMenu = false;
Frame 28
fscommand ("allowscale", false);
var sco = 0;
var amitavalife = 123;
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 shrokin = 15;
var attkhero = false;
var backhit = false;
var shohit = false;
s = new Sound();
s.attachSound("bon");
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;
}
};
Key.addListener(listener);
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(15);
}
};
function move_wait() {
var _local1 = this;
if (amitavaplay == true) {
if (Key.isDown(Kleft)) {
_local1.bubMC.lef = true;
_local1.bubMC.ri = false;
_local1.bubMC._xscale = -100;
_local1.bubMC.gotoAndStop("walk");
}
if (Key.isDown(Kright)) {
_local1.bubMC.ri = true;
_local1.bubMC.lef = false;
_local1.bubMC._xscale = 100;
_local1.bubMC.gotoAndStop("walk");
}
}
}
function jump_wait() {
if (amitavaplay == true) {
if (Key.isDown(Kjump)) {
this.bubMC.gotoAndStop("jumpUp");
Fight = false;
}
}
}
function fall_wait() {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y, true)) {
_local1.bubMC.gotoAndStop("jumpDown");
}
}
}
function move_left(valueX) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x - valueX) - 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x - valueX;
}
}
}
function move_right(valueX) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest((_local1.bubMC._x + valueX) + 8, _local1.bubMC._y - 4, true)) {
_local1.bubMC._x = _local1.bubMC._x + valueX;
}
}
}
function jump_down(valueY) {
var _local1 = this;
if (amitavaplay == true) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - 2, true)) {
_local1.bubMC._y = _local1.bubMC._y + valueY;
} else {
i = 1;
while (i <= 12) {
if (!_local1.stageMC.limitMC.hitTest(_local1.bubMC._x, _local1.bubMC._y - i, true)) {
_local1.bubMC._y = _local1.bubMC._y - (i - 3);
break;
}
i++;
}
if (_local1.bubMC.injuri == false) {
_local1.bubMC.gotoAndStop("stand");
Fight = true;
}
}
}
}
fscommand ("allowscale", false);
Stage.showMenu = false;
_quality = "high";
this.stageMC.limitMC._visible = false;
Kleft = 37;
Kright = 39;
Kjump = 38;
Fight = false;
walkSpeed = 4;
jumpHeight = 15;
jumpSpeed = 0.5;
fallSpeed = 8;
Instance of Symbol 173 MovieClip "bubMC" in Frame 28
onClipEvent (load) {
block = 0;
att1 = 0;
att2 = 0;
att3 = 0;
duk = 0;
thro = 0;
ri = true;
lef = false;
injuri = false;
pow = 1;
}
onClipEvent (enterFrame) {
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)) {
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)) {
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)) {
if ((att3 == 0) && (_root.heroBlock == false)) {
this.gotoAndStop("attk3");
att3 = 1;
}
} else {
att3 = 0;
}
if ((Key.isDown(32) && (_root.Fight == true)) && (_root.backhit == false)) {
this.gotoAndStop("block");
_root.heroBlock = true;
block = 1;
} else {
_root.heroBlock = false;
block = 0;
}
if ((Key.isDown(16) && (_root.Fight == true)) && (_root.shrokin > 0)) {
if (thro == 0) {
this.gotoAndStop("throw");
thro = 1;
}
} else {
thro = 0;
}
if ((Key.isDown(40) && (_root.Fight == true)) && (_root.heroBlock == false)) {
if (duk == 0) {
this.gotoAndStop("duck");
duk = 1;
}
} else if (duk == 1) {
gotoAndPlay (1);
duk = 0;
}
if (Key.isDown(16)) {
if (((shotTimer <= 0) && (_root.Fight == true)) && (_root.shrokin > 0)) {
if (pow == 1) {
bumSound.start();
shotCount++;
_root.shrokin = _root.shrokin - 1;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 200) + 2100);
duplicateMovieClip (_parent.shota, "shota" + shotCount, (shotCount % 300) + 3200);
shotTimer = 15;
pow = 0;
}
}
} else {
pow = 1;
}
shotTimer--;
if ((this.sw1.hitTest(_root.warrior.br) || (this.sw2.hitTest(_root.warrior.br))) || (this.sw3.hitTest(_root.warrior.br))) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.warrior.gotoAndStop(3);
} else {
_root.spark = true;
}
}
}
}
}
Instance of Symbol 178 MovieClip "shot" in Frame 28
onClipEvent (load) {
if ((String(_name) != "shot") && (_root.bubMC.ri == true)) {
_x = (_root.bubMC._x + 10);
_y = (_root.bubMC._y - 50);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.warrior.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.shohit = true;
_root.warrior.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.spark = true;
removeMovieClip(this);
}
}
if (this.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.shohit = true;
_root.warrior2.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.spark = true;
removeMovieClip(this);
}
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (String(_name) != "shot") {
_x = (_x + 20);
_rotation = (_rotation + 10);
}
}
Instance of Symbol 178 MovieClip "shota" in Frame 28
onClipEvent (load) {
if ((String(_name) != "shota") && (_root.bubMC.lef == true)) {
_x = (_root.bubMC._x - 10);
_y = (_root.bubMC._y - 50);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.warrior.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.shohit = true;
_root.warrior.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.spark = true;
removeMovieClip(this);
}
}
if (this.hitTest(_root.warrior2.br)) {
if ((_root.enemyBlock == false) && (_root.enemylife > 0)) {
_root.shohit = true;
_root.warrior2.gotoAndStop(3);
removeMovieClip(this);
} else {
_root.spark = true;
removeMovieClip(this);
}
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (String(_name) != "shota") {
_x = (_x - 20);
_rotation = (_rotation - 10);
}
}
Instance of Symbol 192 MovieClip "d0" in Frame 28
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (pl == 1) {
this.play();
pl = 0;
}
}
Instance of Symbol 194 MovieClip in Frame 28
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 0;
_root.heroview = _root.heroview + 1;
_root.gotoAndStop(29);
pl = 0;
}
}
}
Instance of Symbol 202 MovieClip "stageMC" in Frame 28
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f1" in Frame 28
onClipEvent (load) {
_visible = false;
}
Frame 29
fscommand ("allowscale", false);
Stage.showMenu = false;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.e1._visible = true;
this.e2._visible = false;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(16);
}
};
Instance of Symbol 253 MovieClip "warrior2" in Frame 29
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_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 255 MovieClip in Frame 29
onClipEvent (load) {
_visible = false;
al = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (al == 1) {
_visible = true;
al = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 192 MovieClip "d1" in Frame 29
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 29
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(30);
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.doorkey == false)) {
if (pl == 1) {
_root.msg = "You Need A key For This Door";
pl = 0;
}
} else {
_root.msg = "";
pl = 1;
}
}
Instance of Symbol 261 MovieClip "stageMC" in Frame 29
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f2" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf2" in Frame 29
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 268 MovieClip "hb" in Frame 29
onClipEvent (enterFrame) {
}
Instance of Symbol 276 MovieClip "hbe" in Frame 29
onClipEvent (enterFrame) {
_root.peg = _width;
}
Frame 30
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 20;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = true;
this.e2._visible = false;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(17);
}
};
Instance of Symbol 253 MovieClip "warrior" in Frame 30
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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 < 50) {
this.gotoAndPlay(50);
} else if (this._x > 500) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 30
onClipEvent (load) {
_visible = false;
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (pl == 1) {
_visible = true;
pl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 192 MovieClip "d2" in Frame 30
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.doorkey == false)) {
if (pl == 1) {
_root.msg = "You Need A key For This Door";
pl = 0;
}
} else {
_root.msg = "";
pl = 1;
}
}
Instance of Symbol 194 MovieClip in Frame 30
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(31);
pl = 0;
}
}
}
Instance of Symbol 279 MovieClip "stageMC" in Frame 30
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f3" in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf3" in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf4" in Frame 30
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 31
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 40;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = true;
this.e2._visible = false;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(18);
}
};
Instance of Symbol 296 MovieClip "warrior" in Frame 31
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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 < 50) {
this.gotoAndPlay(50);
} else if (this._x > 500) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 31
onClipEvent (load) {
_visible = false;
bl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (bl == 1) {
_visible = true;
bl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 192 MovieClip "d3" in Frame 31
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 31
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.warrior.gotoAndStop(1);
_root.gotoAndStop(32);
pl = 0;
}
}
}
Instance of Symbol 299 MovieClip "stageMC" in Frame 31
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f4" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf6" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf5" in Frame 31
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 32
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 40;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = true;
this.e2._visible = false;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(19);
}
};
Instance of Symbol 296 MovieClip "warrior2" in Frame 32
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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 < 50) {
this.gotoAndPlay(50);
} else if (this._x > 500) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 301 MovieClip "li1" in Frame 32
onClipEvent (load) {
_visible = false;
jl = 1;
lif = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 60) {
if (jl == 1) {
_visible = true;
jl = 0;
}
}
if (this.hitTest(_root.bubMC) && (_root.amitavalife < 60)) {
if (lif == 1) {
_root.s.start();
_root.amitavalife = _root.amitavalife + 40;
_root.hb._width = _root.hb._width + 40;
_visible = false;
lif = 0;
}
}
}
Instance of Symbol 255 MovieClip in Frame 32
onClipEvent (load) {
_visible = false;
cl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (cl == 1) {
_visible = true;
cl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 192 MovieClip "d4" in Frame 32
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 32
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(33);
pl = 0;
}
}
}
Instance of Symbol 304 MovieClip "stageMC" in Frame 32
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f5" in Frame 32
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf7" in Frame 32
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 33
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 60;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = false;
this.e2._visible = true;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(20);
}
};
Instance of Symbol 320 MovieClip "warrior" in Frame 33
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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 < 100) {
this.gotoAndPlay(50);
} else if (this._x > 480) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 33
onClipEvent (load) {
_visible = false;
dl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (dl == 1) {
_visible = true;
dl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 322 MovieClip in Frame 33
onClipEvent (load) {
_visible = false;
pl = 1;
cl = 1;
}
onClipEvent (enterFrame) {
if (_root.shrokin < 7) {
if (pl == 1) {
_visible = true;
pl = 0;
}
}
if (this.hitTest(_root.bubMC) && (_root.shrokin < 7)) {
if (cl == 1) {
_root.bubMC.ri = true;
_root.bubMC.lef = false;
_root.s.start();
_root.shrokin = 15;
_visible = false;
cl = 0;
}
}
}
Instance of Symbol 192 MovieClip "d5" in Frame 33
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 33
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(34);
pl = 0;
}
}
}
Instance of Symbol 325 MovieClip "stageMC" in Frame 33
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f6" in Frame 33
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf8" in Frame 33
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 34
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 60;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = false;
this.e2._visible = true;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(21);
}
};
Instance of Symbol 320 MovieClip "warrior2" in Frame 34
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (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 < 50) {
this.gotoAndPlay(50);
} else if (this._x > 500) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 34
onClipEvent (load) {
_visible = false;
el = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (el == 1) {
_visible = true;
el = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 192 MovieClip "d6" in Frame 34
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 34
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.bubMC._y = 444;
_root.gotoAndStop(35);
pl = 0;
}
}
}
Instance of Symbol 328 MovieClip "stageMC" in Frame 34
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f7" in Frame 34
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf9" in Frame 34
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf10" in Frame 34
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 35
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 80;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = false;
this.e2._visible = true;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(22);
}
};
Instance of Symbol 342 MovieClip "warrior" in Frame 35
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 150)) || (_x >= (_root.bubMC._x - 150))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 100) {
this.gotoAndPlay(50);
} else if (this._x > 550) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 35
onClipEvent (load) {
_visible = false;
fl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (fl == 1) {
_visible = true;
fl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 301 MovieClip "li2" in Frame 35
onClipEvent (load) {
_visible = false;
jl = 1;
lif = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 60) {
if (jl == 1) {
_visible = true;
jl = 0;
}
}
if (this.hitTest(_root.bubMC) && (_root.amitavalife < 60)) {
if (lif == 1) {
_root.s.start();
_root.amitavalife = _root.amitavalife + 40;
_root.hb._width = _root.hb._width + 40;
_visible = false;
lif = 0;
}
}
}
Instance of Symbol 192 MovieClip "d7" in Frame 35
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 35
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(36);
pl = 0;
}
}
}
Instance of Symbol 345 MovieClip "stageMC" in Frame 35
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f8" in Frame 35
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf12" in Frame 35
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf13" in Frame 35
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 36
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 80;
var enemy = true;
var doorkey = false;
var attkhero = false;
this.hbe._width = 120;
this.e1._visible = false;
this.e2._visible = true;
this.e3._visible = false;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(23);
}
};
Instance of Symbol 342 MovieClip "warrior2" in Frame 36
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 150)) || (_x >= (_root.bubMC._x - 150))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 100) {
this.gotoAndPlay(50);
} else if (this._x > 550) {
this.gotoAndPlay(50);
}
if (this.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.injuri = true;
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 255 MovieClip in Frame 36
onClipEvent (load) {
_visible = false;
gl = 1;
}
onClipEvent (enterFrame) {
if (_root.enemy == false) {
if (gl == 1) {
_visible = true;
gl = 0;
}
}
if (this.hitTest(_root.bubMC)) {
if (_root.enemy == false) {
_root.doorkey = true;
_visible = false;
}
}
}
Instance of Symbol 322 MovieClip "bo3" in Frame 36
onClipEvent (load) {
_visible = false;
pl = 1;
cl = 1;
}
onClipEvent (enterFrame) {
if (_root.shrokin < 7) {
if (pl == 1) {
_visible = true;
pl = 0;
}
}
if (this.hitTest(_root.bubMC) && (_root.shrokin < 7)) {
if (cl == 1) {
_root.bubMC.ri = true;
_root.bubMC.lef = false;
_root.s.start();
_root.shrokin = 15;
_visible = false;
cl = 0;
}
}
}
Instance of Symbol 192 MovieClip "d8" in Frame 36
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip in Frame 36
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.heroview = _root.heroview + 1;
_root.bubMC._x = 10;
_root.gotoAndStop(37);
pl = 0;
}
}
}
Instance of Symbol 348 MovieClip "stageMC" in Frame 36
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f9" in Frame 36
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf14" in Frame 36
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Instance of Symbol 204 MovieClip "uf15" in Frame 36
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC) && (_root.enemylife > 0)) {
if (pl == 1) {
_root.attkhero = false;
pl = 0;
}
} else {
pl = 1;
}
}
Frame 37
fscommand ("allowscale", false);
Stage.showMenu = false;
var spark = false;
var enemyHit = false;
var enemylife = 100;
var enemy = true;
var attkhero = true;
this.hbe._width = 120;
this.e1._visible = false;
this.e2._visible = false;
this.e3._visible = true;
_root.onEnterFrame = function () {
if (Key.isDown(17)) {
_root.gotoAndStop(24);
}
};
Instance of Symbol 356 MovieClip "eshot" in Frame 37
onClipEvent (load) {
if ((String(_name) != "eshot") && (_root.enemyLeft == false)) {
_x = (_root.warrior._x - 10);
_y = (_root.warrior._y - 50);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if ((_root.heroBlock == false) && (_root.amitavalife > 0)) {
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.sparkh = true;
removeMovieClip(this);
}
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (String(_name) != "eshot") {
_x = (_x - 10);
_rotation = (_rotation - 10);
}
}
Instance of Symbol 356 MovieClip "eshota" in Frame 37
onClipEvent (load) {
if ((String(_name) != "eshota") && (_root.enemyLeft == true)) {
_x = (_root.warrior._x + 20);
_y = (_root.warrior._y - 50);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC.body)) {
if ((_root.heroBlock == false) && (_root.amitavalife > 0)) {
_root.bubMC.gotoAndStop("inj");
removeMovieClip(this);
} else {
_root.sparkh = true;
removeMovieClip(this);
}
}
if (this._x > 560) {
removeMovieClip(this);
}
if (this._x < 0) {
removeMovieClip(this);
}
if (String(_name) != "eshota") {
_x = (_x + 10);
_rotation = (_rotation - 10);
}
}
Instance of Symbol 370 MovieClip "warrior" in Frame 37
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
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.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 + 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.bubMC._x - 100)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.bubMC._x + 250)) || (_x >= (_root.bubMC._x - 250))) {
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.hitTest(_root.bubMC.body) && (_root.amitavalife > 0)) {
if (_root.enemySwing == true) {
if (_root.heroBlock == false) {
_root.bubMC.gotoAndStop("inj");
} else {
_root.sparkh = true;
}
}
}
}
if ((_root.fireball == true) && (shotTimer <= 0)) {
bumSound.start();
shotCount++;
duplicateMovieClip (_parent.eshot, "eshot" + shotCount, (shotCount % 400) + 3100);
duplicateMovieClip (_parent.eshota, "eshota" + shotCount, (shotCount % 500) + 4200);
shotTimer = 2;
}
shotTimer--;
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 194 MovieClip in Frame 37
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.bubMC._x = 500;
_root.gotoAndStop(9);
pl = 0;
}
}
}
Instance of Symbol 373 MovieClip "stageMC" in Frame 37
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 204 MovieClip "f10" in Frame 37
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bubMC)) {
if (pl == 1) {
_root.attkhero = true;
pl = 0;
}
}
}
Symbol 15 MovieClip Frame 20
stop();
_parent.play();
Symbol 16 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
perc = Math.round(100 * (_root.getBytesLoaded() / _root.getBytesTotal()));
gotoAndStop(perc);
};
Symbol 16 MovieClip Frame 100
stop();
delete this.onEnterFrame;
Symbol 16 MovieClip Frame 106
_parent.nextFrame();
Symbol 25 Button
on (release) {
getURL ("http://www.funflashgames.com", "_blank");
}
Symbol 32 MovieClip Frame 1
play();
Symbol 32 MovieClip Frame 86
stop();
_parent.play();
Symbol 35 MovieClip Frame 1
function installStatus(statusValue) {
var _local1 = statusValue;
if (_local1 == "Download.Complete") {
} else if (_local1 == "Download.Cancelled") {
_parent.gotoAndStop("cancelled");
} else if (_local1 == "Download.Failed") {
_parent.gotoAndStop("failed");
}
}
function checkLoaded() {
if (loaderClip.startUpdate.toString() == "[type Function]") {
clearInterval(id);
loadComplete();
}
}
function loadComplete() {
var _local1 = _root;
loaderClip.redirectURL = _local1.MMredirectURL;
loaderClip.MMplayerType = _local1.MMplayerType;
loaderClip.MMdoctitle = _local1.MMdoctitle;
loaderClip.startUpdate();
}
System.security.allowDomain("fpdownload.macromedia.com");
var cacheBuster = Math.random();
var updateSWF = ("http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + cacheBuster);
loaderClip.loadMovie(updateSWF);
var id = setInterval(checkLoaded, 10);
Symbol 42 MovieClip Frame 1
var playerVer = System.capabilities.version.split(" ");
playerVer = playerVer[1].split(",");
if (playerVer[0] > 6) {
if (playerVer[1] >= 0) {
if (playerVer[2] >= 22) {
_root.gotoAndStop("mymovie");
} else {
this.gotoAndStop("update");
}
} else {
this.gotoAndStop("update");
}
} else {
this.gotoAndStop("update");
}
stop();
Symbol 49 Button
on (press) {
gotoAndStop (19);
}
Symbol 57 Button
on (press) {
_root.heroview = _root.heroview + 1;
gotoAndStop (28);
}
Symbol 66 Button
on (release) {
getURL ("http://www.funflashgames.com", "_blank");
}
Symbol 69 Button
on (release) {
getURL ("http://www.funflashgames.com/pages/FreeContent.htm", "_blank");
}
Symbol 77 Button
on (press) {
gotoAndStop (18);
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 4
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 6
_root.sparkh = false;
Instance of Symbol 138 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.sparkh == true) {
this.play();
}
}
Symbol 139 MovieClip Frame 8
if (_root.bubMC.block == 0) {
_parent.gotoAndStop(1);
}
Symbol 141 MovieClip Frame 15
_parent.gotoAndStop(2);
Symbol 144 MovieClip Frame 15
_parent.gotoAndStop(2);
Symbol 148 MovieClip Frame 15
_parent.gotoAndStop(2);
Symbol 152 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 157 MovieClip Frame 16
_parent.gotoAndStop(2);
Symbol 158 MovieClip Frame 20
_parent.gotoAndStop(2);
Symbol 165 MovieClip Frame 20
_parent.gotoAndStop(2);
Symbol 170 MovieClip Frame 1
_parent.injuri = true;
if ((_root.warrior._x > _parent._x) && (_parent._x > 80)) {
_parent._x = _parent._x - 50;
} else if ((_root.warrior._x < _parent._x) && (_parent._x < 500)) {
_parent._x = _parent._x + 50;
}
_root.amitavalife = _root.amitavalife - 5;
if (_root.hb._width > 0) {
_root.hb._width = _root.hb._width - 5;
}
_root.Fight = true;
Symbol 170 MovieClip Frame 25
if (_root.amitavalife > 0) {
_parent.injuri = false;
_parent.gotoAndStop(2);
} else {
_root.amitavaplay = false;
_parent.gotoAndStop("die");
}
Symbol 172 MovieClip Frame 41
_root.gov.play();
Symbol 172 MovieClip Frame 44
stop();
Symbol 173 MovieClip Frame 1
stop();
this.gotoAndStop("jumpDown");
Instance of Symbol 124 MovieClip "body" in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 126 MovieClip "back" in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.warrior) || (this.hitTest(_root.warrior2))) {
_root.backhit = true;
} else {
_root.backhit = false;
}
}
Symbol 173 MovieClip Frame 2
stop();
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.move_wait();
_root.jump_wait();
}
Symbol 173 MovieClip Frame 3
stop();
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.move_wait();
if (_parent._xscale == 100) {
_root.move_right(_root.walkSpeed);
if (!Key.isDown(_root.Kright)) {
_parent.gotoAndStop("stand");
}
} else {
_root.move_left(_root.walkSpeed);
if (!Key.isDown(_root.Kleft)) {
_parent.gotoAndStop("stand");
}
}
_root.jump_wait();
_root.fall_wait();
}
Symbol 173 MovieClip Frame 4
stop();
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip Frame 4
onClipEvent (load) {
jumpH = -_root.jumpHeight;
}
onClipEvent (enterFrame) {
_root.Fight = false;
if (!_root.stageMC.limitMC.hitTest(_root.bubMC._x, _root.bubMC._y - 50, true)) {
_parent._y = _parent._y + jumpH;
jumpH = jumpH + _root.jumpSpeed;
if (jumpH >= 0) {
_parent.gotoAndStop("jumpDown");
}
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
} else {
_parent.gotoAndStop("jumpDown");
}
}
Symbol 173 MovieClip Frame 5
stop();
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip Frame 5
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
_root.Fight = false;
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
Symbol 173 MovieClip Frame 6
stop();
Symbol 173 MovieClip Frame 7
stop();
Symbol 173 MovieClip Frame 8
stop();
Symbol 173 MovieClip Frame 9
stop();
Instance of Symbol 148 MovieClip "sw1" in Symbol 173 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
Symbol 173 MovieClip Frame 10
stop();
Instance of Symbol 157 MovieClip "sw2" in Symbol 173 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Symbol 173 MovieClip Frame 11
stop();
Instance of Symbol 165 MovieClip "sw3" in Symbol 173 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Symbol 173 MovieClip Frame 12
stop();
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip Frame 12
onClipEvent (load) {
jumpH = 0;
}
onClipEvent (enterFrame) {
if (jumpH < _root.fallSpeed) {
jumpH = jumpH + _root.jumpSpeed;
}
_root.jump_down(jumpH);
if (Key.isDown(_root.Kright)) {
_parent._xscale = 100;
_root.move_right(_root.walkSpeed);
} else if (Key.isDown(_root.Kleft)) {
_parent._xscale = -100;
_root.move_left(_root.walkSpeed);
}
}
Symbol 173 MovieClip Frame 13
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 15
stop();
Symbol 214 Button
on (press) {
_root.gotoAndStop(18);
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
var ssc = _root.sco;
Symbol 222 MovieClip Frame 16
stop();
stopAllSounds();
Symbol 239 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
} else {
gotoAndPlay (2);
}
Instance of Symbol 236 MovieClip in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 238 MovieClip in Symbol 239 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 6
_root.spark = false;
Symbol 247 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 247 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 15) && (myAction <= 20)) {
gotoAndPlay (13);
} else if ((myAction > 20) && (myAction <= 30)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 247 MovieClip Frame 8
_root.enemySwing = true;
Symbol 247 MovieClip Frame 12
gotoAndPlay (1);
Symbol 247 MovieClip Frame 22
_root.enemySwing = true;
Symbol 247 MovieClip Frame 23
gotoAndPlay (1);
Symbol 247 MovieClip Frame 25
_root.enemyBlock = true;
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 247 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 251 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 251 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.shohit == false) {
_root.hbe._width = _root.hbe._width - 6;
_root.enemylife = _root.enemylife - 1;
} else {
_root.hbe._width = _root.hbe._width - 18;
_root.enemylife = _root.enemylife - 3;
}
Symbol 251 MovieClip Frame 10
_root.shohit = false;
Symbol 251 MovieClip Frame 30
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 253 MovieClip Frame 1
this._name = "warrior";
stop();
Instance of Symbol 241 MovieClip "br" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 253 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 253 MovieClip Frame 3
stop();
Symbol 253 MovieClip Frame 4
this._name = "dead";
play();
Symbol 253 MovieClip Frame 35
_root.enemy = false;
_root.sco = _root.sco + 100;
Symbol 253 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 253 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 253 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 253 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 253 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 253 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 253 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 253 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Instance of Symbol 259 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Symbol 293 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
} else {
gotoAndPlay (2);
}
Instance of Symbol 285 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 292 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 294 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 294 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 15) && (myAction <= 20)) {
gotoAndPlay (13);
} else if ((myAction > 20) && (myAction <= 30)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 294 MovieClip Frame 8
_root.enemySwing = true;
Symbol 294 MovieClip Frame 12
gotoAndPlay (1);
Symbol 294 MovieClip Frame 22
_root.enemySwing = true;
Symbol 294 MovieClip Frame 23
gotoAndPlay (1);
Symbol 294 MovieClip Frame 25
_root.enemyBlock = true;
Instance of Symbol 246 MovieClip in Symbol 294 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 294 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 295 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 295 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.shohit == false) {
_root.hbe._width = _root.hbe._width - 3;
_root.enemylife = _root.enemylife - 1;
} else {
_root.hbe._width = _root.hbe._width - 9;
_root.enemylife = _root.enemylife - 3;
}
Symbol 295 MovieClip Frame 9
_root.shohit = false;
Symbol 295 MovieClip Frame 30
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 296 MovieClip Frame 1
this._name = "warrior";
stop();
Instance of Symbol 241 MovieClip "br" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 296 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 296 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 296 MovieClip Frame 29
_root.enemy = false;
_root.sco = _root.sco + 200;
Symbol 296 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 296 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 296 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 296 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 296 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 296 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 296 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 296 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Instance of Symbol 259 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Instance of Symbol 259 MovieClip in Symbol 303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Symbol 317 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
}
Instance of Symbol 313 MovieClip in Symbol 317 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 316 MovieClip in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 318 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 318 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 15) && (myAction <= 20)) {
gotoAndPlay (13);
} else if ((myAction > 20) && (myAction <= 30)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 318 MovieClip Frame 8
_root.enemySwing = true;
Symbol 318 MovieClip Frame 12
gotoAndPlay (1);
Symbol 318 MovieClip Frame 22
_root.enemySwing = true;
Symbol 318 MovieClip Frame 23
gotoAndPlay (1);
Symbol 318 MovieClip Frame 25
_root.enemyBlock = true;
Instance of Symbol 246 MovieClip in Symbol 318 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 318 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 319 MovieClip Frame 1
play();
Symbol 319 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.shohit == false) {
_root.hbe._width = _root.hbe._width - 2;
_root.enemylife = _root.enemylife - 1;
} else {
_root.hbe._width = _root.hbe._width - 6;
_root.enemylife = _root.enemylife - 3;
}
Symbol 319 MovieClip Frame 9
_root.shohit = false;
Symbol 319 MovieClip Frame 30
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 320 MovieClip Frame 1
this._name = "warrior";
stop();
Instance of Symbol 241 MovieClip "br" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 320 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 320 MovieClip Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 320 MovieClip Frame 23
_root.enemy = false;
_root.sco = _root.sco + 300;
Symbol 320 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 320 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 320 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 320 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 320 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 320 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 320 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 320 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Instance of Symbol 259 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Instance of Symbol 259 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Symbol 339 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
}
Instance of Symbol 334 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 338 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.attkhero == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 340 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 340 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 5) && (myAction <= 15)) {
gotoAndPlay (13);
} else if ((myAction > 15) && (myAction <= 30)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 340 MovieClip Frame 8
_root.enemySwing = true;
Symbol 340 MovieClip Frame 12
gotoAndPlay (1);
Symbol 340 MovieClip Frame 22
_root.enemySwing = true;
Symbol 340 MovieClip Frame 23
gotoAndPlay (1);
Symbol 340 MovieClip Frame 25
_root.enemyBlock = true;
Instance of Symbol 246 MovieClip in Symbol 340 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 340 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 341 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 341 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 40;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 40;
}
if (_root.shohit == false) {
_root.hbe._width = _root.hbe._width - 1.5;
_root.enemylife = _root.enemylife - 1;
} else {
_root.hbe._width = _root.hbe._width - 4.5;
_root.enemylife = _root.enemylife - 3;
}
Symbol 341 MovieClip Frame 10
_root.shohit = false;
Symbol 341 MovieClip Frame 30
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 342 MovieClip Frame 1
this._name = "warrior";
stop();
Instance of Symbol 241 MovieClip "br" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 342 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 342 MovieClip Frame 3
stop();
Symbol 342 MovieClip Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 342 MovieClip Frame 19
_root.enemy = false;
_root.sco = _root.sco + 400;
Symbol 342 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 342 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 342 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 342 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 342 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 342 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 342 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 342 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Instance of Symbol 259 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Instance of Symbol 259 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorkey == true) {
_x = (_x + 800);
}
}
Symbol 355 MovieClip Frame 15
stop();
Symbol 365 MovieClip Frame 1
if (_root.attkhero == false) {
_root.enemyHit = false;
stop();
}
Symbol 368 MovieClip Frame 1
_root.enemySwing = false;
_root.fireball = false;
var myAction = random(30);
play();
Symbol 368 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 5) && (myAction <= 15)) {
gotoAndPlay (24);
} else if ((myAction > 15) && (myAction <= 20)) {
gotoAndPlay (13);
} else if ((myAction > 20) && (myAction <= 30)) {
gotoAndPlay (36);
} else {
gotoAndPlay (1);
}
Symbol 368 MovieClip Frame 8
_root.enemySwing = true;
Symbol 368 MovieClip Frame 12
gotoAndPlay (1);
Symbol 368 MovieClip Frame 17
_root.enemySwing = true;
Symbol 368 MovieClip Frame 23
gotoAndPlay (1);
Symbol 368 MovieClip Frame 26
_root.enemySwing = true;
Symbol 368 MovieClip Frame 35
_root.fireball = true;
gotoAndPlay (1);
Symbol 368 MovieClip Frame 36
_root.enemyBlock = true;
Instance of Symbol 246 MovieClip in Symbol 368 MovieClip Frame 36
onClipEvent (enterFrame) {
if (_root.spark == true) {
this.play();
}
}
Symbol 368 MovieClip Frame 57
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 369 MovieClip Frame 1
_root.enemyHit = true;
play();
Symbol 369 MovieClip Frame 2
if (_root.enemyLeft == true) {
_parent._x = _parent._x - 100;
} else if (_root.enemyLeft == false) {
_parent._x = _parent._x + 100;
}
if (_root.shohit == false) {
_root.hbe._width = _root.hbe._width - 1.2;
_root.enemylife = _root.enemylife - 1;
} else {
_root.hbe._width = _root.hbe._width - 3.6;
_root.enemylife = _root.enemylife - 3;
}
Symbol 369 MovieClip Frame 10
_root.shohit = false;
Symbol 369 MovieClip Frame 30
if (_root.enemylife > 0) {
_root.enemyHit = false;
_parent.gotoAndStop(2);
} else {
_parent.gotoAndPlay(4);
}
Symbol 370 MovieClip Frame 1
this._name = "warrior";
stop();
Instance of Symbol 241 MovieClip "br" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 370 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 370 MovieClip Frame 3
stop();
Symbol 370 MovieClip Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 370 MovieClip Frame 23
_root.sco = _root.sco + 500;
Symbol 370 MovieClip Frame 38
_root.wel.play();
Symbol 370 MovieClip Frame 40
_root.nextScreen = true;
stop();
Symbol 370 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 370 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 370 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 370 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 370 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 370 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 370 MovieClip Frame 66
_root.enemyhit = false;
gotoAndStop (2);
Symbol 383 Button
on (press) {
_root.gotoAndStop(18);
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
_root.amitavaplay = false;
Symbol 398 MovieClip Frame 18
stop();
stopAllSounds();