Frame 1
function deadClick() {
}
function max() {
getURL ("http://www.andkon.com/arcade/");
}
function ng() {
getURL ("http://www.newgrounds.com");
}
function quality_low() {
_quality = "low";
}
function quality_med() {
_quality = "medium";
}
function quality_high() {
_quality = "high";
}
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
loader.gotoAndStop(percentbytes);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var qualitylow = new ContextMenuItem("Low Quality", quality_low);
var qualitymed = new ContextMenuItem("Medium Quality", quality_med);
var qualityhigh = new ContextMenuItem("High Quality", quality_high);
var copyrightNotice = new ContextMenuItem("\u00A9 2008 HapPie", deadClick);
var armorgames = new ContextMenuItem("More games at ANDKON.COM/ARCADE", max);
var newgrounds = new ContextMenuItem("More stuff at NEWGROUNDS.COM", ng);
copyrightNotice.separatorBefore = true;
armorgames.separatorBefore = true;
newgrounds.separatorBefore = true;
commit.separatorBefore = true;
myMenu.customItems.push(qualityhigh, qualitymed, qualitylow, commit, copyrightNotice, newgrounds);
_root.menu = myMenu;
score = 0;
function SpawnEnemy() {
duplicateMovieClip (_root.Ene, "Ene" + i, i);
attachMovie("Loader_enemy", "Ene" + i, i);
Dod = _root["Ene" + (i / 10)];
Dod._y = SpawnPointY;
Dod._x = SpawnPointX;
Dod._x = Math.random() * Stage.width;
Dod._y = Math.random() * Stage.height;
i++;
}
var i = 0;
var SpawnPointY = 300;
var SpawnPointX = 450;
onEnterFrame = function () {
SpawnEnemy();
};
Instance of Symbol 55 MovieClip "player" in Frame 1
onClipEvent (load) {
var grav = 0;
var run = 5;
var wlk = 0;
var speed = run;
var jumpHeight = 8;
var dbl = 6;
var tri = 6;
var djump = false;
var tjump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
this.gotoAndStop(3);
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(8);
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(68))) && (_root.ground.hitTest(_x, _y + 3, true))) && (_currentframe != 6)) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Frame 2
if (loadedbytes == totalbytes) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 635
function deadClick() {
}
function max() {
getURL ("http://www.andkon.com/arcade/");
}
function ng() {
getURL ("http://www.newgrounds.com");
}
function quality_low() {
_quality = "low";
}
function suicide() {
gotoAndStop (9460);
}
function quality_med() {
_quality = "medium";
}
function quality_high() {
_quality = "high";
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var qualitylow = new ContextMenuItem("Low Quality", quality_low);
var qualitymed = new ContextMenuItem("Medium Quality", quality_med);
var qualityhigh = new ContextMenuItem("High Quality", quality_high);
var commit = new ContextMenuItem("Commit suicide", suicide);
var copyrightNotice = new ContextMenuItem("\u00A9 2008 HapPie", deadClick);
var armorgames = new ContextMenuItem("More games at ANDKON.COM/ARCADE", max);
var newgrounds = new ContextMenuItem("More stuff at NEWGROUNDS.COM", ng);
copyrightNotice.separatorBefore = true;
armorgames.separatorBefore = true;
newgrounds.separatorBefore = true;
commit.separatorBefore = true;
myMenu.customItems.push(qualityhigh, qualitymed, qualitylow, commit, copyrightNotice, newgrounds);
_root.menu = myMenu;
health = 100;
stop();
Instance of Symbol 202 MovieClip "player" in Frame 635
onClipEvent (load) {
var grav = 2;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (_root.health <= 0) {
_root.gotoAndPlay("D");
}
_root.player;
if (hitTest(_root.enemy)) {
_root.health = _root.health - 40;
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall3)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall4)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 635
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Instance of Symbol 220 MovieClip in Frame 635
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 223 MovieClip in Frame 635
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 685
stop();
Frame 686
stop();
health = 100;
Instance of Symbol 324 MovieClip in Frame 686
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damage = 75;
}
onClipEvent (enterFrame) {
distance = 100;
dis2 = 35;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damage;
this.gotoAndStop(3);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 686
onClipEvent (load) {
var grav = 2;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.enemy)) {
_root.health = _root.health - 40;
this.gotoAndStop(4);
}
if (_root.health <= 0) {
_root.gotoAndPlay("D1");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall3)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall4)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 686
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + (((_root.player._x - _x) / 6) - 20));
}
Frame 736
stop();
Frame 737
play();
health = 100;
Instance of Symbol 202 MovieClip "player" in Frame 737
onClipEvent (load) {
var grav = 2;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.enemy)) {
_root.health = _root.health - 40;
this.gotoAndStop(4);
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
if (_root.health <= 0) {
_root.gotoAndPlay("D2");
}
}
Instance of Symbol 209 MovieClip in Frame 737
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Instance of Symbol 417 MovieClip in Frame 834
onClipEvent (load) {
speed = 0;
movespeed = 1;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 100);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 417 MovieClip in Frame 834
onClipEvent (load) {
speed = 0;
movespeed = 1;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 100);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Frame 836
stop();
Frame 1061
stop();
Frame 1062
play();
health = 100;
Instance of Symbol 202 MovieClip "player" in Frame 1062
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D3");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 417 MovieClip in Frame 1062
onClipEvent (load) {
speed = 0;
movespeed = 3.5;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 100);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 25, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.1;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.1;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 625 MovieClip in Frame 1062
onClipEvent (load) {
espeed = 20;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 20;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1062
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1062
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 180;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 209 MovieClip in Frame 1062
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1064
stop();
Instance of Symbol 417 MovieClip in Frame 1064
onClipEvent (load) {
speed = 0;
movespeed = 3;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 100);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 25, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.1;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.1;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 626 MovieClip in Frame 1064
onClipEvent (load) {
espeed = 3;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Frame 1114
stop();
Frame 1115
play();
stop();
health = 100;
Instance of Symbol 202 MovieClip "player" in Frame 1115
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D4");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 626 MovieClip in Frame 1115
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 417 MovieClip in Frame 1115
onClipEvent (load) {
speed = 0;
movespeed = 1;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 100);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 35, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 743 MovieClip in Frame 1115
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 743 MovieClip in Frame 1115
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 209 MovieClip in Frame 1115
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1167
stop();
Frame 1168
play();
stop();
health = 100;
Instance of Symbol 787 MovieClip "player" in Frame 1168
onClipEvent (load) {
var grav = 30;
var speed = 25;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D5");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.gotoAndPlay("D5");
}
}
Instance of Symbol 814 MovieClip "notplayer" in Frame 1168
onClipEvent (load) {
espeed = 5;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
_root.notplayer;
if (hitTest(_root.door)) {
_root.gotoAndPlay("next");
}
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
if (tx > sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1168
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.notplayer._x;
sy = _root.notplayer._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 743 MovieClip in Frame 1168
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.notplayer._x;
sy = _root.notplayer._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 209 MovieClip in Frame 1168
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1169
stop();
Frame 1219
stop();
Frame 1227
play();
stop();
health = 100;
Instance of Symbol 787 MovieClip "player" in Frame 1227
onClipEvent (load) {
var grav = 30;
var speed = 25;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D55");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.gotoAndPlay("D55");
}
}
Instance of Symbol 814 MovieClip "notplayer" in Frame 1227
onClipEvent (load) {
espeed = 5;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 250;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
_root.notplayer;
if (hitTest(_root.door)) {
_root.gotoAndPlay("next2");
}
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
if (tx > sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1227
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.notplayer._x;
sy = _root.notplayer._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1227
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.notplayer._x;
sy = _root.notplayer._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1227
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.notplayer._x;
sy = _root.notplayer._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 209 MovieClip in Frame 1227
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1278
stop();
Frame 1286
play();
stop();
health = 100;
k = Math.round(Math.random());
Instance of Symbol 879 MovieClip in Frame 1286
onClipEvent (load) {
if (_root.k == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 887 MovieClip in Frame 1286
onClipEvent (load) {
if (_root.k == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1286
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D5");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 1286
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1338
stop();
Frame 1339
play();
stop();
health = 100;
Instance of Symbol 1002 MovieClip "player" in Frame 1339
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D7");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 400;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 600;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1339
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 600;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1007 MovieClip in Frame 1339
onClipEvent (load) {
speed = 0;
movespeed = 0.5;
damagenumber = 10;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 1000);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 35, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 1007 MovieClip in Frame 1339
onClipEvent (load) {
speed = 0;
movespeed = 1;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 1000);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 35, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 1011 MovieClip in Frame 1339
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1391
stop();
Frame 1392
play();
health = 100;
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 800;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1392
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1392
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D8");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 1030 MovieClip "player" in Frame 1392
onClipEvent (enterFrame) {
_y = (_y + (_root.player._y - _y));
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1011 MovieClip in Frame 1392
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1399
stop();
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 600;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1399
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground2.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground2.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground2.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Frame 1449
stop();
Frame 1450
play();
health = 100;
stop();
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 300;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1007 MovieClip in Frame 1450
onClipEvent (load) {
speed = 0;
movespeed = 1;
damagenumber = 20;
grav = 0;
dead = false;
scale = _xscale;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_y = (_y + grav);
grav++;
if (dead == true) {
this.gotoAndStop(3);
_y = (_y + 1000);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 35, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
if (_root.player._x > _x) {
speed = speed + 0.2;
_x = (_x + movespeed);
_xscale = scale;
}
if (_root.player._x < _x) {
speed = speed - 0.2;
_x = (_x - movespeed);
_xscale = (-scale);
}
if (_root.player.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.health = _root.health - damagenumber;
} else {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player.att1)) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player.att2)) {
this.gotoAndStop(3);
dead = true;
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1005 MovieClip in Frame 1450
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 500;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(4);
_y = (_y + 1000);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1450
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D85");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 1030 MovieClip "player" in Frame 1450
onClipEvent (enterFrame) {
_y = (_y + (_root.player._y - _y));
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1011 MovieClip in Frame 1450
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Instance of Symbol 202 MovieClip "player" in Frame 1453
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D8.5");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.trap)) {
_root.gotoAndStop("Trap");
}
}
Frame 1502
stop();
Frame 1503
play();
stop();
health = 100;
Instance of Symbol 626 MovieClip in Frame 1503
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1503
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D11");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 1503
onClipEvent (enterFrame) {
_y = (_y + (((_root.player._y - (1.4 * _y)) / 6) - 30));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1555
stop();
Frame 1556
play();
stop();
health = 100;
Instance of Symbol 1146 MovieClip "player" in Frame 1556
onClipEvent (load) {
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
while (_root.ground.hitTest(_x, _y, true)) {
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
_root.c = _root.c - 0.03;
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D12");
}
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 1556
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.3 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1608
stop();
Frame 1609
play();
stop();
health = 100;
Instance of Symbol 625 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 20;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 20;
distance = 200;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1609
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D13");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall1)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall3)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall4)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall5)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 626 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 743 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 743 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 743 MovieClip in Frame 1609
onClipEvent (load) {
espeed = 2;
scale = _xscale;
damagenumber = 20;
grav = 0;
dead = false;
}
onClipEvent (enterFrame) {
dis2 = 35;
distance = 260;
_y = (_y + grav);
grav++;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (dead == true) {
this.gotoAndStop(5);
_y = (_y + 100);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
this.gotoAndStop(2);
_xscale = scale;
}
if (tx > sx) {
this._x = this._x - espeed;
this.gotoAndStop(2);
_xscale = (-scale);
}
} else {
this.gotoAndStop(1);
}
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < dis2) {
_root.health = _root.health - damagenumber;
this.gotoAndStop(3);
}
while (_root.ground.hitTest(_x, _y, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + 12, _y - 18, true)) {
speed = 0;
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 12, _y - 18, true)) {
speed = 0;
_x = (_x+1);
}
}
Instance of Symbol 1267 MovieClip in Frame 1609
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.4 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Frame 1661
stop();
Frame 1662
play();
health = 100;
Instance of Symbol 1313 MovieClip in Frame 1662
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 202 MovieClip "player" in Frame 1662
onClipEvent (load) {
var grav = 30;
var speed = 4;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D11");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 202 MovieClip "player" in Frame 1662
onClipEvent (load) {
var grav = 30;
var speed = 4;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D11");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
}
Instance of Symbol 209 MovieClip in Frame 1662
onClipEvent (enterFrame) {
_y = (_y + (((_root.player._y - (1.4 * _y)) / 6) - 30));
_x = (_x + ((_root.player._x - _x) / 6));
}
Instance of Symbol 1316 MovieClip in Frame 6767
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1316 MovieClip in Frame 6955
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1316 MovieClip in Frame 7143
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1316 MovieClip in Frame 7329
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 202 MovieClip "player" in Frame 7961
onClipEvent (load) {
var grav = 30;
var speed = 4;
var jumpHeight = 0;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D11");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
}
Frame 8938
stop();
Frame 8939
play();
health = 100;
play();
Instance of Symbol 1146 MovieClip "player" in Frame 8939
onClipEvent (load) {
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
while (_root.ground.hitTest(_x, _y, true)) {
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
_root.c = _root.c - 0.03;
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D12");
}
}
Instance of Symbol 209 MovieClip in Frame 8939
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - (1.3 * _y)) / 6));
_x = (_x + ((_root.player._x - _x) / 6));
}
Instance of Symbol 202 MovieClip "player" in Frame 9449
onClipEvent (load) {
var grav = 30;
var speed = 10;
var jumpHeight = 12.5;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndPlay("D13");
}
}
onClipEvent (enterFrame) {
_root.player;
if (hitTest(_root.wall)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall1)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall2)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall3)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall4)) {
_root.health = _root.health - 100;
}
_root.player;
if (hitTest(_root.wall5)) {
_root.health = _root.health - 100;
}
}
Frame 9459
stop();
Frame 9460
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 32
gotoAndPlay (7);
Symbol 45 MovieClip Frame 7
stop();
Symbol 53 MovieClip Frame 53
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 4
stop();
Symbol 55 MovieClip Frame 5
stop();
Symbol 55 MovieClip Frame 6
stop();
Symbol 55 MovieClip Frame 7
stop();
Symbol 55 MovieClip Frame 8
stop();
Symbol 59 Button
on (release) {
play();
}
Symbol 67 Button
on (release) {
getURL ("http://www.newgrounds.com/");
}
Symbol 114 MovieClip Frame 9
stop();
Symbol 116 Button
on (release) {
gotoAndPlay (1);
}
Symbol 117 MovieClip Frame 919
stop();
Symbol 121 Button
on (release) {
play();
}
Symbol 129 Button
on (release) {
gotoAndPlay (10);
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 472
stop();
Symbol 140 Button
on (release) {
gotoAndPlay (10);
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 318
stop();
Symbol 145 Button
on (release) {
gotoAndStop (686);
}
Symbol 156 MovieClip Frame 1
stop();
stop();
Symbol 156 MovieClip Frame 392
stop();
Symbol 162 Button
on (release) {
gotoAndPlay (10);
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 376
stop();
Symbol 169 MovieClip Frame 1
stop();
stop();
Symbol 169 MovieClip Frame 329
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 3
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 3
stop();
Symbol 202 MovieClip Frame 4
stop();
Symbol 209 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 208 MovieClip "healthBar" in Symbol 209 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.health;
}
Symbol 212 MovieClip Frame 9846
gotoAndPlay (1);
Symbol 217 MovieClip Frame 63
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
stop();
Symbol 230 Button
on (release) {
gotoAndStop ("OMG");
}
Symbol 234 Button
on (release) {
gotoAndStop (737);
}
Symbol 240 Button
on (release) {
gotoAndPlay (10);
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 304
stop();
Symbol 250 Button
on (release) {
gotoAndPlay (10);
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 480
stop();
Symbol 254 Button
on (release) {
play();
}
Symbol 269 Button
on (release) {
gotoAndPlay (10);
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 605
stop();
Symbol 279 Button
on (release) {
gotoAndPlay (10);
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 382
stop();
Symbol 289 Button
on (release) {
gotoAndPlay (10);
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 184
stop();
Symbol 299 Button
on (release) {
gotoAndPlay (10);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 399
stop();
Symbol 306 MovieClip Frame 2972
gotoAndPlay (1);
Symbol 316 Button
on (release) {
gotoAndPlay (10);
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 484
stop();
Symbol 323 MovieClip Frame 36
gotoAndPlay (6);
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 2
stop();
Symbol 324 MovieClip Frame 3
stop();
Symbol 331 Button
on (release) {
play();
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 139
gotoAndStop (1);
Symbol 335 Button
on (release) {
play();
}
Symbol 337 Button
on (release) {
play();
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 117
stop();
Symbol 340 MovieClip Frame 311
stop();
Symbol 345 Button
on (release) {
gotoAndStop ("OMG1");
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 296
stop();
Symbol 352 Button
on (release) {
gotoAndStop (1062);
}
Symbol 358 Button
on (release) {
gotoAndPlay (10);
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 389
stop();
Symbol 369 Button
on (release) {
gotoAndPlay (10);
}
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 344
stop();
Symbol 376 Button
on (release) {
gotoAndPlay (10);
}
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 479
stop();
Symbol 386 Button
on (release) {
gotoAndPlay (10);
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 416
stop();
Symbol 394 Button
on (release) {
gotoAndPlay (10);
}
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 328
stop();
Symbol 401 Button
on (release) {
gotoAndPlay (10);
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 344
stop();
Symbol 413 Button
on (release) {
play();
}
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
Symbol 419 Button
on (release) {
gotoAndPlay (10);
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 214
stop();
Symbol 426 Button
on (release) {
gotoAndPlay (10);
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 408
stop();
Symbol 433 Button
on (release) {
gotoAndPlay (10);
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 365
stop();
Symbol 439 Button
on (release) {
gotoAndPlay (10);
}
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 365
stop();
Symbol 444 Button
on (release) {
gotoAndPlay (10);
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 274
stop();
Symbol 450 Button
on (release) {
play();
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 7
stop();
Symbol 460 Button
on (release) {
play();
}
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 138
stop();
Symbol 466 Button
on (release) {
play();
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 154
gotoAndStop (1);
Symbol 473 Button
on (release) {
gotoAndPlay (1204);
}
Symbol 475 MovieClip Frame 1219
stop();
Symbol 477 Button
on (release) {
play();
}
Symbol 481 MovieClip Frame 1
stop();
Symbol 483 Button
on (release) {
_root.health = _root.health - 25;
play();
}
Symbol 490 MovieClip Frame 1
stop();
Symbol 492 Button
on (release) {
play();
}
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 64
stop();
Symbol 494 MovieClip Frame 119
stop();
Symbol 495 Button
on (release) {
play();
}
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 22
stop();
Symbol 500 MovieClip Frame 2721
gotoAndPlay (60);
Symbol 503 Button
on (release) {
gotoAndPlay (10);
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 253
stop();
Symbol 510 Button
on (release) {
gotoAndPlay (10);
}
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 344
stop();
Symbol 515 Button
on (release) {
gotoAndStop ("OMG2");
}
Symbol 518 Button
on (release) {
gotoAndPlay (10);
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 204
stop();
Symbol 525 Button
on (release) {
gotoAndPlay (10);
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 376
stop();
Symbol 529 Button
on (release) {
gotoAndPlay (10);
}
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 268
stop();
Symbol 554 Button
on (release) {
gotoAndPlay (10);
}
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 736
stop();
Symbol 561 Button
on (release) {
gotoAndPlay (10);
}
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 376
stop();
Symbol 563 Button
on (release) {
gotoAndStop (1115);
}
Symbol 588 Button
on (release) {
gotoAndPlay (10);
}
Symbol 589 MovieClip Frame 1
stop();
Symbol 589 MovieClip Frame 224
stop();
Symbol 592 Button
on (release) {
play();
}
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 41
stop();
Symbol 595 MovieClip Frame 71
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 41
stop();
Symbol 598 MovieClip Frame 71
stop();
Symbol 602 Button
on (release) {
play();
}
Symbol 606 Button
on (release) {
gotoAndPlay (2640);
}
Symbol 612 MovieClip Frame 1
stop();
stop();
Symbol 612 MovieClip Frame 296
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 32
stop();
Symbol 621 MovieClip Frame 2202
gotoAndPlay (60);
Symbol 624 MovieClip Frame 12
gotoAndPlay (6);
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
stop();
Symbol 625 MovieClip Frame 3
stop();
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 2
stop();
Symbol 626 MovieClip Frame 3
stop();
Symbol 628 Button
on (release) {
gotoAndStop ("OMG3");
}
Symbol 629 Button
on (release) {
gotoAndStop (1168);
}
Symbol 635 Button
on (release) {
gotoAndPlay (10);
}
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 276
stop();
Symbol 642 Button
on (release) {
gotoAndPlay (10);
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 291
stop();
Symbol 649 Button
on (release) {
gotoAndPlay (10);
}
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 339
stop();
Symbol 656 Button
on (release) {
gotoAndPlay (10);
}
Symbol 657 MovieClip Frame 1
stop();
Symbol 657 MovieClip Frame 361
stop();
Symbol 682 Button
on (release) {
gotoAndPlay (10);
}
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 639
stop();
Symbol 695 Button
on (release) {
gotoAndPlay (10);
}
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 675
stop();
Symbol 697 MovieClip Frame 2701
gotoAndPlay (60);
Symbol 700 Button
on (release) {
play();
}
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 37
stop();
Symbol 703 MovieClip Frame 67
stop();
Symbol 705 Button
on (release) {
play();
}
Symbol 707 Button
on (release) {
play();
}
Symbol 709 Button
on (release) {
play();
}
Symbol 711 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 32
stop();
Symbol 711 MovieClip Frame 87
stop();
Symbol 718 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 32
stop();
Symbol 725 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 32
stop();
Symbol 741 MovieClip Frame 335
stop();
stop();
_root.dead = true;
_root.gotoAndStop("BYE");
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 2
stop();
Symbol 743 MovieClip Frame 3
stop();
Symbol 743 MovieClip Frame 5
stop();
Symbol 745 Button
on (release) {
gotoAndStop ("OMG4");
}
Symbol 754 Button
on (release) {
gotoAndPlay (10);
}
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 351
stop();
Symbol 761 Button
on (release) {
gotoAndPlay (10);
}
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 323
stop();
Symbol 768 Button
on (release) {
gotoAndPlay (10);
}
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 292
stop();
Symbol 770 MovieClip Frame 2076
gotoAndPlay (60);
Symbol 773 Button
on (release) {
gotoAndPlay (10);
}
Symbol 774 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 184
stop();
Symbol 782 Button
on (release) {
gotoAndPlay (10);
}
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 390
stop();
Symbol 785 MovieClip Frame 28
stop();
Symbol 787 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 2
stop();
Symbol 787 MovieClip Frame 3
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 71
stop();
Symbol 799 Button
on (release) {
play();
}
Symbol 801 Button
on (release) {
play();
}
Symbol 803 MovieClip Frame 1
stop();
Symbol 803 MovieClip Frame 57
stop();
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 42
stop();
Symbol 807 Button
on (release) {
play();
}
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 71
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 2
stop();
Symbol 814 MovieClip Frame 3
stop();
Symbol 814 MovieClip Frame 5
stop();
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 2
stop();
Symbol 819 Button
on (release) {
gotoAndStop ("OMG5");
}
Symbol 823 Button
on (release) {
gotoAndPlay (10);
}
Symbol 824 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 197
stop();
Symbol 830 Button
on (release) {
gotoAndPlay (10);
}
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 337
stop();
Symbol 837 Button
on (release) {
gotoAndPlay (10);
}
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 370
stop();
Symbol 844 Button
on (release) {
gotoAndPlay (10);
}
Symbol 845 MovieClip Frame 1
stop();
Symbol 845 MovieClip Frame 299
stop();
Symbol 854 Button
on (release) {
play();
}
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 42
stop();
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 59
stop();
Symbol 862 Button
on (release) {
play();
}
Symbol 865 Button
on (release) {
play();
}
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 138
stop();
Symbol 868 MovieClip Frame 5142
gotoAndPlay (60);
Symbol 870 Button
on (release) {
gotoAndStop ("OMG55");
}
Symbol 872 Button
on (release) {
gotoAndStop (1339);
}
Symbol 879 MovieClip Frame 1
stop();
Symbol 893 Button
on (release) {
gotoAndPlay (10);
}
Symbol 894 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 489
stop();
Symbol 895 MovieClip Frame 6484
gotoAndPlay (60);
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 260
stop();
Symbol 911 Button
on (release) {
gotoAndStop ("OMG5");
}
Symbol 912 Button
on (release) {
gotoAndStop (1392);
}
Symbol 915 Button
on (release) {
gotoAndPlay (10);
}
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 171
stop();
Symbol 925 Button
on (release) {
gotoAndPlay (10);
}
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 426
stop();
Symbol 942 MovieClip Frame 11
stop();
Symbol 944 MovieClip Frame 1
stop();
Symbol 944 MovieClip Frame 255
stop();
Symbol 947 Button
on (release) {
gotoAndPlay (10);
}
Symbol 948 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 258
stop();
Symbol 957 Button
on (release) {
gotoAndPlay (10);
}
Symbol 958 MovieClip Frame 1
stop();
Symbol 958 MovieClip Frame 568
stop();
Symbol 964 Button
on (release) {
gotoAndPlay (10);
}
Symbol 965 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 255
stop();
Symbol 971 Button
on (release) {
gotoAndPlay (10);
}
Symbol 972 MovieClip Frame 1
stop();
Symbol 972 MovieClip Frame 444
stop();
Symbol 974 MovieClip Frame 1
stop();
Symbol 974 MovieClip Frame 2
stop();
Symbol 981 MovieClip Frame 1
stop();
Symbol 981 MovieClip Frame 30
stop();
Symbol 983 Button
on (release) {
play();
}
Symbol 987 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 304
stop();
Symbol 1002 MovieClip Frame 1
stop();
Instance of Symbol 1001 MovieClip in Symbol 1002 MovieClip Frame 1
on (release) {
_root.health = _root.health - 100;
}
Symbol 1002 MovieClip Frame 2
stop();
Symbol 1002 MovieClip Frame 3
stop();
Symbol 1002 MovieClip Frame 4
stop();
Symbol 1003 MovieClip Frame 2918
gotoAndPlay (60);
Symbol 1004 Button
on (release) {
gotoAndStop (4);
dead = true;
}
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 2
stop();
Symbol 1005 MovieClip Frame 3
stop();
Symbol 1005 MovieClip Frame 4
stop();
this.visible = false;
Symbol 1006 Button
on (release) {
dead = true;
}
Symbol 1007 MovieClip Frame 1
stop();
Symbol 1007 MovieClip Frame 2
stop();
Symbol 1007 MovieClip Frame 3
stop();
Symbol 1011 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 208 MovieClip "healthBar" in Symbol 1011 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.health;
}
Symbol 1013 Button
on (release) {
gotoAndStop ("OMG7");
}
Symbol 1014 Button
on (release) {
gotoAndStop (1450);
}
Symbol 1029 Button
on (release) {
_root.health = _root.health - 50;
}
Symbol 1030 MovieClip Frame 1
stop();
Symbol 1031 MovieClip Frame 4027
gotoAndPlay (60);
Symbol 1038 Button
on (release) {
gotoAndStop ("OMG8");
}
Symbol 1039 Button
on (release) {
gotoAndStop (1503);
}
Symbol 1045 MovieClip Frame 1
stop();
Instance of Symbol 1042 MovieClip in Symbol 1045 MovieClip Frame 1
on (release) {
play();
}
Symbol 1048 MovieClip Frame 1
stop();
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
on (release) {
play();
}
Symbol 1048 MovieClip Frame 51
stop();
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 51
on (release) {
play();
}
Symbol 1052 MovieClip Frame 1
stop();
Instance of Symbol 1042 MovieClip in Symbol 1052 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1048 MovieClip in Symbol 1053 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1052 MovieClip in Symbol 1053 MovieClip Frame 1
on (release) {
play();
}
Symbol 1062 MovieClip Frame 6366
gotoAndPlay (60);
Symbol 1064 Button
on (release) {
gotoAndStop ("OMG85");
}
Symbol 1067 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1068 MovieClip Frame 1
stop();
Symbol 1068 MovieClip Frame 152
stop();
Symbol 1071 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1072 MovieClip Frame 1
stop();
Symbol 1072 MovieClip Frame 143
stop();
Symbol 1075 MovieClip Frame 6306
stop();
Symbol 1076 Button
on (release) {
gotoAndStop (1556);
}
Symbol 1080 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1081 MovieClip Frame 1
stop();
Symbol 1081 MovieClip Frame 271
stop();
Symbol 1086 Button
on (release) {
gotoAndStop ("OMG11");
}
Symbol 1091 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1092 MovieClip Frame 1
stop();
Symbol 1092 MovieClip Frame 557
stop();
Symbol 1101 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 579
stop();
Symbol 1108 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1109 MovieClip Frame 464
stop();
Symbol 1122 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 352
stop();
Symbol 1132 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1133 MovieClip Frame 1
stop();
Symbol 1133 MovieClip Frame 500
stop();
Symbol 1135 Button
on (release) {
gotoAndStop (1609);
}
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 2
stop();
Symbol 1138 MovieClip Frame 1
stop();
Symbol 1138 MovieClip Frame 2
stop();
Symbol 1138 MovieClip Frame 3
stop();
Symbol 1140 MovieClip Frame 877
stop();
Symbol 1143 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1144 MovieClip Frame 1
stop();
Symbol 1144 MovieClip Frame 230
stop();
Symbol 1145 MovieClip Frame 4203
gotoAndPlay (60);
Symbol 1146 MovieClip Frame 1
stop();
Symbol 1150 MovieClip Frame 260
stop();
Symbol 1152 Button
on (release) {
gotoAndStop ("OMG12");
}
Symbol 1156 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1157 MovieClip Frame 1
stop();
Symbol 1157 MovieClip Frame 240
stop();
Symbol 1160 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 240
stop();
Symbol 1166 Button
on (release) {
gotoAndStop (1662);
}
Symbol 1267 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 208 MovieClip "healthBar" in Symbol 1267 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.health;
}
Symbol 1267 MovieClip Frame 41
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1269 Button
on (release) {
gotoAndStop ("OMG13");
}
Symbol 1313 MovieClip Frame 7406
stop();
Symbol 1323 Button
on (release) {
gotoAndStop (8939);
}
Symbol 1327 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1328 MovieClip Frame 511
stop();
Symbol 1332 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1333 MovieClip Frame 1
stop();
Symbol 1333 MovieClip Frame 687
stop();
Symbol 1337 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1338 MovieClip Frame 1
stop();
Symbol 1338 MovieClip Frame 832
stop();
Symbol 1340 Button
on (release) {
gotoAndStop (9460);
}
Symbol 1342 MovieClip Frame 253
stop();
Symbol 1346 MovieClip Frame 394
stop();
Symbol 1351 Button
on (release) {
gotoAndPlay (635);
}
Symbol 1352 MovieClip Frame 5263
gotoAndPlay (60);