Frame 1
Stage.showMenu = false;
_root.createTextField("texta", 1000, 100, 100, 100, 100);
_root.texta.text = "Loading preloader.";
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0;
my_fmt.underline = true;
_root.texta.setTextFormat(my_fmt);
_root.onEnterFrame = function () {
if (pl.getBytesLoaded() == pl.getBytesTotal()) {
removeMovieClip(_root.texta);
delete this.onEnterFrame;
}
};
_root.orcsleft = 0;
_root.level = 1;
_root.points = 5;
_root.attack = 1;
_root.defense = 1;
_root.stamina = 6;
_root.health = 1;
_root.maxlife = _root.health * 20;
_root.life = _root.maxlife;
_root.exp = 0;
_root.nextexp = 50;
_root.clear = false;
Instance of Symbol 15 MovieClip "pl" in Frame 1
onClipEvent (load) {
_root.stop();
}
Frame 2
_quality = "LOW";
stop();
Instance of Symbol 23 MovieClip "screen" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 25 MovieClip "sides" in Frame 2
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
}
Instance of Symbol 59 MovieClip "bana" in Frame 2
onClipEvent (enterFrame) {
if (_root.gubbe.death == false) {
with (_root.gubbe) {
if (_root.bana.hitTest(getBounds(_root).xMax, _y, true)) {
_root.gubbe._x = _root.gubbe._x - _root.speed;
}
if (_root.bana.hitTest(getBounds(_root).xMin, _y, true)) {
_root.gubbe._x = _root.gubbe._x + _root.speed;
}
if (_root.bana.hitTest(_x, getBounds(_root).yMax, true)) {
_root.gubbe._y = _root.gubbe._y - _root.speed;
}
if (_root.bana.hitTest(_x, getBounds(_root).yMin, true)) {
_root.gubbe._y = _root.gubbe._y + _root.speed;
}
}
}
if ((_root.gubbe.death == true) | (_root.clear == true)) {
_alpha = (_alpha * 0.8);
}
}
onClipEvent (load) {
_xscale = 100;
_yscale = 100;
}
Instance of Symbol 80 MovieClip "gubbe" in Frame 2
onClipEvent (enterFrame) {
if (death == false) {
if (Key.isDown(38) & (attacking == false)) {
if (Key.isDown(39) & (attacking == false)) {
gotoAndStop (2);
_y = (_y - _root.speed);
_x = (_x + _root.speed);
_rotation = 45;
} else if (Key.isDown(37) & (attacking == false)) {
gotoAndStop (2);
_y = (_y - _root.speed);
_x = (_x - _root.speed);
_rotation = 315;
} else {
_y = (_y - _root.speed);
gotoAndStop (2);
_rotation = 0;
}
} else if (Key.isDown(40) & (attacking == false)) {
if (Key.isDown(39) & (attacking == false)) {
gotoAndStop (2);
_y = (_y + _root.speed);
_x = (_x + _root.speed);
_rotation = 135;
} else if (Key.isDown(37) & (attacking == false)) {
gotoAndStop (2);
_y = (_y + _root.speed);
_x = (_x - _root.speed);
_rotation = 225;
} else {
gotoAndStop (2);
_y = (_y + _root.speed);
_rotation = 180;
}
} else if (Key.isDown(39) & (attacking == false)) {
gotoAndStop (2);
_x = (_x + _root.speed);
_rotation = 90;
} else if (Key.isDown(37) & (attacking == false)) {
gotoAndStop (2);
_x = (_x - _root.speed);
_rotation = 270;
} else if (attacking == false) {
gotoAndStop (1);
}
}
if (Key.isDown(83) & (death == false)) {
gotoAndStop (3);
_root.block = true;
}
if (_currentframe != 3) {
_root.block = false;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (4);
attacking = true;
}
if (_y > 500) {
_y = (_y - 500);
_root.bana._y = _root.bana._y - 500;
_root.orcs._y = _root.orcs._y - 500;
}
if (_y < 0) {
_y = (_y + 500);
_root.bana._y = _root.bana._y + 500;
_root.orcs._y = _root.orcs._y + 500;
}
if (_x > 500) {
_x = (_x - 500);
_root.bana._x = _root.bana._x - 500;
_root.orcs._x = _root.orcs._x - 500;
}
if (_x < 0) {
_x = (_x + 500);
_root.bana._x = _root.bana._x + 500;
_root.orcs._x = _root.orcs._x + 500;
}
if (death == true) {
gotoAndStop (5);
}
_root.maxlife = _root.health * 20;
_root.speed = _root.stamina * 1.4;
if (_root.life > _root.maxlife) {
_root.life = _root.maxlife;
}
if (_root.life <= 0) {
_root.life = 0;
death = true;
}
_root.life = math.ceil(_root.life);
_root.defenseformula = 1 - (_root.defense / 60);
if (_root.exp >= _root.nextexp) {
_root.points = _root.points + 3;
_root.level++;
_root.nextexp = Math.round(_root.nextexp * 1.2) + 50;
_root.txtlevelup.play();
}
}
onClipEvent (load) {
attacking = false;
death = false;
_root.level = 1;
_root.points = 5;
_root.attack = 1;
_root.defense = 1;
_root.stamina = 6;
_root.health = 1;
_root.maxlife = _root.health * 20;
_root.life = _root.maxlife;
_root.exp = 0;
_root.nextexp = 50;
}
Instance of Symbol 84 MovieClip in Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gubbe.death == true) {
_visible = true;
stopAllSounds();
}
}
Instance of Symbol 87 MovieClip "ruta1" in Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (keyDown) {
_visible = false;
}
Instance of Symbol 92 MovieClip "txtplusexp" in Frame 2
onClipEvent (enterFrame) {
txt = "Exp + " + _root.plusexp;
}
Instance of Symbol 92 MovieClip "txtlevelup" in Frame 2
onClipEvent (enterFrame) {
txt = "Level Up!";
}
Instance of Symbol 124 MovieClip "outro" in Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.clear == true) {
_alpha = (_alpha+1);
play();
if (_alpha >= 100) {
_alpha = 100;
}
}
}
Instance of Symbol 9 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = 0.6;
_width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 275);
}
Symbol 13 MovieClip Frame 1
this.onRelease = function () {
getURL ("http://www.gamesofgondor.com", "_blank");
};
Instance of Symbol 10 MovieClip in Symbol 15 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_root.play();
}
}
Symbol 19 Button
on (release) {
getURL ("http://www.gamesofgondor.com", "_blank");
}
Instance of Symbol 24 MovieClip "down" in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 24 MovieClip "up" in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 24 MovieClip "left" in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 24 MovieClip "right" in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 41 MovieClip "hit" in Symbol 44 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Symbol 44 MovieClip Frame 27
_parent.attacking = false;
_parent.gotoAndStop(1);
Symbol 51 MovieClip Frame 1
_root.plusexp = random(90) + 10;
_root.exp = _root.exp + _root.plusexp;
_root.orcsleft = _root.orcsleft - 1;
_root.txtplusexp.play();
Symbol 51 MovieClip Frame 29
stop();
_root.life = _root.life + (_root.health * 2);
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Instance of Symbol 44 MovieClip in Symbol 52 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hit.hittest(_root.gubbe) & (_root.block == false)) {
_root.life = _root.life - (_parent.attack * _root.defenseformula);
}
}
Symbol 52 MovieClip Frame 3
stop();
Instance of Symbol 32 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.ruta1._visible = true;
_root.ruta1.txt = "Hello, and welcome to the Caves of Mordor. We hope you will enjoy your stay. As you probably already know, you move with the arrow keys. Use A to attack, and S to use your shield. Watch out for orcs!";
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 55 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.plusexp = 50;
_root.exp = _root.exp + _root.plusexp;
_root.txtplusexp.play();
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 55 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.plusexp = 50;
_root.exp = _root.exp + _root.plusexp;
_root.txtplusexp.play();
}
}
Instance of Symbol 55 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.plusexp = 50;
_root.exp = _root.exp + _root.plusexp;
_root.txtplusexp.play();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.life = _root.maxlife;
}
}
Instance of Symbol 32 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.ruta1._visible = true;
_root.ruta1.txt = "Purge these caves from all remaining orcs and your mission will be complete. Make sure to use your stat points and it will be easier.";
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 55 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.plusexp = 50;
_root.exp = _root.exp + _root.plusexp;
_root.txtplusexp.play();
}
}
Instance of Symbol 32 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.ruta1._visible = true;
_root.ruta1.txt = "Nevermind, I don't have anything useful to say.";
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.life = _root.maxlife;
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 55 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.plusexp = 50;
_root.exp = _root.exp + _root.plusexp;
_root.txtplusexp.play();
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_x = 500000000;
_root.life = _root.maxlife;
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 24 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe) & (_root.orcsleft == 0)) {
_root.clear = true;
}
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 52 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hittest(_root.screen) & (death == false)) & (_root.gubbe.death == false)) & (attacking == false)) {
if (this.hittest(_root.sides.left)) {
_x = (_x + speed);
_rotation = 90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.right)) {
_x = (_x - speed);
_rotation = -90;
gotoAndStop (1);
} else if (this.hittest(_root.sides.up)) {
_y = (_y + speed);
_rotation = 180;
gotoAndStop (1);
} else if (this.hittest(_root.sides.down)) {
_y = (_y - speed);
_rotation = 0;
gotoAndStop (1);
}
if ((death == false) & this.hittest(_root.gubbe.perimiter)) {
gotoAndStop (2);
attacking = true;
}
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (random(_root.attack / 2) + 1);
}
if (life <= 0) {
death = true;
}
if (death == true) {
gotoAndStop (3);
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
_x = 5E15;
}
}
onClipEvent (load) {
life = (_x + _y) / 70;
attack = (_x + _y) / 220;
speed = 4;
death = false;
attacking = false;
_root.orcsleft++;
}
Instance of Symbol 32 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.ruta1._visible = true;
_root.ruta1.txt = "Killing an orc replenishes some of your health.";
}
}
Instance of Symbol 32 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.ruta1._visible = true;
_root.ruta1.txt = "All orcs must be destroyed before you can enter the portal.";
}
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 1
stop();
Instance of Symbol 41 MovieClip "hit" in Symbol 72 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 72 MovieClip Frame 6
_root.gubbe.attacking = false;
Symbol 79 MovieClip Frame 29
stop();
Instance of Symbol 24 MovieClip "perimiter" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 83 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 113 Button
on (release) {
if (_root.points >= 1) {
_root.points = _root.points - 1;
_root.attack++;
}
}
Symbol 114 Button
on (release) {
if (_root.points >= 1) {
_root.points = _root.points - 1;
_root.defense++;
}
}
Symbol 115 Button
on (release) {
if (_root.points >= 1) {
_root.points = _root.points - 1;
_root.stamina++;
}
}
Symbol 116 Button
on (release) {
if (_root.points >= 1) {
_root.points = _root.points - 1;
_root.health++;
}
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 667
stop();
Symbol 124 MovieClip Frame 668
gotoAndPlay (667);