Frame 1
stop();
Stage.showMenu = false;
Frame 2
stop();
Frame 3
_root.grass_count = 0;
Mouse.hide();
_root.altar_puzzle = random(5) + 1;
if (_root.inhouse == "yes") {
_root.world._x = 146.45;
_root.world._y = 318.95;
_root.link._y = 200;
_root.link._x = 160;
}
stop();
Color.prototype.setBrightness = function (bright) {
var _local5 = 100 - Math.abs(bright);
var _local3 = 0;
if (bright > 0) {
_local3 = 256 * (bright / 100);
}
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = _local5));
_local2.rb = (_local2.gb = (_local2.bb = _local3));
this.setTransform(_local2);
};
Instance of Symbol 286 MovieClip "link" in Frame 3
onClipEvent (load) {
nc = new Color(this);
max_left = _root.world._x;
max_top = _root.world._y;
left_sp = 0;
up_sp = 0;
right_sp = 0;
down_sp = 0;
dir = "down";
attack = "";
freeze = "";
ysp = 0;
xsp = 0;
damage_down = 0;
damage_up = 0;
damage_right = 1;
damage_left = 0;
m = 0;
k = 0;
glow_up = 0;
invincible = 0;
}
onClipEvent (keyUp) {
ch = "";
}
onClipEvent (enterFrame) {
if (this._currentframe != 11) {
if (invincible) {
if (m == 5) {
glow_up = 0;
glow_down = 0;
m = 0;
k = 0;
nc.setBrightness(0);
invincible = 0;
}
}
if (glow_up) {
nc.setBrightness(70);
k++;
if (k > 3) {
m++;
k = 0;
glow_down = 1;
glow_up = 0;
}
}
if (glow_down) {
nc.setBrightness(0);
k++;
if (k > 3) {
k = 0;
glow_up = 1;
glow_down = 0;
}
}
if (damage_up) {
ysp--;
if ((_y < 160) && (_root.world._y <= 318.95)) {
_root.world._y = _root.world._y + ysp;
} else {
_y = (_y - ysp);
}
if (ysp <= 0) {
ysp = 0;
damage_up = 0;
}
}
if (damage_left) {
xsp--;
if (_x < 225) {
_root.world._x = _root.world._x + xsp;
} else {
_x = (_x - xsp);
}
if (xsp <= 0) {
xsp = 0;
damage_left = 0;
}
}
if (damage_down) {
ysp--;
if (_y > 160) {
_root.world._y = _root.world._y - ysp;
} else {
_y = (_y + ysp);
}
if (ysp <= 0) {
ysp = 0;
damage_down = 0;
}
}
if (damage_right) {
xsp--;
if (_x > 225) {
_root.world._x = _root.world._x - xsp;
} else {
_x = (_x + xsp);
}
if (xsp <= 0) {
xsp = 0;
damage_right = 0;
}
}
if (freeze == "") {
if (((Key.isDown(90) && (_root.sword == "yes")) && (_root.mc_info._currentframe == 1)) && (_root.m1_text._visible == false)) {
attack = "yes";
left_sp = 0;
right_sp = 0;
up_sp = 0;
down_sp = 0;
if ((dir == "left") || (dir == "right")) {
this.gotoAndStop(9);
} else if (dir == "up") {
this.gotoAndStop(7);
} else if (dir == "down") {
this.gotoAndStop(8);
}
}
if (attack == "") {
if (dir == "down") {
this.gotoAndStop(6);
} else if (dir == "up") {
this.gotoAndStop(5);
} else if (dir == "left") {
this.gotoAndStop(4);
} else if ((dir == "right") && ((ch != "up") || (ch != "down"))) {
this.gotoAndStop(4);
}
if (Key.isDown(38)) {
ch = "up";
dir = "up";
if (damage_up == 0) {
up_sp = 5;
}
} else if (Key.isDown(40)) {
ch = "down";
dir = "down";
if (damage_down == 0) {
down_sp = 5;
}
}
if (Key.isDown(37)) {
dir = "left";
_xscale = -188;
if (damage_left == 0) {
left_sp = 5;
}
} else if (Key.isDown(39)) {
dir = "right";
_xscale = 188;
if (damage_right == 0) {
right_sp = 5;
}
}
if ((_x < 225) && (_root.world._x <= 146.45)) {
_root.world._x = _root.world._x + left_sp;
} else {
_x = (_x - left_sp);
}
if ((_x > 225) && (_root.world._x >= -670)) {
_root.world._x = _root.world._x - right_sp;
} else {
_x = (_x + right_sp);
}
if (left_sp > 0) {
left_sp = left_sp - 1;
} else if (dir == "left") {
this.gotoAndStop(1);
left_sp = 0;
}
if (right_sp > 0) {
right_sp = right_sp - 1;
} else if ((dir == "right") && (attack == "")) {
this.gotoAndStop(1);
right_sp = 0;
}
if ((_y < 160) && (_root.world._y <= 318.95)) {
_root.world._y = _root.world._y + up_sp;
} else {
_y = (_y - up_sp);
}
if ((_y > 160) && (_root.world._y >= -2020)) {
_root.world._y = _root.world._y - down_sp;
} else {
_y = (_y + down_sp);
}
if (up_sp > 0) {
up_sp = up_sp - 1;
} else if (dir == "up") {
this.gotoAndStop(3);
up_sp = 0;
}
if (down_sp > 0) {
down_sp = down_sp - 1;
} else if (dir == "down") {
this.gotoAndStop(2);
down_sp = 0;
}
if (_root.world.ar.hitTest(getBounds(_root).xMax - 5, _y, true)) {
if (damage_right == 1) {
this._x = this._x - xsp;
} else {
this._x = this._x - 5;
}
}
if (_root.world.ar.hitTest(getBounds(_root).xMin + 5, _y, true)) {
if (damage_left == 1) {
this._x = this._x + xsp;
} else {
this._x = this._x + 5;
}
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMax - 10, true)) {
if (damage_down == 1) {
this._y = this._y - ysp;
} else {
this._y = this._y - 5;
}
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMin + 10, true)) {
if (damage_up == 1) {
this._y = this._y + ysp;
} else {
this._y = this._y + 5;
}
}
}
}
}
if (_root.world.ar.hitTest(getBounds(_root).xMax - 5, _y, true)) {
if ((damage_right == 1) && ((attack == "yes") || (freeze == "yes"))) {
this._x = this._x - xsp;
}
}
if (_root.world.ar.hitTest(getBounds(_root).xMin + 5, _y, true)) {
if ((damage_left == 1) && ((attack == "yes") || (freeze == "yes"))) {
this._x = this._x + xsp;
}
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMax - 10, true)) {
if ((damage_down == 1) && ((attack == "yes") || (freeze == "yes"))) {
this._y = this._y - ysp;
}
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMin + 10, true)) {
if ((damage_up == 1) && ((attack == "yes") || (freeze == "yes"))) {
this._y = this._y + ysp;
}
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 331 MovieClip in Frame 3
onClipEvent (load) {
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpx = _x;
tmpy = _y;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
tmpxsp = xsp;
}
onClipEvent (keyUp) {
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.link._x < 225)) {
}
if (Key.isDown(39) && (_root.link._x > 225)) {
}
_alpha = (_alpha - 0.5);
_rotation = (_rotation - rotx1);
_rotation = (_rotation + rotx2);
_x = (_x + xsp);
_y = (_y - ysp);
if (_x > 480) {
_x = -30;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_y < -30) {
_y = 350;
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
} else if (_alpha <= 0) {
_x = -30;
_y = ((350 * Math.random()) + 10);
_alpha = (100 * Math.random());
xsp = (8 * Math.random()) + 0.5;
ysp = (8 * Math.random()) + 0.5;
rotx1 = random(5) + 2;
rotx2 = random(5) + 2;
tmpxsp = xsp;
}
}
Instance of Symbol 379 MovieClip "m1_text" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 384 MovieClip "m2_text1" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 394 MovieClip "m2_text2" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 401 MovieClip "m3_text1" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 407 MovieClip "m3_text2" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 412 MovieClip "m3_text3" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 425 MovieClip "text4" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 436 MovieClip "text5" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 441 MovieClip "opentext1" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 446 MovieClip "opentext2" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 451 MovieClip "opentext3" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 451 MovieClip "opentext4" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 459 MovieClip "altar_text" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 480 MovieClip "mc_timer" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 485 MovieClip "mc_timer2" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 487 MovieClip "mc_fadein" in Frame 3
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 286 MovieClip "link" in Frame 4
onClipEvent (load) {
this.gotoAndStop(3);
max_left = _root.world._x;
max_top = _root.world._y;
left_sp = 0;
up_sp = 0;
right_sp = 0;
down_sp = 0;
dir = "up";
attack = "";
freeze = "";
}
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.sword == "yes")) {
attack = "yes";
if ((dir == "left") || (dir == "right")) {
this.gotoAndStop(9);
} else if (dir == "up") {
this.gotoAndStop(7);
} else if (dir == "down") {
this.gotoAndStop(8);
}
}
if ((attack == "") && (freeze == "")) {
if (dir == "down") {
this.gotoAndStop(6);
} else if (dir == "up") {
this.gotoAndStop(5);
} else if (dir == "left") {
this.gotoAndStop(4);
} else if (dir == "right") {
this.gotoAndStop(4);
}
if (Key.isDown(38)) {
dir = "up";
up_sp = 5;
} else if (Key.isDown(40)) {
dir = "down";
down_sp = 5;
}
if (Key.isDown(37)) {
dir = "left";
_xscale = -188;
left_sp = 5;
} else if (Key.isDown(39)) {
dir = "right";
_xscale = 188;
right_sp = 5;
}
_x = (_x - left_sp);
_x = (_x + right_sp);
if (left_sp > 0) {
left_sp = left_sp - 1;
} else if (dir == "left") {
this.gotoAndStop(1);
left_sp = 0;
}
if (right_sp > 0) {
right_sp = right_sp - 1;
} else if ((dir == "right") && (attack == "")) {
this.gotoAndStop(1);
right_sp = 0;
}
_y = (_y - up_sp);
_y = (_y + down_sp);
if (up_sp > 0) {
up_sp = up_sp - 1;
} else if (dir == "up") {
this.gotoAndStop(3);
up_sp = 0;
}
if (down_sp > 0) {
down_sp = down_sp - 1;
} else if (dir == "down") {
this.gotoAndStop(2);
down_sp = 0;
}
if (_root.world.ar.hitTest(getBounds(_root).xMax - 5, _y, true)) {
this._x = this._x - 5;
}
if (_root.world.ar.hitTest(getBounds(_root).xMin + 5, _y, true)) {
this._x = this._x + 5;
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMax - 10, true)) {
this._y = this._y - 5;
}
if (_root.world.ar.hitTest(_x, getBounds(_root).yMin + 10, true)) {
this._y = this._y + 5;
}
}
}
Symbol 9 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 18 Button
on (release) {
_root.play();
}
Symbol 19 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local2;
if (_local2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
}
function startMovie() {
_root.play();
}
_root.stop();
stop();
var AUTO_PLAY = false;
var loadingComplete = false;
timerHandler();
Instance of Symbol 10 MovieClip in Symbol 19 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.timerHandler();
}
Symbol 19 MovieClip Frame 2
stop();
Symbol 24 Button
on (release) {
nextFrame();
}
Symbol 27 Button
on (release) {
gotoAndStop (1);
}
Symbol 28 MovieClip Frame 1
stop();
_quality = "high";
Symbol 28 MovieClip Frame 2
_quality = "medium";
Symbol 28 MovieClip Frame 3
_quality = "low";
Symbol 31 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 13
stop();
Symbol 49 MovieClip Frame 14
_root.lbldiamonds = int(_root.lbldiamonds) + 1;
Symbol 52 MovieClip Frame 13
stop();
Symbol 52 MovieClip Frame 14
_root.lbldiamonds = int(_root.lbldiamonds) + 20;
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 49 MovieClip in Symbol 53 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (this._currentframe > 5)) {
this.gotoAndStop(14);
}
}
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (this._currentframe > 5)) {
this.gotoAndStop(14);
}
}
Symbol 54 MovieClip Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 55 MovieClip Frame 7
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
if (((_root.grass_count == 19) && (_root.mc_timer._currentframe < 16)) && (_root.mc_timer._visible == true)) {
_root.world.ar.farmer.timer = false;
_root.mc_timer.gotoAndStop(41);
} else if (_root.world.ar.farmer.timer == true) {
_root.grass_count++;
}
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Symbol 59 MovieClip Frame 1
stop();
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Instance of Symbol 57 MovieClip in Symbol 59 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this.nextFrame();
}
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
_root.gt1 = "yes";
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 64 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or (this.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
this._parent.nextFrame();
}
}
Symbol 75 MovieClip Frame 6
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 15
stop();
Symbol 84 MovieClip Frame 7
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
stop();
_root.link.freeze = "";
Symbol 98 MovieClip Frame 19
_root.link.attack = "";
_root.link.freeze = "";
_root.world.ar.push_obj2.nextFrame();
_root.world.ar.gate2.nextFrame();
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
_root.gt2 = "yes";
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
_root.gt3 = "yes";
Symbol 118 MovieClip Frame 9
stop();
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3)) {
this._parent._parent.gotoAndStop(8);
}
}
Symbol 120 MovieClip Frame 7
stop();
Symbol 120 MovieClip Frame 8
_root.gate5_key = "yes";
Symbol 121 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 9
this._parent.gotoAndStop(1);
Symbol 124 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
_root.gt4 = "yes";
Symbol 128 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
_root.gt5 = "yes";
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_up = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_down = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_right = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_left = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Symbol 138 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip "ball" in Symbol 138 MovieClip Frame 2
onClipEvent (load) {
sp = 10;
}
onClipEvent (enterFrame) {
_y = (_y + sp);
}
Symbol 138 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip "ball" in Symbol 139 MovieClip Frame 2
onClipEvent (load) {
sp = 10;
}
onClipEvent (enterFrame) {
_y = (_y + sp);
}
Symbol 139 MovieClip Frame 3
stop();
Instance of Symbol 40 MovieClip "farmer" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
i = 0;
timer = 0;
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (keyDown) {
}
onClipEvent (enterFrame) {
if (timer) {
i++;
if (i == 20) {
i = 0;
_root.mc_timer.nextFrame();
}
}
if (((Key.isDown(90) && (_root.mc_timer._currentframe == 41)) && (_root.m1_text._currentframe < 70)) && (_root.mc_info._currentframe == 2)) {
_root.link.gotoAndStop(1);
_root.link.freeze = "yes";
_root.mc_info._visible = false;
_root.mc_info.gotoAndStop(1);
_root.m1_text.gotoAndPlay(70);
_root.m1_text._visible = true;
} else if ((Key.isDown(90) && (_root.mc_timer._currentframe == 41)) && (_root.m1_text._currentframe == 101)) {
_root.farm_done = "yes";
_root.m1_text._visible = false;
_root.mc_info.gotoAndStop(1);
_root.mc_timer._visible = false;
_root.mc_timer.gotoAndStop(1);
_root.link.freeze = "";
_root.world.ar.farm_gate.nextFrame();
} else if ((Key.isDown(90) && (_root.mc_info._currentframe == 2)) && (keyup == "yes")) {
this.nextFrame();
_root.link.gotoAndStop(1);
_root.mc_info.gotoAndStop(1);
_root.m1_text._visible = true;
_root.m1_text.play();
_root.link.freeze = "yes";
keyup = "";
} else if (((Key.isDown(90) && (_root.m1_text._currentframe > 3)) && (_root.m1_text._currentframe < 40)) && (keyup == "yes")) {
_root.m1_text.gotoAndStop(40);
keyup = "";
} else if (((Key.isDown(90) && (_root.m1_text._currentframe == 40)) && (keyup == "yes")) && (_root.sword == "yes")) {
_root.world.ar.farmer_grass.play();
_root.snd_timer_start.play();
_root.mc_timer._visible = true;
timer = 1;
_root.m1_text._visible = false;
_root.m1_text.gotoAndStop(1);
keyup = "";
_root.link.freeze = "";
} else if ((Key.isDown(88) && (_root.m1_text._currentframe == 40)) && (keyup == "yes")) {
_root.link.freeze = "";
_root.m1_text._visible = false;
_root.m1_text.gotoAndStop(1);
keyup = "";
this.prevFrame();
} else if (((Key.isDown(90) && (_root.m1_text._currentframe == 40)) && (keyup == "yes")) && (_root.sword == undefined)) {
_root.m1_text.play();
} else if (Key.isDown(90) && (_root.m1_text._currentframe == 69)) {
_root.link.freeze = "";
_root.m1_text._visible = false;
_root.m1_text.gotoAndStop(1);
keyup = "";
this.prevFrame();
}
if (((this.hitTest(_root.link.hit2) && (this._currentframe == 1)) && (_root.farm_done == undefined)) && ((_root.link._currentframe == 1) || (_root.link._currentframe == 4))) {
_root.mc_info.gotoAndStop(2);
} else if (_root.mc_info._currentframe == 2) {
_root.mc_info.gotoAndStop(3);
}
}
Instance of Symbol 63 MovieClip "farm_gate" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if ((Key.isDown(90) && (_root.mc_open1._currentframe == 2)) && (keyup == "yes")) {
_root.opentext1._visible = true;
_root.opentext1.play();
_root.link.gotoAndStop(2);
_root.link.freeze = "yes";
keyup = "";
} else if ((Key.isDown(90) && (_root.opentext1._currentframe == 30)) && (keyup == "yes")) {
_root.opentext1._visible = false;
_root.opentext1.gotoAndStop(1);
_root.link.gotoAndStop(2);
_root.link.freeze = "";
_root.link.attack = "";
keyup = "";
}
if ((this.hitTest(_root.link) && (_root.opentext1._currentframe == 1)) && ((_root.link._currentframe == 6) || (_root.link._currentframe == 2))) {
_root.mc_open1.gotoAndStop(2);
} else if (_root.mc_open1._currentframe == 2) {
_root.mc_open1.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone1" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light1._currentframe == 2)) {
this.nextFrame();
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light1.gotoAndStop(2);
} else if (_root.mc_light1._currentframe == 2) {
_root.mc_light1.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone2" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light2._currentframe == 2)) {
if (_root.world.ar.stone3._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light2.gotoAndStop(2);
} else if (_root.mc_light2._currentframe == 2) {
_root.mc_light2.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone4" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light4._currentframe == 2)) {
if (_root.world.ar.stone5._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light4.gotoAndStop(2);
} else if (_root.mc_light4._currentframe == 2) {
_root.mc_light4.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone3" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light3._currentframe == 2)) {
if (_root.world.ar.stone6._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light3.gotoAndStop(2);
} else if (_root.mc_light3._currentframe == 2) {
_root.mc_light3.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone5" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light5._currentframe == 2)) {
if (_root.world.ar.stone8._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light5.gotoAndStop(2);
} else if (_root.mc_light5._currentframe == 2) {
_root.mc_light5.gotoAndStop(3);
}
}
Instance of Symbol 90 MovieClip "box2" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_info3._currentframe == 2)) {
_root.m2_text1._visible = true;
_root.m2_text1.play();
this.gotoAndStop(3);
_root.link.gotoAndStop(3);
_root.link.freeze = "yes";
_root.mc_info3.gotoAndStop(1);
}
if ((this.hitTest(_root.link) && (this._currentframe == 2)) && ((_root.link._currentframe == 5) || (_root.link._currentframe == 3))) {
_root.mc_info3.gotoAndStop(2);
} else if (_root.mc_info3._currentframe == 2) {
_root.mc_info3.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone6" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light6._currentframe == 2)) {
if (_root.world.ar.stone4._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light6.gotoAndStop(2);
} else if (_root.mc_light6._currentframe == 2) {
_root.mc_light6.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone7" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light7._currentframe == 2)) {
if (_root.world.ar.stone2._currentframe == 2) {
this.nextFrame();
_root.world.stone_key.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light7.gotoAndStop(2);
} else if (_root.mc_light7._currentframe == 2) {
_root.mc_light7.gotoAndStop(3);
}
}
Instance of Symbol 77 MovieClip "stone8" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_light8._currentframe == 2)) {
if (_root.world.ar.stone1._currentframe == 2) {
this.nextFrame();
} else {
var i = 1;
while (i < 9) {
_root.world.ar["stone" + i].gotoAndStop(1);
i++;
}
}
}
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
_root.mc_light8.gotoAndStop(2);
} else if (_root.mc_light8._currentframe == 2) {
_root.mc_light8.gotoAndStop(3);
}
}
Instance of Symbol 93 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_info4._currentframe == 2)) && (_root.m2_text2._currentframe == 1)) && (keyup == "yes")) {
_root.m2_text2._visible = true;
_root.m2_text2.play();
this.nextFrame();
_root.link.gotoAndStop(3);
_root.link.freeze = "yes";
_root.mc_info4.gotoAndStop(1);
keyup = "";
} else if ((Key.isDown(90) && (_root.m2_text2._currentframe == 73)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.m2_text2._visible = false;
_root.m2_text2.gotoAndStop(1);
this.prevFrame();
keyup = "";
}
if (cutscene) {
i++;
if (i == 30) {
_root.sword = "yes";
_root.link.freeze = "";
_root.link.dir = "down";
_root.link.gotoAndStop(2);
cutscene = 0;
}
}
if ((this.hitTest(_root.link) && (this._currentframe == 1)) && ((_root.link._currentframe == 5) || (_root.link._currentframe == 3))) {
_root.mc_info4.gotoAndStop(2);
} else if (_root.mc_info4._currentframe == 2) {
_root.mc_info4.gotoAndStop(3);
}
}
Instance of Symbol 99 MovieClip "push_obj" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_info5._currentframe == 2)) && (this._currentframe == 2)) && (keyup == "yes")) {
this.nextFrame();
_root.link.gotoAndStop(1);
_root.link.freeze = "yes";
_root.mc_info5.gotoAndStop(1);
keyup = "";
}
if (((this.hitTest(_root.link.hit2) && (this._currentframe == 2)) && (_root.link._xscale == 188)) && ((_root.link._currentframe == 1) || (_root.link._currentframe == 4))) {
_root.mc_info5.gotoAndStop(2);
} else if (_root.mc_info5._currentframe == 2) {
_root.mc_info5.gotoAndStop(3);
}
}
Instance of Symbol 107 MovieClip "person2" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
i = 0;
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_info6._currentframe == 2)) && (_root.m3_text1._currentframe == 1)) && (keyup == "yes")) {
_root.m3_text1._visible = true;
_root.m3_text1.play();
this.nextFrame();
_root.link.gotoAndStop(1);
_root.link.freeze = "yes";
_root.mc_info6.gotoAndStop(1);
keyup = "";
} else if ((Key.isDown(90) && (_root.m3_text1._currentframe == 57)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.m3_text1._visible = false;
_root.m3_text1.gotoAndPlay(1);
_root.mc_info6.gotoAndStop(1);
_root.world.ar.mc_point1.nextFrame();
_root.mc_timer2._visible = true;
keyup = "";
counter = 1;
_root.snd_timer_start.play();
} else if ((Key.isDown(88) && (_root.m3_text1._currentframe == 57)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.m3_text1._visible = false;
_root.m3_text1.gotoAndStop(1);
keyup = "";
this.prevFrame();
}
if (counter) {
i++;
if (i == 24) {
i = 0;
_root.mc_timer2.cnt_timer2 = int(_root.mc_timer2.cnt_timer2) + 1;
}
}
if (((this.hitTest(_root.link) && (this._currentframe == 1)) && (_root.link._xscale == 188)) && ((_root.link._currentframe == 1) || (_root.link._currentframe == 4))) {
_root.mc_info6.gotoAndStop(2);
} else if (_root.mc_info6._currentframe == 2) {
_root.mc_info6.gotoAndStop(3);
}
}
Instance of Symbol 108 MovieClip "mc_point1" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link)) {
_root.world.ar.mc_point2.nextFrame();
this.prevFrame();
}
}
Instance of Symbol 108 MovieClip "mc_point2" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.m3_text2._currentframe == 24)) {
_root.world.ar.mc_point1.nextFrame();
_root.link.attack = "";
_root.link.freeze = "";
_root.mc_timer2.cnt_timer2 = 0;
_root.world.ar.person2.i = 0;
_root.world.ar.person2.counter = true;
_root.m3_text2.gotoAndStop(1);
_root.m3_text2._visible = false;
} else if (Key.isDown(90) && (_root.m3_text3._currentframe == 32)) {
_root.world.ar.mc_point1.prevFrame();
_root.link.attack = "";
_root.link.freeze = "";
_root.mc_timer2.cnt_timer2 = 0;
_root.world.ar.person2.i = 0;
_root.m3_text3.gotoAndStop(1);
_root.m3_text3._visible = false;
_root.mc_timer2._visible = false;
_root.world.ar.gate3.nextFrame();
} else if (Key.isDown(88) && (_root.m3_text2._currentframe == 24)) {
_root.world.ar.mc_point1.prevFrame();
_root.link.attack = "";
_root.link.freeze = "";
_root.mc_timer2.cnt_timer2 = 0;
_root.mc_timer2._visible = false;
_root.m3_text2.gotoAndStop(1);
_root.m3_text2._visible = false;
_root.world.ar.person2.prevFrame();
}
if (this.hitTest(_root.link)) {
_root.world.ar.person2.counter = false;
if (_root.mc_timer2.cnt_timer2 < 29) {
_root.link.freeze = "yes";
_root.link.gotoAndStop(1);
_root.link._xscale = 188;
_root.m3_text3._visible = true;
_root.mc_timer2.nextFrame();
_root.m3_text3.play();
} else {
_root.link.freeze = "yes";
_root.link.gotoAndStop(1);
_root.link._xscale = 188;
_root.m3_text2._visible = true;
_root.m3_text2.play();
}
this.prevFrame();
}
}
Instance of Symbol 113 MovieClip "gate3" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if ((Key.isDown(90) && (_root.mc_open2._currentframe == 2)) && (keyup == "yes")) {
_root.opentext2._visible = true;
_root.opentext2.play();
_root.link.gotoAndStop(2);
_root.link.freeze = "yes";
keyup = "";
} else if ((Key.isDown(90) && (_root.opentext2._currentframe == 36)) && (keyup == "yes")) {
_root.opentext2._visible = false;
_root.opentext2.gotoAndStop(1);
_root.link.gotoAndStop(2);
_root.link.freeze = "";
_root.link.attack = "";
keyup = "";
}
if ((this.hitTest(_root.link) && (_root.opentext2._currentframe == 1)) && ((_root.link._currentframe == 6) || (_root.link._currentframe == 2))) {
_root.mc_open2.gotoAndStop(2);
} else if (_root.mc_open2._currentframe == 2) {
_root.mc_open2.gotoAndStop(3);
}
}
Instance of Symbol 124 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
j = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_root.link.atk_lr.hit) or this.hitTest(_root.link.atk_down.hit)) or this.hitTest(_root.link.atk_up.hit)) && (this.re._currentframe == 1)) && (this._currentframe == 1)) {
j++;
if (j == 5) {
this.re.nextFrame();
} else {
this.nextFrame();
}
}
}
Instance of Symbol 126 MovieClip "person3" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_info7._currentframe == 2)) && (_root.text4._currentframe == 1)) && (keyup == "yes")) {
_root.text4._visible = true;
_root.text4.play();
this.nextFrame();
_root.link.gotoAndStop(1);
_root.link.freeze = "yes";
_root.mc_info7.gotoAndStop(1);
keyup = "";
} else if (((Key.isDown(90) && (_root.text4._currentframe == 34)) && (keyup == "yes")) && (_root.lbldiamonds >= 250)) {
_root.text4.gotoAndPlay(69);
_root.lbldiamonds = int(_root.lbldiamonds) - 250;
_root.g_key = "yes";
keyup = "";
} else if (((Key.isDown(90) && (_root.text4._currentframe == 34)) && (keyup == "yes")) && (_root.lbldiamonds < 250)) {
_root.text4.gotoAndPlay(35);
keyup = "";
} else if ((Key.isDown(90) && (_root.text4._currentframe == 68)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.text4._visible = false;
_root.text4.gotoAndStop(1);
keyup = "";
this.prevFrame();
} else if ((Key.isDown(90) && (_root.text4._currentframe == 102)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.text4._visible = false;
_root.text4.gotoAndStop(1);
keyup = "";
} else if ((Key.isDown(88) && (_root.text4._currentframe == 34)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.text4._visible = false;
_root.text4.gotoAndStop(1);
keyup = "";
this.prevFrame();
}
if (((this.hitTest(_root.link) && (this._currentframe == 1)) && (_root.link._xscale == 188)) && ((_root.link._currentframe == 1) || (_root.link._currentframe == 4))) {
_root.mc_info7.gotoAndStop(2);
} else if (_root.mc_info7._currentframe == 2) {
_root.mc_info7.gotoAndStop(3);
}
}
Instance of Symbol 127 MovieClip "gate4" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_open3._currentframe == 2)) && (keyup == "yes")) && (_root.gate4_key == undefined)) {
_root.opentext3._visible = true;
_root.opentext3.play();
_root.link.gotoAndStop(2);
_root.link.freeze = "yes";
keyup = "";
} else if (((Key.isDown(90) && (_root.mc_open3._currentframe == 2)) && (keyup == "yes")) && (_root.gate4_key == "yes")) {
_root.world.ar.gate4.nextFrame();
} else if ((Key.isDown(90) && (_root.opentext3._currentframe == 33)) && (keyup == "yes")) {
_root.opentext3._visible = false;
_root.opentext3.gotoAndStop(1);
_root.link.gotoAndStop(2);
_root.link.freeze = "";
_root.link.attack = "";
keyup = "";
}
if ((this.hitTest(_root.link) && (_root.opentext3._currentframe == 1)) && ((_root.link._currentframe == 6) || (_root.link._currentframe == 2))) {
_root.mc_open3.gotoAndStop(2);
} else if (_root.mc_open3._currentframe == 2) {
_root.mc_open3.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip "box3" in Symbol 140 MovieClip Frame 1
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_info8._currentframe == 2)) && (_root.g_key == undefined)) && (keyup == "yes")) {
_root.text5._visible = true;
_root.text5.play();
_root.link.gotoAndStop(3);
_root.link.freeze = "yes";
_root.mc_info8.gotoAndStop(1);
keyup = "";
} else if ((Key.isDown(90) && (_root.text5._currentframe == 30)) && (keyup == "yes")) {
_root.text5._visible = false;
_root.text5.gotoAndStop(1);
_root.link.freeze = "";
_root.link.attack = "";
_root.mc_info8.gotoAndStop(1);
keyup = "";
} else if (((Key.isDown(90) && (_root.mc_info8._currentframe == 2)) && (_root.g_key == "yes")) && (keyup == "yes")) {
_root.text5._visible = true;
_root.text5.gotoAndPlay(31);
_root.lbldiamonds = int(_root.lbldiamonds) + 1000;
this.gotoAndStop(2);
_root.link.gotoAndStop(3);
_root.link.freeze = "yes";
_root.mc_info8.gotoAndStop(1);
keyup = "";
}
if (((this.hitTest(_root.link) && (this._currentframe == 1)) && (_root.text5._visible == false)) && ((_root.link._currentframe == 5) || (_root.link._currentframe == 3))) {
_root.mc_info8.gotoAndStop(2);
} else if (_root.mc_info8._currentframe == 2) {
_root.mc_info8.gotoAndStop(3);
}
}
Instance of Symbol 129 MovieClip "gate5" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.mc_open4._currentframe == 2)) && (keyup == "yes")) && (_root.gate5_key == undefined)) {
_root.opentext4._visible = true;
_root.opentext4.play();
_root.link.gotoAndStop(2);
_root.link.freeze = "yes";
keyup = "";
} else if (((Key.isDown(90) && (_root.mc_open4._currentframe == 2)) && (keyup == "yes")) && (_root.gate5_key == "yes")) {
_root.world.ar.gate5.nextFrame();
} else if ((Key.isDown(90) && (_root.opentext4._currentframe == 33)) && (keyup == "yes")) {
_root.opentext4._visible = false;
_root.opentext4.gotoAndStop(1);
_root.link.gotoAndStop(2);
_root.link.freeze = "";
_root.link.attack = "";
keyup = "";
}
if ((this.hitTest(_root.link) && (_root.opentext4._currentframe == 1)) && ((_root.link._currentframe == 6) || (_root.link._currentframe == 2))) {
_root.mc_open4.gotoAndStop(2);
} else if (_root.mc_open4._currentframe == 2) {
_root.mc_open4.gotoAndStop(3);
}
}
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
i = 24;
j = 0;
}
onClipEvent (enterFrame) {
j++;
if (j == i) {
this.play();
}
if (this.bound.hitTest(this.ball)) {
this.gotoAndStop(1);
i = 10;
j = 0;
}
}
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
i = 10;
j = 0;
}
onClipEvent (enterFrame) {
j++;
if (j == i) {
this.play();
}
if (this.bound.hitTest(this.ball)) {
this.gotoAndStop(1);
j = 0;
}
}
Instance of Symbol 139 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
i = 10;
j = 0;
}
onClipEvent (enterFrame) {
j++;
if (j == i) {
this.play();
}
if (this.bound.hitTest(this.ball)) {
this.gotoAndStop(1);
j = 0;
}
}
Instance of Symbol 93 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
keyup = "";
}
onClipEvent (keyUp) {
keyup = "yes";
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.altar_info._currentframe == 2)) && (_root.altar_text._currentframe == 1)) && (keyup == "yes")) {
_root.altar_text._visible = true;
_root.altar_text.play();
this.nextFrame();
_root.link.gotoAndStop(3);
_root.link.freeze = "yes";
_root.altar_info.gotoAndStop(1);
keyup = "";
} else if ((Key.isDown(90) && (_root.altar_text._currentframe == 57)) && (keyup == "yes")) {
_root.link.attack = "";
_root.link.freeze = "";
_root.altar_text._visible = false;
_root.altar_text.gotoAndStop(1);
this.prevFrame();
keyup = "";
}
if ((this.hitTest(_root.link) && (this._currentframe == 1)) && ((_root.link._currentframe == 5) || (_root.link._currentframe == 3))) {
_root.altar_info.gotoAndStop(2);
} else if (_root.altar_info._currentframe == 2) {
_root.altar_info.gotoAndStop(3);
}
}
Symbol 166 MovieClip Frame 20
this._parent.gotoAndStop(4);
Symbol 168 MovieClip Frame 22
stop();
Symbol 171 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip in Symbol 171 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (this._currentframe > 15)) {
if (_root.mc_health.bar._width < 55) {
_root.mc_health.bar._width = _root.mc_health.bar._width + 15;
} else {
_root.mc_health.bar._width = 69;
}
this._parent.gotoAndStop(5);
}
}
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 134 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_up = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_down = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_right = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_left = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Symbol 175 MovieClip Frame 3
sp = 0;
Instance of Symbol 171 MovieClip in Symbol 175 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(5) + 1);
}
Instance of Symbol 175 MovieClip "en" in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
sp = 5;
goup = 1;
}
onClipEvent (enterFrame) {
if (((this.nw.hitTest(_root.b_top) or this.nw.hitTest(_root.b_down)) or this.nw.hitTest(_root.b_left)) or this.nw.hitTest(_root.b_right)) {
this.gotoAndStop(1);
sp = 5;
goup = 1;
}
if ((this.en.hitTest(_root.link.atk_lr.hit) or this.en.hitTest(_root.link.atk_down.hit)) or (this.en.hitTest(_root.link.atk_up.hit) && ((this._currentframe == 1) || (this._currentframe == 2)))) {
goup = 0;
godown = 0;
this.gotoAndStop(3);
}
if (goup) {
this.gotoAndStop(2);
_y = (_y - sp);
}
if (godown) {
this.gotoAndStop(1);
_y = (_y + sp);
}
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en) && (this._parent.en._currentframe < 3)) {
this._parent.en.goup = false;
this._parent.en.godown = true;
}
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en) && (this._parent.en._currentframe < 3)) {
this._parent.en.godown = false;
this._parent.en.goup = true;
}
}
Symbol 186 MovieClip Frame 10
this._parent.gotoAndStop(1);
Symbol 188 MovieClip Frame 1
stop();
sp = 5;
Instance of Symbol 134 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_up = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_down = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_right = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) && (_root.link.freeze == "")) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_left = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Symbol 188 MovieClip Frame 3
sp = 0;
Instance of Symbol 171 MovieClip in Symbol 188 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(5) + 1);
}
Instance of Symbol 188 MovieClip "en" in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
tmpxscale = this.en._xscale;
sp = 5;
goleft = 1;
j = 0;
}
onClipEvent (enterFrame) {
if (((this.nw.hitTest(_root.b_top) or this.nw.hitTest(_root.b_down)) or this.nw.hitTest(_root.b_left)) or this.nw.hitTest(_root.b_right)) {
this.gotoAndStop(1);
j = 0;
}
if ((this.en.hitTest(_root.link.atk_lr.hit) or this.en.hitTest(_root.link.atk_down.hit)) or (this.en.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
if (j == 2) {
sp = 0;
j = 0;
this.gotoAndStop(3);
} else {
sp = 0;
this.gotoAndStop(2);
}
j++;
}
if (goleft) {
this.en._xscale = tmpxscale;
_x = (_x - sp);
if (this.hitTest(b_left)) {
goleft = 0;
goright = 1;
}
}
if (goright) {
this.en._xscale = -tmpxscale;
_x = (_x + sp);
if (this.hitTest(b_right)) {
goright = 0;
goleft = 1;
}
}
}
Instance of Symbol 176 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en)) {
this._parent.en.goleft = false;
this._parent.en.goright = true;
}
}
Instance of Symbol 176 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en)) {
this._parent.en.goright = false;
this._parent.en.goleft = true;
}
}
Instance of Symbol 188 MovieClip "en" in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
tmpxscale = this.en._xscale;
sp = 5;
goleft = 1;
j = 0;
}
onClipEvent (enterFrame) {
if (((this.nw.hitTest(_root.b_top) or this.nw.hitTest(_root.b_down)) or this.nw.hitTest(_root.b_left)) or this.nw.hitTest(_root.b_right)) {
this.gotoAndStop(1);
j = 0;
}
if ((this.en.hitTest(_root.link.atk_lr.hit) or this.en.hitTest(_root.link.atk_down.hit)) or (this.en.hitTest(_root.link.atk_up.hit) && (this._currentframe == 1))) {
if (j == 2) {
sp = 0;
j = 0;
this.gotoAndStop(3);
} else {
sp = 0;
this.gotoAndStop(2);
}
j++;
}
if (goleft) {
this.en._xscale = tmpxscale;
_x = (_x - sp);
if (this.hitTest(b_left)) {
goleft = 0;
goright = 1;
}
}
if (goright) {
this.en._xscale = -tmpxscale;
_x = (_x + sp);
if (this.hitTest(b_right)) {
goright = 0;
goleft = 1;
}
}
}
Instance of Symbol 176 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en)) {
this._parent.en.goleft = false;
this._parent.en.goright = true;
}
}
Instance of Symbol 176 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en)) {
this._parent.en.goright = false;
this._parent.en.goleft = true;
}
}
Instance of Symbol 175 MovieClip "en" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
sp = 3;
goup = 1;
}
onClipEvent (enterFrame) {
if (((this.nw.hitTest(_root.b_top) or this.nw.hitTest(_root.b_down)) or this.nw.hitTest(_root.b_left)) or this.nw.hitTest(_root.b_right)) {
this.gotoAndStop(1);
sp = 3;
goup = 1;
}
if ((this.en.hitTest(_root.link.atk_lr.hit) or this.en.hitTest(_root.link.atk_down.hit)) or (this.en.hitTest(_root.link.atk_up.hit) && ((this._currentframe == 1) || (this._currentframe == 2)))) {
sp = 0;
goup = 0;
godown = 0;
this.gotoAndStop(3);
}
if (goup) {
this.gotoAndStop(2);
_y = (_y - sp);
}
if (godown) {
this.gotoAndStop(1);
_y = (_y + sp);
}
}
Instance of Symbol 176 MovieClip in Symbol 191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en) && (this._parent.en._currentframe < 3)) {
this._parent.en.goup = false;
this._parent.en.godown = true;
}
}
Instance of Symbol 176 MovieClip in Symbol 191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.en) && (this._parent.en._currentframe < 3)) {
this._parent.en.godown = false;
this._parent.en.goup = true;
}
}
Symbol 193 MovieClip Frame 9
stop();
Instance of Symbol 117 MovieClip in Symbol 193 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3)) {
this._parent._parent.gotoAndStop(3);
}
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 3
stop();
_root.gate4_key = "yes";
Instance of Symbol 134 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_up = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
ysp = 12;
damage_down = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_right = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 134 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit3) && (_root.link.invincible == false)) {
if (_root.mc_health.bar._width > 10) {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = _root.mc_health.bar._width - 10;
with (_root.link) {
xsp = 12;
damage_left = true;
invincible = true;
glow_up = true;
}
} else {
_root.link_hurt.gotoAndPlay(2);
_root.mc_health.bar._width = 0;
_root.link.gotoAndStop(11);
}
}
}
Instance of Symbol 36 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
i = 0;
j = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (this._currentframe == 1)) {
i++;
if (i == 24) {
j++;
i = 0;
if (j == 5) {
_root.world.ar.box2.nextFrame();
this.nextFrame();
}
}
}
}
Instance of Symbol 141 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link.hit) && (_root.link._currentframe == 5)) && (_root.sword == undefined)) {
_root.mc_fade.play();
_root.link.freeze = "yes";
}
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 181 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(89) + 1);
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit4)) {
_root.link.freeze = "yes";
_root.link.gotoAndStop(12);
_root.mc_gend.play();
}
}
Symbol 253 MovieClip Frame 8
_root.link.attack = "";
this._parent.gotoAndStop(5);
Symbol 260 MovieClip Frame 7
_root.link.attack = "";
this._parent.gotoAndStop(6);
Symbol 267 MovieClip Frame 7
_root.link.attack = "";
this._parent.gotoAndStop(1);
Symbol 282 MovieClip Frame 11
stop();
_root.mc_gover.play();
Symbol 285 MovieClip Frame 5
stop();
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 11
stopAllSounds();
Symbol 286 MovieClip Frame 12
stopAllSounds();
Symbol 289 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 6
stop();
Symbol 294 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 295 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 6
stop();
Symbol 303 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 304 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 6
stop();
Symbol 308 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 309 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 6
stop();
Symbol 312 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 313 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 6
stop();
Symbol 315 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 316 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 6
stop();
Symbol 319 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 320 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 6
stop();
Symbol 322 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 323 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 1
stop();
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(5) + 1);
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 11
_root.mc_fadein.gotoAndPlay(1);
_root.gotoAndStop(4);
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 40
stop();
Symbol 379 MovieClip Frame 69
stop();
Symbol 379 MovieClip Frame 101
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 117
_root.link.freeze = "";
_root.link.attack = "";
_root.world.ar.push_obj.nextFrame();
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 73
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 57
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 24
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 32
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 34
stop();
Symbol 425 MovieClip Frame 68
stop();
Symbol 425 MovieClip Frame 102
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 30
stop();
Symbol 436 MovieClip Frame 160
_root.link.freeze = "";
_root.link.attack = "";
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 30
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 36
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 33
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 57
stop();
Symbol 479 MovieClip Frame 40
stop();
Symbol 480 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 16
_root.world.ar.farmer.timer = false;
play();
Symbol 480 MovieClip Frame 40
_root.mc_timer._visible = false;
_root.world.ar.farmer.i = 0;
_root.world.ar.farmer.prevFrame();
_root.grass_count = 0;
_root.mc_timer.gotoAndStop(1);
Symbol 480 MovieClip Frame 41
_root.world.ar.farmer.gotoAndStop(1);
Symbol 482 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 10
stop();
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 20
_root.gotoAndStop(5);
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 20
_root.gotoAndStop(6);
Symbol 493 MovieClip Frame 1
stop();
Instance of Symbol 493 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (load) {
if (_root.sword == "yes") {
this.nextFrame();
}
i = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.mc_info._currentframe == 2)) {
this.nextFrame();
_root.link.gotoAndStop(10);
_root.link.freeze = "yes";
cutscene = 1;
}
if (cutscene) {
i++;
if (i == 30) {
_root.sword = "yes";
_root.link.freeze = "";
_root.link.dir = "down";
_root.link.gotoAndStop(2);
cutscene = 0;
}
}
if ((this.hitTest(_root.link.hit) && (this._currentframe == 1)) && ((_root.link._currentframe == 5) || (_root.link._currentframe == 3))) {
_root.mc_info.gotoAndStop(2);
} else if (_root.mc_info._currentframe == 2) {
_root.mc_info.gotoAndStop(3);
}
}
Instance of Symbol 141 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit) && (_root.link._currentframe == 6)) {
_root.mc_fade.play();
_root.link.freeze = "yes";
}
}
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 11
_root.mc_fadein.gotoAndPlay(1);
_root.inhouse = "yes";
_root.gotoAndStop(3);
Symbol 504 Button
on (release) {
_root.sword = undefined;
_root.inhouse = undefined;
_root.farm_done = undefined;
_root.g_key = undefined;
_root.gate4_key = undefined;
_root.gate5_key = undefined;
_root.lbldiamonds = 0;
_root.gotoAndStop(2);
}
Symbol 505 MovieClip Frame 50
stop();
Mouse.show();
Symbol 507 MovieClip Frame 40
stop();
Mouse.show();