Frame 1
stage.showmenu = false;
Instance of Symbol 3 MovieClip "pl" in Frame 1
onClipEvent (load) {
_root.stop();
}
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.loadedd = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loaded = _root.loadedd + " %";
_rotation = (_rotation + (_root.loadedd / 10));
_root.degrees = _root.degrees + Math.round(_root.loadedd / 10);
_root.distance = Math.round(_root.degrees / 360);
if (_root.loadedd == 100) {
tellTarget ("_root") {
play();
};
}
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
_root._quality = "MEDIUM";
Instance of Symbol 81 MovieClip in Frame 4
onClipEvent (mouseDown) {
_root.nextFrame();
}
Frame 5
stop();
stop();
Instance of Symbol 87 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (Key.isDown(39)) {
prevFrame();
} else if (Key.isDown(37)) {
nextFrame();
}
}
}
Instance of Symbol 89 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 92 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (Key.isDown(39)) {
prevFrame();
} else if (Key.isDown(37)) {
nextFrame();
}
}
}
Instance of Symbol 154 MovieClip "gubbe" in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(83) & (death == false)) {
gotoAndStop (6);
defend = true;
} else {
defend = false;
}
if ((Key.isDown(38) & (jumping == false)) & (attacking == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if ((Key.isDown(39) & (attacking == false)) & (death == false)) {
_root._quality = "LOW";
_x = (_x + (10 + _root.movementbonus));
_root.distance = _root.distance + 0.1(_root.movementbonus / 100);
_xscale = 100;
if (jumping == false) {
gotoAndStop (2);
}
} else if ((Key.isDown(37) & (attacking == false)) & (death == false)) {
_root._quality = "LOW";
_x = (_x - (10 + _root.movementbonus));
_root.distance = _root.distance + 0.1(_root.movementbonus / 100);
_xscale = -100;
if (jumping == false) {
gotoAndStop (2);
}
} else if ((((death == false) & (jumping == false)) & (attacking == false)) & (defend == false)) {
gotoAndStop (1);
_root._quality = "MEDIUM";
}
if ((Key.isDown(65) & (death == false)) & (jumping == false)) {
gotoAndStop (5);
attacking = true;
}
if ((jumping == true) & (jumpMax > 10)) {
gotoAndStop (3);
}
if ((jumping == true) & (jumpMax < 10)) {
gotoAndStop (4);
}
if (death == true) {
gotoAndStop (7);
}
if (_x >= 400) {
_x = (_x - (10 + _root.movementbonus));
_root.righting = true;
} else if (_x <= 200) {
_x = (_x + (10 + _root.movementbonus));
_root.lefting = true;
} else {
_root.righting = false;
_root.lefting = false;
}
_root.timeplayed = _root.timeplayed + 0.0416666666666667;
_root.time = Math.round(_root.timeplayed);
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
death = false;
attacking = false;
_root.hits = 0;
_root.attacks = 0;
_root.orcskilled = 0;
_root.time = 0;
_root.distance = 0;
}
Instance of Symbol 157 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 95 MovieClip "right" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 95 MovieClip "left" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 210 MovieClip "townsign" in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.pause = true;
_root.town = true;
_root.townmenu._visible = true;
_root.gubbe._x = _root.gubbe._x + 100;
_root._quality = "MEDIUM";
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(8) & (_root.pause == false)) & (_root.town == false)) {
_root.pause = true;
_root.pausetext._visible = true;
} else if ((Key.isDown(13) & (_root.pause == false)) & (_root.town == false)) {
_root.pause = true;
_root.pausetext._visible = true;
}
if (_root.pause == false) {
if (_root.righting == true) {
this._x = this._x - (10 + _root.movementbonus);
} else if (_root.lefting == true) {
this._x = this._x + (10 + _root.movementbonus);
}
if (Key.isDown(39)) {
_x = (_x - 5);
} else if (Key.isDown(37)) {
_x = (_x + 5);
}
}
}
onClipEvent (mouseDown) {
if (_root.town == false) {
_root.pause = false;
_root.pausetext._visible = false;
_root.townmenu._visible = false;
}
}
onClipEvent (load) {
_root.pause = false;
_root.town = false;
_root.townmenu._visible = false;
}
Instance of Symbol 229 MovieClip "pausetext" in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
kills = _root.orckills;
speed = 10 + _root.movementbonus;
life = _root.life;
maxlife = _root.maxlife;
attack = 1 + _root.attackbonus;
money = (_root.moneybonus * 100) + " %";
}
Instance of Symbol 249 MovieClip "townmenu" in Frame 5
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 209 MovieClip in Frame 5
onClipEvent (enterFrame) {
_root.towndistance = Math.round((_root.gubbe._x - _root.townsign._x) / 100);
_root.tdistance = Math.round((_root.gubbe._x - _root.townsign._x) / 100) + " Meters";
}
Instance of Symbol 258 MovieClip "lifebar" in Frame 5
onClipEvent (enterFrame) {
_currentframe = Math.round((_root.life / _root.maxlife) * 100);
gotoAndStop(Math.round((_root.life / _root.maxlife) * 100));
if (_root.life <= 0) {
_root.gotoAndStop("gameover");
}
}
onClipEvent (load) {
_root.life = 100;
_root.maxlife = 100;
_root.movementbonus = 0;
_root.attackbonus = 0;
_root.orckills = 0;
_root.moneybonus = 0;
_root.money = 100;
}
Frame 6
prevFrame();
Frame 7
stop();
_root.time = _root.time + " sec";
_root.dist = Math.round(_root.distance) + " meters";
if (_root.orckills >= 100) {
_root.rank = "The Master Orc Hunter (10/10)";
} else if (_root.orckills >= 90) {
_root.rank = "Exceptional Orc Hunter (9/10)";
} else if (_root.orckills >= 80) {
_root.rank = "Highly Skilled Orc Hunter (8/10)";
} else if (_root.orckills >= 70) {
_root.rank = "Skilled Orc Hunter (7/10)";
} else if (_root.orckills >= 60) {
_root.rank = "Good Orc Hunter (6/10)";
} else if (_root.orckills >= 50) {
_root.rank = "Average Orc Hunter (5/10)";
} else if (_root.orckills >= 40) {
_root.rank = "Poor Orc Hunter (4/10)";
} else if (_root.orckills >= 30) {
_root.rank = "Lousy Orc Hunter (3/10)";
} else if (_root.orckills >= 20) {
_root.rank = "Worthless Orc Hunter (2/10)";
} else if (_root.orckills >= 10) {
_root.rank = "Pathetic Orc Hunter (1/10)";
} else {
_root.rank = "Total n00b Orc Hunter (0/10)";
}
Frame 8
stop();
Instance of Symbol 279 MovieClip in Frame 8
onClipEvent (load) {
_xscale = (80 + random(40));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 1);
} else if (Key.isDown(37)) {
_x = (_x + 1);
}
}
Instance of Symbol 89 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 279 MovieClip in Frame 8
onClipEvent (load) {
_xscale = (80 + random(40));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 1);
} else if (Key.isDown(37)) {
_x = (_x + 1);
}
}
Instance of Symbol 279 MovieClip in Frame 8
onClipEvent (load) {
_xscale = (80 + random(40));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 1);
} else if (Key.isDown(37)) {
_x = (_x + 1);
}
}
Instance of Symbol 309 MovieClip "gubbe" in Frame 8
onClipEvent (enterFrame) {
_y = (_y + 10);
if ((Key.isDown(38) & (jumping == false)) & (attacking == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if ((Key.isDown(39) & (attacking == false)) & (death == false)) {
_x = (_x + 10);
_root.distance = _root.distance + 0.1;
_xscale = 100;
if (jumping == false) {
gotoAndStop (2);
}
} else if ((Key.isDown(37) & (attacking == false)) & (death == false)) {
_x = (_x - 10);
_root.distance = _root.distance + 0.1;
_xscale = -100;
if (jumping == false) {
gotoAndStop (2);
}
} else if (((death == false) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if ((Key.isDown(63) & (death == false)) & (jumping == false)) {
gotoAndStop (5);
attacking = true;
}
if ((jumping == true) & (jumpMax > 10)) {
gotoAndStop (3);
}
if ((jumping == true) & (jumpMax < 10)) {
gotoAndStop (4);
}
if (death == true) {
gotoAndStop (7);
}
if (_x >= 400) {
_x = (_x - 10);
_root.righting = true;
} else if (_x <= 200) {
_x = (_x + 10);
_root.lefting = true;
} else {
_root.righting = false;
_root.lefting = false;
}
_root.timeplayed = _root.timeplayed + 0.0416666666666667;
_root.time = Math.round(_root.timeplayed);
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
death = false;
attacking = false;
_root.hits = 0;
_root.attacks = 0;
_root.orcskilled = 0;
_root.time = 0;
_root.distance = 0;
}
Instance of Symbol 157 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.extra = extra;
if (_currentframe == 100) {
extra++;
}
if (extra > 75) {
extra = 75;
}
if (_currentframe == 1) {
_currentframe = (extra + 1);
gotoAndPlay(extra + 1);
}
}
onClipEvent (load) {
extra = 1;
}
Instance of Symbol 95 MovieClip "right" in Frame 8
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 95 MovieClip "left" in Frame 8
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 335 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
} else if (_x < -100) {
_x = 690;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 339 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
_xscale = (80 + random(40));
_yscale = _xscale;
} else if (_x < -100) {
_x = 690;
_xscale = (80 + random(40));
_yscale = _xscale;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 335 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
} else if (_x < -100) {
_x = 690;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Instance of Symbol 335 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_x > 700) {
_x = -90;
} else if (_x < -100) {
_x = 690;
}
if (Key.isDown(39)) {
_x = (_x - 3);
} else if (Key.isDown(37)) {
_x = (_x + 3);
}
}
Frame 9
stopAllSounds();
_root.time = _root.time + " sec";
if (_root.orckills >= 100) {
_root.rank = "The Master Orc Hunter (10/10)";
} else if (_root.orckills >= 90) {
_root.rank = "Exceptional Orc Hunter (9/10)";
} else if (_root.orckills >= 80) {
_root.rank = "Highly Skilled Orc Hunter (8/10)";
} else if (_root.orckills >= 70) {
_root.rank = "Skilled Orc Hunter (7/10)";
} else if (_root.orckills >= 60) {
_root.rank = "Good Orc Hunter (6/10)";
} else if (_root.orckills >= 50) {
_root.rank = "Average Orc Hunter (5/10)";
} else if (_root.orckills >= 40) {
_root.rank = "Poor Orc Hunter (4/10)";
} else if (_root.orckills >= 30) {
_root.rank = "Lousy Orc Hunter (3/10)";
} else if (_root.orckills >= 20) {
_root.rank = "Worthless Orc Hunter (2/10)";
} else if (_root.orckills >= 10) {
_root.rank = "Pathetic Orc Hunter (1/10)";
} else {
_root.rank = "Total n00b Orc Hunter (0/10)";
}
Frame 10
stop();
Instance of Symbol 350 MovieClip in Frame 10
onClipEvent (mouseDown) {
_root.nextFrame();
}
Symbol 67 Button
on (release) {
_root.play();
}
Symbol 68 MovieClip Frame 143
_root.play();
stop();
Symbol 77 Button
on (release) {
_root.nextFrame();
}
Symbol 81 MovieClip Frame 1051
_root.nextFrame();
Symbol 87 MovieClip Frame 1
gotoAndStop (237);
Symbol 87 MovieClip Frame 238
gotoAndStop (2);
Symbol 92 MovieClip Frame 1
gotoAndStop (51);
Symbol 92 MovieClip Frame 52
gotoAndStop (2);
Symbol 149 MovieClip Frame 1
_root.attacks++;
Instance of Symbol 95 MovieClip "hit" in Symbol 149 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
Symbol 149 MovieClip Frame 13
_root.gubbe.attacking = false;
Symbol 153 MovieClip Frame 3
stop();
Instance of Symbol 95 MovieClip "shield" in Symbol 153 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
Symbol 154 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip "feet" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 95 MovieClip "head" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 95 MovieClip "attackzone" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 154 MovieClip Frame 2
stop();
Symbol 154 MovieClip Frame 3
stop();
Symbol 154 MovieClip Frame 4
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 154 MovieClip Frame 6
stop();
Symbol 157 MovieClip Frame 100
i = random(99999);
_root.orcs.orc.duplicateMovieClip("enemy" + i, i + 100);
Symbol 193 MovieClip Frame 1
_root.hits++;
Symbol 193 MovieClip Frame 82
stop();
Instance of Symbol 95 MovieClip "attack" in Symbol 205 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
Symbol 205 MovieClip Frame 24
_parent.attacking = false;
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 3
stop();
Instance of Symbol 193 MovieClip "death" in Symbol 206 MovieClip Frame 3
onClipEvent (load) {
rnd = random(10);
_root.orckills = _root.orckills + 1;
}
onClipEvent (load) {
if (rnd > 5) {
_xscale = 38;
} else {
_xscale = -38;
}
}
Symbol 206 MovieClip Frame 4
stop();
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.attack.hittest(_root.gubbe.head) & (_root.gubbe.defend == false)) {
_root.life = _root.life - (1 + Math.ceil(_root.towndistance / 30));
}
}
Symbol 206 MovieClip Frame 5
stop();
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.attack.hittest(_root.gubbe.head) & (_root.gubbe.defend == false)) {
_root.life = _root.life - (1 + Math.ceil(_root.towndistance / 30));
}
}
Instance of Symbol 206 MovieClip "orc" in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (Key.isDown(39)) {
_x = (_x - 5);
} else if (Key.isDown(37)) {
_x = (_x + 5);
}
if (this.hittest(_root.gubbe.block.shield)) {
} else if ((_currentframe != 3) & (attacking == false)) {
if (_root.gubbe._x < _x) {
_x = (_x - 5);
} else if (_root.gubbe._x > _x) {
_x = (_x + 5);
}
}
if (_root.righting == true) {
this._x = this._x - (10 + _root.movementbonus);
} else if (_root.lefting == true) {
this._x = this._x + (10 + _root.movementbonus);
}
if (this.hittest(_root.gubbe.attack.hit)) {
this.life = this.life - (1 + _root.attackbonus);
}
if (this.life < 0) {
gotoAndStop (3);
_root.money = _root.money + Math.ceil(moneywin + (moneywin * _root.moneybonus));
moneywin = 0;
}
if (this.hittest(_root.gubbe.attackzone) & (_currentframe == 1)) {
gotoAndStop (4);
attacking = true;
} else if (this.hittest(_root.gubbe.attackzone) & (_currentframe == 2)) {
gotoAndStop (5);
attacking = true;
}
if ((this.hittest(_root.right) & (_currentframe != 3)) & (attacking == false)) {
gotoAndStop (1);
} else if ((this.hittest(_root.left) & (_currentframe != 3)) & (attacking == false)) {
gotoAndStop (2);
}
}
}
onClipEvent (load) {
this.life = Math.ceil(_root.towndistance / 10);
moneywin = Math.ceil(_root.towndistance / 10);
_y = 312;
attacking = false;
rnd = random(10);
if (rnd < 2) {
_x = (-random(1000));
} else {
_x = (600 + random(1000));
}
}
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (death._currentframe == 50) {
_root.gotoAndStop("win");
}
if (_root.pause == false) {
if (Key.isDown(39)) {
_x = (_x - 5);
} else if (Key.isDown(37)) {
_x = (_x + 5);
}
if (this.hittest(_root.gubbe.block.shield)) {
} else if ((_currentframe != 3) & (attacking == false)) {
if ((_root.gubbe._x < _x) & (_x > 10000)) {
_x = (_x - 2);
} else if (_root.gubbe._x > _x) {
_x = (_x + 2);
}
}
if (_root.righting == true) {
this._x = this._x - (10 + _root.movementbonus);
} else if (_root.lefting == true) {
this._x = this._x + (10 + _root.movementbonus);
}
if (this.hittest(_root.gubbe.attack.hit)) {
life = life - (1 + _root.attackbonus);
}
if (life < 0) {
gotoAndStop (3);
}
if (this.hittest(_root.gubbe.attackzone) & (_currentframe == 1)) {
gotoAndStop (4);
attacking = true;
} else if (this.hittest(_root.gubbe.attackzone) & (_currentframe == 2)) {
gotoAndStop (5);
attacking = true;
}
if ((this.hittest(_root.right) & (_currentframe != 3)) & (attacking == false)) {
gotoAndStop (1);
} else if ((this.hittest(_root.left) & (_currentframe != 3)) & (attacking == false)) {
gotoAndStop (2);
}
}
}
onClipEvent (load) {
life = 30;
_y = 312;
_x = 20000;
attacking = false;
}
Symbol 213 MovieClip Frame 2
stop();
Symbol 233 Button
on (release) {
_root.pause = false;
_root.pausetext._visible = false;
_root.townmenu._visible = false;
_root.town = false;
}
Symbol 235 Button
on (release) {
if (_root.money >= 10) {
_root.money = _root.money - 10;
_root.life = _root.life + Math.round(_root.maxlife / 5);
if (_root.life > _root.maxlife) {
_root.life = _root.maxlife;
}
}
}
Symbol 237 Button
on (release) {
if (_root.money >= 20) {
_root.money = _root.money - 20;
_root.life = _root.life + Math.round(_root.maxlife / 2);
if (_root.life > _root.maxlife) {
_root.life = _root.maxlife;
}
}
}
Symbol 238 Button
on (release) {
if (_root.money >= 20) {
_root.money = _root.money - 20;
_root.maxlife = _root.maxlife + 10;
}
}
Symbol 239 Button
on (release) {
if (_root.money >= 10) {
_root.money = _root.money - 10;
_root.attackbonus = _root.attackbonus + 0.1;
}
}
Symbol 240 Button
on (release) {
if (_root.money >= 10) {
_root.money = _root.money - 10;
_root.movementbonus = _root.movementbonus + 1;
}
}
Symbol 241 Button
on (release) {
if (_root.money >= 20) {
_root.money = _root.money - 20;
_root.moneybonus = _root.moneybonus + 0.1;
}
}
Symbol 261 Button
on (release) {
gotoAndPlay (2);
}
Symbol 263 Button
on (release) {
prevFrame();
}
Symbol 264 MovieClip Frame 1
stop();
_root.music.gotoAndStop(2);
Symbol 264 MovieClip Frame 2
stopAllSounds();
_root.music.gotoAndStop(1);
Symbol 264 MovieClip Frame 3
gotoAndPlay (2);
stopAllSounds();
_root.music.gotoAndStop(1);
Symbol 267 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 272 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 308 MovieClip Frame 1
_root.attacks++;
Instance of Symbol 95 MovieClip "hit" in Symbol 308 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
Symbol 308 MovieClip Frame 7
_root.gubbe.attacking = false;
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip "feet" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 309 MovieClip Frame 2
stop();
Symbol 309 MovieClip Frame 3
stop();
Symbol 309 MovieClip Frame 4
stop();
Symbol 309 MovieClip Frame 5
stop();
Symbol 329 MovieClip Frame 1
_root.hits++;
Symbol 329 MovieClip Frame 6
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 3
stop();
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gubbe._x < _x) {
_x = (_x - 5);
_xscale = 100;
} else if (_root.gubbe._x > _x) {
_x = (_x + 5);
_xscale = -100;
}
if (_root.righting == true) {
this._x = this._x - 10;
} else if (_root.lefting == true) {
this._x = this._x + 10;
}
}
Instance of Symbol 330 MovieClip "orc" in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gubbe._x < _x) {
_x = (_x - 5);
} else if (_root.gubbe._x > _x) {
_x = (_x + 5);
}
if (_root.righting == true) {
this._x = this._x - 10;
} else if (_root.lefting == true) {
this._x = this._x + 10;
}
if (this.hittest(_root.gubbe.attack.hit)) {
gotoAndStop (3);
}
if (this.hittest(_root.gubbe.head) & (_currentframe == 1)) {
_root.gotoAndStop("win");
}
if (this.hittest(_root.right) & (_currentframe != 3)) {
gotoAndStop (1);
} else if (this.hittest(_root.left) & (_currentframe != 3)) {
gotoAndStop (2);
}
}
onClipEvent (load) {
_y = 233;
rnd = random(10);
if (rnd < 5) {
_x = (-random(1000));
} else {
_x = (600 + random(1000));
}
}
Symbol 345 Button
on (release) {
_root.gotoAndStop("secret");
}
Symbol 348 Button
on (release) {
_root.gotoAndStop("winmovie");
}
Symbol 350 MovieClip Frame 797
_root.gotoAndStop("win");