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;
}
};
Instance of Symbol 15 MovieClip "pl" in Frame 1
onClipEvent (load) {
_root.stop();
}
Frame 2
stop();
Instance of Symbol 22 MovieClip in Frame 2
onClipEvent (mouseDown) {
_root.nextFrame();
}
Frame 3
stop();
Instance of Symbol 29 MovieClip in Frame 3
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 31 MovieClip in Frame 3
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 29 MovieClip in Frame 3
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 29 MovieClip in Frame 3
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 65 MovieClip "gubbe" in Frame 3
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(17) & (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 33 MovieClip "right" in Frame 3
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 33 MovieClip "left" in Frame 3
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 98 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 102 MovieClip in Frame 3
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 98 MovieClip in Frame 3
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 98 MovieClip in Frame 3
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 4
stop();
if ((Math.round((_root.hits / _root.attacks) * 100) >= 100) & (_root.hits >= 20)) {
_root.secret = true;
}
_root.accuracy = Math.round((_root.hits / _root.attacks) * 100) + "%";
_root.time = _root.time + " sec";
_root.distance = Math.round(_root.distance) + " meters";
Instance of Symbol 120 MovieClip in Frame 4
onClipEvent (load) {
_visible = false;
if (_root.secret == true) {
_visible = true;
}
}
Frame 5
stop();
Instance of Symbol 126 MovieClip in Frame 5
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 31 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 126 MovieClip in Frame 5
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 126 MovieClip in Frame 5
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 151 MovieClip "gubbe" in Frame 5
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(17) & (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 68 MovieClip in Frame 5
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 33 MovieClip "right" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 33 MovieClip "left" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 260);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 173 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 102 MovieClip in Frame 5
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 173 MovieClip in Frame 5
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 173 MovieClip in Frame 5
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 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");
}
Symbol 22 MovieClip Frame 1245
_root.nextFrame();
Symbol 64 MovieClip Frame 1
_root.attacks++;
Instance of Symbol 33 MovieClip "hit" in Symbol 64 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
Symbol 64 MovieClip Frame 7
_root.gubbe.attacking = false;
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip "feet" in Symbol 65 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 65 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 3
stop();
Symbol 65 MovieClip Frame 4
stop();
Symbol 65 MovieClip Frame 5
stop();
Symbol 68 MovieClip Frame 80
i = random(99999);
_root.orcs.orc.duplicateMovieClip("enemy" + i, i + 100);
_currentframe = (40 + random(35));
gotoAndPlay(40 + random(35));
Symbol 89 MovieClip Frame 1
_root.hits++;
Symbol 89 MovieClip Frame 6
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 3
stop();
Instance of Symbol 89 MovieClip in Symbol 90 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 90 MovieClip "orc" in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gubbe._x < _x) {
_x = (_x - 7);
} else if (_root.gubbe._x > _x) {
_x = (_x + 7);
}
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("gameover");
}
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 94 MovieClip Frame 2
stop();
Symbol 119 Button
on (release) {
_root.gotoAndStop("secret");
}
Symbol 121 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 150 MovieClip Frame 1
_root.attacks++;
Instance of Symbol 33 MovieClip "hit" in Symbol 150 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
Symbol 150 MovieClip Frame 7
_root.gubbe.attacking = false;
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip "feet" in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 4
stop();
Symbol 151 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 1
_root.hits++;
Symbol 167 MovieClip Frame 6
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
stop();
Symbol 168 MovieClip Frame 3
stop();
Instance of Symbol 167 MovieClip in Symbol 168 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 168 MovieClip "orc" in Symbol 169 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("gameover");
}
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));
}
}