Frame 2
stop();
Instance of Symbol 397 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 3
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("a5abaf3f", this, 10301, true);
Frame 4
function onEnterFrame() {
Stimer++;
if (Stimer > 5) {
if (Key.isDown(32)) {
if (sound == false) {
sound = true;
menuLoop.setVolume(50);
Stimer = 0;
} else {
sound = false;
menuLoop.setVolume(0);
Stimer = 0;
}
}
}
}
function keyCheck() {
if (keydown(68) || (keydown(39))) {
player.moving = true;
player.dir = 1;
if (player.jump == false) {
player.actions.gotoAndStop("walk");
}
player.actions._xscale = 100;
player.dx = player.dx + player.speed;
if (player.dx > 6) {
player.dx = 6;
}
}
if (keydown(65) || (keydown(37))) {
player.dir = -1;
player.moving = true;
if (player.jump == false) {
player.actions.gotoAndStop("walk");
}
player.actions._xscale = -100;
player.dx = player.dx - player.speed;
if (player.dx < -6) {
player.dx = -6;
}
}
if ((((((((!keydown(68)) && (!keydown(65))) && (!keydown(39))) && (!keydown(37))) || (keydown(68) && (keydown(65)))) || (keydown(37) && (keydown(39)))) || (keydown(65) && (keydown(39)))) || (keydown(37) && (keydown(68)))) {
player.moving = false;
if (player.jump == false) {
player.actions.gotoAndStop("stop");
}
if (player.dx > 0) {
player.dx = player.dx - 1;
}
if (player.dx < 0) {
player.dx = player.dx + 1;
}
}
if (keydown(87) || (keydown(38))) {
if (player.jump == false) {
if (main.land.hitTest(player._x, player._y, true) || (main.land.hitTest(player._x, player._y + 5, true))) {
player.jumpTimer = 0;
player.jump = true;
}
}
}
}
function gravity() {
if ((main.land.hitTest(player._x, player._y, true) || (main.land.hitTest(player._x + (player.actions._width / 4), player._y, true))) || (main.land.hitTest(player._x - (player.actions._width / 4), player._y, true))) {
if (player.jump == false) {
player.dy = 0;
}
} else {
player.dy = player.dy + gravityAmount;
if (player.dy > fallingSpeed) {
player.dy = fallingSpeed;
}
}
}
function landCheck() {
if ((dx + dy) != 0) {
if (main.land.hitTest(player._x, player._y, true)) {
var _local1 = 0;
_local1 = 0;
while (_local1 < 10) {
if (main.land.hitTest(player._x + player.dx, player._y - _local1, true)) {
if (_local1 == 9) {
player.dx = 0;
}
} else {
player._y = (player._y - _local1) + 1;
_local1 = 10;
}
_local1++;
}
} else {
checkFall = Math.abs(player.dy);
if (checkFall > 0) {
if (main.land.hitTest(player._x, player._y + player.dy, true)) {
if (player.jump == false) {
player.dy = 0;
}
var _local1 = 0;
do {
if (main.land.hitTest(player._x, player._y + _local1, true)) {
player._y = player._y + _local1;
if (player.jump == false) {
player.dy = 0;
}
_local1 = 5;
}
_local1++;
} while (_local1 < 5);
}
}
}
if (player.dx > 0) {
if (main.land.hitTest(player._x + ((player.actions._width / 2) + 3), player._y - (player.actions._height / 2), true)) {
player.dx = 0;
}
if (main.land.hitTest(player._x + ((player.actions._width / 2) + 3), player._y - (player.actions._height / 4), true)) {
player.dx = 0;
}
if (main.land.hitTest(player._x + ((player.actions._width / 2) + 3), player._y - (player.actions._height / 8), true)) {
player.dx = 0;
}
}
if (player.dx < 0) {
if (main.land.hitTest(player._x - ((player.actions._width / 2) + 3), player._y - (player.actions._height / 2), true)) {
player.dx = 0;
} else if (main.land.hitTest(player._x - ((player.actions._width / 2) + 3), player._y - (player.actions._height / 4), true)) {
player.dx = 0;
} else if (main.land.hitTest(player._x - ((player.actions._width / 2) + 3), player._y - (player.actions._height / 8), true)) {
player.dx = 0;
}
}
if (player.jump == true) {
if (main.land.hitTest(player._x, player._y - player.actions._height, true)) {
player.dy = 0;
} else if (main.land.hitTest(player._x + (player.actions._width / 2), player._y - player.actions._height, true)) {
player.dy = 0;
} else if (main.land.hitTest(player._x - (player.actions._width / 2), player._y - player.actions._height, true)) {
player.dy = 0;
}
}
}
}
function moveP() {
_root._x = _root._x + (player.dx * -1);
bottom._x = _root._x * -1;
bg._x = bottom._x;
ft._x = bg._x;
player.jumpTimer++;
if (player.jumpTimer < 2) {
player.dy = 0;
}
if (player.jumpTimer == 2) {
player.dy = -13;
}
if (player.jumpTimer > 10) {
player.jump = false;
}
player._x = player._x + player.dx;
player._y = player._y + player.dy;
}
function death() {
if (lives > 0) {
deathS.start();
health = 100;
lives--;
_root.score = _root.score - 15000;
player._y = 200;
player._x = checkpoint + 320;
player.dy = 0;
player.dx = 0;
_root._x = checkpoint * -1;
} else if (deathTimer > 30) {
stopAllSounds();
gameOver.start();
loop2.start(0, 999999);
allDepth++;
main.land.swapDepths(allDepth);
allDepth++;
main.lo.swapDepths(allDepth);
allDepth++;
en.swapDepths(allDepth);
main.land.removeMovieClip();
main.lo.removeMovieClip();
en.removeMovieClip();
allDepth++;
fader.swapDepths(allDepth);
fader.removeMovieClip();
lives = 3;
score = 0;
health = 100;
checkpoint = 0;
_root._x = 0;
player._y = 200;
player._x = checkpoint + 320;
allDepth++;
main.attachMovie("lo", "lo", allDepth);
allDepth++;
main.attachMovie("land", "land", allDepth);
allDepth++;
_root.attachMovie("en", "en", allDepth);
allDepth++;
_root.attachMovie("fader", "fader", allDepth);
}
}
function weap() {
if (dance != true) {
if ((!keydown(69)) && (!keydown(81))) {
cha = false;
}
if (keydown(69)) {
if ((player.weapon == "bow") && (cha == false)) {
player.weapons.gotoAndStop("axe");
player.weapon = "axe";
cha = true;
}
if ((player.weapon == "axe") && (cha == false)) {
player.weapons.gotoAndStop("sword");
player.weapon = "sword";
cha = true;
}
if ((player.weapon == "sword") && (cha == false)) {
player.weapons.gotoAndStop("pike");
player.weapon = "pike";
cha = true;
}
if ((player.weapon == "pike") && (cha == false)) {
player.weapons.gotoAndStop("powder");
player.weapon = "powder";
cha = true;
}
if ((player.weapon == "powder") && (cha == false)) {
player.weapons.gotoAndStop("bow");
player.weapon = "bow";
cha = true;
}
}
if (keydown(81)) {
if ((player.weapon == "bow") && (cha == false)) {
player.weapons.gotoAndStop("powder");
player.weapon = "powder";
cha = true;
}
if ((player.weapon == "axe") && (cha == false)) {
player.weapons.gotoAndStop("bow");
player.weapon = "bow";
cha = true;
}
if ((player.weapon == "sword") && (cha == false)) {
player.weapons.gotoAndStop("axe");
player.weapon = "axe";
cha = true;
}
if ((player.weapon == "pike") && (cha == false)) {
player.weapons.gotoAndStop("sword");
player.weapon = "sword";
cha = true;
}
if ((player.weapon == "powder") && (cha == false)) {
player.weapons.gotoAndStop("pike");
player.weapon = "pike";
cha = true;
}
}
if (player.weapon == "bow") {
dx = _root._xmouse - _root.player._x;
dy = (_root._ymouse - _root.player._y) + 36;
radians = atan(dy / dx);
degrees = radians * deg;
degrees = degrees + 90;
if (dx < 0) {
degrees = degrees - 180;
}
dir = degrees;
_root.player.weapons.bow._rotation = degrees;
if (degrees < 0) {
_root.player.weapons.bow._xscale = -100;
} else {
_root.player.weapons.bow._xscale = 100;
}
if (md == true) {
charge = charge + 1.5;
} else if (charge > 0) {
if (shotReady) {
allDepth++;
_root.main.attachMovie("arrow", "arrow" + allDepth, allDepth);
currentArrow = eval ("main.arrow" + allDepth);
degrees = degrees - 90;
radians = degrees * rad;
dx = cos(radians);
dy = sin(radians);
dx = dx * ((charge / 1.5) + 5);
dy = dy * ((charge / 1.5) + 5);
if (dx < 0) {
currentArrow._yscale = -100;
}
currentArrow._x = player._x + dx;
currentArrow._y = (player._y - 36) + dy;
if (charge < 5) {
currentArrow._x = currentArrow._x + (cos(radians) * 40);
currentArrow._y = currentArrow._y + (sin(radians) * 40);
}
if ((charge > 5) && (charge < 10)) {
currentArrow._x = currentArrow._x + (cos(radians) * 20);
currentArrow._y = currentArrow._y + (sin(radians) * 20);
}
currentArrow.dx = dx;
currentArrow.dy = dy;
_root.player.weapons.bow.play();
charge = 0;
}
}
}
if (player.weapon == "axe") {
player.weapons.axe._xscale = 100 * player.dir;
if (md == true) {
charge = charge + 1.5;
} else if (charge > 0) {
player.weapons.axe.charge = charge;
player.weapons.axe.play();
charge = 0;
}
}
if (player.weapon == "sword") {
player.weapons.sword._xscale = 100 * player.dir;
if (md == true) {
charge = charge + 1.5;
} else if (charge > 0) {
player.weapons.sword.play();
charge = 0;
}
}
if (player.weapon == "pike") {
player.weapons.pike._xscale = 100 * player.dir;
if (md == true) {
charge = charge + 1.5;
} else if (charge > 0) {
player.weapons.pike.play();
charge = 0;
}
}
if (player.weapon == "powder") {
player.weapons.powder._xscale = 100 * player.dir;
if (md == true) {
charge = charge + 1.5;
} else if (charge > 0) {
allDepth++;
main.attachMovie("powder", "powder" + allDepth, allDepth);
currentKeg = eval ("main.powder" + allDepth);
currentKeg._x = player._x;
currentKeg._y = player._y;
currentKeg.charge = charge;
player.weapons.powder.play();
charge = 0;
}
}
if (charge > 25) {
bottom.chargeMeter.gotoAndStop(2);
charge = 25;
} else {
bottom.chargeMeter.gotoAndStop(1);
}
bottom.chargeMeter._xscale = charge * 4;
}
}
stop();
stopAllSounds();
menuLoop = new Sound();
menuLoop.attachSound("loop1");
extraLife = new Sound();
extraLife.attachSound("onUp");
deathS = new Sound();
deathS.attachSound("death.mp3");
gameOver = new Sound();
gameOver.attachSound("gameOver.mp3");
expSound = new Sound();
expSound.attachSound("exp.wav");
pain1 = new Sound();
pain2 = new Sound();
pain3 = new Sound();
pain1.attachSound("pain.wav");
pain2.attachSound("pain1.wav");
pain3.attachSound("pain2.wav");
hot1 = new Sound();
hot2 = new Sound();
hot3 = new Sound();
hot4 = new Sound();
hot1.attachSound("hot1.mp3");
hot2.attachSound("hot2.mp3");
hot3.attachSound("hot3.mp3");
hot4.attachSound("hot4.mp3");
loop2 = new Sound();
loop2.attachSound("loop2");
loop2.start(0, 999999);
loop2.setVolume(50);
loop3 = new Sound();
loop3.attachSound("loop3");
loop4 = new Sound();
loop4.attachSound("loop4");
loop5 = new Sound();
loop5.attachSound("loop5");
loop6 = new Sound();
loop6.attachSound("loop6");
loop7 = new Sound();
loop7.attachSound("loop7");
loop8 = new Sound();
loop8.attachSound("loop8");
loop9 = new Sound();
loop9.attachSound("loop9");
loop10 = new Sound();
loop10.attachSound("loop10");
Stimer = 0;
var score = 0;
var allDepth = 2;
bg.onMouseDown = function () {
md = true;
};
bg.onMouseUp = function () {
md = false;
};
checkpoint = 0;
var lives = 3;
wtimer = 0;
keydown = Key.isDown;
atan = Math.atan;
cos = Math.cos;
sin = Math.sin;
rad = (Math.PI/180);
deg = 57.2957795130823;
_root._x = 0;
player._y = 200;
player._x = 320;
player.weapon = "bow";
var allDepth = 2;
var gravityAmount = 1;
var fallingSpeed = 8;
var charge = 0;
var health = 100;
var deathTimer = 0;
player.jump = false;
player._x = Stage.width / 2;
player.onEnterFrame = function () {
if (dance != true) {
deathTimer++;
keyCheck();
gravity();
landCheck();
moveP();
score = score - 0.0333333333333333;
bottom.healthMeter._xscale = health;
if (player._y > 550) {
death();
}
if (health <= 0) {
death();
}
}
};
setInterval(weap, 50);
Symbol 26 MovieClip Frame 1
function onEnterFrame() {
if (_root.dance) {
trace("happenGodDammit!");
gotoAndStop (2);
}
}
stop();
Symbol 27 MovieClip Frame 1
function onEnterFrame() {
if (dog.hitTest(_root.player)) {
_root.dance = true;
win = "You Have Beat The Game With A Score of " + Math.ceil(_root.score);
}
}
stop();
win = "";
Symbol 32 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - 5;
if (_root.player._x > (_x + 25)) {
_root.player.dx = _root.player.dx + 2;
} else {
_root.player.dx = _root.player.dx - 2;
}
_root.player.actions.gotoAndPlay("hurt");
}
if (dir == "right") {
_rotation = (_rotation + 8);
timer++;
if (timer < time) {
_x = (_x + speed);
}
if (timer == time) {
dir = "left";
timer = 0;
}
}
if (dir == "left") {
_rotation = (_rotation - 8);
timer++;
if (timer < time) {
_x = (_x - speed);
}
if (timer == time) {
dir = "right";
timer = 0;
}
}
}
if (begin != 0) {
var timer = 0;
}
begin = 0;
Symbol 35 MovieClip Frame 15
function onEnterFrame() {
timer++;
if (timer == time) {
play();
}
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - 5;
if (_root.player._x > (_x + 25)) {
_root.player.dx = _root.player.dx + 2;
} else {
_root.player.dx = _root.player.dx - 2;
}
_root.player.actions.gotoAndPlay("hurt");
}
}
stop();
timer = 0;
Symbol 37 MovieClip Frame 1
function onEnterFrame() {
if (dir == "right") {
timer++;
if (timer < time) {
this._x = this._x + speed;
if (this.hitTest(_root.player._x, _root.player._y)) {
_root.player._x = _root.player._x + speed;
_root._x = _root._x - speed;
_root.bg._x = _root.bg._x + speed;
_root.bottom._x = _root.bottom._x + speed;
}
}
if (timer == time) {
dir = "left";
timer = 0;
}
}
if (dir == "left") {
timer++;
if (timer < time) {
this._x = this._x - speed;
if (this.hitTest(_root.player._x, _root.player._y)) {
_root.player._x = _root.player._x - speed;
_root._x = _root._x + speed;
_root.bg._x = _root.bg._x - speed;
_root.bottom._x = _root.bottom._x - speed;
}
}
if (timer == time) {
dir = "right";
timer = 0;
}
}
}
var timer = 0;
dir = "right";
Instance of Symbol 32 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 25;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 5;
var time = 40;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 60;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 6;
var time = 40;
dir = "right";
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 33;
}
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip [land_9] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 33;
}
Symbol 42 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player.actions)) {
_root.extraLife.start();
_root.lives++;
_root.score = _root.score + 10000;
this.removeMovieClip();
}
}
_root.allDepth++;
this.swapDepths(_root.allDepth);
Symbol 44 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player)) {
_root.fader.play();
}
}
Symbol 66 MovieClip Frame 20
stop();
Symbol 70 MovieClip Frame 1
function onEnterFrame() {
_rotation = (_rotation + 5);
}
Symbol 73 MovieClip Frame 1
function onEnterFrame() {
if (life) {
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - 5;
if (_root.player._x > (_x + 25)) {
_root.player.dx = _root.player.dx + 4;
} else {
_root.player.dx = _root.player.dx - 4;
}
_root.player.actions.gotoAndPlay("hurt");
}
if (dir == "right") {
_xscale = 100;
timer++;
if (timer < time) {
_x = (_x + speed);
}
if (timer == time) {
dir = "left";
timer = 0;
}
}
if (dir == "left") {
_xscale = -100;
timer++;
if (timer < time) {
_x = (_x - speed);
}
if (timer == time) {
dir = "right";
timer = 0;
}
}
}
}
if (begin != 0) {
var timer = 0;
}
begin = 0;
stop();
life = true;
Symbol 73 MovieClip Frame 2
stop();
life = eval (false)();
Instance of Symbol 73 MovieClip "spEn" in Symbol 74 MovieClip [en_9] Frame 1
onClipEvent (load) {
var speed = 9;
var time = 90;
dir = "right";
}
Symbol 96 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player)) {
if (closed) {
closed = false;
play();
}
}
}
stop();
closed = true;
Symbol 96 MovieClip Frame 20
stop();
_root.fader.play();
Instance of Symbol 73 MovieClip "spEn" in Symbol 99 MovieClip [en_8] Frame 1
onClipEvent (load) {
var speed = 8;
var time = 90;
dir = "right";
}
Symbol 102 MovieClip Frame 1
function onEnterFrame() {
if (_parent.kill == true) {
if (this.hitTest(_root.player.actions)) {
_root.death();
}
}
}
Symbol 104 MovieClip Frame 1
s.kill = false;
Symbol 104 MovieClip Frame 23
function onEnterFrame() {
timer++;
if (timer > time) {
play();
}
}
stop();
var timer = 0;
Symbol 104 MovieClip Frame 24
s.kill = true;
Instance of Symbol 32 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
dir = "right";
}
Instance of Symbol 35 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 104 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var time = 30;
}
Instance of Symbol 104 MovieClip in Symbol 106 MovieClip [land_8] Frame 1
onClipEvent (load) {
var time = 30;
}
Instance of Symbol 32 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 30;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 80;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 2;
var time = 60;
dir = "right";
}
Instance of Symbol 35 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var time = 27;
}
Instance of Symbol 35 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var time = 23;
}
Instance of Symbol 37 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 180;
}
Instance of Symbol 37 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 60;
}
Instance of Symbol 37 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 62;
}
Instance of Symbol 37 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 5;
var time = 40;
}
Instance of Symbol 37 MovieClip in Symbol 108 MovieClip [land_7] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 120;
}
Instance of Symbol 73 MovieClip "spEn" in Symbol 111 MovieClip [en_7] Frame 1
onClipEvent (load) {
var speed = 8;
var time = 90;
dir = "right";
}
Instance of Symbol 35 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var time = 27;
}
Instance of Symbol 35 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var time = 21;
}
Instance of Symbol 35 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var time = 19;
}
Instance of Symbol 32 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 45;
dir = "right";
}
Instance of Symbol 37 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 120;
}
Instance of Symbol 37 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 110;
}
Instance of Symbol 37 MovieClip in Symbol 116 MovieClip [land_6] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 120;
}
Symbol 122 MovieClip Frame 1
function detect() {
if (life) {
hit();
} else {
distance = Math.abs(_x - _root.player._x);
if (distance > 400) {
remove();
}
}
}
function hit() {
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - 5;
if (_root.player._x > (_x + 25)) {
_root.player.dx = _root.player.dx - 1;
} else {
_root.player.dx = _root.player.dx + 1;
}
_root.player.actions.gotoAndPlay("hurt");
}
}
function remove() {
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
}
function onEnterFrame() {
if (life) {
if (dir == "right") {
_xscale = 100;
timer++;
if (timer < time) {
this._x = this._x + speed;
}
if (timer == time) {
dir = "left";
timer = 0;
}
}
if (dir == "left") {
_xscale = -100;
timer++;
if (timer < time) {
this._x = this._x - speed;
}
if (timer == time) {
dir = "right";
timer = 0;
}
}
}
}
if (life != false) {
life = true;
}
setInterval(detect, 500);
if (begin != 0) {
var timer = 0;
dir = "right";
}
begin = 0;
Symbol 122 MovieClip Frame 14
if (life) {
gotoAndPlay (1);
}
Symbol 122 MovieClip Frame 15
n = Math.ceil(Math.random() * 3);
n2 = eval ("_root.pain" + n);
n2.start();
_root.score = _root.score + 3000;
Instance of Symbol 122 MovieClip "enemy1" in Symbol 123 MovieClip [en_6] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
}
Symbol 136 MovieClip Frame 1
function detect() {
if (life) {
hit();
} else {
distance = Math.abs(_x - _root.player._x);
if (distance > 400) {
remove();
}
}
}
function hit() {
timer++;
if (timer > 1) {
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - 5;
if (_root.player._x > (_x + 25)) {
_root.player.dx = _root.player.dx - 1;
} else {
_root.player.dx = _root.player.dx + 1;
}
_root.player.actions.gotoAndPlay("hurt");
timer = 0;
}
}
}
function remove() {
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
}
if (life != false) {
life = true;
}
setInterval(detect, 500);
timer = 0;
Symbol 136 MovieClip Frame 30
if (life) {
gotoAndPlay (1);
}
Symbol 136 MovieClip Frame 31
_root.score = _root.score + 2000;
n = Math.ceil(Math.random() * 3);
n2 = eval ("_root.pain" + n);
n2.start();
Instance of Symbol 73 MovieClip "spEn" in Symbol 137 MovieClip [en_5] Frame 1
onClipEvent (load) {
var speed = 8;
var time = 90;
dir = "left";
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 3
stop();
Symbol 141 MovieClip Frame 4
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 144 MovieClip Frame 1
function onEnterFrame() {
if (_root.targetHit) {
if (begin != 0) {
begin = 0;
play();
}
} else if (this.hitTest(_root.player.actions)) {
_root.player.dy = 0;
}
}
stop();
Symbol 144 MovieClip Frame 16
stop();
Symbol 148 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player.jump = true;
_root.player.dy = _root.player.dy - _parent.jumpHeight;
}
}
Instance of Symbol 32 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
var speed = 6;
var time = 70;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
var speed = 6;
var time = 70;
dir = "left";
}
Instance of Symbol 35 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
var time = 45;
}
Instance of Symbol 35 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 35 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
var time = 25;
}
Instance of Symbol 149 MovieClip in Symbol 151 MovieClip [land_5] Frame 1
onClipEvent (load) {
jumpHeight = 16;
}
Symbol 154 MovieClip Frame 1
_root.targetHit = false;
stop();
Symbol 163 MovieClip Frame 1
function onEnterFrame() {
if (hit != true) {
if (this.hitTest(_root.player)) {
_root.checkpoint = _x - 320;
hit = true;
_root.score = _root.score + 5000;
play();
}
}
}
stop();
Symbol 167 MovieClip Frame 1
function onEnterFrame() {
if (hit != true) {
if (this.hitTest(_root.player)) {
_root.checkpoint = _x - 320;
hit = true;
_root.score = _root.score + 5000;
n = Math.ceil(Math.random() * 4);
n2 = eval ("_root.hot" + n);
n2.start();
}
}
}
Symbol 169 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player.actions)) {
_root.fader.play();
}
}
Symbol 173 MovieClip Frame 1
function onEnterFrame() {
if (_root.targetHit == true) {
if (dir == "right") {
timer++;
if (timer < time) {
this._x = this._x + speed;
if (this.hitTest(_root.player._x, _root.player._y)) {
_root.player._x = _root.player._x + speed;
_root._x = _root._x - speed;
_root.bg._x = _root.bg._x + speed;
_root.bottom._x = _root.bottom._x + speed;
}
}
if (timer == time) {
dir = "left";
timer = 0;
}
}
if (dir == "left") {
timer++;
if (timer < time) {
this._x = this._x - speed;
if (this.hitTest(_root.player._x, _root.player._y)) {
_root.player._x = _root.player._x - speed;
_root._x = _root._x + speed;
_root.bg._x = _root.bg._x - speed;
_root.bottom._x = _root.bottom._x - speed;
}
}
if (timer == time) {
dir = "right";
timer = 0;
}
}
}
}
var timer = 0;
dir = "left";
Instance of Symbol 32 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
dir = "left";
}
Instance of Symbol 32 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 60;
dir = "right";
}
Instance of Symbol 32 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 60;
dir = "left";
}
Instance of Symbol 32 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 60;
dir = "left";
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip [land_4] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 120;
}
Instance of Symbol 73 MovieClip "spEn" in Symbol 175 MovieClip [en_4] Frame 1
onClipEvent (load) {
var speed = 8;
var time = 120;
dir = "left";
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 177 MovieClip Frame 3
stop();
Symbol 177 MovieClip Frame 4
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Instance of Symbol 32 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 90;
dir = "right";
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 60;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 45;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 2;
var time = 90;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 5;
var time = 150;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 30;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 27;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 5;
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var speed = 2;
var time = 90;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 30;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 34;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 32;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 28;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 31;
}
Instance of Symbol 104 MovieClip in Symbol 180 MovieClip [land_3] Frame 1
onClipEvent (load) {
var time = 29;
}
Symbol 185 MovieClip [fader9] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 185 MovieClip [fader9] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_10", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_10", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_10", "en", _root.allDepth);
stopAllSounds();
_root.loop10.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 185 MovieClip [fader9] Frame 51
_root.allDepth++;
_root.attachMovie("fader10", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 189 MovieClip [fader8] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 189 MovieClip [fader8] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_9", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_9", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_9", "en", _root.allDepth);
stopAllSounds();
_root.loop9.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 189 MovieClip [fader8] Frame 51
_root.allDepth++;
_root.attachMovie("fader9", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 193 MovieClip [fader7] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 193 MovieClip [fader7] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_8", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_8", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_8", "en", _root.allDepth);
stopAllSounds();
_root.loop8.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 193 MovieClip [fader7] Frame 51
_root.allDepth++;
_root.attachMovie("fader8", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 197 MovieClip [fader6] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 197 MovieClip [fader6] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_7", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_7", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_7", "en", _root.allDepth);
stopAllSounds();
_root.loop7.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 197 MovieClip [fader6] Frame 51
_root.allDepth++;
_root.attachMovie("fader7", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 201 MovieClip [fader5] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 201 MovieClip [fader5] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_6", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_6", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_6", "en", _root.allDepth);
stopAllSounds();
_root.loop6.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 201 MovieClip [fader5] Frame 51
_root.allDepth++;
_root.attachMovie("fader6", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 205 MovieClip [fader4] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 205 MovieClip [fader4] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_5", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_5", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_5", "en", _root.allDepth);
stopAllSounds();
_root.menuLoop.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 205 MovieClip [fader4] Frame 51
_root.allDepth++;
_root.attachMovie("fader5", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 209 MovieClip [fader3] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 209 MovieClip [fader3] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_4", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_4", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_4", "en", _root.allDepth);
stopAllSounds();
_root.loop5.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 209 MovieClip [fader3] Frame 51
_root.allDepth++;
_root.attachMovie("fader4", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Instance of Symbol 122 MovieClip "enemy2" in Symbol 211 MovieClip [en_3] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 60;
}
Instance of Symbol 122 MovieClip "enemy3" in Symbol 211 MovieClip [en_3] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 45;
}
Instance of Symbol 122 MovieClip "enemy1" in Symbol 212 MovieClip [en_2] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
}
Instance of Symbol 122 MovieClip "enemy2" in Symbol 212 MovieClip [en_2] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 65;
}
Symbol 219 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player)) {
_root.fader.play();
}
}
Symbol 264 MovieClip [blood1] Frame 1
function detect() {
if (_root.bg.hitTest(_x, 5, true)) {
} else {
remove();
}
}
function remove() {
this.removeMovieClip();
}
setInterval(detect, 1000);
number = 0;
Symbol 264 MovieClip [blood1] Frame 40
gotoAndPlay (29);
number++;
if (number == 3) {
remove();
}
Symbol 278 MovieClip [kegExplosion] Frame 3
if (charge > 10) {
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this)) {
_root.allDepth++;
_root.en.attachMovie("bombBlood", "bb" + _root.allDepth, _root.allDepth);
cBB = eval ("_root.en.bb" + _root.allDepth);
cBB._x = cE._x;
cBB._y = _y;
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.removeMovieClip();
_root.score = _root.score + 1000;
}
i++;
}
}
if (_root.en.spEn.life) {
if (charge > 20) {
if (this.hitTest(_root.en.spEn)) {
_root.en.spEn.gotoAndStop("death");
_root.score = _root.score + 5000;
}
}
}
if (this.hitTest(_root.player.actions)) {
_root.health = _root.health - (2 * charge);
if (_root.player._x > _x) {
_root.player.dx = _root.player.dx + Math.floor(charge / 4);
} else {
_root.player.dx = _root.player.dx - Math.floor(charge / 4);
}
_root.player.actions.gotoAndPlay("hurt");
}
if (charge > 10) {
if (_root.main.land.hitTest(_x, _y, true)) {
_root.allDepth++;
_root.main.attachMovie("cracks", "cracks" + _root.allDepth, _root.allDepth);
currentCrack = eval ("_root.main.cracks" + _root.allDepth);
currentCrack._x = _x;
currentCrack._y = _y + 5;
currentCrack.gotoAndStop(Math.ceil(Math.random() * 10));
}
}
if (charge > 15) {
i = 0;
i = 0;
while (i < 4) {
currentWall = eval ("_root.main.land.dw" + i);
if (this.hitTest(currentWall)) {
currentWall.play();
i = 4;
}
i++;
}
}
Symbol 278 MovieClip [kegExplosion] Frame 14
this.removeMovieClip();
Symbol 280 MovieClip [arrow] Frame 1
function onEnterFrame() {
if (mov) {
if (this.hitTest(_root.main.lo.target)) {
_root.targetHit = true;
_root.allDepth++;
_root.main.lo.target.swapDepths(_root.allDepth);
_root.main.lo.target.removeMovieClip();
}
_x = (_x + dx);
_y = (_y + dy);
_rotation = (((Math.atan(dy / dx) * 180) / Math.PI) + 90);
dy++;
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(_x, _y, true) || (cE.hitTest(_x + (dx / 4), _y + (dy / 4), true))) {
mov = false;
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
if (bl != true) {
bl = true;
_root.allDepth++;
_root.en.attachMovie("blood1", "b" + _root.allDepth, _root.allDepth);
b = eval ("_root.en.b" + _root.allDepth);
b._x = _x;
b._y = _y;
if (dx < 0) {
b._rotation = _rotation;
} else {
b._rotation = _rotation - 180;
}
}
i = 5;
dx = 0;
dy = 0;
}
if (_root.main.land.hitTest(_x, _y, true)) {
mov = false;
}
if (cE.hitTest(_x + dx, _y + dy, true)) {
} else if ((cE.hitTest(_x + (dx / 2), _y + (dy / 2), true) || (cE.hitTest(_x + (dx / 3), _y + (dy / 3), true))) || (cE.hitTest(_x + (dx / 8), _y + (dy / 8), true))) {
mov = false;
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
if (bl != true) {
bl = true;
_root.allDepth++;
_root.en.attachMovie("blood1", "b" + _root.allDepth, _root.allDepth);
b = eval ("_root.en.b" + _root.allDepth);
b._x = _x;
b._y = _y;
if (dx < 0) {
b._rotation = _rotation;
} else {
b._rotation = _rotation - 180;
}
}
i = 5;
dx = 0;
dy = 0;
}
i++;
}
}
}
function detect() {
if (_root.bg.hitTest(_x, 5, true)) {
} else {
remove();
}
if (_root.main.land.hitTest(_x, _y, true)) {
mov = false;
dx = 0;
dy = 0;
} else {
mov = true;
}
}
function remove() {
this.removeMovieClip();
}
mov = true;
setInterval(detect, 1000);
Symbol 285 MovieClip [powder] Frame 3
function onEnterFrame() {
if (_root.main.land.hitTest(_x, _y, true)) {
dy = 0;
} else if (dy < 6) {
dy++;
}
_y = (_y + dy);
}
var dy = 0;
var timer = 0;
Symbol 285 MovieClip [powder] Frame 26
_root.allDepth++;
_root.main.attachMovie("kegExplosion", "kegExplosion" + _root.allDepth, _root.allDepth);
currentExp = eval ("_root.main.kegExplosion" + _root.allDepth);
currentExp._x = this._x;
currentExp._y = this._y;
currentExp.charge = charge;
currentExp._xscale = charge * 8;
currentExp._yscale = charge * 8;
_root.expSound.start();
this.removeMovieClip();
Symbol 295 MovieClip [cracks] Frame 1
function detect() {
if (_root.bg.hitTest(_x, _y, true)) {
} else {
remove();
}
if (_root.main.land.hitTest(_x, _y, true)) {
} else {
remove();
}
}
function remove() {
this.removeMovieClip();
}
setInterval(detect, 1000);
Symbol 299 MovieClip [fader2] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 299 MovieClip [fader2] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_3", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_3", "land", _root.allDepth);
_root.main.land._y = 0;
_root.allDepth++;
_root.attachMovie("en_3", "en", _root.allDepth);
stopAllSounds();
_root.loop4.start(0, 999999);
_root.score = _root.score + 25000;
_root.lives++;
Symbol 299 MovieClip [fader2] Frame 51
_root.allDepth++;
_root.attachMovie("fader3", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 304 MovieClip [bombBlood] Frame 1
function detect() {
if (_root.bg.hitTest(_x, 5, true)) {
} else {
remove();
}
}
function remove() {
this.removeMovieClip();
}
gotoAndStop(Math.ceil(Math.random() * 4));
setInterval(detect, 2000);
Symbol 320 Button
on (rollOver) {
depth = _root.getNextHighestDepth();
_root.attachMovie("me", "me" + depth, depth);
cme = eval ("_root.me" + depth);
cme._x = _root._xmouse;
cme._y = _root._ymouse;
}
Symbol 321 MovieClip [menu] Frame 1
delete allDepth;
delete md;
delete checkpoint;
delete lives;
delete wtimer;
delete keydown;
delete atan;
delete cos;
delete sin;
delete rad;
delete deg;
delete player.weapon;
delete gravityAmount;
delete fallingSpeed;
delete charge;
delete health;
delete deathTimer;
delete player.jump;
delete score;
function onEnterFrame() {
Stimer++;
if (Stimer > 5) {
if (Key.isDown(32)) {
if (sound == false) {
sound = true;
menuLoop.setVolume(50);
Stimer = 0;
} else {
sound = false;
menuLoop.setVolume(0);
Stimer = 0;
}
}
}
}
stopAllSounds();
menuLoop = new Sound();
menuLoop.attachSound("loop1");
menuLoop.start(0, 999999);
menuLoop.setVolume(50);
loop2 = new Sound();
loop2.attachSound("loop2");
loop3 = new Sound();
loop3.attachSound("loop3");
loop4 = new Sound();
loop4.attachSound("loop4");
loop5 = new Sound();
loop5.attachSound("loop5");
loop6 = new Sound();
loop6.attachSound("loop6");
loop7 = new Sound();
loop7.attachSound("loop7");
loop8 = new Sound();
loop8.attachSound("loop8");
loop9 = new Sound();
loop9.attachSound("loop9");
loop10 = new Sound();
loop10.attachSound("loop10");
Stimer = 0;
stop();
p.onRelease = function () {
this.removeMovieClip();
gotoAndStop ("preGame");
};
c.onRelease = function () {
};
m.onRelease = function () {
};
Symbol 345 MovieClip [dance] Frame 1
function onEnterFrame() {
if (_root.dance) {
play();
}
}
stop();
Symbol 345 MovieClip [dance] Frame 32
gotoAndPlay (13);
Symbol 349 MovieClip [fader] Frame 1
function onEnterFrame() {
this._x = _root.player._x;
}
stop();
Symbol 349 MovieClip [fader] Frame 20
_root.allDepth++;
_root.main.land.swapDepths(_root.allDepth);
_root.main.land.removeMovieClip();
_root.allDepth++;
_root.main.lo.swapDepths(_root.allDepth);
_root.main.lo.removeMovieClip();
_root.allDepth++;
_root.en.swapDepths(_root.allDepth);
_root.en.removeMovieClip();
_root.checkpoint = 0;
_root.player._y = 200;
_root.player._x = _root.checkpoint + 320;
this._x = _root.player._x;
_root.player.dy = 0;
_root.player.dx = 0;
_root._x = _root.checkpoint * -1;
_root.allDepth++;
_root.main.attachMovie("lo_2", "lo", _root.allDepth);
_root.allDepth++;
_root.main.attachMovie("land_2", "land", _root.allDepth);
_root.main.land._y = -10;
_root.allDepth++;
_root.attachMovie("en_2", "en", _root.allDepth);
stopAllSounds();
_root.loop3.start(0, 999999);
_root.score = _root.score + 25000;
Symbol 349 MovieClip [fader] Frame 51
_root.allDepth++;
_root.attachMovie("fader2", "fader", _root.allDepth);
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Instance of Symbol 122 MovieClip "enemy2" in Symbol 350 MovieClip [en] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 90;
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
stop();
Symbol 353 MovieClip Frame 3
stop();
Symbol 353 MovieClip Frame 4
stop();
Symbol 353 MovieClip Frame 5
_root.allDepth++;
this.swapDepths(_root.allDepth);
this.removeMovieClip();
Symbol 356 MovieClip Frame 1
function onEnterFrame() {
if (this.hitTest(_root.player)) {
_root.player.jump = true;
_root.player.dy = _root.player.dy - 22;
}
}
Symbol 374 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 379 Button
on (release) {
getURL ("http://armorblog.com", "_blank");
}
Instance of Symbol 37 MovieClip in Symbol 380 MovieClip [land] Frame 1
onClipEvent (load) {
var speed = 3;
var time = 30;
}
Instance of Symbol 37 MovieClip in Symbol 380 MovieClip [land] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 25;
}
Instance of Symbol 37 MovieClip in Symbol 380 MovieClip [land] Frame 1
onClipEvent (load) {
var speed = 2;
var time = 45;
}
Instance of Symbol 37 MovieClip in Symbol 380 MovieClip [land] Frame 1
onClipEvent (load) {
var speed = 4;
var time = 25;
}
Symbol 388 Button
on (release) {
_root.play();
}
Symbol 389 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 389 MovieClip Frame 2
gotoAndPlay (1);
Symbol 397 MovieClip Frame 126
_root.nextFrame();
Symbol 401 Button
on (release) {
getURL ("http://amianywhere.com", "_blank");
}
Symbol 407 MovieClip Frame 1
_root.stop();
Symbol 407 MovieClip Frame 90
_root.play();
Symbol 410 MovieClip Frame 1
function onEnterFrame() {
_rotation = (_rotation + 1);
}
Symbol 431 MovieClip Frame 1
function blood() {
if (_root.health > 90) {
gotoAndStop (1);
}
if (_root.health < 90) {
gotoAndStop (2);
}
if (_root.health < 75) {
gotoAndStop (3);
}
if (_root.health < 65) {
gotoAndStop (4);
}
if (_root.health < 45) {
gotoAndStop (5);
}
if (_root.health < 25) {
gotoAndStop (6);
}
}
setInterval(blood, 100);
Symbol 437 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
_root.shotReady = true;
stop();
_root.shotReady = true;
Symbol 447 MovieClip Frame 2
_root.shotReady = false;
_root.bowSE.start();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 14
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.axe.edge)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
axe.blood.gotoAndStop("blood");
}
i++;
}
Symbol 467 MovieClip Frame 15
if (charge > 20) {
if (_root.player.dir == 1) {
if (_root.main.land.hitTest(_root.player._x + 60, _root.player._y, true)) {
_root.allDepth++;
_root.main.attachMovie("cracks", "cracks" + _root.allDepth, _root.allDepth);
currentCrack = eval ("_root.main.cracks" + _root.allDepth);
currentCrack._x = _root.player._x + 60;
currentCrack._y = _root.player._y + 5;
currentCrack.gotoAndStop(Math.ceil(Math.random() * 10));
}
} else if (_root.main.land.hitTest(_root.player._x - 60, _root.player._y, true)) {
_root.allDepth++;
_root.main.attachMovie("cracks", "cracks" + _root.allDepth, _root.allDepth);
currentCrack = eval ("_root.main.cracks" + _root.allDepth);
currentCrack._x = _root.player._x - 60;
currentCrack._y = _root.player._y + 5;
currentCrack.gotoAndStop(Math.ceil(Math.random() * 10));
}
}
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.axe.edge)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
axe.blood.gotoAndStop("blood");
}
i++;
}
Symbol 467 MovieClip Frame 16
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.axe.edge)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
axe.blood.gotoAndStop("blood");
}
i++;
}
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 3
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.sword)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
sword.blood.gotoAndStop("blood");
}
i++;
}
Symbol 482 MovieClip Frame 4
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.sword)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
sword.blood.gotoAndStop("blood");
}
i++;
}
Symbol 482 MovieClip Frame 5
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.sword)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
sword.blood.gotoAndStop("blood");
}
i++;
}
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 3
var i = 1;
i = 1;
while (i < 5) {
cE = eval ("_root.en.enemy" + i);
if (cE.hitTest(this.pike)) {
_root.allDepth++;
cE.swapDepths(_root.allDepth);
cE.gotoAndStop("death");
cE.life = false;
pike.blood.gotoAndStop("blood");
}
i++;
}
Symbol 497 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 2
stop();
Symbol 499 MovieClip Frame 1
stop();
var dx = 0;
var dy = 0;
var speed = 1;
Symbol 508 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
function onEnterFrame() {
score = Math.ceil(_root.score);
}
Symbol 531 MovieClip Frame 14
stop();