Frame 1
stop();
function hobbitAttack() {
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("idle");
darkness.gotoAndStop("idle");
} else if (attackIs == "on") {
hobbit.hobbit1.gotoAndStop("attack");
if (attackType == "frypan") {
darkness.gotoAndStop("attack");
}
}
}
function hobbitRotate() {
circx = hobbit._x;
circy = hobbit._y;
pointx = _xmouse;
pointy = _ymouse;
if (controlStyle == "flipped") {
if ((circx < pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = 90 - degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
} else if ((circx > pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -(90 - degrees);
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
}
if (controlStyle == "normal") {
if ((circx < pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx < pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
if ((circx > pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx > pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
}
}
stop();
Stage.showMenu = false;
Instance of Symbol 391 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + " % completed";
if (framesLoaded >= 99) {
_root.gotoAndStop(2);
}
}
Instance of Symbol 409 MovieClip "pointer" in Frame 1
onClipEvent (load) {
this.level = 1E16;
Mouse.hide();
this.startDrag(true);
_root.k = 0;
}
onClipEvent (enterFrame) {
mov = _root.attachMovie("pointer_fade", "pf" + _root.k, _root.k++);
mov._x = this._x;
mov._y = this._y;
}
Instance of Symbol 417 MovieClip in Frame 1
onClipEvent (load) {
this._visible = false;
attackOn = new Object();
attackOn.onMouseDown = function () {
_root.attackIs = "on";
};
Mouse.addListener(attackOn);
attackOff = new Object();
attackOff.onMouseUp = function () {
_root.attackIs = "off";
};
Mouse.addListener(attackOff);
_root.sizeTrigger = "on";
_root.sizeTrigger2 = "on";
_root.speedMult = 1;
_root.meetScale = 100;
_root.globalStatus = "green";
_root.attackType = "bow";
_root.controlStyle = "normal";
_root.arrow1Name = "available";
_root.arrow2Name = "available";
_root.arrow3Name = "available";
_root.arrow4Name = "available";
_root.arrow5Name = "available";
_root.bowIs = "active";
counter = 0;
_root.appleCounter = 0;
_root.comboMeter = 0;
_root.bestCombo = 0;
}
onClipEvent (enterFrame) {
_root.hobbitAttack();
_root.hobbitRotate();
counter++;
if (counter == 30) {
mov = _root.attachMovie("smallApple", "small" + _root.k, _root.k++);
mov._x = random(550);
mov._y = -20;
counter = 0;
}
if (_root.comboMeter > _root.bestCombo) {
_root.bestCombo = _root.comboMeter;
}
}
Frame 2
stop();
Instance of Symbol 409 MovieClip "pointer" in Frame 3
onClipEvent (load) {
this.level = 1E16;
Mouse.hide();
this.startDrag(true);
_root.k = 0;
}
onClipEvent (enterFrame) {
mov = _root.attachMovie("pointer_fade", "pf" + _root.k, _root.k++);
mov._x = this._x;
mov._y = this._y;
}
Frame 4
_root.debrisIs = "on";
_root.bg1temp = true;
_root.soundChange = 100;
_root.cursorIs = "on";
_quality = "MEDIUM";
Instance of Symbol 409 MovieClip "pointer" in Frame 373
onClipEvent (load) {
this.level = 1E16;
Mouse.hide();
this.startDrag(true);
_root.k = 0;
}
onClipEvent (enterFrame) {
mov = _root.attachMovie("pointer_fade", "pf" + _root.k, _root.k++);
mov._x = this._x;
mov._y = this._y;
}
Frame 500
stop();
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "LOW";
}
}
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "MEDIUM";
}
}
onClipEvent (enterFrame) {
if (_quality == "MEDIUM") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "HIGH";
}
}
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "BEST";
}
}
onClipEvent (enterFrame) {
if (_quality == "BEST") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.bg1temp == false) {
if (this.hitTest(_root.pointer)) {
_root.bg1temp = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.bg1temp == true) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.bg1temp == true) {
if (this.hitTest(_root.pointer)) {
_root.bg1temp = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.bg1temp == false) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.debrisIs == "off") {
if (this.hitTest(_root.pointer)) {
_root.debrisIs = "on";
}
}
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "on") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.debrisIs == "on") {
if (this.hitTest(_root.pointer)) {
_root.debrisIs = "off";
}
}
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "off") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.cursorIs == "off") {
if (this.hitTest(_root.pointer)) {
_root.cursorIs = "on";
}
}
}
onClipEvent (enterFrame) {
if (_root.cursorIs == "on") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 501
onClipEvent (mouseDown) {
if (_root.cursorIs == "on") {
if (this.hitTest(_root.pointer)) {
_root.cursorIs = "off";
}
}
}
onClipEvent (enterFrame) {
if (_root.cursorIs == "off") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 502
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 0;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 502
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 25;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 25) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 502
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 50;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 50) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 502
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 75;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 75) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Frame 502
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 100;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 100) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Frame 505
function feetMovement() {
if (globalStatus == "green") {
if (hobbitY == "falling") {
hobbit.feet.gotoAndStop("falling");
}
if (hobbitY == "stopped") {
if (Key.isDown(39) || (Key.isDown(68))) {
hobbit.feet._xscale = 100;
hobbit.feet._yscale = 100;
hobbit.feet.gotoAndStop("walk");
} else if (Key.isDown(37) || (Key.isDown(65))) {
hobbit.feet._xscale = -100;
hobbit.feet._yscale = 100;
hobbit.feet.gotoAndStop("walk");
} else {
hobbit.feet.gotoAndStop("idle");
}
}
}
}
function hobbitAttack() {
if (((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(68))) || (Key.isDown(65))) {
if (Key.isDown(39) || (Key.isDown(68))) {
hobbitAction = 1;
}
if (Key.isDown(37) || (Key.isDown(65))) {
hobbitAction = 2;
}
} else {
hobbitAction = 3;
}
switch (hobbitAction) {
case 1 :
hobbit.hobbit1._xscale = 100;
hobbit.hobbit1._yscale = 100;
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("walk");
darkness.gotoAndStop("walk");
} else if (attackIs == "on") {
hobbit.hobbit1.gotoAndStop("attack");
if (attackType == "frypan") {
darkness.gotoAndStop("attack");
}
}
return;
case 2 :
hobbit.hobbit1._xscale = -100;
hobbit.hobbit1._yscale = 100;
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("walk");
darkness.gotoAndStop("walk");
} else if (attackIs == "on") {
hobbit.hobbit1.gotoAndStop("attack");
if (attackType == "frypan") {
darkness.gotoAndStop("attack");
}
}
return;
case 3 :
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("idle");
darkness.gotoAndStop("idle");
} else {
if (attackIs != "on") {
break;
}
hobbit.hobbit1.gotoAndStop("attack");
if (attackType != "frypan") {
break;
}
darkness.gotoAndStop("attack");
}
}
}
function hobbitRotate() {
circx = hobbit._x;
circy = hobbit._y;
pointx = _xmouse;
pointy = _ymouse;
if (controlStyle == "flipped") {
if ((circx < pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = 90 - degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
} else if ((circx > pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -(90 - degrees);
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
}
if (controlStyle == "normal") {
if ((circx < pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx < pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
if ((circx > pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx > pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
}
}
function hobbitMove() {
if (globalStatus == "green") {
bg1._x = (_x + 500) / 10;
fg1._x = (_x + 500) * 1.1;
if (Key.isDown(39) || (Key.isDown(68))) {
_x = (_x - speed);
hobbit._x = hobbit._x + (speed * speedMult);
bar._x = bar._x + (speed * speedMult);
}
if (Key.isDown(37) || (Key.isDown(65))) {
_x = (_x + speed);
hobbit._x = hobbit._x - (speed * speedMult);
bar._x = bar._x - (speed * speedMult);
}
}
}
function gravity() {
if (globalStatus == "green") {
if (hobbitY == "falling") {
flyUp = flyUp + G;
_y = (_y - ((Number(flyDown) + Number(flyUp)) + 3));
bg1._y = (_y + 500) / 4;
fg1._y = (_y + 500) * 1.1;
hobbit._y = hobbit._y + ((Number(flyDown) + Number(flyUp)) + 3);
bar._y = bar._y + ((Number(flyDown) + Number(flyUp)) + 3);
}
if (hobbitY == "stopped") {
flyUp = 0;
flyDown = 0;
if (Key.isDown(38) || (Key.isDown(87))) {
hobbitY = "falling";
hobbit._y = hobbit._y - 4;
bar._y = bar._y - 4;
_y = (_y + 4);
bg1._y = (_y + 500) / 4;
fg1._y = (_y + 500) * 1.1;
flyUp = flyUp - 12;
}
}
}
}
function kickUp() {
if (debrisIs == "on") {
if (_root.levelType == "grass") {
if (((((((((hobbit.hobbit1._rotation >= 30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == 100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(3);
if (randomness == 0) {
mov3 = attachMovie("killGround", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGround2", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3 = attachMovie("killGround3", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
if (((((((((hobbit.hobbit1._rotation <= -30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == -100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(3);
if (randomness == 0) {
mov3 = attachMovie("killGround", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGround2", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3 = attachMovie("killGround3", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
}
if (_root.levelType == "snow") {
if (((((((((hobbit.hobbit1._rotation >= 30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == 100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(2);
if (randomness == 0) {
mov3 = attachMovie("killGroundSnow1", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGroundSnow2", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
if (((((((((hobbit.hobbit1._rotation <= -30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == -100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(2);
if (randomness == 0) {
mov3 = attachMovie("killGroundSnow1", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGroundSnow2", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
}
}
}
function teleport() {
mov4 = attachMovie("teleport_hobbitUp", "tele" + k, k++);
mov4._x = hobbit._x;
mov4._y = hobbit._y;
hobbit._visible = false;
globalStatus = "yellow";
}
function teleportDone() {
level++;
nextFrame();
_x = ((-_root.start._x) + 280);
_y = ((-_root.start._y) + 127);
hobbit._x = start._x;
hobbit._y = start._y + 100;
bg1._y = (_y + 500) / 4;
bg1._x = (_x + 500) / 10;
fg1._x = fg1._width / 2;
fg1._y = fg1._height / 2;
clearBugs = true;
bar._x = start._x;
bar._y = start._y - 120;
hobbit._visible = true;
flyUp = 0;
flyDown = 0;
G = 0.45;
speed = 5;
hobbitY = "falling";
globalStatus = "green";
bottomText = "level " + level;
bottom();
teleportIs = "active";
}
function death() {
lives = lives - 1;
if (lives <= 0) {
gotoAndPlay (6890);
_x = 0;
_y = 0;
fence._x = 5000000 /* 0x4C4B40 */;
fence._y = 6600000 /* 0x64B540 */;
}
_x = ((-_root.start._x) + 280);
_y = ((-_root.start._y) + 127);
hobbit._x = start._x;
hobbit._y = start._y + 100;
bg1._x = bg1._width / 2;
bg1._y = bg1._height / 2;
bg1._y = (_y + 500) / 4;
bg1._x = (_x + 500) / 10;
fg1._x = fg1._width / 2;
fg1._y = fg1._height / 2;
clearBugs = true;
bar._x = start._x;
bar._y = start._y - 120;
hobbit._visible = true;
flyUp = 0;
flyDown = 0;
G = 0.45;
speed = 5;
hobbitY = "falling";
health = 100;
globalStatus = "green";
if (lives >= 2) {
bottomText = ("You have " + lives) + " lives left";
}
if (lives == 1) {
bottomText = "You have only 1 life left!";
}
bottom();
}
function deathHP() {
if (globalStatus == "green") {
if (health <= 0) {
movd = attachMovie("hobbit_death", "hd" + k, k++);
movd._x = hobbit._x;
movd._y = hobbit._y;
movd._xscale = hobbit.hobbit1._xscale;
darkness2.gotoAndStop("death");
globalStatus = "red";
hobbit._visible = false;
}
}
}
function chooseDagger() {
if (daggerIs == "active") {
attackType = "dagger";
bottomText = "Dagger has been selected";
bottom();
} else {
bottomText = "You do not have a dagger!";
bottom();
}
}
function chooseBow() {
if (bowIs == "active") {
attackType = "bow";
bottomText = "Bow has been selected";
bottom();
} else {
bottomText = "You do not have a bow!";
bottom();
}
}
function chooseStaff() {
if (staffIs == "active") {
attackType = "staff";
bottomText = "Staff has been selected";
bottom();
} else {
bottomText = "You do not have a staff!";
bottom();
}
}
function chooseSword() {
if (swordIs == "active") {
attackType = "sword";
bottomText = "Sword has been selected";
bottom();
} else {
bottomText = "You do not have a sword!";
bottom();
}
}
function chooseFrypan() {
if (frypanIs == "active") {
attackType = "frypan";
bottomText = "Frypan has been selected";
bottom();
} else {
bottomText = "You do not have a ???";
bottom();
}
}
function bottom() {
bar.bottomThing.gotoAndPlay(2);
}
function hobbitHealth() {
healthPercentage = Math.round(101 - health);
bar.lifeBar.gotoAndStop(healthPercentage);
}
function detectPause() {
if (globalStatus == "green") {
if (Key.isDown(80)) {
globalStatus = "paused";
bar.gotoAndStop("pause");
}
}
}
function coinage() {
if (coins >= 100) {
coins = 0;
lives++;
bottomText = "You've earned an extra life!";
bottom();
}
}
stop();
Instance of Symbol 539 MovieClip in Frame 505
onClipEvent (enterFrame) {
if (_root.hobbit._y >= this._y) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 539 MovieClip in Frame 505
onClipEvent (enterFrame) {
if (_root.hobbit._x >= this._x) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 539 MovieClip in Frame 505
onClipEvent (enterFrame) {
if (_root.hobbit._x <= this._x) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 574 MovieClip "darkness" in Frame 505
onClipEvent (enterFrame) {
this._x = _root.hobbit._x;
this._y = _root.hobbit._y + 20;
}
Instance of Symbol 578 MovieClip "fence" in Frame 505
onClipEvent (enterFrame) {
this.swapDepths(50 + _root.k);
if (_root.level > 1) {
this.removeMovieClip();
}
}
Instance of Symbol 668 MovieClip "bar" in Frame 505
onClipEvent (load) {
this._x = _root.start._x;
this._y = _root.start._y - 120;
}
onClipEvent (enterFrame) {
this.swapDepths(200 + _root.k);
}
Instance of Symbol 409 MovieClip "pointer" in Frame 505
onClipEvent (load) {
this.swapDepths(_root.k + 350);
Mouse.hide();
this.startDrag(true);
}
onClipEvent (enterFrame) {
this.swapDepths(_root.k + 350);
if (_root.cursorIs == "on") {
this.startDrag(true);
Mouse.hide();
this._visible = true;
if (_root.debrisIs == "on") {
mov = _root.attachMovie("pointer_fade", "pf" + _root.k, _root.k++);
mov._x = this._x;
mov._y = this._y;
}
} else {
this._visible = false;
Mouse.show();
}
}
Instance of Symbol 574 MovieClip "darkness2" in Frame 505
onClipEvent (enterFrame) {
this._x = _root.hobbit._x;
this._y = _root.hobbit._y + 20;
this.swapDepths(300 + _root.k);
}
Instance of Symbol 672 MovieClip in Frame 505
onClipEvent (load) {
_root.levelType = "grass";
this._visible = "false";
}
Instance of Symbol 417 MovieClip in Frame 505
onClipEvent (load) {
this._visible = false;
if (_root.bg1temp == false) {
_root.bg1._visible = false;
}
attackOn = new Object();
attackOn.onMouseDown = function () {
_root.attackIs = "on";
};
Mouse.addListener(attackOn);
attackOff = new Object();
attackOff.onMouseUp = function () {
_root.attackIs = "off";
};
Mouse.addListener(attackOff);
_root.ballRecenter = 0;
_root.ballMultiplier = 0.5;
_root.flightSpeed = 1.25;
_root.flyUp = 0;
_root.flyDown = 0;
_root.G = 0.45;
_root.speed = 5;
_root.hobbitY = "falling";
_root.k = 10;
_root.j = 0;
_root.sizeTrigger = "on";
_root.sizeTrigger2 = "on";
_root.speedMult = 1;
_root.meetScale = 100;
_root.globalStatus = "green";
_root.attackType = "dagger";
_root.attackGround = true;
_root.controlStyle = "normal";
_root.score = 0;
_root.coins = 0;
_root.totalCoins = 0;
_root.lives = 15;
_root.level = 1;
_root.kills = 0;
_root.health = 100;
_root.hobbit._x = _root.start._x;
_root.hobbit._y = _root.start._y + 100;
_root.bg1._x = _root.bg1._width / 2;
_root.bg1._y = _root.bg1._height / 2;
_root.bar._y = _root.start._y - 120;
_root.fg1._x = _root.fg1._width / 2;
_root.fg1._y = _root.fg1._height / 2;
_root.bar._level = 99999999999999;
_root.bottomText = " ";
_root.arrow1Name = "available";
_root.arrow2Name = "available";
_root.arrow3Name = "available";
_root.arrow4Name = "available";
_root.arrow5Name = "available";
_root.daggerDamage = 0.1;
_root.bowDamage = 1;
_root.staffDamage = 0.6;
_root.swordDamage = 1;
_root.frypanDamage = 5;
_root.teleportIs = "active";
_root.daggerIs = "active";
_root.bowIs = "?";
_root.swordIs = "?";
_root.staffIs = "?";
_root.frypanIs = "?";
}
onClipEvent (enterFrame) {
_root.feetMovement();
_root.hobbitMovement();
_root.hobbitAttack();
_root.hobbitRotate();
_root.hobbitMove();
_root.hobbitHealth();
_root.detectPause();
_root.gravity();
_root.kickUp();
_root.deathHP();
_root.coinage();
}
Instance of Symbol 672 MovieClip in Frame 510
onClipEvent (load) {
this.counter = 0;
_root.levelType = "snow";
this._visible = "false";
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "on") {
this.counter++;
}
if (this.counter >= 10) {
mov = _root.attachMovie("snow", "snow" + _root.k, _root.k++);
mov._x = (_root.hobbit._x - 800) + random(1400);
mov._y = _root.hobbit._y - 200;
this.counter = 0;
}
}
Instance of Symbol 672 MovieClip in Frame 515
onClipEvent (load) {
_root.levelType = "grass";
this._visible = "false";
}
Instance of Symbol 766 MovieClip "mineLight" in Frame 520
onClipEvent (enterFrame) {
this._x = _root.hobbit._x;
this._y = _root.hobbit._y + 20;
this.swapDepths(100 + _root.k);
if (_root.level > 20) {
this.removeMovieClip();
}
}
Instance of Symbol 672 MovieClip in Frame 520
onClipEvent (load) {
this._visible = "false";
_root.levelType = "rock";
}
Instance of Symbol 672 MovieClip in Frame 525
onClipEvent (load) {
this._visible = "false";
_root.levelType = "rock";
this.counter = 0;
this.carlie = 1;
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "on") {
this.counter++;
}
if (this.counter >= 10) {
this.carlie = random(2);
if (this.carlie == 0) {
mov = _root.attachMovie("fireFall", "fireFall" + _root.k, _root.k++);
mov._x = (_root.hobbit._x - 800) + random(1400);
mov._y = _root.hobbit._y + 300;
mov._xscale = random(200) + 50;
mov._yscale = mov._xscale;
this.counter = 0;
}
if (this.carlie == 1) {
mov = _root.attachMovie("fireFall2", "fireFall" + _root.k, _root.k++);
mov._x = (_root.hobbit._x - 800) + random(1400);
mov._y = _root.hobbit._y + 300;
mov._xscale = random(200) + 50;
mov._yscale = mov._xscale;
this.counter = 0;
}
}
}
Frame 530
bar._x = _root.start._x;
bar._y = _root.start._y - 120;
_x = 0;
_y = 0;
play();
Frame 531
_x = 0;
_y = 0;
Frame 1845
function feetMovement() {
if (globalStatus == "green") {
if (hobbitY == "falling") {
hobbit.feet.gotoAndStop("falling");
}
if (hobbitY == "stopped") {
if (Key.isDown(39) || (Key.isDown(68))) {
hobbit.feet._xscale = 100;
hobbit.feet._yscale = 100;
hobbit.feet.gotoAndStop("walk");
} else if (Key.isDown(37) || (Key.isDown(65))) {
hobbit.feet._xscale = -100;
hobbit.feet._yscale = 100;
hobbit.feet.gotoAndStop("walk");
} else {
hobbit.feet.gotoAndStop("idle");
}
}
}
}
function hobbitAttack() {
if (((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(68))) || (Key.isDown(65))) {
if (Key.isDown(39) || (Key.isDown(68))) {
hobbitAction = 1;
}
if (Key.isDown(37) || (Key.isDown(65))) {
hobbitAction = 2;
}
} else {
hobbitAction = 3;
}
switch (hobbitAction) {
case 1 :
hobbit.hobbit1._xscale = 100;
hobbit.hobbit1._yscale = 100;
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("walk");
darkness.gotoAndStop("walk");
} else if (attackIs == "on") {
hobbit.hobbit1.gotoAndStop("attack");
if (attackType == "frypan") {
darkness.gotoAndStop("attack");
}
}
return;
case 2 :
hobbit.hobbit1._xscale = -100;
hobbit.hobbit1._yscale = 100;
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("walk");
darkness.gotoAndStop("walk");
} else if (attackIs == "on") {
hobbit.hobbit1.gotoAndStop("attack");
if (attackType == "frypan") {
darkness.gotoAndStop("attack");
}
}
return;
case 3 :
if (attackIs == "off") {
hobbit.hobbit1.gotoAndStop("idle");
darkness.gotoAndStop("idle");
} else {
if (attackIs != "on") {
break;
}
hobbit.hobbit1.gotoAndStop("attack");
if (attackType != "frypan") {
break;
}
darkness.gotoAndStop("attack");
}
}
}
function hobbitRotate() {
circx = hobbit._x;
circy = hobbit._y;
pointx = _xmouse;
pointy = _ymouse;
if (controlStyle == "flipped") {
if ((circx < pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = 90 - degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
} else if ((circx > pointx) and (circy > pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -(90 - degrees);
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
}
if (controlStyle == "normal") {
if ((circx < pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx < pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = 100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
if ((circx > pointx) and (circy < pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = -degrees;
if (hobbit.hobbit1._rotation <= -40) {
hobbit.hobbit1._rotation = -40;
}
}
if ((circx > pointx) and (circy > pointy)) {
hobbit.hobbit1._xscale = -100;
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.PI;
hobbit.hobbit1._rotation = degrees;
if (hobbit.hobbit1._rotation >= 40) {
hobbit.hobbit1._rotation = 40;
}
}
}
}
function hobbitMove() {
if (globalStatus == "green") {
bg1._x = (_x + 500) / 10;
if (Key.isDown(39) || (Key.isDown(68))) {
_x = (_x - speed);
hobbit._x = hobbit._x + (speed * speedMult);
bar._x = bar._x + (speed * speedMult);
}
if (Key.isDown(37) || (Key.isDown(65))) {
_x = (_x + speed);
hobbit._x = hobbit._x - (speed * speedMult);
bar._x = bar._x - (speed * speedMult);
}
}
}
function gravity() {
if (globalStatus == "green") {
if (hobbitY == "falling") {
flyUp = flyUp + G;
_y = (_y - ((Number(flyDown) + Number(flyUp)) + 3));
bg1._y = (_y + 500) / 4;
hobbit._y = hobbit._y + ((Number(flyDown) + Number(flyUp)) + 3);
bar._y = bar._y + ((Number(flyDown) + Number(flyUp)) + 3);
}
if (hobbitY == "stopped") {
flyUp = 0;
flyDown = 0;
if (Key.isDown(38) || (Key.isDown(87))) {
hobbitY = "falling";
hobbit._y = hobbit._y - 4;
bar._y = bar._y - 4;
_y = (_y + 4);
bg1._y = (_y + 500) / 4;
flyUp = flyUp - 12;
}
}
}
}
function kickUp() {
if (debrisIs == "on") {
if (_root.levelType == "grass") {
if (((((((((hobbit.hobbit1._rotation >= 30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == 100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(3);
if (randomness == 0) {
mov3 = attachMovie("killGround", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGround2", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3 = attachMovie("killGround3", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
if (((((((((hobbit.hobbit1._rotation <= -30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == -100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(3);
if (randomness == 0) {
mov3 = attachMovie("killGround", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGround2", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3 = attachMovie("killGround3", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
}
if (_root.levelType == "snow") {
if (((((((((hobbit.hobbit1._rotation >= 30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == 100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(2);
if (randomness == 0) {
mov3 = attachMovie("killGroundSnow1", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGroundSnow2", "bs" + k, k++);
mov3._x = hobbit._x + 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
if (((((((((hobbit.hobbit1._rotation <= -30) && (attackIs == "on")) && (hobbitY == "stopped")) && (hobbit.hobbit1._xscale == -100)) && (attackType != "staff")) && (attackType != "bow")) && (attackType != "frypan")) && (attackGround == true)) && (globalStatus == "green")) {
randomness = random(2);
if (randomness == 0) {
mov3 = attachMovie("killGroundSnow1", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = attachMovie("killGroundSnow2", "bs" + k, k++);
mov3._x = hobbit._x - 40;
mov3._y = hobbit._y - 12;
mov3._xscale = random(200) - 100;
mov3._yscale = random(50) + 50;
mov3._alpha = random(100) + 50;
}
}
}
}
}
function teleport() {
mov4 = attachMovie("teleport_hobbitUp", "tele" + k, k++);
mov4._x = hobbit._x;
mov4._y = hobbit._y;
hobbit._visible = false;
globalStatus = "yellow";
}
function teleportDone() {
level++;
nextFrame();
_x = ((-_root.start._x) + 280);
_y = ((-_root.start._y) + 127);
hobbit._x = start._x;
hobbit._y = start._y + 100;
bg1._x = bg1._width / 2;
bg1._y = bg1._height / 2;
bg1._y = (_y + 500) / 4;
bg1._x = (_x + 500) / 10;
bar._x = start._x;
bar._y = start._y - 120;
hobbit._visible = true;
flyUp = 0;
flyDown = 0;
G = 0.45;
speed = 5;
hobbitY = "falling";
globalStatus = "green";
bottomText = "level " + level;
bottom();
teleportIs = "active";
}
function death() {
lives = lives - 1;
if (lives <= 0) {
gotoAndPlay (6890);
_x = 0;
_y = 0;
}
_x = ((-_root.start._x) + 280);
_y = ((-_root.start._y) + 127);
hobbit._x = start._x;
hobbit._y = start._y + 100;
bg1._x = bg1._width / 2;
bg1._y = bg1._height / 2;
bg1._y = (_y + 500) / 4;
bg1._x = (_x + 500) / 10;
bar._x = start._x;
bar._y = start._y - 120;
hobbit._visible = true;
flyUp = 0;
flyDown = 0;
G = 0.45;
speed = 5;
hobbitY = "falling";
health = 100;
globalStatus = "green";
if (lives >= 2) {
bottomText = ("You have " + lives) + " lives left";
}
if (lives == 1) {
bottomText = "You have only 1 life left!";
}
bottom();
}
function deathHP() {
if (globalStatus == "green") {
if (health <= 0) {
movd = attachMovie("hobbit_death", "hd" + k, k++);
movd._x = hobbit._x;
movd._y = hobbit._y;
movd._xscale = hobbit.hobbit1._xscale;
darkness2.gotoAndStop("death");
globalStatus = "red";
hobbit._visible = false;
}
}
}
function chooseDagger() {
if (daggerIs == "active") {
attackType = "dagger";
bottomText = "Dagger has been selected";
bottom();
} else {
bottomText = "You do not have a dagger!";
bottom();
}
}
function chooseBow() {
if (bowIs == "active") {
attackType = "bow";
bottomText = "Bow has been selected";
bottom();
} else {
bottomText = "You do not have a bow!";
bottom();
}
}
function chooseStaff() {
if (staffIs == "active") {
attackType = "staff";
bottomText = "Staff has been selected";
bottom();
} else {
bottomText = "You do not have a staff!";
bottom();
}
}
function chooseSword() {
if (swordIs == "active") {
attackType = "sword";
bottomText = "Sword has been selected";
bottom();
} else {
bottomText = "You do not have a sword!";
bottom();
}
}
function chooseFrypan() {
if (frypanIs == "active") {
attackType = "frypan";
bottomText = "Frypan has been selected";
bottom();
} else {
bottomText = "You do not have a ???";
bottom();
}
}
function bottom() {
bar.bottomThing.gotoAndPlay(2);
}
function hobbitHealth() {
healthPercentage = Math.round(101 - health);
bar.lifeBar.gotoAndStop(healthPercentage);
}
function detectPause() {
if (globalStatus == "green") {
if (Key.isDown(80)) {
globalStatus = "paused";
bar.gotoAndStop("pause");
}
}
}
function coinage() {
if (coins >= 100) {
coins = 0;
lives++;
bottomText = "You've earned an extra life!";
bottom();
}
}
stop();
stop();
Instance of Symbol 539 MovieClip in Frame 1845
onClipEvent (enterFrame) {
if (_root.hobbit._y >= this._y) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 539 MovieClip in Frame 1845
onClipEvent (enterFrame) {
if (_root.hobbit._x >= this._x) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 539 MovieClip in Frame 1845
onClipEvent (enterFrame) {
if (_root.hobbit._x <= this._x) {
_root.darkness2.gotoAndStop("death");
}
}
Instance of Symbol 574 MovieClip "darkness" in Frame 1845
onClipEvent (enterFrame) {
this._x = _root.hobbit._x;
this._y = _root.hobbit._y + 20;
}
Instance of Symbol 574 MovieClip "darkness2" in Frame 1845
onClipEvent (enterFrame) {
this._x = _root.hobbit._x;
this._y = _root.hobbit._y + 20;
this.swapDepths(300 + _root.k);
}
Instance of Symbol 672 MovieClip in Frame 1845
onClipEvent (load) {
this._visible = "false";
_root.levelType = "rock";
this.counter = 0;
this.carlie = 1;
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "on") {
this.counter++;
}
if (this.counter >= 10) {
this.carlie = random(2);
if (this.carlie == 0) {
mov = _root.attachMovie("fireFall", "fireFall" + _root.k, _root.k++);
mov._x = (_root.hobbit._x - 800) + random(1400);
mov._y = _root.hobbit._y + 300;
mov._xscale = random(200) + 50;
mov._yscale = mov._xscale;
this.counter = 0;
}
if (this.carlie == 1) {
mov = _root.attachMovie("fireFall2", "fireFall" + _root.k, _root.k++);
mov._x = (_root.hobbit._x - 800) + random(1400);
mov._y = _root.hobbit._y + 300;
mov._xscale = random(200) + 50;
mov._yscale = mov._xscale;
this.counter = 0;
}
}
}
Instance of Symbol 417 MovieClip in Frame 1845
onClipEvent (load) {
this._visible = false;
if (_root.bg1temp == false) {
_root.bg1._visible = false;
}
attackOn = new Object();
attackOn.onMouseDown = function () {
_root.attackIs = "on";
};
Mouse.addListener(attackOn);
attackOff = new Object();
attackOff.onMouseUp = function () {
_root.attackIs = "off";
};
Mouse.addListener(attackOff);
_root.ballRecenter = 0;
_root.ballMultiplier = 0.5;
_root.flightSpeed = 1.25;
_root.flyUp = 0;
_root.flyDown = 0;
_root.G = 0.45;
_root.speed = 5;
_root.hobbitY = "falling";
_root.sizeTrigger = "on";
_root.sizeTrigger2 = "on";
_root.speedMult = 1;
_root.meetScale = 100;
_root.globalStatus = "green";
_root.attackGround = true;
_root.controlStyle = "normal";
_root._x = (-_root.start._x) + 280;
_root._y = (-_root.start._y) + 127;
_root.hobbit._x = start._x;
_root.hobbit._y = start._y + 100;
_root.bg1._y = (_root._y + 500) / 4;
_root.bg1._x = (_root._x + 500) / 10;
_root.bar._x = start._x;
_root.bar._y = start._y - 120;
_root.hobbit._visible = true;
bg1._y = (_y + 500) / 4;
bg1._x = (_x + 500) / 10;
_root.flyUp = 0;
_root.flyDown = 0;
_root.G = 0.45;
_root.speed = 5;
_root.hobbitY = "falling";
_root.globalStatus = "green";
_root.bottomText = "level " + level;
_root.bottom();
_root.teleportIs = "active";
_root.hobbit._x = _root.start._x;
_root.hobbit._y = _root.start._y + 100;
_root.bg1._x = _root.bg1._width / 2;
_root.bg1._y = _root.bg1._height / 2;
_root.bar._y = _root.start._y - 120;
_root.bar._level = 99999999999999;
_root.bottomText = " ";
_root.arrow1Name = "available";
_root.arrow2Name = "available";
_root.arrow3Name = "available";
_root.arrow4Name = "available";
_root.arrow5Name = "available";
_root.daggerDamage = 0.1;
_root.bowDamage = 1;
_root.staffDamage = 0.6;
_root.swordDamage = 1;
_root.frypanDamage = 5;
_root.swordIs = "active";
_root.teleportIs = "active";
}
onClipEvent (enterFrame) {
_root.feetMovement();
_root.hobbitMovement();
_root.hobbitAttack();
_root.hobbitRotate();
_root.hobbitMove();
_root.hobbitHealth();
_root.detectPause();
_root.gravity();
_root.kickUp();
_root.deathHP();
_root.coinage();
}
Frame 1919
_root.bar._x = 500000000 /* 0x1DCD6500 */;
_root.bar._y = 500000000 /* 0x1DCD6500 */;
Frame 1922
_x = 0;
_y = 0;
Frame 4405
stop();
Frame 4406
_x = 0;
_y = 0;
Instance of Symbol 409 MovieClip "pointer" in Frame 4406
onClipEvent (load) {
this.level = 1E16;
Mouse.hide();
this.startDrag(true);
}
onClipEvent (enterFrame) {
if (_root.cursorIs == "on") {
this.startDrag(true);
Mouse.hide();
this._visible = true;
if (_root.debrisIs == "on") {
mov = _root.attachMovie("pointer_fade", "pf" + _root.k, _root.k++);
mov._x = this._x;
mov._y = this._y;
}
} else {
this._visible = false;
Mouse.show();
}
}
Frame 6889
stop();
Frame 6998
stop();
Symbol 19 MovieClip Frame 23
if (((((_root.arrow1Name == "taken") && (_root.arrow2Name == "taken")) && (_root.arrow3Name == "taken")) && (_root.arrow4Name == "taken")) && (_root.arrow5Name == "available")) {
_root.arrow5Name = "taken";
_root.arrow5._x = _root.hobbit._x + _root.hobbit.hobbit1._x;
_root.arrow5._y = (_root.hobbit._y + _root.hobbit.hobbit1._y) - 25;
_root.arrow5._rotation = _root.hobbit.hobbit1._rotation;
_root.arrow5.play();
}
if ((((_root.arrow1Name == "taken") && (_root.arrow2Name == "taken")) && (_root.arrow3Name == "taken")) && (_root.arrow4Name == "available")) {
_root.arrow4Name = "taken";
_root.arrow4._x = _root.hobbit._x + _root.hobbit.hobbit1._x;
_root.arrow4._y = (_root.hobbit._y + _root.hobbit.hobbit1._y) - 25;
_root.arrow4._rotation = _root.hobbit.hobbit1._rotation;
_root.arrow4.play();
}
if (((_root.arrow1Name == "taken") && (_root.arrow2Name == "taken")) && (_root.arrow3Name == "available")) {
_root.arrow3Name = "taken";
_root.arrow3._x = _root.hobbit._x + _root.hobbit.hobbit1._x;
_root.arrow3._y = (_root.hobbit._y + _root.hobbit.hobbit1._y) - 25;
_root.arrow3._rotation = _root.hobbit.hobbit1._rotation;
_root.arrow3.play();
}
if ((_root.arrow1Name == "taken") && (_root.arrow2Name == "available")) {
_root.arrow2Name = "taken";
_root.arrow2._x = _root.hobbit._x + _root.hobbit.hobbit1._x;
_root.arrow2._y = (_root.hobbit._y + _root.hobbit.hobbit1._y) - 25;
_root.arrow2._rotation = _root.hobbit.hobbit1._rotation;
_root.arrow2.play();
}
if (_root.arrow1Name == "available") {
_root.arrow1Name = "taken";
_root.arrow1._x = _root.hobbit._x + _root.hobbit.hobbit1._x;
_root.arrow1._y = (_root.hobbit._y + _root.hobbit.hobbit1._y) - 25;
_root.arrow1._rotation = _root.hobbit.hobbit1._rotation;
_root.arrow1.play();
}
Instance of Symbol 19 MovieClip "weapon" in Symbol 20 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attackType == "bow") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Symbol 21 MovieClip [tthobbit_bow] Frame 1
stop();
Symbol 24 MovieClip [teleport_hobbitUp] Frame 45
_root.teleportDone();
this.removeMovieClip();
Symbol 26 MovieClip [crud_fly] Frame 21
this.removeMovieClip();
Symbol 27 MovieClip [blood_fly] Frame 15
this.removeMovieClip();
Symbol 29 MovieClip [fireGround4] Frame 1
play();
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip [fireGround4] Frame 1
onClipEvent (load) {
randomness = 0;
counter = 0;
}
onClipEvent (enterFrame) {
counter++;
if (counter == 2) {
counter = 0;
randomness = random(3);
if (randomness == 0) {
mov3 = _root.attachMovie("fire", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + 10) - random(20);
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = _root.attachMovie("fire2", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + 10) - random(20);
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3 = _root.attachMovie("fire3", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + 10) - random(20);
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
}
}
Symbol 29 MovieClip [fireGround4] Frame 111
this.removeMovieClip();
Symbol 37 MovieClip [killGroundSnow2] Frame 50
this.removeMovieClip();
Symbol 45 MovieClip [killGround3] Frame 50
this.removeMovieClip();
Symbol 53 MovieClip [killGroundSnow1] Frame 50
this.removeMovieClip();
Symbol 54 MovieClip [killGround2] Frame 50
this.removeMovieClip();
Symbol 57 MovieClip [killGround] Frame 93
this.removeMovieClip();
Symbol 71 MovieClip [bunny_die] Frame 167
this.removeMovieClip();
Symbol 76 MovieClip [flamedude_fireUp] Frame 15
this.removeMovieClip();
Symbol 77 MovieClip [teleport_up] Frame 15
this.removeMovieClip();
Symbol 80 MovieClip [mug_wasp2] Frame 1
_root.mugName = "tin wasp";
Symbol 80 MovieClip [mug_wasp2] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 85 MovieClip [mug_wasp] Frame 1
_root.mugName = "wasp";
Symbol 85 MovieClip [mug_wasp] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 88 MovieClip [mug_beehive] Frame 1
_root.mugName = "wasp hive";
Symbol 88 MovieClip [mug_beehive] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 93 MovieClip [mug_boar] Frame 1
_root.mugName = "boar";
Symbol 93 MovieClip [mug_boar] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 98 MovieClip [mug_spider4] Frame 1
_root.mugName = "spyder";
Symbol 98 MovieClip [mug_spider4] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 101 MovieClip [mug_spider3] Frame 1
_root.mugName = "lurker";
Symbol 101 MovieClip [mug_spider3] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 104 MovieClip [mug_spider2] Frame 1
_root.mugName = "ice spider";
Symbol 104 MovieClip [mug_spider2] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 107 MovieClip [mug_spider] Frame 1
_root.mugName = "spider";
Symbol 107 MovieClip [mug_spider] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 110 MovieClip [mug_polarBear] Frame 1
_root.mugName = "polar bear";
Symbol 110 MovieClip [mug_polarBear] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 113 MovieClip [mug_bat] Frame 1
_root.mugName = "roo bat";
Symbol 113 MovieClip [mug_bat] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 118 MovieClip [mug_flamedude] Frame 1
_root.mugName = "fire elemental";
Symbol 118 MovieClip [mug_flamedude] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 131 MovieClip [mug_brownBear] Frame 1
_root.mugName = "Brown Bear";
Symbol 131 MovieClip [mug_brownBear] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 141 MovieClip [mug_orc] Frame 1
_root.mugName = "orc";
Symbol 141 MovieClip [mug_orc] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 148 MovieClip [mug_dragon] Frame 1
_root.mugName = "Redragon";
Symbol 148 MovieClip [mug_dragon] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 151 MovieClip [mug_penguin] Frame 1
_root.mugName = "penguin";
Symbol 151 MovieClip [mug_penguin] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 154 MovieClip [mug_bunny] Frame 1
_root.mugName = "bunny";
Symbol 154 MovieClip [mug_bunny] Frame 75
_root.mugName = "";
_root.bar.healthMeter._xscale = 0;
this.removeMovieClip();
Symbol 158 MovieClip [scorer] Frame 60
this.removeMovieClip();
Symbol 162 MovieClip [fire2] Frame 30
this.removeMovieClip();
Symbol 163 MovieClip [fire] Frame 30
this.removeMovieClip();
Instance of Symbol 165 MovieClip "body" in Symbol 166 MovieClip [spiderd_die] Frame 1
onClipEvent (enterFrame) {
mov = _root.attachMovie("spider_green", "sg" + _root.k, _root.k++);
mov._x = (_parent._x + random(20)) - 10;
mov._y = _parent._y;
mov._rotation = (random(180) * -1) + 90;
}
Symbol 166 MovieClip [spiderd_die] Frame 25
this.removeMovieClip();
Instance of Symbol 165 MovieClip "body" in Symbol 167 MovieClip [spiderc_die] Frame 1
onClipEvent (enterFrame) {
mov = _root.attachMovie("spider_green", "sg" + _root.k, _root.k++);
mov._x = (_parent._x + random(20)) - 10;
mov._y = _parent._y;
mov._rotation = (random(180) * -1) + 90;
}
Symbol 167 MovieClip [spiderc_die] Frame 25
this.removeMovieClip();
Instance of Symbol 165 MovieClip "body" in Symbol 168 MovieClip [spiderb_die] Frame 1
onClipEvent (enterFrame) {
mov = _root.attachMovie("spider_green", "sg" + _root.k, _root.k++);
mov._x = (_parent._x + random(20)) - 10;
mov._y = _parent._y;
mov._rotation = (random(180) * -1) + 90;
}
Symbol 168 MovieClip [spiderb_die] Frame 25
this.removeMovieClip();
Instance of Symbol 165 MovieClip "body" in Symbol 169 MovieClip [spider_die] Frame 1
onClipEvent (enterFrame) {
mov = _root.attachMovie("spider_green", "sg" + _root.k, _root.k++);
mov._x = (_parent._x + random(20)) - 10;
mov._y = _parent._y;
mov._rotation = (random(180) * -1) + 90;
}
Symbol 169 MovieClip [spider_die] Frame 25
this.removeMovieClip();
Symbol 171 MovieClip [spider_green] Frame 30
this.unloadMovie();
Symbol 173 MovieClip [pointer_fade] Frame 10
this.removeMovieClip();
Symbol 179 MovieClip [beehive_die] Frame 160
this.removeMovieClip();
Symbol 186 MovieClip [wasp2_die] Frame 1
this._rotation = random(360);
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip [wasp2_die] Frame 1
onClipEvent (enterFrame) {
mov4 = _parent.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = this._x;
mov4._y = this._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
}
Symbol 186 MovieClip [wasp2_die] Frame 55
this.removeMovieClip();
Symbol 189 MovieClip [wasp_die] Frame 1
this._rotation = random(360);
Instance of Symbol 188 MovieClip in Symbol 189 MovieClip [wasp_die] Frame 1
onClipEvent (enterFrame) {
mov4 = _parent.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = this._x;
mov4._y = this._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
}
Symbol 189 MovieClip [wasp_die] Frame 55
this.removeMovieClip();
Symbol 190 MovieClip [bat_die] Frame 1
this._rotation = random(360);
Instance of Symbol 185 MovieClip in Symbol 190 MovieClip [bat_die] Frame 1
onClipEvent (enterFrame) {
mov4 = _parent.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = this._x;
mov4._y = this._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
}
Symbol 190 MovieClip [bat_die] Frame 55
this.removeMovieClip();
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip [wasp2_outside] Frame 1
onClipEvent (load) {
this.hitPoints = 50;
this.maxPoints = 50;
this.damage = 0.6;
this.pointValue = Number(200);
this.message = "Blah";
this.killMessage = true;
_root.clearBugs = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (_root.clearBugs == true) {
_parent.unloadMovie();
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("wasp2_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (_root.globalStatus == "green") {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.07 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.07 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._y + _root.hobbit.hitArea._y) >= _parent._y) {
_parent._y = _parent._y - (0.07 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if (_parent._y >= (_root.hobbit._y + _root.hobbit.hitArea._y)) {
_parent._y = _parent._y - (0.07 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = 100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = -100;
}
}
}
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip [wasp_outside] Frame 1
onClipEvent (load) {
this.hitPoints = 2;
this.maxPoints = 2;
this.damage = 0.2;
this.pointValue = Number(75);
this.message = "Blah";
this.killMessage = true;
_root.clearBugs = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_wasp", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (_root.clearBugs == true) {
_parent.unloadMovie();
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("wasp_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (_root.globalStatus == "green") {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.025 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.025 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._y + _root.hobbit.hitArea._y) >= _parent._y) {
_parent._y = _parent._y - (0.025 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if (_parent._y >= (_root.hobbit._y + _root.hobbit.hitArea._y)) {
_parent._y = _parent._y - (0.025 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = 100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = -100;
}
}
}
Symbol 195 MovieClip [hobbit_death] Frame 70
this.removeMovieClip();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 15
_parent.removeMovieClip();
Instance of Symbol 199 MovieClip "apple" in Symbol 200 MovieClip [smallApple] Frame 1
onClipEvent (load) {
this._rotation = random(360);
this.hit = false;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
this._y = this._y + 2.5;
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
if (this.hit == false) {
this.hit = true;
_root.appleCounter++;
_root.comboMeter++;
this.play();
}
}
}
Symbol 200 MovieClip [smallApple] Frame 200
_root.comboMeter = 0;
this.removeMovieClip();
Symbol 201 MovieClip [smallAppleCatch] Frame 15
this.removeMovieClip();
Symbol 204 MovieClip [boar_die] Frame 140
this.removeMovieClip();
Symbol 207 MovieClip [fireFall2] Frame 60
this.removeMovieClip();
Symbol 208 MovieClip [fireFall] Frame 60
this.removeMovieClip();
Symbol 209 MovieClip [snow] Frame 60
this.removeMovieClip();
Symbol 220 MovieClip [penguin_die] Frame 210
this.removeMovieClip();
Instance of Symbol 225 MovieClip in Symbol 233 MovieClip [dragon_spit] Frame 1
onClipEvent (load) {
this.damage = 0.5;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _root.hobbit._x;
mov3._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
}
}
Symbol 233 MovieClip [dragon_spit] Frame 50
this.removeMovieClip();
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip [dragon_spit] Frame 50
onClipEvent (load) {
this.damage = 0.5;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _root.hobbit._x;
mov3._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
}
}
Instance of Symbol 232 MovieClip in Symbol 234 MovieClip [spiderBAttackA] Frame 1
onClipEvent (load) {
this.damage = 0.5;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _root.hobbit._x;
mov3._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
}
}
Symbol 234 MovieClip [spiderBAttackA] Frame 50
this.removeMovieClip();
Symbol 262 MovieClip [brownBear_die] Frame 235
this.removeMovieClip();
Symbol 268 MovieClip [polarBear_die] Frame 235
this.removeMovieClip();
Symbol 270 MovieClip [coin] Frame 75
this.removeMovieClip();
Symbol 272 MovieClip [thwack] Frame 75
this.removeMovieClip();
Symbol 274 MovieClip [swordDraw] Frame 75
this.removeMovieClip();
Symbol 275 MovieClip [orc_die] Frame 200
this.removeMovieClip();
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
this.damage = 0.3;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
}
}
Instance of Symbol 289 MovieClip "hotcarlie" in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
this.damage = 0;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
}
}
Symbol 290 MovieClip Frame 383
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 384
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 385
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 386
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 387
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 388
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 389
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 390
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 391
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 392
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 393
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 394
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 395
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 396
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 397
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 398
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 399
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 400
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 401
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 402
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 403
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 404
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 405
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 406
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 407
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 408
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 409
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 410
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 411
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 412
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 413
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 414
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 415
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 416
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 417
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 418
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 419
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 420
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 421
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 422
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 423
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 424
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 425
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 426
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 427
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 428
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 429
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 290 MovieClip Frame 430
mov = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov._xscale = this._xscale;
mov._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
mov._rotation = (this._rotation + random(40)) - 20;
mov2 = _root.attachMovie("dragon_spit", "s" + _root.k, _root.k++);
mov2._xscale = this._xscale;
mov2._rotation = (this._rotation + random(40)) - 20;
mov2._x = ((_root.dragon._x + _root.dragon.inside._x) + _root.dragon.inside.head.hotcarlie._x) + this._x;
mov2._y = ((_root.dragon._y + _root.dragon.inside._y) + _root.dragon.inside.head.hotcarlie._y) + this._y;
Symbol 294 MovieClip [dragon_die] Frame 1
stopAllSounds();
_root.globalStatus = "stopped";
Instance of Symbol 287 MovieClip in Symbol 294 MovieClip [dragon_die] Frame 1
onClipEvent (enterFrame) {
mov3 = _root.attachMovie("fire", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + random(300)) - 25;
mov3._y = (_parent._y + random(500)) - 25;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov32 = _root.attachMovie("fire2", "bs" + _root.k, _root.k++);
mov32._x = (_parent._x + random(300)) - 25;
mov32._y = (_parent._y + random(500)) - 25;
mov32._xscale = random(200) - 100;
mov32._alpha = random(100) + 50;
mov32 = _root.attachMovie("fire1", "bs" + _root.k, _root.k++);
mov32._x = (_parent._x + random(300)) - 25;
mov32._y = (_parent._y + random(500)) - 25;
mov33._xscale = random(200) - 100;
mov33._alpha = random(100) + 50;
mov4 = _root.attachMovie("flamedude_fireUp", "bs" + _root.k, _root.k++);
mov4._x = (_parent._x + random(300)) - 25;
mov4._y = (_parent._y + random(500)) - 25;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
}
Symbol 294 MovieClip [dragon_die] Frame 170
_root.play();
play();
this.removeMovieClip();
Symbol 319 MovieClip [wisp1] Frame 49
this.unloadMovie();
Instance of Symbol 321 MovieClip in Symbol 322 MovieClip [bat_outside] Frame 1
onClipEvent (load) {
this.hitPoints = 30;
this.maxPoints = 30;
this.damage = 0.7;
this.pointValue = Number(550);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bat", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_bat", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bat", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bat", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_bat", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("bat_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (((((_parent._x - _root.hobbit._x) <= 100) && ((_parent._x - _root.hobbit._x) >= -100)) && ((_parent._y - _root.hobbit._y) <= 200)) && ((_parent._y - _root.hobbit._y) >= -200)) {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.3 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.3 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._y + _root.hobbit.hitArea._y) >= _parent._y) {
_parent._y = _parent._y - (0.3 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if (_parent._y >= (_root.hobbit._y + _root.hobbit.hitArea._y)) {
_parent._y = _parent._y - (0.3 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = 100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = -100;
}
}
Symbol 324 MovieClip [arrowInside] Frame 1
this._xscale = _root.hobbit.hobbit1._xscale;
this._yscale = _root.hobbit.hobbit1._yscale;
Symbol 324 MovieClip [arrowInside] Frame 32
this._x = -1000000;
this._y = -1000000;
if (this._name == "arrow1") {
_root.arrow1Name = "available";
}
if (this._name == "arrow2") {
_root.arrow2Name = "available";
}
if (this._name == "arrow3") {
_root.arrow3Name = "available";
}
if (this._name == "arrow4") {
_root.arrow4Name = "available";
}
if (this._name == "arrow5") {
_root.arrow5Name = "available";
}
stop();
Symbol 327 MovieClip Frame 65
stop();
Symbol 328 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip "weapon" in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.attackType == "dagger") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 356 MovieClip "weapon" in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "staff") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "staff") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 359 MovieClip "weapon" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "sword") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "sword") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 381 MovieClip "weapon" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "frypan") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "frypan") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Symbol 383 MovieClip Frame 1
stop();
Instance of Symbol 331 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
this.counter = 0;
this.prevY = 0;
}
onClipEvent (enterFrame) {
if ((_root.hobbitY == "falling") && (_root.hobbit._y >= this.prevY)) {
this.counter = this.counter + 3;
} else {
this.counter = this.counter - 7;
}
if (this.counter >= 120) {
this.counter = 120;
}
if (this.counter <= 0) {
this.counter = 0;
}
this.prevY = _root.hobbit._y;
this._rotation = this.counter;
}
Instance of Symbol 334 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "dagger") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "dagger") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 7 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "bow") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "bow") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 337 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "staff") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "staff") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 340 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "sword") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "sword") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 344 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_root.attackType == "frypan") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "frypan") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 345 MovieClip in Symbol 383 MovieClip Frame 2
onClipEvent (load) {
if (_root.attackType == "dagger") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "dagger") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 346 MovieClip in Symbol 383 MovieClip Frame 2
onClipEvent (load) {
if (_root.attackType == "bow") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "bow") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 347 MovieClip in Symbol 383 MovieClip Frame 2
onClipEvent (load) {
if (_root.attackType == "staff") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "staff") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 348 MovieClip in Symbol 383 MovieClip Frame 2
onClipEvent (load) {
if (_root.attackType == "sword") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "sword") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 349 MovieClip in Symbol 383 MovieClip Frame 2
onClipEvent (load) {
if (_root.attackType == "frypan") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "frypan") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 353 MovieClip "hobbit2" in Symbol 383 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "dagger") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "dagger") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 20 MovieClip "hobbit2" in Symbol 383 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "bow") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "bow") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 357 MovieClip "hobbit5" in Symbol 383 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "staff") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "staff") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 360 MovieClip "hobbit7" in Symbol 383 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "sword") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "sword") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 382 MovieClip "hobbit9" in Symbol 383 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "frypan") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "frypan") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Symbol 391 MovieClip Frame 100
stop();
Symbol 396 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 412 Button
on (release) {
getURL ("http://www.jmtb02.com/", "_blank");
}
Symbol 422 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 439 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 444 Button
on (release) {
_root.bar.gotoAndStop("info");
}
Symbol 448 Button
on (release) {
_root.bar.gotoAndStop("sound");
}
Symbol 461 Button
on (release) {
_root.bar.gotoAndStop("video");
}
Symbol 462 Button
on (release) {
stopAllSounds();
gotoAndStop (505);
}
Symbol 467 Button
on (release) {
_root.gotoAndStop("control");
}
Symbol 468 Button
on (release) {
_root.gotoAndStop("info");
}
Symbol 469 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 470 Button
on (release) {
_root.gotoAndStop("sound");
}
Symbol 471 Button
on (release) {
getURL ("http://www.jmtb02.com/", "_blank");
}
Symbol 472 Button
on (release) {
_root.gotoAndStop("video");
}
Symbol 473 Button
on (release) {
_root.gotoAndStop("controls");
}
Symbol 477 Button
on (release) {
_root.gotoAndStop("pause");
}
Symbol 506 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 518 Button
on (release) {
getURL ("mailto://john@jmtb02.com", "_blank");
}
Instance of Symbol 521 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.attackType = "bow";
_root.bowIs = "active";
_root.bottomText = "You found a bow! (hotkey = 2)";
_root.bottom();
_parent.unloadMovie();
}
}
Instance of Symbol 355 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.attackType = "staff";
_root.staffIs = "active";
_root.bottomText = "You found a staff! (hotkey = 3)";
_root.bottom();
_parent.unloadMovie();
}
}
Instance of Symbol 358 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.attackType = "sword";
_root.swordIs = "active";
_root.bottomText = "You found a sword! (hotkey = 4)";
_root.bottom();
_parent.unloadMovie();
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 1;
this.maxPoints = 1;
this.pointValue = Number(-75);
this.message = "Do not kill bunnies!";
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("bunny_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
_root.bottomText = this.message;
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 555 MovieClip "inside" in Symbol 556 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 1;
this.maxPoints = 1;
this.pointValue = Number(-75);
this.message = "Do not kill bunnies!";
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
attachMovie("thwack", "t" + _root.k, _root.k++);
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
attachMovie("thwack", "t" + _root.k, _root.k++);
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_bunny", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("bunny_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
_root.bottomText = this.message;
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 4;
this.maxPoints = 4;
this.damage = 0.4;
this.pointValue = Number(200);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_spider", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_spider", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("spider_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 560 MovieClip in Symbol 561 MovieClip Frame 1
onClipEvent (load) {
this.named = false;
}
onClipEvent (enterFrame) {
if (this.named == false) {
_root.j++;
_parent._name = ("c" + _root.j) + random(150);
this.named = true;
}
if (this.hitTest(_root.hobbit) && (trigger != "on")) {
trigger = "on";
_root.score = _root.score + 50;
attachMovie("coin", "c" + _root.k, _root.k++);
}
if (trigger == "on") {
if ((_root.bar._x + 150) >= _parent._x) {
_parent._x = _parent._x - (0.5 * ((_parent._x - (_root.bar._x + 150)) / 2));
}
if (_parent._x >= (_root.bar._x + 150)) {
_parent._x = _parent._x - (0.5 * ((_parent._x - (_root.bar._x + 150)) / 2));
}
if ((_root.bar._y + 35) >= _parent._y) {
_parent._y = _parent._y - (0.5 * ((_parent._y - (_root.bar._y + 35)) / 2));
}
if (_parent._y >= (_root.bar._y + 35)) {
_parent._y = _parent._y - (0.5 * ((_parent._y - (_root.bar._y + 35)) / 2));
}
if (this.hitTest(_root.bar.coinBox)) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.unloadMovie();
_root.coins++;
_root.totalCoins++;
}
}
}
}
Instance of Symbol 563 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
mov = this.attachMovie("teleport_up", "tele" + _root.k, _root.k++);
mov._x = random(30) - 10;
mov._y = -30;
mov._yscale = 50 + random(50);
}
Instance of Symbol 565 MovieClip "center" in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea) && (_root.teleportIs == "active")) {
_root.teleportIs = "not active";
_root.teleport();
_root.darkness2.gotoAndStop("nextLevel");
}
}
Symbol 572 MovieClip Frame 125
_root.death();
Symbol 572 MovieClip Frame 140
_parent.gotoAndStop("idle");
Symbol 573 MovieClip Frame 76
_parent.gotoAndStop("idle");
Symbol 574 MovieClip Frame 1
stop();
Instance of Symbol 571 MovieClip in Symbol 574 MovieClip Frame 3
onClipEvent (load) {
if (_root.attackType == "frypan") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.attackType == "frypan") {
this.play();
this._visible = true;
} else {
this.stop();
this._visible = false;
}
}
Symbol 599 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 626 Button
on (release) {
if (_root.globalStatus == "green") {
_root.globalStatus = "paused";
_root.bar.gotoAndStop("pause");
}
}
Symbol 633 Button
on (release) {
_root.bar.gotoAndStop("normal");
_root.globalStatus = "green";
}
Symbol 661 Button
on (release) {
_root.bar.gotoAndStop("pause");
}
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "LOW";
}
}
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "MEDIUM";
}
}
onClipEvent (enterFrame) {
if (_quality == "MEDIUM") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "HIGH";
}
}
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_quality = "BEST";
}
}
onClipEvent (enterFrame) {
if (_quality == "BEST") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.bg1._visible == false) {
if (this.hitTest(_root.pointer)) {
_root.bg1._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.bg1._visible == true) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.bg1._visible == true) {
if (this.hitTest(_root.pointer)) {
_root.bg1._visible = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.bg1._visible == false) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.debrisIs == "off") {
if (this.hitTest(_root.pointer)) {
_root.debrisIs = "on";
}
}
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "on") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.debrisIs == "on") {
if (this.hitTest(_root.pointer)) {
_root.debrisIs = "off";
}
}
}
onClipEvent (enterFrame) {
if (_root.debrisIs == "off") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.cursorIs == "off") {
if (this.hitTest(_root.pointer)) {
_root.cursorIs = "on";
}
}
}
onClipEvent (enterFrame) {
if (_root.cursorIs == "on") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (mouseDown) {
if (_root.cursorIs == "on") {
if (this.hitTest(_root.pointer)) {
_root.cursorIs = "off";
}
}
}
onClipEvent (enterFrame) {
if (_root.cursorIs == "off") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 0;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 25;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 25) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 50;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 50) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 75;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 75) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 479 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root.pointer)) {
_root.soundChange = 100;
i = new Sound();
i.setVolume(_root.soundChange);
}
}
onClipEvent (enterFrame) {
if (_root.soundChange == 100) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Symbol 675 Button
on (keyPress "1") {
_root.chooseDagger();
_root.attachMovie("swordDraw", "s" + _root.k, _root.k++);
}
on (keyPress "2") {
_root.chooseBow();
_root.attachMovie("swordDraw", "s" + _root.k, _root.k++);
}
on (keyPress "3") {
_root.chooseStaff();
_root.attachMovie("swordDraw", "s" + _root.k, _root.k++);
}
on (keyPress "4") {
_root.chooseSword();
_root.attachMovie("swordDraw", "s" + _root.k, _root.k++);
}
on (keyPress "5") {
_root.chooseFrypan();
_root.attachMovie("swordDraw", "s" + _root.k, _root.k++);
}
Symbol 698 MovieClip Frame 1
stop();
Instance of Symbol 682 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 0.001;
this.maxPoints = 0.001;
this.pointValue = Number(175);
this.message = "Drawbridge opened!";
this.status = "stopped";
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
this.hitPoints = -5;
}
}
if (this.hitPoints <= 0) {
this.status = "open";
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
_root.bottomText = this.message;
_root.bottom();
}
}
if (this.status == "open") {
this.status = "opened";
_parent.play();
}
}
Symbol 698 MovieClip Frame 35
stop();
Instance of Symbol 541 MovieClip "ground2" in Symbol 698 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 698 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 698 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 701 MovieClip "boar" in Symbol 702 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 8;
this.maxPoints = 8;
this.damage = 0.6;
this.pointValue = Number(250);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = (_parent._x + this.body._x) + this._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = ((_parent._x + this.body._x) + this._x) + _parent.boar._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("boar_die", "bd" + _root.k, _root.k++);
mov._x = (_parent._x + this.body._x) + this._x;
mov._y = _parent._y + this.body._y;
mov._xscale = this.body._xscale;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 197 MovieClip "apple" in Symbol 703 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.hobbit)) {
mov = _root.attachMovie("smallAppleCatch", "s" + _root.k, _root.k++);
mov._x = _parent._x;
mov._y = _parent._y;
this.unloadMovie();
_root.health = _root.health + 25;
if (_root.health >= 100) {
_root.health = 100;
}
_root.bottomText = "You have gained health!";
_root.bottom();
}
}
Instance of Symbol 705 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 15;
this.maxPoints = 15;
this.damage = 1;
this.pointValue = Number(300);
this.message = "Wasp hive destroyed";
this.killMessage = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("beehive_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
mov8._x = (_parent._x + random(200)) - 100;
mov8._y = (_parent._y + random(200)) - 100;
mov9 = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mov9._x = (_parent._x + random(200)) - 100;
mov9._y = (_parent._y + random(200)) - 100;
mova = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mova._x = (_parent._x + random(200)) - 100;
mova._y = (_parent._y + random(200)) - 100;
}
} else {
this.stop();
}
}
Instance of Symbol 706 MovieClip "hitArea" in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
counter = Number(0);
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
counter++;
}
if (counter == 300) {
mov7 = _root.attachMovie("wasp_outside", "wasp" + _root.k, _root.k++);
mov7._x = _parent._x;
mov7._y = _parent._y;
counter = 0;
}
}
Instance of Symbol 708 MovieClip "boar" in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 8;
this.maxPoints = 8;
this.damage = 0.6;
this.pointValue = Number(250);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = (_parent._y + this.body._y) + this._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = (_parent._y + this.body._y) + this._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = (_parent._x + this.body._x) + this._x;
mov5._y = (_parent._y + this.body._y) + this._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = ((_parent._x + this.body._x) + this._x) + _parent.boar._x;
mov3._y = (_parent._y + this.body._y) + this._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = (_parent._y + this.body._y) + this._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = (_parent._y + this.body._y) + this._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("boar_die", "bd" + _root.k, _root.k++);
mov._x = (_parent._x + this.body._x) + this._x;
mov._y = (_parent._y + this.body._y) + this._y;
mov._xscale = this.body._xscale;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = (_parent._y + this.body._y) + this._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 563 MovieClip in Symbol 710 MovieClip Frame 1
onClipEvent (enterFrame) {
mov = this.attachMovie("teleport_up", "tele" + _root.k, _root.k++);
mov._x = random(30) - 10;
mov._y = -30;
mov._yscale = 50 + random(50);
}
Instance of Symbol 565 MovieClip "center" in Symbol 710 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea) && (_root.teleportIs == "active")) {
stopAllSounds();
_root.teleportIs = "not active";
_root.teleport();
_root.darkness2.gotoAndStop("nextLevel");
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 720 MovieClip in Symbol 721 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 3;
this.maxPoints = 3;
this.pointValue = Number(-1000);
this.message = "Do not kill penguins!";
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_penguin", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_penguin", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_penguin", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_penguin", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_penguin", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("penguin_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
_root.bottomText = this.message;
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Symbol 722 MovieClip Frame 30
mov = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov2 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov2._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov2._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov2._xscale = -100;
Instance of Symbol 722 MovieClip "inside" in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 6;
this.maxPoints = 6;
this.damage = 0.6;
this.pointValue = Number(300);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_spider2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_spider2", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("spiderb_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 725 MovieClip "boar" in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 8;
this.maxPoints = 8;
this.damage = 0.6;
this.pointValue = Number(250);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = (_parent._x + this.body._x) + this._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = ((_parent._x + this.body._x) + this._x) + _parent.boar._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("boar_die", "bd" + _root.k, _root.k++);
mov._x = (_parent._x + this.body._x) + this._x;
mov._y = _parent._y + this.body._y;
mov._xscale = this.body._xscale;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 727 MovieClip "boar" in Symbol 728 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 8;
this.maxPoints = 8;
this.damage = 0.6;
this.pointValue = Number(250);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = (_parent._x + this.body._x) + this._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = ((_parent._x + this.body._x) + this._x) + _parent.boar._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_boar", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + this.body._x) + this._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("boar_die", "bd" + _root.k, _root.k++);
mov._x = (_parent._x + this.body._x) + this._x;
mov._y = _parent._y + this.body._y;
mov._xscale = this.body._xscale;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = (_parent._x + this.body._x) + this._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 730 MovieClip in Symbol 731 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 50;
this.maxPoints = 50;
this.damage = 1;
this.pointValue = Number(750);
this.message = "Blah";
this.killMessage = true;
this.saveTheX = _parent._x;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_polarBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_polarBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_polarBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_polarBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_polarBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("polarBear_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
if (_parent._xscale == -100) {
mov._xscale = -100;
}
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (((_parent._y - _root.hobbit._y) <= 200) && ((_parent._y - _root.hobbit._y) >= -200)) {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = 100;
}
}
if (_parent._x >= (this.saveTheX + 400)) {
_parent._x = this.saveTheX + 400;
}
if (_parent._x <= (this.saveTheX - 400)) {
_parent._x = this.saveTheX - 400;
}
}
Symbol 733 MovieClip Frame 1
stop();
Instance of Symbol 541 MovieClip "ground2" in Symbol 733 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 682 MovieClip in Symbol 733 MovieClip Frame 1
onClipEvent (load) {
this.message = "Pinwheel turned!";
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
_parent.play();
_root.bottomText = this.message;
_root.bottom();
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
_parent.play();
_root.bottomText = this.message;
_root.bottom();
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
_parent.play();
_root.bottomText = this.message;
_root.bottom();
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
_parent.play();
_root.bottomText = this.message;
_root.bottom();
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
_parent.play();
_root.bottomText = this.message;
_root.bottom();
}
}
}
Instance of Symbol 541 MovieClip "carlie" in Symbol 733 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Symbol 733 MovieClip Frame 40
stop();
Instance of Symbol 541 MovieClip "ground2" in Symbol 733 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "bear" in Symbol 733 MovieClip Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Symbol 733 MovieClip Frame 80
stop();
Instance of Symbol 541 MovieClip "ground2" in Symbol 733 MovieClip Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "johnny" in Symbol 733 MovieClip Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Symbol 733 MovieClip Frame 120
stop();
Instance of Symbol 541 MovieClip "ground2" in Symbol 733 MovieClip Frame 120
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 120
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 120
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "bunny" in Symbol 733 MovieClip Frame 121
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 733 MovieClip Frame 121
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 733 MovieClip Frame 121
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet) && (_parent.thisActive == true)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 736 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
if (_root.globalStatus == "green") {
_root.health = _root.health - 10;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
mov40 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov40._x = _root.hobbit._x;
mov40._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov40._xscale = random(200) - 100;
mov40._alpha = random(100) + 50;
mov50 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov50._x = _root.hobbit._x;
mov50._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov50._xscale = random(200) - 100;
mov50._alpha = random(100) + 50;
mov60 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov60._x = _root.hobbit._x;
mov60._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov60._xscale = random(200) - 100;
mov60._alpha = random(100) + 50;
mov70 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov70._x = _root.hobbit._x;
mov70._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov70._xscale = random(200) - 100;
mov70._alpha = random(100) + 50;
mov80 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov80._x = _root.hobbit._x;
mov80._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov80._xscale = random(200) - 100;
mov80._alpha = random(100) + 50;
mov90 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov90._x = _root.hobbit._x;
mov90._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov90._xscale = random(200) - 100;
mov90._alpha = random(100) + 50;
}
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 743 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 743 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 743 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 745 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 745 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 745 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 736 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
if (_root.globalStatus == "green") {
_root.health = _root.health - 10;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
mov40 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov40._x = _root.hobbit._x;
mov40._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov40._xscale = random(200) - 100;
mov40._alpha = random(100) + 50;
mov50 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov50._x = _root.hobbit._x;
mov50._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov50._xscale = random(200) - 100;
mov50._alpha = random(100) + 50;
mov60 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov60._x = _root.hobbit._x;
mov60._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov60._xscale = random(200) - 100;
mov60._alpha = random(100) + 50;
mov70 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov70._x = _root.hobbit._x;
mov70._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov70._xscale = random(200) - 100;
mov70._alpha = random(100) + 50;
mov80 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov80._x = _root.hobbit._x;
mov80._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov80._xscale = random(200) - 100;
mov80._alpha = random(100) + 50;
mov90 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov90._x = _root.hobbit._x;
mov90._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov90._xscale = random(200) - 100;
mov90._alpha = random(100) + 50;
}
}
}
}
Instance of Symbol 748 MovieClip in Symbol 749 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 90;
this.maxPoints = 90;
this.damage = 1;
this.pointValue = Number(500);
this.message = "Wasp hive destroyed!";
this.killMessage = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("beehive_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
mov8 = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mov8._x = (_parent._x + random(200)) - 100;
mov8._y = (_parent._y + random(200)) - 100;
mov9 = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mov9._x = (_parent._x + random(200)) - 100;
mov9._y = (_parent._y + random(200)) - 100;
mova = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mova._x = (_parent._x + random(200)) - 100;
mova._y = (_parent._y + random(200)) - 100;
}
} else {
this.stop();
}
}
Instance of Symbol 706 MovieClip "hitArea" in Symbol 749 MovieClip Frame 1
onClipEvent (load) {
counter = Number(150);
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
counter++;
}
if (counter == 300) {
mov7 = _root.attachMovie("wasp2_outside", "wasp" + _root.k, _root.k++);
mov7._x = _parent._x;
mov7._y = _parent._y;
counter = 0;
}
}
Symbol 751 MovieClip Frame 30
mov = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov2 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov2._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov2._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov2._xscale = -100;
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = 90;
mov4 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov4._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov4._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov4._rotation = 270;
mov4._xscale = -100;
Instance of Symbol 751 MovieClip "inside" in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 7;
this.maxPoints = 7;
this.damage = 0.7;
this.pointValue = Number(400);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider3", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_spider3", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider3", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider3", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_spider3", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("spiderc_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 754 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 50;
this.maxPoints = 50;
this.damage = 1;
this.pointValue = Number(1000);
this.message = "Blah";
this.killMessage = true;
this.saveTheX = _parent._x;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_brownBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_brownBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_brownBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_brownBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_brownBear", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("brownBear_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
if (_parent._xscale == -100) {
mov._xscale = -100;
}
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (((_parent._y - _root.hobbit._y) <= 200) && ((_parent._y - _root.hobbit._y) >= -200)) {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = 100;
}
}
if (_parent._x >= (this.saveTheX + 400)) {
_parent._x = this.saveTheX + 400;
}
if (_parent._x <= (this.saveTheX - 400)) {
_parent._x = this.saveTheX - 400;
}
}
Instance of Symbol 705 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 15;
this.maxPoints = 15;
this.damage = 1;
this.pointValue = Number(300);
this.message = "Wasp hive destroyed";
this.killMessage = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_beehive", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("crud_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("beehive_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
mov8._x = (_parent._x + random(200)) - 100;
mov8._y = (_parent._y + random(200)) - 100;
mov9 = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mov9._x = (_parent._x + random(200)) - 100;
mov9._y = (_parent._y + random(200)) - 100;
mova = _root.attachMovie("wasp_Outside", "bf" + _root.k, _root.k++);
mova._x = (_parent._x + random(200)) - 100;
mova._y = (_parent._y + random(200)) - 100;
}
} else {
this.stop();
}
}
Instance of Symbol 706 MovieClip "hitArea" in Symbol 756 MovieClip Frame 1
onClipEvent (load) {
counter = Number(150);
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
counter++;
}
if (counter == 300) {
mov7 = _root.attachMovie("wasp_outside", "wasp" + _root.k, _root.k++);
mov7._x = _parent._x;
mov7._y = _parent._y;
counter = 0;
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider5" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider4" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = false;
}
}
Instance of Symbol 541 MovieClip "sider3" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.attackGround = true;
}
if (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea)) {
if (_root.debrisIs == "on") {
mov = _root.attachMovie("fireGround4", "fg" + _root.k, _root.k++);
mov._x = (((_root.hobbit._x + _root.hobbit.hobbit1._x) + _root.hobbit.hobbit1.hobbit9._x) + _root.hobbit.hobbit1.hobbit9.weapon._x) + _root.hobbit.hobbit1.hobbit9.weapon.hitArea._x;
mov._y = _root.hobbit._y + _root.hobbit.feet._y;
}
}
}
Instance of Symbol 541 MovieClip "ground2" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "stopped";
}
}
Instance of Symbol 541 MovieClip "sider1" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 541 MovieClip "sider2" in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.feet)) {
_root.hobbitY = "falling";
}
}
Instance of Symbol 342 MovieClip in Symbol 776 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hobbit.hitArea)) {
_root.attackType = "frypan";
_root.frypanIs = "active";
_root.bottomText = "You found the frypan of DOOM! (hotkey = 5)";
_root.bottom();
_parent.unloadMovie();
}
}
Symbol 778 MovieClip Frame 5
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 10
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 15
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 20
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 25
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 30
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 35
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 40
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 45
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 50
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 55
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Symbol 778 MovieClip Frame 60
mov3 = _root.attachMovie("spiderBAttackA", "s" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + _parent.inside.body._x;
mov3._y = (_parent._y + _parent.inside._y) + _parent.inside.body._y;
mov3._rotation = mov3._rotation + random(360);
Instance of Symbol 778 MovieClip "inside" in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 20;
this.maxPoints = 20;
this.damage = 0.9;
this.pointValue = Number(1100);
this.message = "Blah";
this.killMessage = true;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider4", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.hitTest(_root.arrow1) || (this.hitTest(_root.arrow2))) || (this.hitTest(_root.arrow3))) || (this.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_spider4", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider4", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_spider4", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_spider4", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("spider4_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y + this.body._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
}
Instance of Symbol 780 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 30;
this.maxPoints = 30;
this.damage = 1;
this.pointValue = Number(1250);
this.message = "Blah";
this.killMessage = true;
this.saveTheX = _parent._x;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_orc", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.body.hitTest(_root.arrow1) || (this.body.hitTest(_root.arrow2))) || (this.body.hitTest(_root.arrow3))) || (this.body.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_orc", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.body.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.body.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.body.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.body.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_orc", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_orc", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_orc", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("orc_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y - 40;
if (_parent._xscale == -100) {
mov._xscale = -100;
}
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (((((_parent._y - _root.hobbit._y) <= 200) && ((_parent._y - _root.hobbit._y) >= -200)) && ((_parent._x - _root.hobbit._x) <= 200)) && ((_parent._x - _root.hobbit._x) >= -200)) {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = 100;
}
}
if (_parent._x >= (this.saveTheX + 200)) {
_parent._x = this.saveTheX + 200;
}
if (_parent._x <= (this.saveTheX - 200)) {
_parent._x = this.saveTheX - 200;
}
}
Instance of Symbol 784 MovieClip in Symbol 785 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 40;
this.maxPoints = 40;
this.damage = 1;
this.pointValue = Number(1250);
this.message = "Blah";
this.killMessage = true;
this.saveTheX = _parent._x;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (this.hitTest(_root.hobbit.hitArea)) {
_root.health = _root.health - this.damage;
if (_root.debrisIs == "on") {
mov30 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov30._x = _root.hobbit._x;
mov30._y = _root.hobbit._y - (_root.hobbit._height * 0.5);
mov30._xscale = random(200) - 100;
mov30._alpha = random(100) + 50;
}
}
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_flamedude", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.body.hitTest(_root.arrow1) || (this.body.hitTest(_root.arrow2))) || (this.body.hitTest(_root.arrow3))) || (this.body.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_flamedude", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y + this.body._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = _parent._x + this.body._x;
mov5._y = _parent._y + this.body._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.body.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.body.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.body.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.body.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_flamedude", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y + this.body._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_flamedude", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.body.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_flamedude", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = _parent._x + this.body._x;
mov3._y = _parent._y + this.body._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("flamedude_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x + this.body._x;
mov._y = _parent._y;
if (_parent._xscale == -100) {
mov._xscale = -100;
}
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = _parent._x + this.body._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if (((((_parent._y - _root.hobbit._y) <= 200) && ((_parent._y - _root.hobbit._y) >= -200)) && ((_parent._x - _root.hobbit._x) <= 200)) && ((_parent._x - _root.hobbit._x) >= -200)) {
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = 100;
}
if (_parent._x >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.05 * ((_parent._x - (_root.hobbit._x + _root.hobbit.hitArea._x)) / 2));
_parent._xscale = -100;
}
if ((_root.hobbit._y + _root.hobbit.hitArea._y) >= _parent._y) {
_parent._y = _parent._y - (0.025 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if (_parent._y >= (_root.hobbit._y + _root.hobbit.hitArea._y)) {
_parent._y = _parent._y - (0.025 * ((_parent._y - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) >= _parent._x) {
_parent._xscale = -100;
}
if ((_root.hobbit._x + _root.hobbit.hitArea._x) <= _parent._x) {
_parent._xscale = 100;
}
}
}
Instance of Symbol 28 MovieClip in Symbol 785 MovieClip Frame 1
onClipEvent (load) {
randomness = 0;
counter = 0;
}
onClipEvent (enterFrame) {
if (((((_parent._y - _root.hobbit._y) <= 200) && ((_parent._y - _root.hobbit._y) >= -200)) && ((_parent._x - _root.hobbit._x) <= 200)) && ((_parent._x - _root.hobbit._x) >= -200)) {
counter++;
if (counter == 1) {
counter = 0;
randomness = random(3);
if (randomness == 0) {
mov3 = _root.attachMovie("fire", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + random(50)) - 25;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
if (randomness == 1) {
mov3 = _root.attachMovie("fire2", "bs" + _root.k, _root.k++);
mov3._x = (_parent._x + random(50)) - 25;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
if (randomness == 2) {
mov3._x = (_parent._x + random(50)) - 25;
mov3._x = _parent._x;
mov3._y = _parent._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
mov4 = _root.attachMovie("flamedude_fireUp", "bs" + _root.k, _root.k++);
mov4._x = (_parent._x + random(50)) - 25;
mov4._y = _parent._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
}
}
}
Instance of Symbol 791 MovieClip "inside" in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
this.hitPoints = 1000;
this.maxPoints = 1000;
this.damage = 0.6;
this.pointValue = Number(10000);
this.message = "DRAGON DESTROYED!";
this.killMessage = false;
}
onClipEvent (enterFrame) {
if (_root.globalStatus == "green") {
this.play();
if (((_root.attackIs == "on") && (_root.attackType == "dagger")) && (this.head.hitTest(_root.hobbit.hobbit1.hobbit2.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_dragon", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.daggerDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + this.head._x;
mov3._y = (_parent._y + _parent.inside._y) + this.head._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.attackType == "bow") {
if (((this.head.hitTest(_root.arrow1) || (this.head.hitTest(_root.arrow2))) || (this.head.hitTest(_root.arrow3))) || (this.head.hitTest(_root.arrow4))) {
mov2 = _root.bar.holder.attachMovie("mug_dragon", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.bowDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + this.head._x;
mov3._y = (_parent._y + _parent.inside._y) + this.head._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
mov4 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov4._x = (_parent._x + _parent.inside._x) + this.head._x;
mov4._y = (_parent._y + _parent.inside._y) + this.head._y;
mov4._xscale = random(200) - 100;
mov4._alpha = random(100) + 50;
mov5 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov5._x = (_parent._x + _parent.inside._x) + this.head._x;
mov5._y = (_parent._y + _parent.inside._y) + this.head._y;
mov5._xscale = random(200) - 100;
mov5._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (this.head.hitTest(_root.arrow1)) {
_root.arrow1._x = -1000000;
_root.arrow1._y = -1000000;
_root.arrow1Name = "available";
}
if (this.head.hitTest(_root.arrow2)) {
_root.arrow2._x = -1000000;
_root.arrow2._y = -1000000;
_root.arrow2Name = "available";
}
if (this.head.hitTest(_root.arrow3)) {
_root.arrow3._x = -1000000;
_root.arrow3._y = -1000000;
_root.arrow3Name = "available";
}
if (this.head.hitTest(_root.arrow4)) {
_root.arrow4._x = -1000000;
_root.arrow4._y = -1000000;
_root.arrow4Name = "available";
}
}
if (((_root.attackIs == "on") && (_root.attackType == "staff")) && (this.head.hitTest(_root.hobbit.hobbit1.hobbit5.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_dragon", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.staffDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + this.head._x;
mov3._y = (_parent._y + _parent.inside._y) + this.head._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = (_parent._x + _parent.inside._x) + this.head._x;
_root.marker._y = (_parent._y + _parent.inside._y) + this.head._y;
}
if (((_root.attackIs == "on") && (_root.attackType == "sword")) && (this.head.hitTest(_root.hobbit.hobbit1.hobbit7.weapon))) {
mov2 = _root.bar.holder.attachMovie("mug_dragon", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.swordDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + this.head._x;
mov3._y = (_parent._y + _parent.inside._y) + this.head._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (((_root.attackIs == "on") && (_root.attackType == "frypan")) && (this.head.hitTest(_root.hobbit.hobbit1.hobbit9.weapon.hitArea))) {
mov2 = _root.bar.holder.attachMovie("mug_dragon", "mug" + _root.k, 1);
this.hitPoints = this.hitPoints - _root.frypanDamage;
_root.bar.healthMeter._xscale = (this.hitPoints / this.maxPoints) * 100;
if (_root.debrisIs == "on") {
mov3 = _root.attachMovie("blood_fly", "bf" + _root.k, _root.k++);
mov3._x = (_parent._x + _parent.inside._x) + this.head._x;
mov3._y = (_parent._y + _parent.inside._y) + this.head._y;
mov3._xscale = random(200) - 100;
mov3._alpha = random(100) + 50;
}
_root.marker._x = _parent._x + this.body._x;
_root.marker._y = _parent._y - _parent._height;
}
if (_root.bar.healthMeter._xscale <= 0) {
_root.bar.healthMeter._xscale = 0;
}
if (this.hitPoints <= 0) {
mov = _root.attachMovie("dragon_die", "bd" + _root.k, _root.k++);
mov._x = _parent._x;
mov._y = _parent._y;
_root.score = _root.score + this.pointValue;
mov4 = _root.attachMovie("scorer", "scorer" + _root.k, _root.k++);
mov4._x = (_parent._x + _parent.inside._x) + this.head._x;
mov4._y = _parent._y;
mov4.score = this.pointValue;
if (this.killMessage == true) {
_root.kills++;
_root.bottomText = "Kills: " + _root.kills;
} else {
_root.bottomText = this.message;
}
_root.bottom();
_parent.unloadMovie();
}
} else {
this.stop();
}
if ((100 + (_root.hobbit._x + _root.hobbit.hitArea._x)) >= ((_parent._x + _parent.inside._x) + _parent.inside.head._x)) {
_parent._x = _parent._x - (0.03 * ((_parent._x - ((_root.hobbit._x + _root.hobbit.hitArea._x) + 100)) / 2));
}
if ((100 + ((_parent._x + _parent.inside._x) + _parent.inside.head._x)) >= (_root.hobbit._x + _root.hobbit.hitArea._x)) {
_parent._x = _parent._x - (0.03 * ((((_parent._x + _parent.inside._x) + _parent.inside.head._x) - ((_root.hobbit._x + _root.hobbit.hitArea._x) + 100)) / 2));
}
if ((_root.hobbit._y + _root.hobbit.hitArea._y) >= ((_parent._y + _parent.inside._y) + _parent.inside.head._y)) {
_parent._y = _parent._y - (0.03 * ((((_parent._y + _parent.inside._y) + _parent.inside.head._y) - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
if (((_parent._y + _parent.inside._y) + _parent.inside.head._y) >= (_root.hobbit._y + _root.hobbit.hitArea._y)) {
_parent._y = _parent._y - (0.03 * ((((_parent._y + _parent.inside._y) + _parent.inside.head._y) - (_root.hobbit._y + _root.hobbit.hitArea._y)) / 2));
}
}
Symbol 820 MovieClip Frame 160
stop();
Symbol 833 Button
on (release) {
_root.gscore = _root.score + (_root.lives * 5000);
_root.gname = "hr";
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
gotoAndStop (6999);
}