Frame 276
Frame 277
Stage.showMenu = false;
stop();
Instance of Symbol 52 MovieClip in Frame 277
onClipEvent (load) {
bytes_totales = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
bytes_cargados = _root.getBytesLoaded();
if (bytes_cargados >= bytes_totales) {
_root.gotoAndStop("title2");
} else {
porcentaje = (bytes_cargados / bytes_totales) * 100;
resultado = Math.floor(porcentaje) + "VAMPIRE SHIT";
barra._xscale = porcentaje;
}
}
Frame 278
stop();
stopAllSounds();
Instance of Symbol 61 MovieClip in Frame 278
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.lives = 2;
_root.continues = 10;
_root.level = 1;
_root.gotoAndStop("st1a");
}
}
Frame 279
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.scaleMode = "exactfit";
_root.clean();
_root.level = 1;
_root.movespeed = 5;
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 279
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 279
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 77 MovieClip "map" in Frame 279
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 279
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 279
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 279
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 279
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 279
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 279
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 279
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 279
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 279
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 279
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 279
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 279
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 279
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 279
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 279
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 279
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 279
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 280
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.level = 2;
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 280
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 280
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 369 MovieClip "map" in Frame 280
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 280
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 280
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 280
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 280
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (281);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 280
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 452 MovieClip "bug6" in Frame 280
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug7" in Frame 280
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug8" in Frame 280
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 280
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 280
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 280
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 280
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 280
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 280
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 280
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 280
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 280
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 280
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 280
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 280
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 280
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 281
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 281
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 281
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 460 MovieClip "map" in Frame 281
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 281
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 281
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 281
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (282);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 281
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 281
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 281
onClipEvent (load) {
dead = false;
if (_root.gun2.dir == 0) {
speed = -5;
}
if (_root.gun2.dir == 1) {
speed = 5;
}
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (282);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 487 MovieClip "gun3" in Frame 281
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug6" in Frame 281
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug7" in Frame 281
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug8" in Frame 281
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 281
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 281
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 281
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 281
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 281
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 281
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 281
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 281
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 281
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 281
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 281
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 281
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 281
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 282
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 282
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 282
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 501 MovieClip "map" in Frame 282
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 282
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 282
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 282
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 282
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 521 MovieClip "gun1" in Frame 282
onClipEvent (load) {
d2timer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
blt = 1132;
hit = false;
hittimer = 0;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 300;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 4;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (go) {
_x = (_x + fspeed);
if (_root.map.black.hitTest(_x + 120, _y, true)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 55;
}
}
}
}
if (hit) {
hittimer++;
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x + 85;
_root["blood1a" + blt]._y = _y - 50;
if (hittimer >= 1) {
hittimer = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
d2timer++;
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x + 85;
_root["blood1a" + blt]._y = _y - 50;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 85;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 30;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 50;
_root["smflame1a" + blt]._y = _y - 100;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 65;
_root["smflame1a" + blt]._y = _y + 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 40;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 70;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
}
if (d2timer >= 200) {
deadstop = true;
}
}
}
if (deadstop) {
gotoAndStop ("dead2");
}
if (blt > 113267566910) {
blt = 113267566890;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 548 MovieClip "bug4" in Frame 282
onClipEvent (load) {
_x = -50;
gdtimer = 0;
life = 10;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
deadtimer = 0;
dead = false;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x + speed);
if (_x >= 550) {
_x = -50;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 30) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 30) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (_root.player.run or _root.player.slide) {
_root.movespeed = 10;
} else {
_root.movespeed = 5;
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = -50;
life = 10;
dead = false;
}
}
}
}
Instance of Symbol 548 MovieClip "bug5" in Frame 282
onClipEvent (load) {
_x = 550;
life = 10;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
deadtimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x - speed);
if (_x < -200) {
_x = 550;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 80) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 80) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = 550;
life = 10;
dead = false;
}
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 282
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 282
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 282
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 282
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 282
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 282
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 282
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 282
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 282
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 282
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 282
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 282
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 282
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Frame 283
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -650;
_root.moreb = 1750;
_root.pause = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 283
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 283
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 556 MovieClip "map" in Frame 283
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_root.moved) {
_y = (_y - speed);
}
if (_root.moveu) {
_y = (_y + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 283
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 283
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 283
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 283
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 283
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 550) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 283
onClipEvent (load) {
dead = false;
if (_root.gun2.dir == 0) {
speed = -5;
}
if (_root.gun2.dir == 1) {
speed = 5;
}
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (284);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 487 MovieClip "gun3" in Frame 283
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 550) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 283
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 550) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 283
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (284);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 283
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 550) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 283
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 283
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 283
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 283
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 283
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.man = _y;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 551) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
_root.moveu = false;
_root.moved = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
if (_y <= 375) {
_root.moved = true;
_root.moveu = false;
}
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (_y <= 375) {
_root.moved = false;
}
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - 5);
}
if (_root.map.black.hitTest(_x, _y - 100, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + 8);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - 8);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (_y <= 250) {
_root.moveu = true;
}
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (_y <= 250) {
_root.moveu = true;
}
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 283
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 283
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 283
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 283
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 283
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 283
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 283
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 283
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
}
Frame 284
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.scaleMode = "exactfit";
_root.clean();
_root.end = false;
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = 0;
_root.moreb = 1800;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 66 MovieClip "bga" in Frame 284
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bgb._x + 400);
}
if (_x > 600) {
_x = (_root.bgb._x - 400);
}
}
}
}
Instance of Symbol 69 MovieClip "bgb" in Frame 284
onClipEvent (load) {
speed = 2;
_x = (_root.bga._x + 400);
_y = 200;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bga._x + 400);
}
if (_x > 600) {
_x = (_root.bga._x - 400);
}
}
}
}
Instance of Symbol 563 MovieClip "map" in Frame 284
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 284
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 284
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 284
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 284
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 607 MovieClip "monsterhead" in Frame 284
onClipEvent (load) {
hitcolor = new Color(head);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
hit = false;
hitt = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
speed = 5;
speed2 = 5;
dead = false;
shoottimer = 0;
shottime = 0;
shoot = false;
blt = 4000;
shot = false;
life = 500;
deadtimer = 0;
deadtimer2 = 0;
rdead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.s5 = life;
if (!rdead) {
if (!dead) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x < 550) {
if (_x > -350) {
if (!shoot) {
head.face1.gotoAndStop(1);
shoottimer++;
if (shoottimer >= 50) {
shoottimer = 0;
shoot = true;
}
}
if (shoot) {
shottime++;
head.face1.gotoAndStop(2);
if (!shot) {
_root.flare1.duplicateMovieClip("flare1a" + blt, blt++);
_root["flare1a" + blt]._x = _x + 210;
_root["flare1a" + blt]._y = _y + 110;
shot = true;
}
if (shottime >= 30) {
shottime = 0;
shot = false;
shoot = false;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (dead) {
hitcolor.setTransform(oldColor);
gotoAndStop ("dead");
deadtimer++;
deadtimer2++;
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x + 210;
_root["blood1a" + blt]._y = _y + 85;
_root.blood.duplicateMovieClip("blood2a" + blt, blt++);
_root["blood2a" + blt]._x = _x + 210;
_root["blood2a" + blt]._y = _y + 85;
_root["blood2a" + blt]._xscale = -100;
if (!head.hitTest(_root.map.black)) {
head._y = head._y + 5;
}
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 185;
_root["smflame1a" + blt]._y = head._y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 130;
_root["smflame1a" + blt]._y = head._y - 65;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 150;
_root["smflame1a" + blt]._y = head._y - 50;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 195;
_root["smflame1a" + blt]._y = head._y + 85;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 140;
_root["smflame1a" + blt]._y = head._y - 95;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = head._x + 170;
_root["smflame1a" + blt]._y = head._y;
stop6 = true;
}
}
if (deadtimer >= 31) {
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
}
if (deadtimer2 >= 200) {
_root.orb1._x = _x + 200;
_root.orb1._y = _y + 80;
}
if (deadtimer2 >= 250) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("none");
}
if (blt >= 4060) {
blt = 4000;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 614 MovieClip "flare1" in Frame 284
onClipEvent (load) {
speed = 61;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
stimer = 0;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "flare1") {
if (!_root.pause) {
stimer++;
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if (rtimer >= 150) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 620 MovieClip "orb1" in Frame 284
onClipEvent (load) {
end = false;
fspeed = 8;
speed = 5;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (!end) {
if (bulletDepth > 100010) {
bulletDepth = 100000 /* 0x0186A0 */;
}
if (_root.monsterhead.dead) {
_alpha = (_alpha + 0.5);
}
if (_root.monsterhead.rdead) {
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 30;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (!_root.map.black.hitTest(_x, _y + 55, true)) {
_y = (_y + fspeed);
}
if (this.hitTest(_root.player.limit)) {
_root.player.end = true;
end = true;
_root.music.gotoAndStop(3);
}
}
}
if (end) {
gotoAndStop (285);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 284
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 284
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 284
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 284
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.end) {
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 284
onClipEvent (load) {
end = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (!end) {
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (end) {
_root.mover = false;
_root.movel = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
gotoAndStop ("fall");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("stand");
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 284
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 632 MovieClip in Frame 284
onClipEvent (load) {
points1 = true;
points2 = false;
}
onClipEvent (enterFrame) {
if (_root.end) {
if (points1) {
_root.rlife = _root.rlife - 1;
_root.score = _root.score + 100;
if (_root.rlife <= 0) {
points1 = false;
points2 = true;
}
}
if (points2) {
_root.magic = _root.magic - 1;
_root.score = _root.score + 100;
if (_root.magic <= 0) {
points1 = false;
points2 = false;
_root.fade1.gotoAndPlay(2);
}
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 284
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 284
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 284
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 284
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 284
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 284
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 284
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 285
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.scaleMode = "exactfit";
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
_root.level = 3;
stop();
Instance of Symbol 637 MovieClip "bg1" in Frame 285
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 300;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 637 MovieClip "bg2" in Frame 285
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 300;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 651 MovieClip "map" in Frame 285
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 285
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 285
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 285
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 285
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 285
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 285
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (286);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 285
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 690 MovieClip "m1" in Frame 285
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 36 MovieClip [enem] "enemybullet1" in Frame 285
onClipEvent (load) {
speed = 41;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
counter = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (!dead) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
counter++;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 490) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 490) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
dead = true;
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
}
}
if (dead) {
gotoAndStop (286);
}
}
}
Instance of Symbol 690 MovieClip "m2" in Frame 285
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m3" in Frame 285
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m4" in Frame 285
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m5" in Frame 285
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 500) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 285
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 285
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 285
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 285
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 285
onClipEvent (load) {
splash = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (!splash) {
if (slimit.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
if (slimit.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
}
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 285
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 704 MovieClip "w1" in Frame 285
onClipEvent (load) {
speed = 5;
_x = 0;
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w2._x + 400);
}
if (_x > 600) {
_x = (_root.w2._x - 400);
}
}
}
}
Instance of Symbol 704 MovieClip "w2" in Frame 285
onClipEvent (load) {
speed = 5;
_x = (_root.w1._x + 400);
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w1._x + 400);
}
if (_x > 600) {
_x = (_root.w1._x - 400);
}
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 285
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 285
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 285
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 285
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 285
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 285
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 285
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 286
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.scaleMode = "exactfit";
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 637 MovieClip "bg1" in Frame 286
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 300;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 637 MovieClip "bg2" in Frame 286
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 300;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 708 MovieClip "map" in Frame 286
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 286
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 286
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 286
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 286
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 286
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 286
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (287);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 286
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 690 MovieClip "m1" in Frame 286
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 36 MovieClip [enem] "enemybullet1" in Frame 286
onClipEvent (load) {
speed = 41;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
counter = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (!dead) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
counter++;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 490) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 490) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
dead = true;
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
}
}
if (dead) {
gotoAndStop (287);
}
}
}
Instance of Symbol 690 MovieClip "m2" in Frame 286
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m3" in Frame 286
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m4" in Frame 286
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1138;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m5" in Frame 286
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 500) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 548 MovieClip "bug4" in Frame 286
onClipEvent (load) {
_x = -50;
gdtimer = 0;
life = 10;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
deadtimer = 0;
dead = false;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x + speed);
if (_x >= 550) {
_x = -50;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 30) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 30) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (_root.player.run or _root.player.slide) {
_root.movespeed = 10;
} else {
_root.movespeed = 5;
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = -50;
life = 10;
dead = false;
}
}
}
}
Instance of Symbol 548 MovieClip "bug5" in Frame 286
onClipEvent (load) {
_x = 550;
life = 10;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
deadtimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x - speed);
if (_x < -200) {
_x = 550;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 80) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 80) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = 550;
life = 10;
dead = false;
}
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 286
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 286
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 286
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 286
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 286
onClipEvent (load) {
splash = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (!splash) {
if (slimit.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
if (slimit.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
}
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 286
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 704 MovieClip "w1" in Frame 286
onClipEvent (load) {
speed = 5;
_x = 0;
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w2._x + 400);
}
if (_x > 600) {
_x = (_root.w2._x - 400);
}
}
}
}
Instance of Symbol 704 MovieClip "w2" in Frame 286
onClipEvent (load) {
speed = 5;
_x = (_root.w1._x + 400);
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w1._x + 400);
}
if (_x > 600) {
_x = (_root.w1._x - 400);
}
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 286
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 286
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 286
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 286
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 286
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 286
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 286
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 287
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.scaleMode = "exactfit";
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1200;
_root.moreb = 1200;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 637 MovieClip "bg1" in Frame 287
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 300;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 637 MovieClip "bg2" in Frame 287
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 300;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 716 MovieClip "map" in Frame 287
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 287
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 287
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 287
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 287
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 287
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 287
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (288);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 287
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 690 MovieClip "m1" in Frame 287
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 36 MovieClip [enem] "enemybullet1" in Frame 287
onClipEvent (load) {
speed = 41;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
counter = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (!dead) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
counter++;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 490) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 490) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
dead = true;
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
}
}
if (dead) {
gotoAndStop (288);
}
}
}
Instance of Symbol 690 MovieClip "m2" in Frame 287
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m3" in Frame 287
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m4" in Frame 287
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m5" in Frame 287
onClipEvent (load) {
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 113267 /* 0x01BA73 */;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (!launch) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 25) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 548 MovieClip "bug4" in Frame 287
onClipEvent (load) {
_x = -50;
gdtimer = 0;
life = 10;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
deadtimer = 0;
dead = false;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x + speed);
if (_x >= 550) {
_x = -50;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 30) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 30) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (_root.player.run or _root.player.slide) {
_root.movespeed = 10;
} else {
_root.movespeed = 5;
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = -50;
life = 10;
dead = false;
}
}
}
}
Instance of Symbol 548 MovieClip "bug5" in Frame 287
onClipEvent (load) {
_x = 550;
life = 10;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
deadtimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x - speed);
if (_x < -200) {
_x = 550;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 80) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 80) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = 550;
life = 10;
dead = false;
}
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 287
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 287
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 287
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 287
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 287
onClipEvent (load) {
splash = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (!splash) {
if (slimit.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
if (slimit.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
}
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 287
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 287
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 287
onClipEvent (load) {
dead = false;
if (_root.gun2.dir == 0) {
speed = -5;
}
if (_root.gun2.dir == 1) {
speed = 5;
}
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (288);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 487 MovieClip "gun3" in Frame 287
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 10000;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 704 MovieClip "w1" in Frame 287
onClipEvent (load) {
speed = 5;
_x = 0;
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w2._x + 400);
}
if (_x > 600) {
_x = (_root.w2._x - 400);
}
}
}
}
Instance of Symbol 704 MovieClip "w2" in Frame 287
onClipEvent (load) {
speed = 5;
_x = (_root.w1._x + 400);
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.nogo) {
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.w1._x + 400);
}
if (_x > 600) {
_x = (_root.w1._x - 400);
}
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 287
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 287
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 287
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 287
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 287
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 287
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 287
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 288
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = 1100;
_root.moreb = 1750;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 637 MovieClip "bg1" in Frame 288
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 300;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 637 MovieClip "bg2" in Frame 288
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 300;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 724 MovieClip "map" in Frame 288
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 288
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 288
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 288
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 288
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 731 MovieClip in Frame 288
onClipEvent (load) {
accel = 0.2;
speed = 0;
dead = false;
counter = 0;
life = 2000;
shootcounter = 0;
shoottimer = 0;
blt = 13345;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
_x = _root.legion._x;
_y = (_root.legion._y + 30);
if (_root.legion.p3.dead) {
if (!shoot) {
gotoAndStop ("chill");
shootcounter++;
xDiff = (_root.player._x - _x) - 25;
yDiff = (_root.player._y - _y) - 30;
dist = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
if (dist > 30) {
dir = Math.atan2(yDiff, xDiff);
_rotation = ((dir * 180) / Math.PI);
speed = speed + accel;
if (shootcounter >= 120) {
shootcounter = 0;
shoot = true;
}
}
}
if (shoot) {
gotoAndStop ("shoot");
shoottimer++;
_root.orb.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x;
_root["bone1" + blt]._y = _y;
if (shoottimer >= 2) {
shoottimer = 0;
shoot = false;
}
}
}
}
if (_root.legion.dead) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
_y = (_y + 4);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 731 MovieClip in Frame 288
onClipEvent (load) {
accel = 0.2;
speed = 0;
dead = false;
counter = 0;
life = 2000;
blt = 12345;
shootcounter = 0;
shoottimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
_x = (_root.legion._x + 60);
_y = _root.legion._y;
if (_root.legion.p2.dead) {
if (!shoot) {
gotoAndStop ("chill");
shootcounter++;
xDiff = (_root.player._x - _x) + 25;
yDiff = (_root.player._y - _y) - 30;
dist = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
if (dist > 30) {
dir = Math.atan2(yDiff, xDiff);
_rotation = ((dir * 180) / Math.PI);
speed = speed + accel;
if (shootcounter >= 160) {
shootcounter = 0;
shoot = true;
}
}
}
if (shoot) {
gotoAndStop ("shoot");
shoottimer++;
_root.orb.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x;
_root["bone1" + blt]._y = _y;
if (shoottimer >= 2) {
shoottimer = 0;
shoot = false;
}
}
}
}
if (_root.legion.dead) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
_y = (_y + 4);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 731 MovieClip in Frame 288
onClipEvent (load) {
accel = 0.2;
speed = 0;
dead = false;
counter = 0;
life = 2000;
shootcounter = 0;
shoottimer = 0;
blt = 12395;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
_x = (_root.legion._x - 60);
_y = _root.legion._y;
if (_root.legion.p1.dead) {
if (!shoot) {
gotoAndStop ("chill");
shootcounter++;
xDiff = (_root.player._x - _x) + 25;
yDiff = (_root.player._y - _y) + 30;
dist = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
if (dist > 30) {
dir = Math.atan2(yDiff, xDiff);
_rotation = ((dir * 180) / Math.PI);
speed = speed + accel;
if (shootcounter >= 160) {
shootcounter = 0;
shoot = true;
}
}
}
if (shoot) {
gotoAndStop ("shoot");
shoottimer++;
_root.orb.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x;
_root["bone1" + blt]._y = _y;
if (shoottimer >= 2) {
shoottimer = 0;
shoot = false;
}
}
}
}
if (_root.legion.dead) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
_y = (_y + 4);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 739 MovieClip "orb" in Frame 288
onClipEvent (load) {
speed = 51;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "orb") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (!dead) {
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 400) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 410) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
removeMovieClip(this);
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
}
if (dead) {
gotoAndStop (290);
}
}
}
}
Instance of Symbol 776 MovieClip "legion" in Frame 288
onClipEvent (load) {
dir = 0;
jtimer = 0;
fspeed = 1.5;
gu = false;
gd = false;
gutimer = 0;
gdtimer = 0;
undead = false;
unstart = false;
dspeed = 2;
dead = false;
life = 300;
sy = _y;
gspeed = 2;
speed = 5;
speed2 = 5;
gospeed = 2;
gr = false;
gl = true;
gor = false;
gltimer = 0;
grtimer = 0;
dead = false;
deadtimer = 0;
rdead = false;
}
onClipEvent (enterFrame) {
_root.xp = life;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (!rdead) {
if (!dead) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
_y = (_y + (sy + (4 * Math.cos((ang = ang + 0.092)))));
_root.xmeter1 = _x;
if (!unstart) {
if (((p1.dead and p2.dead) and p3.dead) and p4.dead) {
gor = true;
unstart = true;
}
}
if (!undo) {
if (unstart) {
life = 100;
go = true;
undead = true;
unstart = false;
undo = true;
}
}
if (((p1.dead and p2.dead) and p3.dead) and p4.dead) {
if (life <= 0) {
if (undead) {
dead = true;
}
}
}
if (!dead) {
if (!gor) {
if (gr) {
grtimer++;
_x = (_x + gspeed);
if (grtimer >= 200) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gl) {
gltimer++;
_x = (_x - gspeed);
if (gltimer >= 200) {
gltimer = 0;
gr = true;
gl = false;
}
}
}
}
if (gor) {
if (go) {
jtimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (_root.player._y >= (_y + 150)) {
gotoAndStop ("nded");
_y = (_y + fspeed);
}
if (_root.player._y <= (_y + 150)) {
gotoAndStop ("nded");
_y = (_y - fspeed);
}
if (jtimer >= 100) {
jtimer = 0;
go = false;
gu = true;
}
}
}
if (gu) {
gotoAndStop ("rush");
if (dir == 0) {
_x = (_x - fspeed);
}
if (dir == 1) {
_x = (_x + fspeed);
}
_y = (_y + fspeed);
gutimer++;
if (gutimer >= 50) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("rush");
if (dir == 0) {
_x = (_x - fspeed);
}
if (dir == 1) {
_x = (_x + fspeed);
}
_y = (_y - fspeed);
gdtimer++;
if (gdtimer >= 50) {
gdtimer = 0;
gu = false;
gd = false;
go = true;
}
}
}
if (dead) {
gotoAndStop ("dead");
_y = (_y + dspeed);
_alpha = (_alpha - 1);
deadtimer++;
if (deadtimer >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 288
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 288
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 288
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 288
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 288
onClipEvent (load) {
splash = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (!splash) {
if (slimit.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
if (slimit.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
}
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 288
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 288
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 288
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 288
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 288
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 288
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 288
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 288
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 289
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_quality = "low";
_root.clean();
_root.level = 4;
_root.lessb = 50;
_root.moreb = 450;
_root.life = 5;
_root.pause = false;
_root.pbtimer = 0;
_root.player.scroller = false;
_root.pb.status1 = "good";
stop();
Instance of Symbol 791 MovieClip "map" in Frame 289
onClipEvent (load) {
dn = false;
speed = 1;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.got = uptimer;
uptimer++;
if (_root.mover) {
_x = (_x - gspeed);
}
if (_root.movel) {
_x = (_x + gspeed);
}
if (uptimer >= 100) {
dn = true;
}
if ((uptimer > 500) and (uptimer < 1000)) {
_root.gotoAndStop("st2f");
}
if ((uptimer > 1000) and (uptimer < 1500)) {
_root.gotoAndStop("st2g");
}
if ((uptimer > 1500) and (uptimer < 2500)) {
_root.gotoAndStop("st2h");
}
if (dn) {
_y = (_y + speed);
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + speed;
}
if (this.hitTest(_root.m1)) {
_root.m1._y = _root.m1._y + speed;
}
if (this.hitTest(_root.m2)) {
_root.m2._y = _root.m2._y + speed;
}
if (this.hitTest(_root.m3)) {
_root.m3._y = _root.m3._y + speed;
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 289
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 289
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 289
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 289
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 289
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 289
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 289
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 289
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 289
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 289
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 289
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 289
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 289
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 704 MovieClip "w1" in Frame 289
onClipEvent (load) {
speed = 5;
_y = 400;
up = true;
dn = false;
sspeed = 0.2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.player.nohit) {
if (limit.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
if (!_root.scrollstop) {
if (up) {
uptimer++;
_y = (_y - sspeed);
if (uptimer >= 40) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + sspeed);
if (dntimer >= 40) {
dntimer = 0;
dn = false;
up = true;
}
}
}
}
Frame 290
stop();
Instance of Symbol 36 MovieClip [enem] "enemybullet1" in Frame 290
onClipEvent (load) {
speed = 41;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
counter = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (!dead) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
counter++;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 490) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 490) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
dead = true;
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
}
}
if (dead) {
gotoAndStop (290);
}
}
}
Instance of Symbol 690 MovieClip "m2" in Frame 290
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1132;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 291
stop();
Instance of Symbol 690 MovieClip "m1" in Frame 291
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11389;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 48) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m2" in Frame 291
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 292
stop();
Instance of Symbol 690 MovieClip "m2" in Frame 292
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 1139;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 30) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m4" in Frame 292
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11325;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 40) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 690 MovieClip "m5" in Frame 292
onClipEvent (load) {
_y = 425;
speed3 = 6.5;
splash = false;
shot = false;
atttimer = 0;
sltimer = 0;
slide = false;
_xscale = -100;
_height = 300;
deadtimer = 0;
go = false;
launch = true;
launchtimer = 0;
blt = 11326;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 150;
gdtimer = 0;
gutimer = 0;
speed2 = 7;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
fspeed = 1;
_yscale = 100;
dir = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!launch) {
if (_y < 450) {
if (_y > -100) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
fall = true;
go = false;
}
if (fall) {
gotoAndStop ("twirl");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
go = true;
}
}
}
}
if (_y < 450) {
if (_y > -100) {
if (!attack) {
if (!slide) {
if (!launch) {
if (go) {
jtimer++;
if (!fall) {
gotoAndStop ("walk");
}
attsel = random(2);
attacktimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 50) {
if (attsel == 0) {
attacktimer = 0;
slide = true;
go = false;
}
if (attsel == 1) {
attacktimer = 0;
attack = true;
go = false;
}
}
}
}
}
}
if (launch) {
gotoAndStop ("twirl");
_y = (_y - 12);
launchtimer++;
if (!splash) {
if (this.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
if (this.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 125;
splash = true;
}
}
if (launchtimer >= 40) {
launch = false;
fall = true;
}
}
if (slide) {
gotoAndStop ("slide");
sltimer++;
if (dir == 0) {
_x = (_x - speed3);
}
if (dir == 1) {
_x = (_x + speed3);
}
if (sltimer >= 30) {
sltimer = 0;
slide = false;
go = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (attack) {
gotoAndStop ("shoot");
atttimer++;
if (!shot) {
_root.enemybullet1.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 40;
shot = true;
}
if (atttimer >= 20) {
atttimer = 0;
shot = false;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 293
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 9;
_quality = "low";
stopAllSounds();
_root.end = false;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -400;
_root.moreb = 850;
_root.pause = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 804 MovieClip "map" in Frame 293
onClipEvent (load) {
speed = 5;
speed2 = 9;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.mapx = _x;
_root.mapy = _y;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
if (black.hitTest(_root.player)) {
_root.player._y = _root.player._y - speed2;
}
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
if (black.hitTest(_root.player)) {
_root.player._y = _root.player._y + speed2;
}
}
}
}
Instance of Symbol 805 MovieClip in Frame 293
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_root.moved) {
_y = (_y - speed);
}
if (_root.moveu) {
_y = (_y + speed);
}
}
}
Instance of Symbol 807 MovieClip "bp" in Frame 293
onClipEvent (load) {
speed = 5;
speed2 = 9;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.mapx = _x;
_root.mapy = _y;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 293
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (294);
}
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 293
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 293
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 293
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 293
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 848 MovieClip "camilla" in Frame 293
onClipEvent (load) {
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
hit = false;
hitt = 0;
atcount = 1;
attselct = 0;
at3up = true;
at3dn = false;
at3upt = 0;
at3dnt = 0;
at3sp = 10;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
deadspeed = 2;
dead2timer = 0;
goup = true;
godn = false;
goupt = 0;
godnt = 0;
a2attimer = 0;
a2up = true;
a2dn = false;
a2att = false;
a2dnt = 0;
a2upt = 0;
balltime = 0;
blt = 124569 /* 0x01E699 */;
flspeed = 4;
up = true;
dn = false;
utimer = 0;
dtimer = 0;
attack1t = 0;
attack2t = 0;
attack3t = 0;
fcount = 0;
gospeed = 2.5;
_xscale = 200;
mspeed = 5;
introgo = false;
rt = true;
lft = false;
intro = true;
go = false;
attack1 = false;
attack2 = false;
attack3 = false;
dir = 0;
dead1 = false;
dead2 = false;
dead3 = false;
life = 500;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (blt > 124589) {
blt = 124569 /* 0x01E699 */;
}
if (_root.mover) {
_x = (_x - mspeed);
}
if (_root.movel) {
_x = (_x + mspeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (intro) {
gotoAndStop ("intro");
if (_x < 400) {
cam.gotoAndStop(2);
}
}
if (life <= 0) {
dead1 = true;
}
if (!intro) {
if (!dead1) {
if (!dead2) {
if (!dead3) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (go) {
attsel = random(3);
balltime++;
if (balltime >= 80) {
_root.bball.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
balltime = 0;
}
gotoAndStop ("go");
if (goup) {
_y = (_y - 0.5);
goupt++;
if (goupt >= 100) {
goupt = 0;
goup = false;
godn = true;
}
}
if (godn) {
_y = (_y + 0.5);
godnt++;
if (godnt >= 100) {
godnt = 0;
godn = false;
goup = true;
}
}
if (rt) {
dir = 0;
_xscale = 200;
_x = (_x - gospeed);
if (_root.map.blue.hitTest(_x - 150, _y, true)) {
dir = 1;
fcount = fcount + 1;
rt = false;
lft = true;
}
}
if (lft) {
dir = 1;
_xscale = -200;
_x = (_x + gospeed);
if (_root.map.blue.hitTest(_x + 150, _y, true)) {
dir = 0;
fcount = fcount + 1;
lft = false;
rt = true;
}
}
if (fcount > atcount) {
fcount = 0;
go = false;
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
if (attsel == 2) {
attack3 = true;
}
}
}
if (attack1) {
gotoAndStop ("attack1");
attack1t++;
if (dir == 1) {
_xscale = -200;
}
if (dir == 0) {
_xscale = 200;
}
if (up) {
utimer++;
_y = (_y - flspeed);
if (utimer >= 100) {
utimer = 0;
up = false;
dwn = true;
}
}
if (dwn) {
dtimer++;
_y = (_y + flspeed);
if (dtimer >= 100) {
dtimer = 0;
up = true;
dwn = false;
}
}
if (attack1t >= 200) {
atcount = 2;
attack1t = 0;
go = true;
attack1 = false;
}
}
if (attack2) {
if (dir == 1) {
_xscale = -200;
}
if (dir == 0) {
_xscale = 200;
}
if (a2up) {
gotoAndStop ("go");
_y = (_y - 4);
a2upt++;
if (a2upt >= 25) {
a2upt = 0;
a2up = false;
a2att = true;
}
}
if (a2att) {
a2attimer++;
gotoAndStop ("attack2");
sptime++;
spy = random(9);
if (sptime >= 4) {
_root.spy.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = -10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = 10;
_root["eaxe1a" + blt].gr = true;
}
if (spy == 0) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
}
if (spy == 1) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 85;
}
if (spy == 2) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 100;
}
if (spy == 3) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 115;
}
if (spy == 4) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 130;
}
if (spy == 5) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 20;
}
if (spy == 6) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 50;
}
if (spy == 7) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y + 70;
}
if (spy == 8) {
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y + 50;
}
sptime = 0;
}
if (a2attimer >= 150) {
a2attimer = 0;
a2dn = true;
a2att = false;
}
}
if (a2dn) {
gotoAndStop ("go");
_y = (_y + 4);
attack2t++;
if (attack2t >= 25) {
atcount = 2;
attack2t = 0;
a2up = true;
a2dn = false;
attack2 = false;
go = true;
}
}
}
if (attack3) {
gotoAndStop ("attack2");
if (dir == 1) {
_xscale = -200;
}
if (dir == 0) {
_xscale = 200;
}
if (at3up) {
_y = (_y - 4);
at3upt++;
if (at3upt >= 80) {
at3upt = 0;
at3dn = true;
at3up = false;
}
}
if (at3dn) {
_y = (_y + at3sp);
if (dir == 1) {
_x = (_x + 12);
}
if (dir == 0) {
_x = (_x - 12);
}
_root.attachMovie("camshadow1a", "cshadow" + blt, blt++);
_root["cshadow" + blt]._x = _x;
_root["cshadow" + blt]._y = _y;
if (dir == 1) {
_root["cshadow" + blt]._xscale = -100;
_root["cshadow" + blt]._yscale = 150;
}
if (dir == 0) {
_root["cshadow" + blt]._xscale = 100;
_root["cshadow" + blt]._yscale = 150;
}
if (_root.map.blue.hitTest(_x, _y + 100, true)) {
atcount = 0.5;
at3dn = false;
at3up = true;
go = true;
attack3 = false;
}
}
}
}
}
}
}
if (!dead3) {
if (dead1) {
hitcolor.setTransform(oldColor);
gotoAndStop ("dead1");
_y = (_y + deadspeed);
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 25;
_root["smflame1a" + blt]._y = _y - 45;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 40;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 65;
_root["smflame1a" + blt]._y = _y - 65;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 75;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
}
if (_root.map.blue.hitTest(_x, _y + 20, true)) {
deadspeed = 0;
zap.gotoAndPlay(2);
dead3 = true;
dead1 = false;
}
}
if (dead2) {
hitcolor.setTransform(oldColor);
dead1 = false;
dead3 = false;
dead2timer++;
if (dead2timer >= 200) {
dead3 = true;
dead2 = false;
}
}
}
if (dead3) {
gotoAndStop ("dead2");
dead2 = false;
dead1 = false;
}
}
}
Instance of Symbol 854 MovieClip "bball" in Frame 293
onClipEvent (load) {
grt = 0;
glt = 0;
go = false;
dtimer = 0;
dead = false;
mspeed = 5;
lspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "bball") {
if (_root.mover) {
_x = (_x - mspeed);
}
if (_root.movel) {
_x = (_x + mspeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
dtimer++;
if (!dead) {
if (gr) {
_x = (_x + lspeed);
grt++;
if (grt >= 35) {
gr = false;
go = true;
}
}
if (gl) {
_x = (_x - lspeed);
glt++;
if (glt >= 35) {
gl = false;
go = true;
}
}
if (go) {
if (_root.player._x > _x) {
_x = (_x + speed);
}
if (_root.player._x < _x) {
_x = (_x - speed);
}
if (_root.player._y > _y) {
_y = (_y + speed);
}
if (_root.player._y < _y) {
_y = (_y - speed);
}
}
if (dtimer >= 235) {
dead = true;
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
dead = true;
}
}
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.misc1)) {
dead = true;
}
if (_root.camilla.dead1) {
dead = true;
}
}
if (dead) {
nt.gotoAndStop("dead");
}
}
}
}
Instance of Symbol 860 MovieClip "spy" in Frame 293
onClipEvent (load) {
dtimer = 0;
mspeed = 5;
lspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "spy") {
if (_root.mover) {
_x = (_x - mspeed);
}
if (_root.movel) {
_x = (_x + mspeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
dtimer++;
_y = (_y + lspeed);
_x = (_x + speed);
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
removeMovieClip(this);
}
}
if (dtimer >= 70) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 293
onClipEvent (load) {
end = false;
splash = false;
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 10;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!end) {
if (!_root.pause) {
_root.man = _y;
if (bulletDepth >= 400030) {
bulletDepth = 400000 /* 0x061A80 */;
}
if (!splash) {
if (slimit.hitTest(_root.w1)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
if (slimit.hitTest(_root.w2)) {
_root.attachMovie("splash1a", "splash1" + blt, blt++);
_root["splash1" + blt]._x = _x + 15;
_root["splash1" + blt]._y = _y - 25;
splash = true;
}
}
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
_root.moveu = false;
_root.moved = false;
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 300) {
_root.moveu = true;
}
if (_y > 300) {
_root.moveu = false;
}
if (_y < 290) {
_root.moved = false;
}
if (_y > 290) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (end) {
_root.mover = false;
_root.movel = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
gotoAndStop ("fall");
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
_root.moveu = false;
_root.moved = false;
gotoAndStop ("stand");
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 293
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 293
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 293
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 293
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - 5);
}
if (_root.moveu) {
_y = (_y + 5);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 293
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 293
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 293
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed5);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 293
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
}
Instance of Symbol 620 MovieClip "orb1" in Frame 293
onClipEvent (load) {
end = false;
fspeed = 8;
speed = 5;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!end) {
if (bulletDepth > 100010) {
bulletDepth = 100000 /* 0x0186A0 */;
}
if (_root.camilla.dead3) {
if (_alpha <= 10) {
_x = _root.bp._x;
}
_alpha = (_alpha + 0.5);
}
if (_alpha >= 100) {
if (_root.camilla.dead3) {
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 30;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!_root.map.black.hitTest(_x, _y + 55, true)) {
_y = (_y + fspeed);
}
if (this.hitTest(_root.player.limit)) {
_root.player.end = true;
end = true;
_root.music.gotoAndStop(3);
}
}
}
}
if (end) {
gotoAndStop (294);
}
}
}
Instance of Symbol 632 MovieClip in Frame 293
onClipEvent (load) {
points1 = true;
points2 = false;
}
onClipEvent (enterFrame) {
if (_root.end) {
if (points1) {
_root.rlife = _root.rlife - 1;
_root.score = _root.score + 100;
if (_root.rlife <= 0) {
points1 = false;
points2 = true;
}
}
if (points2) {
_root.magic = _root.magic - 1;
_root.score = _root.score + 100;
if (_root.magic <= 0) {
points1 = false;
points2 = false;
_root.fade1.gotoAndPlay(2);
}
}
}
}
Frame 294
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.level = 5;
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1500;
_root.moreb = 2050;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 871 MovieClip "map" in Frame 294
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 294
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 294
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 294
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 294
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 885 MovieClip "ghost1" in Frame 294
onClipEvent (load) {
hittimer = 0;
hspeed = 4;
_xscale = 100;
speed = 1.5;
go = false;
gotimer = 0;
appear = true;
dead = false;
deadtimer = 0;
stopper = false;
stoppert = 0;
hit = false;
life = 40;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sx = deadtimer;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (appear) {
gotoAndStop ("intro");
}
if (!dead) {
if (!hit) {
if (!appear) {
if (go) {
gotoAndStop ("go");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + speed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - speed);
dir = 0;
}
if (_root.player._y >= (_y + 70)) {
_y = (_y + speed);
}
if (_root.player._y <= (_y + 70)) {
_y = (_y - speed);
}
if (gotimer >= 100) {
gotimer = 0;
stopper = true;
go = false;
}
}
if (stopper) {
stoppert++;
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
if (stoppert >= 50) {
stoppert = 0;
stopper = false;
go = true;
}
}
}
}
if (hit) {
hittimer++;
if (dir == 0) {
_x = (_x + hspeed);
}
if (dir == 1) {
_x = (_x - hspeed);
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
go = false;
stopper = false;
hit = false;
if (deadtimer >= 150) {
deadtimer = 0;
life = 40;
appear = true;
dead = false;
xsel = random(4);
if (xsel == 0) {
_x = (_root.player._x - 150);
_y = (_root.player._y - 100);
}
if (xsel == 1) {
_x = (_root.player._x + 150);
_y = (_root.player._y + 100);
}
if (xsel == 2) {
_x = (_root.player._x - 150);
_y = (_root.player._y + 100);
}
if (xsel == 3) {
_x = (_root.player._x + 150);
_y = (_root.player._y - 100);
}
}
}
}
}
Instance of Symbol 885 MovieClip "ghost2" in Frame 294
onClipEvent (load) {
hittimer = 0;
hspeed = 4;
_xscale = 100;
speed = 1.5;
go = false;
gotimer = 0;
appear = true;
dead = false;
deadtimer = 0;
stopper = false;
stoppert = 0;
hit = false;
life = 40;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sx = deadtimer;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (appear) {
gotoAndStop ("intro");
}
if (!dead) {
if (!hit) {
if (!appear) {
if (go) {
gotoAndStop ("go");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + speed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - speed);
dir = 0;
}
if (_root.player._y >= (_y + 70)) {
_y = (_y + speed);
}
if (_root.player._y <= (_y + 70)) {
_y = (_y - speed);
}
if (gotimer >= 100) {
gotimer = 0;
stopper = true;
go = false;
}
}
if (stopper) {
stoppert++;
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
if (stoppert >= 50) {
stoppert = 0;
stopper = false;
go = true;
}
}
}
}
if (hit) {
hittimer++;
if (dir == 0) {
_x = (_x + hspeed);
}
if (dir == 1) {
_x = (_x - hspeed);
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
go = false;
stopper = false;
hit = false;
if (deadtimer >= 150) {
deadtimer = 0;
life = 40;
appear = true;
dead = false;
xsel = random(4);
if (xsel == 0) {
_x = (_root.player._x - 150);
_y = (_root.player._y - 100);
}
if (xsel == 1) {
_x = (_root.player._x + 150);
_y = (_root.player._y + 100);
}
if (xsel == 2) {
_x = (_root.player._x - 150);
_y = (_root.player._y + 100);
}
if (xsel == 3) {
_x = (_root.player._x + 150);
_y = (_root.player._y - 100);
}
}
}
}
}
Instance of Symbol 925 MovieClip "knight1" in Frame 294
onClipEvent (load) {
dashspeed = 3;
attack2timer = 0;
attack2 = false;
attacksel = false;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 90;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 500) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limitc.hitTest(_root.player.limit)) {
attacksel = true;
go = false;
}
}
}
if (attacksel) {
attsel = random(2);
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
attacksel = false;
}
if (attack1) {
gotoAndStop ("attack2");
attacktimer++;
if (attacktimer >= 65) {
attacktimer = 0;
go = true;
attack1 = false;
}
}
if (attack2) {
gotoAndStop ("attack1");
attack2timer++;
if (dir == 0) {
_x = (_x - dashspeed);
}
if (dir == 1) {
_x = (_x + dashspeed);
}
if ((attack2timer >= 30) and (attack2timer <= 31)) {
dashspeed = 0;
}
if (attack2timer >= 80) {
dashspeed = 3;
attack2timer = 0;
go = true;
attack2 = false;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 925 MovieClip "knight2" in Frame 294
onClipEvent (load) {
dashspeed = 3;
attack2timer = 0;
attack2 = false;
attacksel = false;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 90;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 500) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - fspeed);
dir = 0;
}
if (limitc.hitTest(_root.player.limit)) {
attacksel = true;
go = false;
}
}
}
if (attacksel) {
attsel = random(2);
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
attacksel = false;
}
if (attack1) {
gotoAndStop ("attack2");
attacktimer++;
if (attacktimer >= 65) {
attacktimer = 0;
go = true;
attack1 = false;
}
}
if (attack2) {
gotoAndStop ("attack1");
attack2timer++;
if (dir == 0) {
_x = (_x - dashspeed);
}
if (dir == 1) {
_x = (_x + dashspeed);
}
if ((attack2timer >= 30) and (attack2timer <= 31)) {
dashspeed = 0;
}
if (attack2timer >= 80) {
dashspeed = 3;
attack2timer = 0;
go = true;
attack2 = false;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 988 MovieClip "alura" in Frame 294
onClipEvent (load) {
r1 = false;
r2 = false;
r3 = false;
r4 = false;
r5 = false;
starter = false;
blt = 2000;
life = 300;
intro = true;
intimer = 0;
attack1 = false;
attack2 = false;
dead = false;
go = false;
gotimer = 0;
attack1t = 0;
attack2t = 0;
dir = 0;
_xscale = 120;
}
onClipEvent (enterFrame) {
_root.px = _x;
if (blt >= 2010) {
blt = 2000;
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (intro) {
gotoAndStop ("intro");
if (_x > -100) {
plant.gotoAndStop(2);
}
}
if (!intro) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (go) {
gotimer++;
gotoAndStop ("chill");
if (_root.player._x > _x) {
dir = 0;
_xscale = 120;
}
if (_root.player._x < _x) {
dir = 1;
_xscale = -120;
}
if (gotimer >= 50) {
attsel = random(2);
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
gotimer = 0;
go = false;
}
}
if (attack1) {
gotoAndStop ("attack1");
attack1t++;
if (attack1t >= 20) {
if (!r1) {
_root.rose.duplicateMovieClip("rose1" + blt, blt++);
_root["rose1" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 10;
_root["rose1" + blt]._x = _x + 50;
_root["rose1" + blt]._xscale = 100;
_root["rose1" + blt]._rotation = 15;
}
if (dir == 1) {
aspeed = -13;
bspeed = 10;
_root["rose1" + blt]._x = _x - 50;
_root["rose1" + blt]._xscale = -100;
_root["rose1" + blt]._rotation = -15;
}
r1 = true;
}
}
if (attack1t >= 21) {
if (!r2) {
_root.rose.duplicateMovieClip("rose2" + blt, blt++);
_root["rose2" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 8;
_root["rose2" + blt]._x = _x + 50;
_root["rose2" + blt]._xscale = 100;
_root["rose2" + blt]._rotation = 25;
}
if (dir == 1) {
aspeed = -13;
bspeed = 8;
_root["rose2" + blt]._x = _x - 50;
_root["rose2" + blt]._xscale = -100;
_root["rose2" + blt]._rotation = -25;
}
r2 = true;
}
}
if (attack1t >= 22) {
if (!r3) {
_root.rose.duplicateMovieClip("rose3" + blt, blt++);
_root["rose3" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 5;
_root["rose3" + blt]._x = _x + 50;
_root["rose3" + blt]._xscale = 100;
_root["rose3" + blt]._rotation = 20;
}
if (dir == 1) {
aspeed = -13;
bspeed = 5;
_root["rose3" + blt]._x = _x - 50;
_root["rose3" + blt]._xscale = -100;
_root["rose3" + blt]._rotation = -20;
}
r3 = true;
}
}
if (attack1t >= 23) {
if (!r4) {
_root.rose.duplicateMovieClip("rose4" + blt, blt++);
_root["rose4" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 2;
_root["rose4" + blt]._x = _x + 50;
_root["rose4" + blt]._xscale = 100;
_root["rose4" + blt]._rotation = 15;
}
if (dir == 1) {
aspeed = -13;
bspeed = 2;
_root["rose4" + blt]._x = _x - 50;
_root["rose4" + blt]._xscale = -100;
_root["rose4" + blt]._rotation = -15;
}
r4 = true;
}
}
if (attack1t >= 24) {
if (!r5) {
_root.rose.duplicateMovieClip("rose5" + blt, blt++);
_root["rose5" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = -1;
_root["rose5" + blt]._x = _x + 50;
_root["rose5" + blt]._xscale = 100;
_root["rose5" + blt]._rotation = 10;
}
if (dir == 1) {
aspeed = -13;
bspeed = -1;
_root["rose5" + blt]._x = _x - 50;
_root["rose5" + blt]._xscale = -100;
_root["rose5" + blt]._rotation = -10;
}
r5 = true;
}
}
if (attack1t > 25) {
attack1t = 0;
r1 = false;
r2 = false;
r3 = false;
r4 = false;
r5 = false;
go = true;
attack1 = false;
}
}
if (attack2) {
gotoAndStop ("attack2");
attack2t++;
if (attack2t > 25) {
attack2t = 0;
go = true;
attack2 = false;
}
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 991 MovieClip "rose" in Frame 294
onClipEvent (load) {
speed = _root.alura.aspeed;
yspeed = _root.alura.bspeed;
removetimer = 0;
dead = false;
stuck = false;
}
onClipEvent (enterFrame) {
if (_name != "rose") {
if (!_root.pause) {
removetimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (!dead) {
if (!stuck) {
_x = (_x + speed);
_y = (_y + yspeed);
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (_root.map.black.hitTest(_x, _y, true)) {
stuck = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
removeMovieClip(this);
}
}
}
}
if (stuck) {
speed = 0;
yspeed = 0;
}
if (dead) {
gotoAndStop (295);
}
if (removetimer >= 55) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1010 MovieClip "w1" in Frame 294
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w2" in Frame 294
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w3" in Frame 294
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w4" in Frame 294
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 294
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 294
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 294
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 294
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 294
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 294
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 294
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 294
onClipEvent (load) {
dead = false;
speed = 5;
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (295);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 487 MovieClip "gun3" in Frame 294
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 294
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 294
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 294
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 294
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 294
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 294
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 294
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 295
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1500;
_root.moreb = 2050;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1018 MovieClip "map" in Frame 295
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 295
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 295
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 295
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 295
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 295
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
if (dir == 0) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 295
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (296);
}
}
}
}
Instance of Symbol 408 MovieClip "bug10" in Frame 295
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 295
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 295
onClipEvent (load) {
dead = false;
speed = 5;
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (296);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 487 MovieClip "gun3" in Frame 295
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug6" in Frame 295
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug7" in Frame 295
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 452 MovieClip "bug8" in Frame 295
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 988 MovieClip "alura" in Frame 295
onClipEvent (load) {
r1 = false;
r2 = false;
r3 = false;
r4 = false;
r5 = false;
starter = false;
blt = 2000;
life = 300;
intro = true;
intimer = 0;
attack1 = false;
attack2 = false;
dead = false;
go = false;
gotimer = 0;
attack1t = 0;
attack2t = 0;
dir = 0;
_xscale = 120;
}
onClipEvent (enterFrame) {
_root.px = _x;
if (blt >= 2010) {
blt = 2000;
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (intro) {
gotoAndStop ("intro");
if (_x > -100) {
plant.gotoAndStop(2);
}
}
if (!intro) {
if (!dead) {
if (_x < 400) {
if (_x > -100) {
if (go) {
gotimer++;
gotoAndStop ("chill");
if (_root.player._x > _x) {
dir = 0;
_xscale = 120;
}
if (_root.player._x < _x) {
dir = 1;
_xscale = -120;
}
if (gotimer >= 50) {
attsel = random(2);
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
gotimer = 0;
go = false;
}
}
if (attack1) {
gotoAndStop ("attack1");
attack1t++;
if (attack1t >= 20) {
if (!r1) {
_root.rose.duplicateMovieClip("rose1" + blt, blt++);
_root["rose1" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 10;
_root["rose1" + blt]._x = _x + 50;
_root["rose1" + blt]._xscale = 100;
_root["rose1" + blt]._rotation = 15;
}
if (dir == 1) {
aspeed = -13;
bspeed = 10;
_root["rose1" + blt]._x = _x - 50;
_root["rose1" + blt]._xscale = -100;
_root["rose1" + blt]._rotation = -15;
}
r1 = true;
}
}
if (attack1t >= 21) {
if (!r2) {
_root.rose.duplicateMovieClip("rose2" + blt, blt++);
_root["rose2" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 8;
_root["rose2" + blt]._x = _x + 50;
_root["rose2" + blt]._xscale = 100;
_root["rose2" + blt]._rotation = 25;
}
if (dir == 1) {
aspeed = -13;
bspeed = 8;
_root["rose2" + blt]._x = _x - 50;
_root["rose2" + blt]._xscale = -100;
_root["rose2" + blt]._rotation = -25;
}
r2 = true;
}
}
if (attack1t >= 22) {
if (!r3) {
_root.rose.duplicateMovieClip("rose3" + blt, blt++);
_root["rose3" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 5;
_root["rose3" + blt]._x = _x + 50;
_root["rose3" + blt]._xscale = 100;
_root["rose3" + blt]._rotation = 20;
}
if (dir == 1) {
aspeed = -13;
bspeed = 5;
_root["rose3" + blt]._x = _x - 50;
_root["rose3" + blt]._xscale = -100;
_root["rose3" + blt]._rotation = -20;
}
r3 = true;
}
}
if (attack1t >= 23) {
if (!r4) {
_root.rose.duplicateMovieClip("rose4" + blt, blt++);
_root["rose4" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = 2;
_root["rose4" + blt]._x = _x + 50;
_root["rose4" + blt]._xscale = 100;
_root["rose4" + blt]._rotation = 15;
}
if (dir == 1) {
aspeed = -13;
bspeed = 2;
_root["rose4" + blt]._x = _x - 50;
_root["rose4" + blt]._xscale = -100;
_root["rose4" + blt]._rotation = -15;
}
r4 = true;
}
}
if (attack1t >= 24) {
if (!r5) {
_root.rose.duplicateMovieClip("rose5" + blt, blt++);
_root["rose5" + blt]._y = _y - 60;
if (dir == 0) {
aspeed = 13;
bspeed = -1;
_root["rose5" + blt]._x = _x + 50;
_root["rose5" + blt]._xscale = 100;
_root["rose5" + blt]._rotation = 10;
}
if (dir == 1) {
aspeed = -13;
bspeed = -1;
_root["rose5" + blt]._x = _x - 50;
_root["rose5" + blt]._xscale = -100;
_root["rose5" + blt]._rotation = -10;
}
r5 = true;
}
}
if (attack1t > 25) {
attack1t = 0;
r1 = false;
r2 = false;
r3 = false;
r4 = false;
r5 = false;
go = true;
attack1 = false;
}
}
if (attack2) {
gotoAndStop ("attack2");
attack2t++;
if (attack2t > 25) {
attack2t = 0;
go = true;
attack2 = false;
}
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 991 MovieClip "rose" in Frame 295
onClipEvent (load) {
speed = _root.alura.aspeed;
yspeed = _root.alura.bspeed;
removetimer = 0;
dead = false;
stuck = false;
}
onClipEvent (enterFrame) {
if (_name != "rose") {
if (!_root.pause) {
removetimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (!dead) {
if (!stuck) {
_x = (_x + speed);
_y = (_y + yspeed);
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (_root.map.black.hitTest(_x, _y, true)) {
stuck = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
removeMovieClip(this);
}
}
}
}
if (stuck) {
speed = 0;
yspeed = 0;
}
if (dead) {
gotoAndStop (296);
}
if (removetimer >= 55) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1010 MovieClip "w1" in Frame 295
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w2" in Frame 295
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w3" in Frame 295
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 1010 MovieClip "w4" in Frame 295
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
Instance of Symbol 885 MovieClip "ghost1" in Frame 295
onClipEvent (load) {
hittimer = 0;
hspeed = 4;
_xscale = 100;
speed = 1.5;
go = false;
gotimer = 0;
appear = true;
dead = false;
deadtimer = 0;
stopper = false;
stoppert = 0;
hit = false;
life = 40;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sx = deadtimer;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (appear) {
gotoAndStop ("intro");
}
if (!dead) {
if (!hit) {
if (!appear) {
if (go) {
gotoAndStop ("go");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + speed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - speed);
dir = 0;
}
if (_root.player._y >= (_y + 70)) {
_y = (_y + speed);
}
if (_root.player._y <= (_y + 70)) {
_y = (_y - speed);
}
if (gotimer >= 100) {
gotimer = 0;
stopper = true;
go = false;
}
}
if (stopper) {
stoppert++;
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
if (stoppert >= 50) {
stoppert = 0;
stopper = false;
go = true;
}
}
}
}
if (hit) {
hittimer++;
if (dir == 0) {
_x = (_x + hspeed);
}
if (dir == 1) {
_x = (_x - hspeed);
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
go = false;
stopper = false;
hit = false;
if (deadtimer >= 150) {
deadtimer = 0;
life = 40;
appear = true;
dead = false;
xsel = random(4);
if (xsel == 0) {
_x = (_root.player._x - 150);
_y = (_root.player._y - 100);
}
if (xsel == 1) {
_x = (_root.player._x + 150);
_y = (_root.player._y + 100);
}
if (xsel == 2) {
_x = (_root.player._x - 150);
_y = (_root.player._y + 100);
}
if (xsel == 3) {
_x = (_root.player._x + 150);
_y = (_root.player._y - 100);
}
}
}
}
}
Instance of Symbol 885 MovieClip "ghost2" in Frame 295
onClipEvent (load) {
hittimer = 0;
hspeed = 4;
_xscale = 100;
speed = 1.5;
go = false;
gotimer = 0;
appear = true;
dead = false;
deadtimer = 0;
stopper = false;
stoppert = 0;
hit = false;
life = 40;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sx = deadtimer;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (appear) {
gotoAndStop ("intro");
}
if (!dead) {
if (!hit) {
if (!appear) {
if (go) {
gotoAndStop ("go");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + speed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - speed);
dir = 0;
}
if (_root.player._y >= (_y + 70)) {
_y = (_y + speed);
}
if (_root.player._y <= (_y + 70)) {
_y = (_y - speed);
}
if (gotimer >= 100) {
gotimer = 0;
stopper = true;
go = false;
}
}
if (stopper) {
stoppert++;
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
if (stoppert >= 50) {
stoppert = 0;
stopper = false;
go = true;
}
}
}
}
if (hit) {
hittimer++;
if (dir == 0) {
_x = (_x + hspeed);
}
if (dir == 1) {
_x = (_x - hspeed);
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
go = false;
stopper = false;
hit = false;
if (deadtimer >= 150) {
deadtimer = 0;
life = 40;
appear = true;
dead = false;
xsel = random(4);
if (xsel == 0) {
_x = (_root.player._x - 150);
_y = (_root.player._y - 100);
}
if (xsel == 1) {
_x = (_root.player._x + 150);
_y = (_root.player._y + 100);
}
if (xsel == 2) {
_x = (_root.player._x - 150);
_y = (_root.player._y + 100);
}
if (xsel == 3) {
_x = (_root.player._x + 150);
_y = (_root.player._y - 100);
}
}
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 295
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 295
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 295
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 295
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 295
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 295
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 295
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 295
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 295
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 295
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 295
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 295
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 295
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 296
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -650;
_root.moreb = 1050;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1025 MovieClip "map" in Frame 296
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 296
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 296
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 296
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 296
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 1093 MovieClip "garmor" in Frame 296
onClipEvent (load) {
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
hit = false;
hitt = 0;
_xscale = 100;
speed = 1;
dead1 = false;
dead2 = false;
life = 400;
attack1 = false;
attack2 = false;
guard = false;
gor = true;
gol = false;
gort = 0;
golt = 0;
attack1t = 0;
attack2t = 0;
guardt = 0;
dead1t = 0;
}
onClipEvent (enterFrame) {
_root.gba = hitcolor.getRGB(this);
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead1 = true;
}
if (!dead1) {
if (!dead2) {
if (!attack1) {
if (!attack2) {
if (!guard) {
if (_root.player._x > _x) {
_xscale = 100;
}
if (_root.player._x < _x) {
_xscale = -100;
}
if (gor) {
gotoAndStop ("go");
gort++;
_x = (_x + speed);
if (gort >= 50) {
gort = 0;
gor = false;
gol = true;
}
}
if (gol) {
gotoAndStop ("go");
golt++;
attsel = random(3);
_x = (_x - speed);
if (golt >= 50) {
golt = 0;
gor = false;
gol = false;
if (attsel == 0) {
attack1 = true;
}
if (attsel == 1) {
attack2 = true;
}
if (attsel == 2) {
guard = true;
}
}
}
}
}
}
if (attack1) {
attack1t++;
gotoAndStop ("attack1");
if (attack1t >= 50) {
attack1t = 0;
gor = true;
attack1 = false;
}
}
if (attack2) {
attack2t++;
gotoAndStop ("attack2");
if (attack2t >= 45) {
attack2t = 0;
gor = true;
attack2 = false;
}
}
if (guard) {
guardt++;
gotoAndStop ("guard");
if (guardt >= 80) {
guardt = 0;
gor = true;
guard = false;
}
}
}
}
if (!dead2) {
if (dead1) {
gotoAndStop ("dead1");
dead1t++;
if (dead1t >= 150) {
dead2 = true;
dead1 = false;
}
}
}
if (dead2) {
gotoAndStop ("dead2");
}
}
_root.xly = life;
}
Instance of Symbol 133 MovieClip "holderb" in Frame 296
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 296
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 296
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 296
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 548 MovieClip "bug4" in Frame 296
onClipEvent (load) {
_x = -50;
gdtimer = 0;
life = 10;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
deadtimer = 0;
dead = false;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x + speed);
if (_x >= 550) {
_x = -50;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 30) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 30) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (_root.player.run or _root.player.slide) {
_root.movespeed = 10;
} else {
_root.movespeed = 5;
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = -50;
life = 10;
dead = false;
}
}
}
}
Instance of Symbol 548 MovieClip "bug5" in Frame 296
onClipEvent (load) {
_x = 550;
life = 10;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
deadtimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x - speed);
if (_x < -200) {
_x = 550;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 80) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 80) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = 550;
life = 10;
dead = false;
}
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 296
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 296
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 296
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 296
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 296
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 296
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 296
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 296
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 296
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 297
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -500;
_root.moreb = 650;
_root.pause = false;
_root.pbtimer = 0;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1103 MovieClip "map" in Frame 297
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 297
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 297
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 297
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 297
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 297
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 297
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 297
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 297
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 297
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 297
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 1135 MovieClip "necro" in Frame 297
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
con1 = false;
con2 = false;
blt = 3000;
shot1 = false;
shot2 = false;
shot3 = false;
_xscale = 100;
speed1 = 4;
speed2 = 5;
speed3 = 6;
dead1 = false;
dead1t = 0;
dead2 = false;
go = true;
gol = false;
golt = 0;
gor = true;
gort = 0;
attack1 = false;
attack1t = 0;
block = false;
blockt = 0;
conjure = false;
conjuret = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
hit = false;
hitt = 0;
life = 500;
var_move = 0;
}
onClipEvent (enterFrame) {
_root.jizz = life;
if (!_root.pause) {
if (blt > 3060) {
blt = 3000;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_x < -110) {
_x = (_x + 10);
}
if (_x > 501) {
_x = (_x - 10);
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead1 = true;
}
if (!dead1) {
if (!dead2) {
if (!go) {
if (attack1) {
var_move++;
gotoAndStop ("attack1");
attack1t++;
if (_root.player._x >= _x) {
_xscale = -100;
_x = (_x + speed2);
_y = ((35 * Math.sin(var_move / 14)) + _x);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
_x = (_x - speed2);
_y = ((35 * Math.sin(var_move / 14)) + _x);
dir = 0;
}
if (attack1t >= 100) {
if (!shot1) {
_root.enemybullet1.duplicateMovieClip("flare1a" + blt, blt++);
_root["flare1a" + blt]._x = _x - 50;
_root["flare1a" + blt]._y = _y + 10;
shot1 = true;
}
}
if (attack1t >= 150) {
if (!shot2) {
_root.enemybullet1.duplicateMovieClip("flare1a" + blt, blt++);
_root["flare1a" + blt]._x = _x - 50;
_root["flare1a" + blt]._y = _y + 10;
shot2 = true;
}
}
if (attack1t >= 200) {
if (!shot3) {
_root.enemybullet1.duplicateMovieClip("flare1a" + blt, blt++);
_root["flare1a" + blt]._x = _x - 50;
_root["flare1a" + blt]._y = _y + 10;
shot3 = true;
}
}
if (attack1t >= 250) {
attack1t = 0;
go = true;
shot1 = false;
shot2 = false;
shot3 = false;
attack1 = false;
}
}
}
if (!attack1) {
if (!conjure) {
if (!block) {
if (go) {
var_move--;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
if (gor) {
_y = ((35 * Math.sin(var_move / 14)) + _x);
_x = (_x + speed1);
gort++;
if (gort >= 60) {
gort = 0;
gor = false;
gol = true;
}
}
if (gol) {
_y = ((35 * Math.sin(var_move / -12)) + _x);
_x = (_x - speed1);
golt++;
atsel = random(3);
if (golt >= 60) {
golt = 0;
gor = true;
gol = false;
go = false;
if (atsel == 0) {
attack1 = true;
}
if (atsel == 1) {
block = true;
}
if (atsel == 2) {
conjure = true;
}
}
}
}
}
}
}
if (block) {
if (_root.player._x >= _x) {
_xscale = -100;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
dir = 0;
}
var_move--;
_y = ((35 * Math.sin(var_move / -12)) + _x);
gotoAndStop ("block");
blockt++;
if (_root.player._x >= (_x + 150)) {
_x = (_x - speed2);
}
if (_root.player._x <= (_x + 150)) {
_x = (_x + speed2);
}
if (blockt >= 100) {
blockt = 0;
go = true;
block = false;
}
}
if (conjure) {
gotoAndStop ("conjure");
conjuret++;
if (conjuret >= 50) {
if (!con1) {
_root.skeleton.duplicateMovieClip("sk1a" + blt, blt++);
_root["sk1a" + blt]._x = _x - 50;
_root["sk1a" + blt]._y = _y + 10;
_root.flash1.duplicateMovieClip("flash1b" + blt, blt++);
_root["flash1b" + blt]._x = _x - 50;
_root["flash1b" + blt]._y = _y + 10;
con1 = true;
}
}
if (conjuret >= 70) {
if (!con2) {
_root.skeleton.duplicateMovieClip("sk1a" + blt, blt++);
_root["sk1a" + blt]._x = _x - 250;
_root["sk1a" + blt]._y = _y + 10;
_root.flash1.duplicateMovieClip("flash1a" + blt, blt++);
_root["flash1a" + blt]._x = _x - 250;
_root["flash1a" + blt]._y = _y + 10;
con2 = true;
}
}
if (conjuret >= 100) {
con2 = false;
con1 = false;
conjuret = 0;
go = true;
conjure = false;
}
}
}
}
if (!dead2) {
if (dead1) {
gotoAndStop ("dead1");
dead1t++;
_y = (_y + 2);
if (!stop1) {
if (dead1t >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (dead1t >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (dead1t >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (dead1t >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (dead1t >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (dead1t >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (dead1t >= 130) {
dead1 = false;
dead2 = true;
}
}
}
if (dead2) {
gotoAndStop ("dead2");
}
}
}
Instance of Symbol 1142 MovieClip "enemybullet1" in Frame 297
onClipEvent (load) {
speed = 70;
dx = _root.player._x - _x;
dy = _root.player._y - _y;
counter = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (!dead) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
counter++;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 490) or (_x < -30)) {
removeMovieClip(this);
}
if ((_y > 490) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
}
}
}
Instance of Symbol 1143 MovieClip "skeleton" in Frame 297
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
if (_name != "skeleton") {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (_x < 400) {
if (_x > -100) {
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (limit.hitTest(_root.misc1)) {
dead = true;
}
if (limit.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (_root.necro.dead1) {
dead = true;
}
if (_root.necro.dead2) {
dead = true;
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 297
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (298);
}
}
}
}
Instance of Symbol 1146 MovieClip "flash1" in Frame 297
onClipEvent (load) {
if (_name != "flash") {
gotoAndStop (298);
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 297
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 297
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 297
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 297
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 297
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 297
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 297
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 298
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.level = 6;
_root.movespeed = 5;
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1500;
_root.moreb = 2120;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1149 MovieClip "bg2" in Frame 298
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 150;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 1149 MovieClip "bg1" in Frame 298
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 150;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 1170 MovieClip "map" in Frame 298
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 298
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 298
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 298
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 298
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 298
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 298
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 298
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 298
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 298
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 298
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 298
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 298
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 298
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 298
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 298
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 298
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 298
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 299
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1500;
_root.moreb = 2120;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1149 MovieClip "bg2" in Frame 299
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 150;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 1149 MovieClip "bg1" in Frame 299
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 150;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 1178 MovieClip "map" in Frame 299
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 299
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 299
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 299
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 299
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 299
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 299
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 299
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 299
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 299
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 299
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 299
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 299
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 299
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 299
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 299
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 299
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 299
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 300
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -1500;
_root.moreb = 2050;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1149 MovieClip "bg2" in Frame 300
onClipEvent (load) {
speed = 2;
_x = (_root.bg1._x + 400);
_y = 150;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg1._x + 400);
}
if (_x > 600) {
_x = (_root.bg1._x - 400);
}
}
}
}
Instance of Symbol 1149 MovieClip "bg1" in Frame 300
onClipEvent (load) {
speed = 2;
_x = 0;
_y = 150;
}
onClipEvent (enterFrame) {
_root.mapx = _x;
if (!_root.pause) {
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
if (_x < 0) {
_x = (_root.bg2._x + 400);
}
if (_x > 600) {
_x = (_root.bg2._x - 400);
}
}
}
}
Instance of Symbol 1185 MovieClip "map" in Frame 300
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 128 MovieClip "hug1" in Frame 300
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug2" in Frame 300
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug3" in Frame 300
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 128 MovieClip "hug4" in Frame 300
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 5;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 5;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (!dead) {
itemsel = random(8);
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 25) {
deadstop = true;
}
}
}
if (deadstop) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
_y = (_y + speed);
}
if (itemsel == 0) {
gotoAndStop ("f3");
}
if (itemsel == 1) {
gotoAndStop ("f4");
}
if (itemsel == 2) {
gotoAndStop ("f5");
}
if (itemsel == 3) {
gotoAndStop ("f6");
}
if (itemsel == 4) {
gotoAndStop ("f7");
}
if (itemsel == 5) {
gotoAndStop ("f8");
}
if (itemsel == 6) {
gotoAndStop ("f9");
}
if (itemsel == 7) {
gotoAndStop ("f10");
}
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 300
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 300
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 300
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 300
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 300
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 300
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 300
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 300
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 300
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 300
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 300
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 300
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 300
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 301
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.movespeed = 5;
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = -400;
_root.moreb = 650;
_root.rlife = 100;
_root.life = 1;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1194 MovieClip "map" in Frame 301
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xmeter = _x;
if (_root.mover) {
_x = (_x - speed);
}
if (_root.movel) {
_x = (_x + speed);
}
}
}
Instance of Symbol 133 MovieClip "holderb" in Frame 301
onClipEvent (enterFrame) {
if (_root.life != _root.rlife) {
if (_root.life < _root.rlife) {
_root.life++;
}
if (_root.life > _root.rlife) {
_root.life--;
}
if (_root.life < 0) {
_root.life = 0;
}
}
}
Instance of Symbol 149 MovieClip in Frame 301
onClipEvent (load) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
onClipEvent (enterFrame) {
if (_root.axe) {
gotoAndStop ("axe");
}
if (_root.hwater) {
gotoAndStop ("hwater");
}
if (_root.cross) {
gotoAndStop ("cross");
}
if (_root.crucifix) {
gotoAndStop ("crucifix");
}
if (_root.dagger) {
gotoAndStop ("dagger");
}
}
Instance of Symbol 151 MovieClip in Frame 301
onClipEvent (enterFrame) {
_width = (_root.life * 1.5);
if (_root.life < 0) {
_root.rlife == 0;
_root.life == 0;
_width = 0;
}
if (_root.rlife > 100) {
_root.rlife = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 301
onClipEvent (enterFrame) {
_width = (_root.magic * 1.5);
if (!_root.pause) {
if (_root.magic < 100) {
if (!_root.player.cross) {
_root.magic = _root.magic + 0.02;
}
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 301
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 180;
Lbounds = 180;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 401) {
_x = (_x - 10);
}
if (_y > 651) {
dead = true;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y-1);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 80) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 80;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 301
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Instance of Symbol 336 MovieClip "dagger1" in Frame 301
onClipEvent (load) {
_xscale = 250;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 30;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "dagger1") {
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 30) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gor) {
_xscale = -250;
_x = (_x - speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
if (gol) {
_xscale = 250;
_x = (_x + speed);
}
}
}
if (ko) {
_rotation = (_rotation + 30);
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 342 MovieClip "star" in Frame 301
onClipEvent (load) {
if (_name != "star") {
speed = random(8);
}
}
onClipEvent (enterFrame) {
if (_name != "star") {
_y = (_y + speed);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 345 MovieClip "axe1" in Frame 301
onClipEvent (load) {
ko = false;
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 8;
uspeed = 12;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
sspeed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "axe1") {
_rotation = (_rotation + 40);
removetime++;
bullettimer++;
if (!ko) {
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
}
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 45) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 15) {
gor = false;
gol = true;
}
if (gor) {
_x = (_x - speed);
_y = (_y - uspeed);
}
if (gol) {
_x = (_x - speed);
_y = (_y + uspeed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 15) {
gor = true;
gol = false;
}
if (gor) {
_x = (_x + speed);
_y = (_y + uspeed);
}
if (gol) {
_x = (_x + speed);
_y = (_y - uspeed);
}
}
}
if (ko) {
_y = (_y + 5);
}
}
}
}
Instance of Symbol 348 MovieClip "blood" in Frame 301
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 301
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
ko = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (!ko) {
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
if (ko) {
_y = (_y + 6);
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 301
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Frame 301
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 302
_quality = "low";
_root.score = 0;
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
_root.lessb = 250;
_root.moreb = 300;
_root.rlife = 100;
_root.life = 5;
_root.magic = 100;
_root.pause = false;
_root.pbtimer = 0;
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.player.scroller = false;
_root.pb.status1 = "good";
stop();
Instance of Symbol 1201 MovieClip "map" in Frame 302
onClipEvent (load) {
up = true;
dn = false;
speed = 2;
uptimer = 0;
dntimer = 0;
gspeed = 5;
}
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - gspeed);
}
if (_root.movel) {
_x = (_x + gspeed);
}
if (up) {
uptimer++;
_y = (_y - speed);
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - speed;
}
if (uptimer >= 60) {
uptimer = 0;
up = false;
dn = true;
}
}
if (dn) {
dntimer++;
_y = (_y + speed);
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + speed;
}
if (dntimer >= 60) {
dntimer = 0;
dn = false;
up = true;
}
}
}
Instance of Symbol 312 MovieClip "player" in Frame 302
onClipEvent (load) {
attack2 = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stimer = 0;
bulletDepth = 400000 /* 0x061A80 */;
bullettimer = 0;
cross = false;
crosstimer = 0;
cuptimer = 0;
toss = false;
useable = true;
throwtimer = 100;
sw = 90;
blt = 80;
blgo = false;
dead = false;
dtimer = 0;
hit = false;
nohit = false;
hittimer = 0;
nohittimer = 0;
Rbounds = 230;
Lbounds = 230;
slide = false;
slidet = 0;
dir = 1;
duck = false;
dattimer = 0;
dn = false;
up = false;
_xscale = 170;
djump = false;
dattack = false;
djumpt = 0;
speed = 5;
attack1 = false;
fspeed = 5;
jspeed = 7;
attimer = 0;
attacktw = false;
jump = false;
fall = false;
jumptimer = 0;
scroller = true;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sec1 = dir;
_root.sec2 = attack2;
if (_root.rlife <= 0) {
dead = true;
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
_y = (_y-1);
_alpha = (_alpha - 1);
if (deadtimer >= 3) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
_root["blood1a" + blt]._xscale = -100;
}
if (deadtimer >= 5) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 45;
}
if (deadtimer >= 8) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x;
_root["blood1a" + blt]._y = _y - 25;
_root["blood1a" + blt]._xscale = -100;
deadtimer = 0;
}
_root.movel = false;
_root.mover = false;
hit = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
if (_alpha <= 0) {
_root.gotoAndPlay("loader");
}
}
if (!dead) {
if (scroller) {
if (_y < 200) {
_root.moveu = true;
}
if (_y > 200) {
_root.moveu = false;
}
if (_y < 210) {
_root.moved = false;
}
if (_y > 210) {
_root.moved = true;
}
}
if (_x < -5) {
_x = (_x + 10);
}
if (_x > 551) {
_x = (_x - 10);
}
if (_y < -5) {
_y = 550;
}
if (_y > 551) {
_y = 0;
}
if (hit) {
slide = false;
gotoAndStop ("hit");
hittimer++;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
}
if ((hittimer >= 1) and (hittimer <= 3)) {
_root.blood.duplicateMovieClip("bl1", 3);
_root.bl1._x = _x;
_root.bl1._y = _y - 50;
}
if (hittimer >= 10) {
hittimer = 0;
nohit = true;
hit = false;
}
}
if (nohit) {
_alpha = 50;
nohittimer++;
if (nohittimer >= 35) {
nohittimer = 0;
_alpha = 100;
nohit = false;
}
}
if (cross) {
gotoAndStop ("cross");
crosstimer++;
cuptimer++;
bullettimer++;
slide = false;
_root.movel = false;
_root.mover = false;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 20;
_root["star2" + bulletDepth]._y = _y - 80;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 20;
stop3 = true;
}
}
if (!stop4) {
if (bullettimer >= 8) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x + 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop4 = true;
}
}
if (!stop5) {
if (bullettimer >= 10) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x - 60;
_root["star2" + bulletDepth]._y = _y - 20;
stop5 = true;
}
}
if (bullettimer >= 11) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
}
if (crosstimer < 20) {
_y = (_y - speed);
}
if (cuptimer >= 100) {
cuptimer = 0;
crosstimer = 0;
bullettimer = 0;
nohit = true;
cross = false;
}
}
if (!dead) {
throwtimer++;
if (!hit) {
if (!cross) {
if (!jump) {
if (!djump) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + fspeed);
fall = true;
}
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - 2);
}
if (_root.map.black.hitTest(_x, _y - 15, true)) {
_y = (_y + 7);
jump = false;
djump = false;
jumptimer = 0;
}
if (_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x + speed);
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!useable) {
attack2 = false;
}
if (attack2) {
if (_root.cross) {
if (_root.magic >= 15) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (dir == 0) {
_root.sweapon.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 15;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.hwater) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 100) {
if (useable) {
if (dir == 1) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.flame1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.dagger) {
if (_root.magic >= 5) {
useable = true;
if (throwtimer >= 25) {
if (useable) {
if (dir == 1) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 1;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (dir == 0) {
_root.dagger1.duplicateMovieClip("misc1", sw++);
_root.misc1.dir = 0;
_root.misc1._x = _x;
_root.misc1._y = _y - 80;
_root.magic = _root.magic - 5;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.axe) {
if (_root.magic >= 10) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
if (dir == 1) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 1;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (dir == 0) {
_root.axe1.duplicateMovieClip("misc1" + sw, sw++);
_root["misc1" + sw].dir = 0;
_root["misc1" + sw]._x = _x;
_root["misc1" + sw]._y = _y - 80;
_root.magic = _root.magic - 10;
throwtimer = 0;
}
if (!useable) {
attack2 = false;
}
}
}
}
}
if (_root.crucifix) {
attack2 = false;
if (_root.magic >= 50) {
useable = true;
if (throwtimer >= 40) {
if (useable) {
_root.magic = _root.magic - 50;
cross = true;
attack2 = false;
if (!useable) {
attack2 = false;
cross = false;
}
}
}
}
}
if (throwtimer <= 100) {
attack2 = false;
}
}
if (toss) {
slide = false;
_root.movel = false;
_root.mover = false;
gotoAndStop ("attack2");
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
}
if (!toss) {
if (slide) {
gotoAndStop ("slide");
slidet++;
duck = false;
dattimer = 0;
attimer = 0;
dn = false;
up = false;
djump = false;
dattack = false;
djumpt = 0;
attack1 = false;
attack2 = false;
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (scroller) {
_root.movel = false;
_root.mover = true;
}
} else {
_x = (_x + speed);
}
if (!scroller) {
_x = (_x + speed);
}
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (scroller) {
_root.movel = true;
_root.mover = false;
}
} else {
_x = (_x - speed);
}
if (!scroller) {
_x = (_x - speed);
}
}
if (slidet >= 25) {
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
slidet = 0;
slide = false;
}
}
if (!slide) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(38)) {
attack1 = false;
_root.movel = false;
_root.mover = false;
attacktw = false;
dattacktw = false;
up = true;
dn = false;
attimer = 0;
dattimer = 0;
} else {
up = false;
attacktw = false;
dattacktw = false;
}
}
if (Key.isDown(40)) {
_root.movel = false;
_root.mover = false;
attimer = 0;
up = false;
dn = true;
attacktw = false;
dattacktw = false;
} else {
duck = false;
dn = false;
}
}
if (!attack2) {
if (!attack1) {
if (!jump) {
if (!fall) {
if (up) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
gotoAndStop ("up");
}
}
}
}
}
}
if (dn) {
if (!jump) {
if (!fall) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (!dattack) {
if (!dattacktw) {
duck = true;
}
if (Key.isDown(83)) {
if (!jt) {
slide = true;
jt = true;
}
} else {
jt = false;
}
}
if (Key.isDown(65)) {
if (dn) {
dattimer++;
}
if (!a1press) {
up = false;
dattack = true;
jumpcounter = 0;
attack1 = false;
attack2 = false;
a1press = true;
}
} else {
dattimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (dattimer >= 17) {
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
dattacktw = true;
}
}
}
}
}
if (!dattack) {
if (!dattacktw) {
if (duck) {
gotoAndStop ("duck");
}
}
}
if (dattack) {
duck = false;
gotoAndStop ("dattack");
}
if (dattacktw) {
duck = false;
gotoAndStop ("dattacktw");
attacktw = false;
dattack = false;
attack1 = false;
attack2 = false;
}
if (!dattack) {
if (!dattacktw) {
if (!dn) {
if (!up) {
if (Key.isDown(65)) {
attimer++;
if (!a1press) {
jumpcounter = 0;
attack1 = true;
attack2 = false;
a1press = true;
}
} else {
attimer = 0;
a1press = false;
attacktw = false;
dattacktw = false;
}
if (attimer >= 17) {
attack1 = false;
attack2 = false;
dattacktw = true;
attacktw = true;
}
}
}
if (attacktw) {
if (!dn) {
if (!up) {
gotoAndStop ("attacktw");
_root.movel = false;
_root.mover = false;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 3);
}
}
}
}
if (!up) {
if (!attacktw) {
if (!attack2) {
if (attack1) {
gotoAndStop ("attack1");
attack2 = false;
_root.movel = false;
_root.mover = false;
dn = false;
up = false;
jumpcounter = 0;
jump = false;
djump = false;
fall = false;
djumpt = 30;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
}
}
}
}
}
if (!dn) {
if (!up) {
if (!attacktw) {
if (!dattacktw) {
if (!attack1) {
if (!attack2) {
if (Key.isDown(68)) {
if (!jt2) {
attack1 = false;
attack2 = true;
jt2 = true;
if (_root.hwater) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.cross) {
if (throwtimer >= 100) {
toss = true;
}
}
if (_root.dagger) {
if (throwtimer >= 20) {
toss = true;
}
}
if (_root.axe) {
if (throwtimer >= 40) {
toss = true;
}
}
}
} else {
jt2 = false;
}
}
}
}
}
}
}
if (!attack2) {
if (fall) {
gotoAndStop ("fall");
if (djumpt <= 0) {
if ((!attack1) and (!attack2)) {
if (Key.isDown(83)) {
if (!jt) {
fall = false;
jumpcounter = 0;
jump = false;
djump = true;
}
jt = true;
} else {
jt = false;
}
}
}
_y = (_y + fspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
if (!scroller) {
_x = (_x + speed);
}
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if (scroller) {
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
if (!scroller) {
_x = (_x - speed);
}
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
}
if (!attack1) {
if (!djump) {
if (jump) {
if (Key.isDown(83) and (jumptimer < 25)) {
jumptimer++;
} else {
jump = false;
jumptimer = 0;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
if (!scroller) {
_x = (_x + speed);
}
gotoAndStop ("jump");
_xscale = 150;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_x = (_x - speed);
_root.movel = false;
_root.mover = false;
}
if (!scroller) {
_x = (_x - speed);
}
gotoAndStop ("jump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("jump");
}
if (jumptimer >= 25) {
jumptimer = 0;
jump = false;
}
}
}
if (djump) {
if (Key.isDown(83) and (djumpt < 15)) {
djumpt++;
} else {
djump = false;
jump = false;
}
_y = (_y - jspeed);
if (Key.isDown(39)) {
dir = 1;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
if (!scroller) {
_x = (_x + speed);
}
gotoAndStop ("djump");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
if (!scroller) {
_x = (_x - speed);
}
gotoAndStop ("djump");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("djump");
}
if (jumptimer >= 20) {
jumptimer = 0;
jump = false;
fall = true;
}
}
if (!djump) {
if (!jump) {
if (!up) {
if (!dn) {
if (!attacktw) {
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumptimer = 0;
djumpt = 0;
fall = false;
if (Key.isDown(83)) {
dn = false;
up = false;
if (!jt) {
jt = true;
jump = true;
}
} else {
jt = false;
}
if (Key.isDown(39)) {
dir = 1;
attimer = 0;
dn = false;
up = false;
if ((_x > Rbounds) and (_root.map._x > _root.lessb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_root.movel = false;
_root.mover = true;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x + speed);
}
if (!scroller) {
_x = (_x + speed);
}
gotoAndStop ("walk");
_xscale = 170;
}
if (Key.isDown(37)) {
dir = 0;
attimer = 0;
dn = false;
up = false;
if ((_x < Lbounds) and (_root.map._x < _root.moreb)) {
if (scroller) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = true;
_root.mover = false;
} else {
_root.movel = false;
_root.mover = false;
}
}
} else {
_root.movel = false;
_root.mover = false;
_x = (_x - speed);
}
if (!scroller) {
_x = (_x - speed);
}
gotoAndStop ("walk");
_xscale = -170;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_root.movel = false;
_root.mover = false;
gotoAndStop ("stand");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Instance of Symbol 353 MovieClip "sweapon" in Frame 302
onClipEvent (load) {
stop1 = false;
stop2 = false;
stop3 = false;
stimer = 0;
bulletDepth = 100000 /* 0x0186A0 */;
bullettimer = 0;
speed = 10;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "sweapon") {
_rotation = (_rotation + 30);
removetime++;
bullettimer++;
if (!stop1) {
if (bullettimer >= 2) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y + 10;
stop1 = true;
}
}
if (!stop2) {
if (bullettimer >= 4) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y;
stop2 = true;
}
}
if (!stop3) {
if (bullettimer >= 6) {
_root.star.duplicateMovieClip("star2" + bulletDepth, bulletDepth++);
_root["star2" + bulletDepth]._x = _x;
_root["star2" + bulletDepth]._y = _y - 10;
stop3 = true;
}
}
if (bullettimer >= 8) {
bullettimer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
gor = true;
gol = false;
gortime++;
if (gortime >= 30) {
gor = false;
gol = true;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
if (dir == 1) {
gor = false;
gol = true;
goltime++;
if (goltime >= 30) {
gor = true;
gol = false;
if (this.hitTest(_root.player.limit)) {
removeMovieClip(this);
}
}
if (gor) {
_x = (_x - speed);
}
if (gol) {
_x = (_x + speed);
}
}
}
}
}
Instance of Symbol 364 MovieClip "flame1" in Frame 302
onClipEvent (load) {
sspeed = 5;
speed = 10;
bspeed = 3;
gor = false;
gol = false;
gortime = 0;
goltime = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_name != "flame1") {
removetime++;
if (_root.mover) {
_x = (_x - sspeed);
}
if (_root.movel) {
_x = (_x + sspeed);
}
if (removetime >= 100) {
removeMovieClip(this);
}
if (dir == 0) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x - speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x - 10, _y, true)) {
_x = (_x - bspeed);
}
}
}
if (dir == 1) {
if (!_root.map.black.hitTest(_x, _y + 10, true)) {
gor = true;
gol = false;
}
if (_root.map.black.hitTest(_x, _y + 10, true)) {
gor = false;
gol = true;
}
if (gor) {
_y = (_y + speed);
_x = (_x + speed);
}
if (gol) {
gotoAndStop ("fireup");
if (!_root.map.black.hitTest(_x + 10, _y, true)) {
_x = (_x + bspeed);
}
}
}
}
}
}
Instance of Symbol 330 MovieClip "pb" in Frame 302
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(50)) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(51)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
if (Key.isDown(52)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
if (Key.isDown(53)) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
}
Frame 303
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
if (_root.lives > 0) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
_root.magic = 100;
_root.lives = _root.lives - 1;
_root.rlife = 100;
if (_root.level == 1) {
_root.gotoAndStop("st1a");
}
if (_root.level == 2) {
_root.gotoAndStop("st1b");
}
if (_root.level == 3) {
_root.gotoAndStop("st2a");
}
if (_root.level == 4) {
_root.gotoAndStop("st2e");
}
if (_root.level == 5) {
_root.gotoAndStop("st3a");
}
if (_root.level == 6) {
_root.gotoAndStop("st3e");
}
}
if (_root.lives < 0) {
_root.gotoAndStop("gameover");
}
Frame 304
stopAllSounds();
if (_root.continues > 1) {
_root.continues = _root.continues - 1;
stop();
}
if (_root.continues <= 0) {
gotoAndStop ("title1");
}
Instance of Symbol 1203 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.score = 0;
_root.lives = 2;
_root.rlife = 100;
_root.magic = 100;
if (_root.level == 1) {
_root.gotoAndStop("st1a");
}
if (_root.level == 2) {
_root.gotoAndStop("st1b");
}
if (_root.level == 3) {
_root.gotoAndStop("st2a");
}
if (_root.level == 4) {
_root.gotoAndStop("st2e");
}
if (_root.level == 5) {
_root.gotoAndStop("st3a");
}
if (_root.level == 6) {
_root.gotoAndStop("st3e");
}
}
if (Key.isDown(9)) {
_root.gotoAndStop("title1");
}
}
Instance of Symbol 521 MovieClip "gun1" in Frame 305
onClipEvent (load) {
d2timer = 0;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
blt = 113267566890;
hit = false;
hittimer = 0;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 300;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (go) {
_x = (_x + fspeed);
if (_root.map.black.hitTest(_x + 80, _y, true)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 35;
}
}
}
}
if (hit) {
hittimer++;
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _x + 85;
_root["blood1a" + blt]._y = _y - 50;
if (hittimer >= 1) {
hittimer = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
d2timer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 85;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 30;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 50;
_root["smflame1a" + blt]._y = _y - 100;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 65;
_root["smflame1a" + blt]._y = _y + 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 40;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 70;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
deadtimer = 0;
}
if (d2timer >= 200) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 1222 MovieClip "bug1" in Frame 305
onClipEvent (load) {
deadtimer = 0;
blt = 1132675668 /* 0x43834254 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
jtimer = 0;
life = 20;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!hit) {
if (go) {
jtimer++;
if (_root.player._x >= _x) {
_xscale = -100;
gotoAndStop ("nded");
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 100;
gotoAndStop ("nded");
_x = (_x - fspeed);
dir = 0;
}
if (_root.player._y >= (_y + 150)) {
gotoAndStop ("nded");
_y = (_y + fspeed);
}
if (_root.player._y <= (_y + 150)) {
gotoAndStop ("nded");
_y = (_y - fspeed);
}
if (jtimer >= 100) {
jtimer = 0;
go = false;
gu = true;
}
}
if (gu) {
gotoAndStop ("rush");
if (dir == 0) {
_x = (_x - fspeed);
}
if (dir == 1) {
_x = (_x + fspeed);
}
_y = (_y + fspeed);
gutimer++;
if (gutimer >= 50) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("rush");
if (dir == 0) {
_x = (_x - fspeed);
}
if (dir == 1) {
_x = (_x + fspeed);
}
_y = (_y - fspeed);
gdtimer++;
if (gdtimer >= 50) {
gdtimer = 0;
gu = false;
gd = false;
go = true;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (hit) {
_alpha = 50;
hitimer++;
if ((_root.player.dir = 0)) {
_x = (_x - fspeed);
}
if ((_root.player.dir = 1)) {
_x = (_x + fspeed);
}
if (hittimer >= 15) {
hit = false;
_alpha = 100;
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (deadtimer >= 17) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 487 MovieClip "gun2" in Frame 305
onClipEvent (load) {
_height = 300;
deadtimer = 0;
blt = 100000 /* 0x0186A0 */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 100;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack1 = false;
attack2 = false;
attacktimer = 0;
gotimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 0.4;
_yscale = 90;
_xscale = 80;
}
onClipEvent (enterFrame) {
_root.sec2 = _x;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 550) {
if (_x > -100) {
if (!attack1) {
if (!attack2) {
if (go) {
attacksel = random(2);
jtimer++;
gotoAndStop ("walk");
if (_root.player._x >= _x) {
_xscale = -80;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
_x = (_x - fspeed);
dir = 0;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (jtimer >= 50) {
jtimer = 0;
if (attacksel == 0) {
attack1 = true;
attack2 = false;
go = false;
}
if (attacksel == 1) {
attack2 = true;
attack1 = false;
go = false;
}
}
}
}
}
if (attack1) {
gotoAndStop ("tu");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 70;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack1 = false;
go = true;
}
}
}
if (attack2) {
gotoAndStop ("tD");
if (!gu) {
_root.eaxe1.duplicateMovieClip("eaxe1a" + blt, blt++);
if (dir == 0) {
_root["eaxe1a" + blt].speed = 3;
_root["eaxe1a" + blt]._rotation = 10;
_root["eaxe1a" + blt].gl = true;
}
if (dir == 1) {
_root["eaxe1a" + blt].speed = -3;
_root["eaxe1a" + blt]._rotation = -10;
_root["eaxe1a" + blt].gr = true;
}
_root["eaxe1a" + blt]._x = _x + 15;
_root["eaxe1a" + blt]._y = _y - 5;
gu = true;
}
attacktimer++;
if (attacktimer >= 20) {
attacktimer = 0;
gu = false;
attack2 = false;
go = true;
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 35;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (blt > 100010) {
blt = 100000 /* 0x0186A0 */;
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 491 MovieClip "eaxe1" in Frame 305
onClipEvent (load) {
dead = false;
if (_root.gun2.dir == 0) {
speed = -5;
}
if (_root.gun2.dir == 1) {
speed = 5;
}
speed1 = -35;
grtimer = 0;
gltimer = 0;
removetime = 0;
}
onClipEvent (enterFrame) {
if (_name != "eaxe1") {
if (!_root.pause) {
removetime++;
gltimer++;
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (!dead) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
if (gltimer < 65) {
_x = (_x + speed);
}
if (gltimer > 65) {
_x = (_x - speed);
}
if (gltimer > 350) {
speed = 0;
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop (306);
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 690 MovieClip in Frame 305
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 400) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 408 MovieClip "bug9" in Frame 305
onClipEvent (load) {
go = true;
attack = false;
gr = false;
gl = true;
dead = false;
deadall = false;
blt = 2000;
atttimer = 0;
grtimer = 0;
gltimer = 0;
deadtimer = 0;
gotimer = 0;
speed = 3;
dspeed = 7;
life = 10;
tossed = false;
}
onClipEvent (enterFrame) {
_root.sk = gotimer;
if (!_root.pause) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (life <= 0) {
dead = true;
}
if (!deadall) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 5);
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
if (go) {
gotoAndStop ("chill");
gotimer++;
if (_root.player._x >= _x) {
_xscale = -80;
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 80;
dir = 0;
}
if (gl) {
gltimer++;
_x = (_x - speed);
if (gltimer >= 20) {
gltimer = 0;
gr = true;
gl = false;
}
}
if (gr) {
grtimer++;
_x = (_x + speed);
if (grtimer >= 20) {
grtimer = 0;
gl = true;
gr = false;
}
}
if (gotimer >= 40) {
gotimer = 0;
attack = true;
go = false;
}
}
}
if (attack) {
atttimer++;
gotoAndStop ("throw");
if (!tossed) {
_root.bone.duplicateMovieClip("bone1" + blt, blt++);
if (dir == 0) {
_root["bone1" + blt].speed = -4;
}
if (dir == 1) {
_root["bone1" + blt].speed = 4;
}
_root["bone1" + blt]._x = _x + 15;
_root["bone1" + blt]._y = _y - 25;
tossed = true;
}
if (atttimer >= 25) {
atttimer = 0;
tossed = false;
attack = false;
go = true;
}
}
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (deadtimer < 35) {
head._y = head._y - dspeed;
ribs._y = ribs._y - dspeed;
leg._y = leg._y - dspeed;
arm._y = arm._y - dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 35) {
head._y = head._y + dspeed;
ribs._y = ribs._y + dspeed;
leg._y = leg._y + dspeed;
arm._y = arm._y + dspeed;
head._x = head._x + 8;
ribs._x = ribs._x + 6;
leg._x = leg._x - 4;
arm._x = arm._x - 2;
}
if (deadtimer > 71) {
dead = false;
deadall = true;
}
}
}
if (deadall) {
gotoAndStop ("deadall");
}
}
}
Instance of Symbol 412 MovieClip "bone" in Frame 305
onClipEvent (load) {
gspeed = 5;
gou = true;
god = false;
goutimer = 0;
godtimer = 0;
dead = false;
rtimer = 0;
}
onClipEvent (enterFrame) {
if (_name != "bone") {
if (!_root.pause) {
rtimer++;
if (rtimer >= 55) {
removeMovieClip(this);
}
if (!dead) {
if (this.hitTest(_root.player.attack.limit)) {
dead = true;
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 5;
}
}
_x = (_x + speed);
if (gou) {
goutimer++;
_y = (_y - gspeed);
if (goutimer >= 25) {
god = true;
gou = false;
}
}
if (god) {
godtimer++;
_y = (_y + gspeed);
}
}
if (dead) {
gotoAndStop (306);
}
}
}
}
Instance of Symbol 548 MovieClip "bug4" in Frame 305
onClipEvent (load) {
_x = -50;
gdtimer = 0;
life = 10;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
deadtimer = 0;
dead = false;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x + speed);
if (_x >= 550) {
_x = -50;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 30) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 30) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (_root.player.run or _root.player.slide) {
_root.movespeed = 10;
} else {
_root.movespeed = 5;
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = -50;
life = 10;
dead = false;
}
}
}
}
Instance of Symbol 548 MovieClip "bug5" in Frame 305
onClipEvent (load) {
_x = 550;
life = 10;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = true;
speed2 = 5;
speed = 2;
dead = false;
rape = false;
rapetimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 3;
deadtimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
reset = random(5);
if (life <= 0) {
dead = true;
}
if (!dead) {
_x = (_x - speed);
if (_x < -200) {
_x = 550;
if (reset == 0) {
_y = 50;
}
if (reset == 1) {
_y = 80;
}
if (reset == 2) {
_y = _root.player._y;
}
if (reset == 3) {
_y = 120;
}
if (reset == 4) {
_y = 140;
}
}
if (gu) {
gotoAndStop ("u");
_y = (_y - fspeed);
gutimer++;
if (gutimer >= 80) {
gutimer = 0;
gu = false;
gd = true;
}
}
if (gd) {
gotoAndStop ("d");
_y = (_y + fspeed);
gdtimer++;
if (gdtimer >= 80) {
gdtimer = 0;
gu = true;
gd = false;
}
}
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
if (dead) {
deadtimer++;
gotoAndStop ("dead");
if (deadtimer >= 100) {
gotoAndStop ("u");
deadtimer = 0;
_x = 550;
life = 10;
dead = false;
}
}
if (!_root.scrollstop) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
}
Instance of Symbol 452 MovieClip "bug6" in Frame 305
onClipEvent (load) {
_xscale = -200;
_height = 300;
deadtimer = 0;
blt = 1132675868 /* 0x4383431C */;
hit = false;
go = true;
deadstop = false;
stop1 = false;
stop2 = false;
stop3 = false;
stop4 = false;
stop5 = false;
stop6 = false;
jtimer = 0;
life = 250;
gdtimer = 0;
gutimer = 0;
gu = false;
gd = false;
speed2 = 5;
speed = 3;
dead = false;
attack = false;
attacktimer = 0;
gr = false;
gl = true;
grtimer = 0;
gltimer = 0;
fspeed = 1;
_yscale = 150;
_xscale = 100;
}
onClipEvent (enterFrame) {
_root.sec2 = go;
if (!_root.pause) {
if (!dead) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed2);
}
if (_x < 550) {
if (_x > -100) {
if (!attack) {
if (go) {
jtimer++;
gotoAndStop ("go");
if (_root.player._x >= _x) {
_xscale = -200;
_x = (_x + fspeed);
dir = 1;
}
if (_root.player._x <= _x) {
_xscale = 200;
_x = (_x - fspeed);
dir = 0;
}
if (limitb.hitTest(_root.player.limit)) {
go = false;
attack = true;
}
if (limit.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
}
if (attack) {
gotoAndStop ("attack");
attacktimer++;
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
if (attacktimer >= 20) {
attacktimer = 0;
attack = false;
go = true;
}
}
}
}
}
if (life <= 0) {
dead = true;
}
if (!deadstop) {
if (dead) {
gotoAndStop ("dead");
deadtimer++;
if (!stop1) {
if (deadtimer >= 3) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop1 = true;
}
}
if (!stop2) {
if (deadtimer >= 10) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop2 = true;
}
}
if (!stop3) {
if (deadtimer >= 15) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop3 = true;
}
}
if (!stop4) {
if (deadtimer >= 20) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x + 15;
_root["smflame1a" + blt]._y = _y - 25;
stop4 = true;
}
}
if (!stop5) {
if (deadtimer >= 25) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x - 10;
_root["smflame1a" + blt]._y = _y - 25;
stop5 = true;
}
}
if (!stop6) {
if (deadtimer >= 30) {
_root.smflame1.duplicateMovieClip("smflame1a" + blt, blt++);
_root["smflame1a" + blt]._x = _x;
_root["smflame1a" + blt]._y = _y;
stop6 = true;
}
}
if (deadtimer >= 31) {
deadstop = true;
}
}
}
if (deadstop) {
}
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Frame 306
stop();
Instance of Symbol 61 MovieClip in Frame 306
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.lives = 2;
_root.continues = 10;
_root.level = 1;
_root.gotoAndPlay("co");
}
}
Symbol 3 MovieClip Frame 21
stop();
Instance of Symbol 3 MovieClip in Symbol 4 MovieClip [splash1a] Frame 1
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
Symbol 12 MovieClip Frame 11
stop();
Instance of Symbol 12 MovieClip in Symbol 13 MovieClip [camshadow1a] Frame 1
onClipEvent (enterFrame) {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
}
Symbol 20 MovieClip Frame 4
gotoAndPlay (2);
Symbol 20 MovieClip Frame 5
stop();
Symbol 35 MovieClip Frame 19
stop();
Symbol 36 MovieClip [enem] Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 36 MovieClip [enem] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship.limit)) {
_root.ship.gotoAndPlay(3);
_root.picbox.gotoAndPlay(2);
_root.life = _root.life - 30;
this.gotoAndPlay(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship.barrier.limit)) {
_root.ship.barrier.limit.nextFrame();
this.gotoAndPlay(5);
}
}
Symbol 36 MovieClip [enem] Frame 2
stop();
Symbol 58 MovieClip Frame 21
stop();
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st1b");
}
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Instance of Symbol 92 MovieClip in Symbol 94 MovieClip Frame 2
onClipEvent (load) {
speed = 1;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 94 MovieClip Frame 3
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
speed = 1;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 99 MovieClip Frame 3
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Instance of Symbol 110 MovieClip in Symbol 112 MovieClip Frame 2
onClipEvent (load) {
speed = 2;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Instance of Symbol 116 MovieClip in Symbol 117 MovieClip Frame 2
onClipEvent (load) {
speed = 1;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Instance of Symbol 121 MovieClip in Symbol 122 MovieClip Frame 2
onClipEvent (load) {
speed = 1;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
Instance of Symbol 126 MovieClip in Symbol 127 MovieClip Frame 2
onClipEvent (load) {
speed = 1;
stopper = false;
stoptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!stopper) {
stoptimer++;
_y = (_y - speed);
if (stoptimer >= 25) {
stopper = true;
}
}
if (stopper) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 3
stop();
Instance of Symbol 94 MovieClip in Symbol 128 MovieClip Frame 3
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
if (_root.rlife < 100) {
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "PORK CHOP";
_root.rlife = _root.rlife + 50;
life = true;
take = true;
}
if (_root.life >= 100) {
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEAT";
_root.score = _root.score + 1000;
points = true;
take = true;
}
}
}
if (take) {
if (points) {
gotoAndStop ("points");
}
if (life) {
gotoAndStop ("life");
}
}
}
}
Symbol 128 MovieClip Frame 4
stop();
Instance of Symbol 99 MovieClip in Symbol 128 MovieClip Frame 4
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
if (_root.rlife < 100) {
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "HAMBURGER";
_root.rlife = _root.rlife + 20;
life = true;
take = true;
}
if (_root.life >= 100) {
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SANDWICH";
_root.score = _root.score + 300;
points = true;
take = true;
}
}
}
if (take) {
if (points) {
gotoAndStop ("points");
}
if (life) {
gotoAndStop ("life");
}
}
}
}
Symbol 128 MovieClip Frame 5
stop();
Instance of Symbol 103 MovieClip in Symbol 128 MovieClip Frame 5
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
if (_root.magic < 100) {
_root.magic = _root.magic + 15;
if (_root.magic > 100) {
_root.magic = 100;
}
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MAGIC VIAL";
take = true;
}
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 6
stop();
Instance of Symbol 106 MovieClip in Symbol 128 MovieClip Frame 6
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
if (_root.magic < 100) {
_root.magic = _root.magic + 30;
if (_root.magic > 100) {
_root.magic = 100;
}
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = " BIG MAGIC VIAL";
take = true;
}
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 7
stop();
Instance of Symbol 112 MovieClip in Symbol 128 MovieClip Frame 7
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
_root.score = _root.score + 500;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "RUBY RING";
take = true;
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 8
stop();
Instance of Symbol 117 MovieClip in Symbol 128 MovieClip Frame 8
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
_root.score = _root.score + 10;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SEGA SATURN";
take = true;
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 9
stop();
Instance of Symbol 122 MovieClip in Symbol 128 MovieClip Frame 9
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
_root.score = _root.score + 5000;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SUPER NES";
take = true;
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 128 MovieClip Frame 10
stop();
Instance of Symbol 127 MovieClip in Symbol 128 MovieClip Frame 10
onClipEvent (load) {
speed = 1.5;
take = false;
life = false;
points = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!take) {
if (this.hitTest(_root.player.limit)) {
_root.score = _root.score + 10000;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "RONDO OF BLOOD";
take = true;
}
}
if (take) {
gotoAndStop (2);
}
}
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
stop();
Instance of Symbol 131 MovieClip in Symbol 133 MovieClip Frame 2
onClipEvent (load) {
ptimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
ptimer++;
if (ptimer >= 60) {
ptimer = 0;
_root.holderb.gotoAndStop(1);
}
}
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
stop();
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 10
gotoAndPlay (5);
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 50;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 2;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 10;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 10;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 5;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 5;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 5;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 5;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 5;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 5;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 5;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 5;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 5;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 5;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 5;
_root.garmor.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 5;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
}
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 3
stop();
Instance of Symbol 215 MovieClip in Symbol 240 MovieClip Frame 5
onClipEvent (load) {
noise = random(3);
}
onClipEvent (enterFrame) {
if (noise == 0) {
gotoAndStop (1);
}
if (noise == 1) {
gotoAndStop (2);
}
if (noise == 2) {
gotoAndStop (3);
}
}
Symbol 240 MovieClip Frame 20
_root.player.attack1 = false;
Instance of Symbol 243 MovieClip "limit" in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
speed = 70;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = (_rotation + speed);
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 2;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 2;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 0.5;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 2;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 2;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 3.5;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 1;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 2;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 2;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 2;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 2;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 2;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.ghost2.hit = true;
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 0.5;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 0.5;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 0.5;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 0.2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 0.1;
_root.garmor.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
}
}
}
Symbol 248 MovieClip Frame 12
_root.player.toss = false;
Instance of Symbol 215 MovieClip in Symbol 271 MovieClip Frame 5
onClipEvent (load) {
noise = random(3);
}
onClipEvent (enterFrame) {
if (noise == 0) {
gotoAndStop (1);
}
if (noise == 1) {
gotoAndStop (2);
}
if (noise == 2) {
gotoAndStop (3);
}
}
Symbol 271 MovieClip Frame 20
_root.player.dattack = false;
Instance of Symbol 243 MovieClip "limit" in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
speed = 70;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = (_rotation + speed);
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 2;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 2;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 0.5;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 2;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 2;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 3.5;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 1;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 2;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 2;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 2;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 2;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 2;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 0.5;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 0.5;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 0.5;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 0.2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 0.1;
_root.garmor.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
}
}
}
Symbol 281 MovieClip Frame 5
stop();
Symbol 292 MovieClip Frame 7
stop();
Symbol 299 MovieClip Frame 15
stop();
Instance of Symbol 301 MovieClip "limit" in Symbol 303 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 50;
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.life = _root.bug8.life - 50;
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 0.02;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 10;
_root.gun2.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 10;
_root.gun3.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 2;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 2;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 2;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 2;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 2;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 2;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 2;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 2;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 3;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 3;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 0.8;
_root.garmor.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
}
}
Symbol 303 MovieClip Frame 19
gotoAndPlay (15);
Symbol 307 MovieClip Frame 2
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 1
stop();
Instance of Symbol 164 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 2
stop();
Instance of Symbol 187 MovieClip "walk" in Symbol 312 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 3
stop();
Instance of Symbol 191 MovieClip in Symbol 312 MovieClip Frame 3
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 4
stop();
Instance of Symbol 202 MovieClip in Symbol 312 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 5
stop();
Instance of Symbol 191 MovieClip in Symbol 312 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 6
stop();
Instance of Symbol 240 MovieClip "attack" in Symbol 312 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 7
stop();
Instance of Symbol 244 MovieClip "attack" in Symbol 312 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 8
stop();
Instance of Symbol 248 MovieClip in Symbol 312 MovieClip Frame 8
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 9
stop();
Instance of Symbol 252 MovieClip "attack" in Symbol 312 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 10
stop();
Instance of Symbol 255 MovieClip in Symbol 312 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 11
stop();
Instance of Symbol 271 MovieClip "attack" in Symbol 312 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 12
stop();
Instance of Symbol 274 MovieClip "attack" in Symbol 312 MovieClip Frame 12
onClipEvent (enterFrame) {
if (!_root.pause) {
play();
}
if (_root.pause) {
stop();
}
}
Symbol 312 MovieClip Frame 13
stop();
Symbol 312 MovieClip Frame 14
stop();
Instance of Symbol 292 MovieClip in Symbol 312 MovieClip Frame 14
/* no clip actions */
Symbol 312 MovieClip Frame 15
stop();
Symbol 312 MovieClip Frame 16
stop();
Instance of Symbol 307 MovieClip in Symbol 312 MovieClip Frame 16
/* no clip actions */
Symbol 312 MovieClip Frame 17
stop();
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 314 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.pbtimer++;
if (Key.isDown(32)) {
if (_root.pbtimer >= 25) {
_root.pbtimer = 0;
_root.pause = true;
_root.pb.gotoAndStop(2);
}
}
}
Symbol 330 MovieClip Frame 2
stop();
Instance of Symbol 314 MovieClip in Symbol 330 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.pbtimer++;
_root.pb.lives = _root.lives;
if (Key.isDown(32)) {
if (_root.pbtimer >= 25) {
_root.pbtimer = 0;
_root.pause = false;
_root.pb.gotoAndStop(1);
}
}
}
Instance of Symbol 137 MovieClip in Symbol 330 MovieClip Frame 2
on (release) {
_root.hwater = false;
_root.cross = true;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
Instance of Symbol 140 MovieClip in Symbol 330 MovieClip Frame 2
on (release) {
_root.hwater = true;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = false;
}
Instance of Symbol 143 MovieClip in Symbol 330 MovieClip Frame 2
on (release) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = true;
_root.dagger = false;
}
Instance of Symbol 146 MovieClip in Symbol 330 MovieClip Frame 2
on (release) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = true;
_root.axe = false;
_root.dagger = false;
}
Instance of Symbol 324 MovieClip in Symbol 330 MovieClip Frame 2
on (release) {
_root.hwater = false;
_root.cross = false;
_root.crucifix = false;
_root.axe = false;
_root.dagger = true;
}
Symbol 333 MovieClip Frame 1
stopAllSounds();
Symbol 333 MovieClip Frame 2
stop();
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_parent.ko) {
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
_parent.ko = true;
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
_parent.ko = true;
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 25;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 25;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 15;
_root.garmor.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
_parent.ko = true;
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 15;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
_parent.ko = true;
}
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
_parent.ko = true;
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
_parent.ko = true;
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
_parent.ko = true;
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
_parent.ko = true;
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
_parent.ko = true;
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
_parent.ko = true;
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
_parent.ko = true;
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
_parent.ko = true;
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
_parent.ko = true;
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 30;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
_parent.ko = true;
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 30;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
_parent.ko = true;
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 30;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
_parent.ko = true;
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 2;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
_parent.ko = true;
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 10;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 10;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 15;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 15;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 15;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 15;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 15;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
_parent.ko = true;
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 15;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
_parent.ko = true;
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 8;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
_parent.ko = true;
}
}
}
Symbol 341 MovieClip Frame 21
stop();
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_parent.ko) {
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 25;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 25;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 15;
_root.garmor.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 3.5;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 50;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 30;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
_parent.ko = true;
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 10;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 10;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 35;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 2;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 2;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 2;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 2;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 2;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 20;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
_parent.ko = true;
}
}
}
Symbol 347 MovieClip Frame 25
stop();
Symbol 353 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_parent.ko) {
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 25;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 25;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 15;
_root.garmor.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 1;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 5;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 5;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 20;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
_parent.ko = true;
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 5;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 5;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 30;
_root.monsterhead.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
_parent.ko = true;
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 1;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 1;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 1;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 1;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 1;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 1;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
}
}
Symbol 353 MovieClip Frame 2
stop();
Symbol 360 MovieClip Frame 3
if (int(random(10) == 1)) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Instance of Symbol 362 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.en1.limit)) {
_root.en1.flip = true;
}
if (this.hitTest(_root.en2.limit)) {
_root.en2.flip = true;
}
if (this.hitTest(_root.en3.limit)) {
_root.en3.flip = true;
}
if (!_root.player.big) {
if (this.hitTest(_root.player.limita)) {
_root.player.stun = true;
}
}
}
Symbol 363 MovieClip Frame 26
_parent.dead = true;
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 2
stop();
Instance of Symbol 362 MovieClip in Symbol 364 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ghost1.limit)) {
_root.ghost1.life = _root.ghost1.life - 5;
_root.ghost1.blink.gotoAndPlay(2);
_root.ghost1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.ghost2.limit)) {
_root.ghost2.life = _root.ghost2.life - 5;
_root.ghost2.blink.gotoAndPlay(2);
_root.ghost2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GHOST";
}
if (this.hitTest(_root.knight1.limit)) {
_root.knight1.life = _root.knight1.life - 5;
_root.knight1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.knight2.limit)) {
_root.knight2.life = _root.knight2.life - 5;
_root.knight2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ARMOR KNIGHT";
_parent.ko = true;
}
if (this.hitTest(_root.garmor.limit)) {
_root.garmor.life = _root.garmor.life - 2;
_root.garmor.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "GREAT ARMOR";
_parent.ko = true;
}
if (this.hitTest(_root.alura.limit)) {
_root.alura.life = _root.alura.life - 2;
_root.alura.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ALURA UNE";
}
if (this.hitTest(_root.necro.limit)) {
_root.necro.life = _root.necro.life - 3;
_root.necro.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "NECROMANCER";
}
if (this.hitTest(_root.boss.limit)) {
_root.boss.life = _root.boss.life - 0.5;
_root.boss.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.m1.limit)) {
_root.m1.life = _root.m1.life - 20;
_root.m1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m2.limit)) {
_root.m2.life = _root.m2.life - 20;
_root.m2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m3.limit)) {
_root.m3.life = _root.m3.life - 20;
_root.m3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m4.limit)) {
_root.m4.life = _root.m4.life - 20;
_root.m4.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.m5.limit)) {
_root.m5.life = _root.m5.life - 20;
_root.m5.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MERMAN";
}
if (this.hitTest(_root.bug1.limit)) {
_root.bug1.life = _root.bug1.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BAT";
}
if (this.hitTest(_root.bug4.limit)) {
_root.bug4.life = _root.bug4.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug5.limit)) {
_root.bug5.life = _root.bug5.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "MEDUSA HEAD";
}
if (this.hitTest(_root.bug6.limit)) {
_root.bug6.life = _root.bug6.life - 50;
_root.bug6.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug7.limit)) {
_root.bug7.life = _root.bug7.life - 50;
_root.bug7.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug8.limit)) {
_root.bug8.blink.gotoAndPlay(2);
_root.bug8.life = _root.bug8.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "APE SKELETON";
}
if (this.hitTest(_root.bug9.limit)) {
_root.bug9.life = _root.bug9.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug10.limit)) {
_root.bug10.life = _root.bug10.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.bug11.limit)) {
_root.bug11.life = _root.bug11.life - 50;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SKELETON";
}
if (this.hitTest(_root.gun1.limit)) {
_root.gun1.hit = true;
_root.gun1.life = _root.gun1.life - 2;
_root.gun1.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "BEHEMOTH";
}
if (this.hitTest(_root.gun2.limit)) {
_root.gun2.life = _root.gun2.life - 3;
_root.gun2.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun3.limit)) {
_root.gun3.life = _root.gun3.life - 3;
_root.gun3.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "AXE ARMOR";
}
if (this.hitTest(_root.gun4.limit)) {
_root.gun4.life = _root.gun4.life - 10;
_root.gun4.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun5.limit)) {
_root.gun5.life = _root.gun5.life - 10;
_root.gun5.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.gun6.limit)) {
_root.gun6.life = _root.gun6.life - 10;
_root.gun6.blink.gotoAndPlay(2);
}
if (this.hitTest(_root.hug1.limit)) {
_root.hug1.life = _root.hug1.life - 50;
}
if (this.hitTest(_root.hug2.limit)) {
_root.hug2.life = _root.hug2.life - 50;
}
if (this.hitTest(_root.hug3.limit)) {
_root.hug3.life = _root.hug3.life - 50;
}
if (this.hitTest(_root.hug4.limit)) {
_root.hug4.life = _root.hug4.life - 50;
}
if (this.hitTest(_root.monsterhead.limit)) {
_root.monsterhead.life = _root.monsterhead.life - 5;
_root.monsterhead.head.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "ADRAMELECH";
}
if (this.hitTest(_root.legion.p1.limit)) {
_root.legion.p1.life = _root.legion.p1.life - 5;
_root.legion.p1.blink.gotoAndPlay(2);
_root.legion.p1.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p2.limit)) {
_root.legion.p2.life = _root.legion.p2.life - 5;
_root.legion.p2.blink.gotoAndPlay(2);
_root.legion.p2.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p3.limit)) {
_root.legion.p3.life = _root.legion.p3.life - 5;
_root.legion.p3.blink.gotoAndPlay(2);
_root.legion.p3.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.p4.limit)) {
_root.legion.p4.life = _root.legion.p4.life - 5;
_root.legion.p4.blink.gotoAndPlay(2);
_root.legion.p4.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.legion.limit)) {
_root.legion.life = _root.legion.life - 5;
_root.legion.blink.gotoAndPlay(2);
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "SAINT LEGION";
}
if (this.hitTest(_root.camilla.limit)) {
_root.camilla.life = _root.camilla.life - 0.5;
_root.camilla.hit = true;
_root.holderb.gotoAndStop(2);
_root.holderb.text1 = "CAMILLA";
}
}
Symbol 364 MovieClip Frame 3
stop();
Symbol 364 MovieClip Frame 4
stop();
Symbol 366 MovieClip Frame 35
stop();
Instance of Symbol 75 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st1c");
}
}
Symbol 395 MovieClip Frame 13
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 3
stop();
Instance of Symbol 398 MovieClip "head" in Symbol 408 MovieClip Frame 3
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 401 MovieClip "ribs" in Symbol 408 MovieClip Frame 3
onClipEvent (load) {
speed = 15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Instance of Symbol 404 MovieClip "arm" in Symbol 408 MovieClip Frame 3
onClipEvent (load) {
speed = 25;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Instance of Symbol 407 MovieClip "leg" in Symbol 408 MovieClip Frame 3
onClipEvent (load) {
speed = 27;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 408 MovieClip Frame 4
stop();
Symbol 412 MovieClip Frame 1
stop();
Instance of Symbol 411 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 25);
}
Symbol 412 MovieClip Frame 2
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 3
gotoAndStop (1);
Symbol 433 MovieClip Frame 22
_root.bug6.attack = false;
Symbol 451 MovieClip Frame 19
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 2
stop();
Symbol 452 MovieClip Frame 3
stop();
Symbol 458 MovieClip Frame 1
stopAllSounds();
Symbol 458 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st1d");
}
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 3
gotoAndStop (1);
Symbol 477 MovieClip Frame 8
stop();
Symbol 483 MovieClip Frame 8
stop();
Symbol 486 MovieClip Frame 46
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 3
stop();
Symbol 487 MovieClip Frame 4
stop();
Symbol 491 MovieClip Frame 1
stop();
Instance of Symbol 490 MovieClip in Symbol 491 MovieClip Frame 1
onClipEvent (load) {
speed = 30;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Symbol 491 MovieClip Frame 2
stop();
Instance of Symbol 497 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gun1.deadstop) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st1e");
}
}
}
Instance of Symbol 499 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.player._x = _root.player._x - 5;
}
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 3
gotoAndStop (1);
Symbol 519 MovieClip Frame 31
stop();
Symbol 520 MovieClip Frame 30
stop();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
stop();
Instance of Symbol 518 MovieClip in Symbol 521 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = (_y + 0.05);
_alpha = (_alpha - 0.05);
}
Instance of Symbol 519 MovieClip in Symbol 521 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = (_y + 5);
_rotation = (_rotation - 5);
}
Instance of Symbol 520 MovieClip in Symbol 521 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = (_y + 4);
_rotation = (_rotation - 5);
}
Symbol 521 MovieClip Frame 3
stop();
Symbol 545 MovieClip Frame 9
stop();
Symbol 546 MovieClip Frame 9
stop();
Symbol 547 MovieClip Frame 9
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 2
stop();
Symbol 548 MovieClip Frame 3
_root.score = _root.score + 100;
stop();
Instance of Symbol 553 MovieClip in Symbol 555 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st1f");
}
}
Symbol 573 MovieClip Frame 4
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
stop();
Symbol 576 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 3
gotoAndStop (1);
Symbol 584 MovieClip Frame 4
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 2
stop();
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 3
gotoAndStop (1);
Symbol 595 MovieClip Frame 3
stop();
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 2
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 3
gotoAndStop (1);
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 3
gotoAndStop (1);
Symbol 602 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 3
gotoAndStop (1);
Symbol 603 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 2
stop();
Symbol 603 MovieClip Frame 3
stop();
Symbol 603 MovieClip Frame 4
stop();
Symbol 603 MovieClip Frame 5
stop();
Symbol 606 MovieClip Frame 126
stop();
Symbol 607 MovieClip Frame 1
stop();
Instance of Symbol 603 MovieClip "head" in Symbol 607 MovieClip Frame 1
onClipEvent (enterFrame) {
checker = _root.monsterhead._x / _root.player._x;
_root.site = checker;
if (!_root.monsterhead.shoot) {
if (checker > 1.3) {
gotoAndStop (1);
}
if ((checker < 1.3) and (checker > 0.6)) {
gotoAndStop (2);
}
if ((checker < 0.6) and (checker > -0.3)) {
gotoAndStop (3);
}
if ((checker < -0.3) and (checker > -0.6)) {
gotoAndStop (4);
}
if (checker < -0.6) {
gotoAndStop (5);
}
}
}
Instance of Symbol 604 MovieClip "limit" in Symbol 607 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 35;
}
}
}
Symbol 607 MovieClip Frame 2
_root.score = _root.score + 1500;
stopAllSounds();
stop();
Symbol 607 MovieClip Frame 3
stop();
Instance of Symbol 611 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 613 MovieClip Frame 22
stop();
Symbol 620 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 2
stop();
Symbol 626 MovieClip Frame 1
stopAllSounds();
Symbol 626 MovieClip Frame 2
stop();
Symbol 629 MovieClip Frame 1
stopAllSounds();
Symbol 629 MovieClip Frame 2
Symbol 629 MovieClip Frame 131
_root.end = true;
stop();
Symbol 630 MovieClip Frame 1
stopAllSounds();
Symbol 630 MovieClip Frame 2
stop();
Symbol 630 MovieClip Frame 3
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 101
_root.gotoAndStop("st2a");
Instance of Symbol 75 MovieClip in Symbol 650 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st2b");
}
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 3
gotoAndStop (1);
Symbol 688 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 3
gotoAndStop (1);
Symbol 689 MovieClip Frame 31
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 2
stop();
Symbol 690 MovieClip Frame 3
stop();
Symbol 690 MovieClip Frame 4
stop();
Symbol 690 MovieClip Frame 5
stop();
Symbol 697 MovieClip Frame 1
stopAllSounds();
Symbol 697 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st2c");
}
}
Instance of Symbol 75 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st2d");
}
}
Instance of Symbol 723 MovieClip in Symbol 724 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.legion.dead) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st2e");
}
}
}
Symbol 731 MovieClip Frame 1
stop();
Instance of Symbol 730 MovieClip in Symbol 731 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
Symbol 731 MovieClip Frame 2
stop();
Symbol 731 MovieClip Frame 3
stop();
Symbol 738 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 6
_parent.flag = false;
removeMovieClip(_parent);
Symbol 739 MovieClip Frame 2
stop();
Symbol 739 MovieClip Frame 3
stop();
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 2
stop();
Symbol 743 MovieClip Frame 3
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 3
gotoAndStop (1);
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 3
gotoAndStop (1);
Instance of Symbol 365 MovieClip "smflame1" in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 755 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 755 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 755 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Symbol 756 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "limit" in Symbol 756 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
Symbol 756 MovieClip Frame 2
stop();
Symbol 756 MovieClip Frame 3
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 3
gotoAndStop (1);
Instance of Symbol 365 MovieClip "smflame1" in Symbol 761 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 761 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 761 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 761 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Symbol 762 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "limit" in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
Symbol 762 MovieClip Frame 2
stop();
Symbol 762 MovieClip Frame 3
stop();
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 3
gotoAndStop (1);
Instance of Symbol 365 MovieClip "smflame1" in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 767 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 767 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 767 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Symbol 768 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "limit" in Symbol 768 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
Symbol 768 MovieClip Frame 2
stop();
Symbol 768 MovieClip Frame 3
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 3
gotoAndStop (1);
Instance of Symbol 365 MovieClip "smflame1" in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 773 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 773 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 773 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Symbol 774 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "limit" in Symbol 774 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
}
}
}
Symbol 774 MovieClip Frame 2
stop();
Symbol 774 MovieClip Frame 3
stop();
Instance of Symbol 746 MovieClip "limit" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 775 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 775 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Instance of Symbol 365 MovieClip "smflame1" in Symbol 775 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_name != "smflame1") {
if (_root.mover) {
_x = (_x - 5);
}
if (_root.movel) {
_x = (_x + 5);
}
}
}
Symbol 776 MovieClip Frame 1
stop();
Instance of Symbol 743 MovieClip "w3" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 4;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p1.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 743 MovieClip "w4" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p2.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 743 MovieClip "w1" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p1.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 743 MovieClip "w2" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 3;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p2.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 743 MovieClip "w5" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 2;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p3.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 743 MovieClip "w6" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 2;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (_root.legion.p4.dead) {
dead = true;
}
if (!rdead) {
if (!dead) {
gotoAndStop ("chill");
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
_alpha = (_alpha - 0.5);
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 756 MovieClip "p1" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 5;
blt = 1000001 /* 0x0F4241 */;
blot = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (life <= 0) {
dead = true;
}
if (!dead) {
gotoAndStop ("chill");
if (hit) {
hittimer++;
if (!blot) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _root.legion._x - 100;
_root["blood1a" + blt]._y = _root.legion._y - 100;
_root["blood1a" + blt]._xscale = -100;
blot = true;
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
blot = false;
}
}
}
if (dead) {
deadt++;
_alpha = (_alpha - 0.5);
gotoAndStop ("dead");
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 762 MovieClip "p2" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 5;
blt = 1000001 /* 0x0F4241 */;
blot = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (life <= 0) {
dead = true;
}
if (!dead) {
gotoAndStop ("chill");
if (hit) {
hittimer++;
if (!blot) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _root.legion._x + 100;
_root["blood1a" + blt]._y = _root.legion._y - 100;
blot = true;
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
blot = false;
}
}
}
if (dead) {
deadt++;
_alpha = (_alpha - 0.5);
gotoAndStop ("dead");
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 768 MovieClip "p3" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 5;
blt = 1080001 /* 0x107AC1 */;
blot = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (life <= 0) {
dead = true;
}
if (!dead) {
gotoAndStop ("chill");
if (hit) {
hittimer++;
if (!blot) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _root.legion._x - 100;
_root["blood1a" + blt]._y = _root.legion._y + 100;
_root["blood1a" + blt]._xscale = -100;
blot = true;
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
blot = false;
}
}
}
if (dead) {
deadt++;
_alpha = (_alpha - 0.5);
gotoAndStop ("dead");
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Instance of Symbol 774 MovieClip "p4" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
life = 100;
dead = false;
hit = false;
rdead = false;
deadt = 0;
speed = 5;
blt = 1000001 /* 0x0F4241 */;
blot = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!rdead) {
if (life <= 0) {
dead = true;
}
if (!dead) {
gotoAndStop ("chill");
if (hit) {
hittimer++;
if (!blot) {
_root.blood.duplicateMovieClip("blood1a" + blt, blt++);
_root["blood1a" + blt]._x = _root.legion._x + 100;
_root["blood1a" + blt]._y = _root.legion._y + 100;
blot = true;
}
if (hittimer >= 20) {
hittimer = 0;
hit = false;
blot = false;
}
}
}
if (dead) {
deadt++;
_alpha = (_alpha - 0.5);
gotoAndStop ("dead");
_y = (_y + speed);
if (deadt >= 100) {
rdead = true;
}
}
}
if (rdead) {
gotoAndStop ("rdead");
}
}
}
Symbol 776 MovieClip Frame 2
stop();
stopAllSounds();
Symbol 776 MovieClip Frame 3
stop();
Symbol 782 MovieClip Frame 1
stopAllSounds();
Symbol 782 MovieClip Frame 2
stop();
Symbol 783 MovieClip Frame 1
stopAllSounds();
Symbol 783 MovieClip Frame 2
stop();
Symbol 784 MovieClip Frame 1
stopAllSounds();
Symbol 784 MovieClip Frame 2
stop();
Symbol 784 MovieClip Frame 3
stop();
Instance of Symbol 789 MovieClip in Symbol 790 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st2boss");
}
}
Symbol 797 MovieClip Frame 1
stopAllSounds();
Symbol 797 MovieClip Frame 2
stop();
Symbol 817 MovieClip Frame 1
Symbol 817 MovieClip Frame 55
_root.camilla.zap.gotoAndPlay(2);
Symbol 817 MovieClip Frame 93
_root.music.gotoAndStop(2);
_root.camilla.go = true;
_root.camilla.intro = false;
Symbol 818 MovieClip Frame 1
stop();
Symbol 818 MovieClip Frame 2
stop();
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 60
_root.camilla.zap.gotoAndStop(1);
Instance of Symbol 830 MovieClip in Symbol 831 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 10;
removeMovieClip(this);
}
}
}
Symbol 831 MovieClip Frame 15
stop();
Symbol 847 MovieClip Frame 245
stop();
Symbol 848 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 2
stop();
Instance of Symbol 820 MovieClip "limita" in Symbol 848 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.player.nohit) {
if (this.hitTest(_root.player.limit)) {
_root.player.hit = true;
_root.rlife = _root.rlife - 20;
}
}
}
Symbol 848 MovieClip Frame 3
stop();
Symbol 848 MovieClip Frame 4
stop();
Symbol 848 MovieClip Frame 5
stopAllSounds();
stop();
Symbol 848 MovieClip Frame 6
stop();
Symbol 848 MovieClip Frame 7
stop();
Symbol 852 MovieClip Frame 9
stop();
Symbol 853 MovieClip Frame 1
stop();
Instance of Symbol 851 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 853 MovieClip Frame 2
stop();
Symbol 863 MovieClip Frame 1
stopAllSounds();
Symbol 863 MovieClip Frame 2
stop();
Symbol 864 MovieClip Frame 1
stopAllSounds();
Symbol 864 MovieClip Frame 2
Symbol 864 MovieClip Frame 149
_root.end = true;
stop();
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 2
stop();
Symbol 865 MovieClip Frame 3
stop();
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 111
_root.gotoAndStop("st3a");
stop();
Instance of Symbol 75 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3b");
}
}
Symbol 881 MovieClip Frame 21
_parent.go = true;
_parent.appear = false;
Symbol 884 MovieClip Frame 1
stop();
Symbol 884 MovieClip Frame 3
gotoAndStop (1);
Symbol 885 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 2
stop();
Instance of Symbol 882 MovieClip "limit" in Symbol 885 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 885 MovieClip Frame 3
stop();
Symbol 894 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 3
gotoAndStop (1);
Instance of Symbol 882 MovieClip in Symbol 908 MovieClip Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 908 MovieClip Frame 43
stop();
Instance of Symbol 882 MovieClip in Symbol 915 MovieClip Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 915 MovieClip Frame 64
stop();
Symbol 924 MovieClip Frame 45
stop();
Symbol 925 MovieClip Frame 1
stop();
Instance of Symbol 882 MovieClip "limit" in Symbol 925 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Instance of Symbol 882 MovieClip in Symbol 925 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 925 MovieClip Frame 2
stop();
Symbol 925 MovieClip Frame 3
stop();
Symbol 925 MovieClip Frame 4
stop();
Symbol 950 MovieClip Frame 1
Symbol 950 MovieClip Frame 36
_root.w1.gotoAndStop(2);
_root.w2.gotoAndStop(2);
_root.w3.gotoAndStop(2);
_root.w4.gotoAndStop(2);
Symbol 950 MovieClip Frame 47
_root.alura.go = true;
_root.alura.intro = false;
Symbol 951 MovieClip Frame 1
stop();
Instance of Symbol 926 MovieClip in Symbol 951 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Symbol 951 MovieClip Frame 2
stop();
Symbol 954 MovieClip Frame 1
stop();
Symbol 954 MovieClip Frame 3
gotoAndStop (1);
Symbol 973 MovieClip Frame 24
stop();
Symbol 984 MovieClip Frame 14
_root.w1.gotoAndStop(3);
_root.w2.gotoAndStop(3);
_root.w3.gotoAndStop(3);
_root.w4.gotoAndStop(3);
Symbol 984 MovieClip Frame 27
stop();
Symbol 987 MovieClip Frame 4
_root.w1.gotoAndStop(4);
_root.w2.gotoAndStop(4);
_root.w3.gotoAndStop(4);
_root.w4.gotoAndStop(4);
Symbol 987 MovieClip Frame 26
stop();
Symbol 988 MovieClip Frame 1
stop();
Symbol 988 MovieClip Frame 2
stop();
Instance of Symbol 752 MovieClip in Symbol 988 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Instance of Symbol 752 MovieClip "limit" in Symbol 988 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Symbol 988 MovieClip Frame 3
stop();
Symbol 988 MovieClip Frame 4
stop();
Symbol 988 MovieClip Frame 5
stop();
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
stop();
Instance of Symbol 752 MovieClip in Symbol 1009 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 15;
}
}
}
Symbol 1009 MovieClip Frame 53
_parent.gotoAndStop(2);
stop();
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1010 MovieClip Frame 3
stop();
Symbol 1010 MovieClip Frame 4
stop();
Symbol 1016 MovieClip Frame 1
stopAllSounds();
Symbol 1016 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 1017 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3c");
}
}
Instance of Symbol 75 MovieClip in Symbol 1023 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3d");
}
}
Instance of Symbol 1035 MovieClip in Symbol 1050 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Symbol 1050 MovieClip Frame 35
stop();
Instance of Symbol 1035 MovieClip in Symbol 1059 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Symbol 1059 MovieClip Frame 32
stop();
Symbol 1062 MovieClip Frame 7
stop();
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
stop();
Symbol 1068 MovieClip Frame 1
stop();
Symbol 1068 MovieClip Frame 2
stop();
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 2
stop();
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 2
stop();
Symbol 1077 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 2
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 2
stop();
Symbol 1083 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 2
stop();
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1086 MovieClip Frame 2
stop();
Symbol 1089 MovieClip Frame 1
stop();
Symbol 1089 MovieClip Frame 2
stop();
Symbol 1092 MovieClip Frame 1
stop();
Symbol 1092 MovieClip Frame 2
stop();
Symbol 1093 MovieClip Frame 1
stop();
Instance of Symbol 1035 MovieClip in Symbol 1093 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 25;
}
}
}
Symbol 1093 MovieClip Frame 2
stop();
Symbol 1093 MovieClip Frame 3
stop();
Symbol 1093 MovieClip Frame 4
stop();
Symbol 1093 MovieClip Frame 5
stop();
Instance of Symbol 1065 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 2);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1068 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 3);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1071 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 5);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1065 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 2);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1068 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 3);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1071 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 4);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1074 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 3;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 3.5);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1077 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 3);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1080 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 5;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 5);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1083 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 6;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 6);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1086 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + speed);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1089 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 2;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 4);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Instance of Symbol 1092 MovieClip in Symbol 1093 MovieClip Frame 5
onClipEvent (load) {
speed = 4;
splode = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!splode) {
gotoAndStop (1);
_y = (_y + 4);
}
if (splode) {
gotoAndStop (2);
}
if (this.hitTest(_root.map.white)) {
splode = true;
}
}
}
Symbol 1093 MovieClip Frame 6
stop();
Instance of Symbol 75 MovieClip in Symbol 1102 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.necro.dead2) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("notdone");
}
}
}
Symbol 1134 MovieClip Frame 121
stop();
Symbol 1135 MovieClip Frame 1
stop();
Instance of Symbol 1115 MovieClip "limit" in Symbol 1135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
if (!_root.player.nohit) {
_root.player.hit = true;
_root.rlife = _root.rlife - 20;
}
}
}
Symbol 1135 MovieClip Frame 2
stop();
Symbol 1135 MovieClip Frame 3
stop();
Symbol 1135 MovieClip Frame 4
stop();
Symbol 1135 MovieClip Frame 5
stop();
Symbol 1135 MovieClip Frame 6
stop();
Symbol 1143 MovieClip Frame 1
stop();
Symbol 1143 MovieClip Frame 2
stop();
Symbol 1143 MovieClip Frame 3
stop();
Instance of Symbol 398 MovieClip "head" in Symbol 1143 MovieClip Frame 3
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 401 MovieClip "ribs" in Symbol 1143 MovieClip Frame 3
onClipEvent (load) {
speed = 15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Instance of Symbol 404 MovieClip "arm" in Symbol 1143 MovieClip Frame 3
onClipEvent (load) {
speed = 25;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Instance of Symbol 407 MovieClip "leg" in Symbol 1143 MovieClip Frame 3
onClipEvent (load) {
speed = 27;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 1143 MovieClip Frame 4
stop();
Symbol 1145 MovieClip Frame 20
stop();
Symbol 1146 MovieClip Frame 1
stop();
Symbol 1146 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 1151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3f");
}
}
Instance of Symbol 75 MovieClip in Symbol 1176 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3g");
}
}
Instance of Symbol 75 MovieClip in Symbol 1184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.limit)) {
_root.gotoAndStop("st3boss");
}
}
Symbol 1209 MovieClip Frame 1
stopAllSounds();
Symbol 1209 MovieClip Frame 2
stop();
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 2
stop();
Symbol 1222 MovieClip Frame 3
_root.score = _root.score + 100;
stop();
Symbol 1246 MovieClip Frame 1
stop();
Symbol 1246 MovieClip Frame 2
stop();
Symbol 1246 MovieClip Frame 3
stop();
Symbol 1246 MovieClip Frame 4
stop();