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() {
_root.gotoAndStop("Suicide");
}
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 321 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 413 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 413 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 413 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 622 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 623 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 623 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 413 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 623 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 623 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 413 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 740 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 740 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 784 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 811 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 623 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 740 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 784 MovieClip "player" in Frame 1227
onClipEvent (load) {
var grav = 30;
var speed = 20;
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 811 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 623 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 623 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 623 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 876 MovieClip in Frame 1286
onClipEvent (load) {
if (_root.k == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 884 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 999 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1004 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 1004 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 1008 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1027 MovieClip "player" in Frame 1392
onClipEvent (enterFrame) {
_y = (_y + (_root.player._y - _y));
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1008 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1004 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 1002 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 1002 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 1002 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 1002 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 1002 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 1002 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 1027 MovieClip "player" in Frame 1450
onClipEvent (enterFrame) {
_y = (_y + (_root.player._y - _y));
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1008 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 623 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 1143 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 622 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 623 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 623 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 623 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 623 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 623 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 623 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 740 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 740 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 740 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 1264 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 1310 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 1313 MovieClip in Frame 6767
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1313 MovieClip in Frame 6955
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1313 MovieClip in Frame 7143
onClipEvent (enterFrame) {
_x = (_x + (_root.player._x - _x));
}
Instance of Symbol 1313 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 1143 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 231 Button
on (release) {
gotoAndStop (737);
}
Symbol 237 Button
on (release) {
gotoAndPlay (10);
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 304
stop();
Symbol 247 Button
on (release) {
gotoAndPlay (10);
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 480
stop();
Symbol 251 Button
on (release) {
play();
}
Symbol 266 Button
on (release) {
gotoAndPlay (10);
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 605
stop();
Symbol 276 Button
on (release) {
gotoAndPlay (10);
}
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 382
stop();
Symbol 286 Button
on (release) {
gotoAndPlay (10);
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 184
stop();
Symbol 296 Button
on (release) {
gotoAndPlay (10);
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 399
stop();
Symbol 303 MovieClip Frame 2972
gotoAndPlay (1);
Symbol 313 Button
on (release) {
gotoAndPlay (10);
}
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 484
stop();
Symbol 320 MovieClip Frame 36
gotoAndPlay (6);
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
stop();
Symbol 321 MovieClip Frame 3
stop();
Symbol 328 Button
on (release) {
play();
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 139
gotoAndStop (1);
Symbol 332 Button
on (release) {
play();
}
Symbol 334 Button
on (release) {
play();
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 117
stop();
Symbol 337 MovieClip Frame 311
stop();
Symbol 342 Button
on (release) {
gotoAndStop ("OMG1");
}
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 296
stop();
Symbol 354 Button
on (release) {
gotoAndPlay (10);
}
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 389
stop();
Symbol 365 Button
on (release) {
gotoAndPlay (10);
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 344
stop();
Symbol 372 Button
on (release) {
gotoAndPlay (10);
}
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 479
stop();
Symbol 382 Button
on (release) {
gotoAndPlay (10);
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 416
stop();
Symbol 390 Button
on (release) {
gotoAndPlay (10);
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 328
stop();
Symbol 397 Button
on (release) {
gotoAndPlay (10);
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 344
stop();
Symbol 409 Button
on (release) {
play();
}
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 415 Button
on (release) {
gotoAndPlay (10);
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 214
stop();
Symbol 422 Button
on (release) {
gotoAndPlay (10);
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 408
stop();
Symbol 429 Button
on (release) {
gotoAndPlay (10);
}
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 365
stop();
Symbol 435 Button
on (release) {
gotoAndPlay (10);
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 365
stop();
Symbol 440 Button
on (release) {
gotoAndPlay (10);
}
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 274
stop();
Symbol 443 Button
on (release) {
gotoAndStop (1062);
}
Symbol 447 Button
on (release) {
play();
}
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 7
stop();
Symbol 457 Button
on (release) {
play();
}
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 138
stop();
Symbol 463 Button
on (release) {
play();
}
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 154
gotoAndStop (1);
Symbol 470 Button
on (release) {
gotoAndPlay (1204);
}
Symbol 472 MovieClip Frame 1219
stop();
Symbol 474 Button
on (release) {
play();
}
Symbol 478 MovieClip Frame 1
stop();
Symbol 480 Button
on (release) {
_root.health = _root.health - 25;
play();
}
Symbol 487 MovieClip Frame 1
stop();
Symbol 489 Button
on (release) {
play();
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 64
stop();
Symbol 491 MovieClip Frame 119
stop();
Symbol 492 Button
on (release) {
play();
}
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 22
stop();
Symbol 497 MovieClip Frame 2721
gotoAndPlay (60);
Symbol 500 Button
on (release) {
gotoAndPlay (10);
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 253
stop();
Symbol 507 Button
on (release) {
gotoAndPlay (10);
}
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 344
stop();
Symbol 512 Button
on (release) {
gotoAndStop ("OMG2");
}
Symbol 515 Button
on (release) {
gotoAndPlay (10);
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 204
stop();
Symbol 522 Button
on (release) {
gotoAndPlay (10);
}
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 376
stop();
Symbol 526 Button
on (release) {
gotoAndPlay (10);
}
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 268
stop();
Symbol 551 Button
on (release) {
gotoAndPlay (10);
}
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 736
stop();
Symbol 558 Button
on (release) {
gotoAndPlay (10);
}
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 376
stop();
Symbol 584 Button
on (release) {
gotoAndPlay (10);
}
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 224
stop();
Symbol 586 Button
on (release) {
gotoAndStop (1115);
}
Symbol 589 Button
on (release) {
play();
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 41
stop();
Symbol 592 MovieClip Frame 71
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 41
stop();
Symbol 595 MovieClip Frame 71
stop();
Symbol 599 Button
on (release) {
play();
}
Symbol 603 Button
on (release) {
gotoAndPlay (2640);
}
Symbol 609 MovieClip Frame 1
stop();
stop();
Symbol 609 MovieClip Frame 296
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 32
stop();
Symbol 618 MovieClip Frame 2202
gotoAndPlay (60);
Symbol 621 MovieClip Frame 12
gotoAndPlay (6);
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 2
stop();
Symbol 622 MovieClip Frame 3
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 2
stop();
Symbol 623 MovieClip Frame 3
stop();
Symbol 625 Button
on (release) {
gotoAndStop ("OMG3");
}
Symbol 626 Button
on (release) {
gotoAndStop (1168);
}
Symbol 632 Button
on (release) {
gotoAndPlay (10);
}
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 276
stop();
Symbol 639 Button
on (release) {
gotoAndPlay (10);
}
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 291
stop();
Symbol 646 Button
on (release) {
gotoAndPlay (10);
}
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 339
stop();
Symbol 653 Button
on (release) {
gotoAndPlay (10);
}
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 361
stop();
Symbol 679 Button
on (release) {
gotoAndPlay (10);
}
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 639
stop();
Symbol 692 Button
on (release) {
gotoAndPlay (10);
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 675
stop();
Symbol 694 MovieClip Frame 2701
gotoAndPlay (60);
Symbol 697 Button
on (release) {
play();
}
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 37
stop();
Symbol 700 MovieClip Frame 67
stop();
Symbol 702 Button
on (release) {
play();
}
Symbol 704 Button
on (release) {
play();
}
Symbol 706 Button
on (release) {
play();
}
Symbol 708 MovieClip Frame 1
stop();
Symbol 708 MovieClip Frame 32
stop();
Symbol 708 MovieClip Frame 87
stop();
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 32
stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 32
stop();
Symbol 738 MovieClip Frame 335
stop();
stop();
_root.dead = true;
_root.gotoAndStop("BYE");
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
stop();
Symbol 740 MovieClip Frame 3
stop();
Symbol 740 MovieClip Frame 5
stop();
Symbol 742 Button
on (release) {
gotoAndStop ("OMG4");
}
Symbol 751 Button
on (release) {
gotoAndPlay (10);
}
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 351
stop();
Symbol 758 Button
on (release) {
gotoAndPlay (10);
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 323
stop();
Symbol 765 Button
on (release) {
gotoAndPlay (10);
}
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 292
stop();
Symbol 767 MovieClip Frame 2076
gotoAndPlay (60);
Symbol 770 Button
on (release) {
gotoAndPlay (10);
}
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 184
stop();
Symbol 779 Button
on (release) {
gotoAndPlay (10);
}
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 390
stop();
Symbol 782 MovieClip Frame 28
stop();
Symbol 784 MovieClip Frame 1
stop();
Symbol 784 MovieClip Frame 2
stop();
Symbol 784 MovieClip Frame 3
stop();
Symbol 794 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 71
stop();
Symbol 796 Button
on (release) {
play();
}
Symbol 798 Button
on (release) {
play();
}
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 57
stop();
Symbol 803 MovieClip Frame 1
stop();
Symbol 803 MovieClip Frame 42
stop();
Symbol 804 Button
on (release) {
play();
}
Symbol 808 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 71
stop();
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 2
stop();
Symbol 811 MovieClip Frame 3
stop();
Symbol 811 MovieClip Frame 5
stop();
Symbol 812 MovieClip Frame 1
stop();
Symbol 812 MovieClip Frame 2
stop();
Symbol 816 Button
on (release) {
gotoAndStop ("OMG5");
}
Symbol 820 Button
on (release) {
gotoAndPlay (10);
}
Symbol 821 MovieClip Frame 1
stop();
Symbol 821 MovieClip Frame 197
stop();
Symbol 827 Button
on (release) {
gotoAndPlay (10);
}
Symbol 828 MovieClip Frame 1
stop();
Symbol 828 MovieClip Frame 337
stop();
Symbol 834 Button
on (release) {
gotoAndPlay (10);
}
Symbol 835 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 370
stop();
Symbol 841 Button
on (release) {
gotoAndPlay (10);
}
Symbol 842 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 299
stop();
Symbol 851 Button
on (release) {
play();
}
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 42
stop();
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 59
stop();
Symbol 859 Button
on (release) {
play();
}
Symbol 862 Button
on (release) {
play();
}
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 138
stop();
Symbol 865 MovieClip Frame 5142
gotoAndPlay (60);
Symbol 867 Button
on (release) {
gotoAndStop ("OMG55");
}
Symbol 869 Button
on (release) {
gotoAndStop (1339);
}
Symbol 876 MovieClip Frame 1
stop();
Symbol 890 Button
on (release) {
gotoAndPlay (10);
}
Symbol 891 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 489
stop();
Symbol 892 MovieClip Frame 6484
gotoAndPlay (60);
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 260
stop();
Symbol 908 Button
on (release) {
gotoAndStop ("OMG5");
}
Symbol 909 Button
on (release) {
gotoAndStop (1392);
}
Symbol 912 Button
on (release) {
gotoAndPlay (10);
}
Symbol 913 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 171
stop();
Symbol 922 Button
on (release) {
gotoAndPlay (10);
}
Symbol 923 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 426
stop();
Symbol 939 MovieClip Frame 11
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 255
stop();
Symbol 944 Button
on (release) {
gotoAndPlay (10);
}
Symbol 945 MovieClip Frame 1
stop();
Symbol 945 MovieClip Frame 258
stop();
Symbol 954 Button
on (release) {
gotoAndPlay (10);
}
Symbol 955 MovieClip Frame 1
stop();
Symbol 955 MovieClip Frame 568
stop();
Symbol 961 Button
on (release) {
gotoAndPlay (10);
}
Symbol 962 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 255
stop();
Symbol 968 Button
on (release) {
gotoAndPlay (10);
}
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 444
stop();
Symbol 971 MovieClip Frame 1
stop();
Symbol 971 MovieClip Frame 2
stop();
Symbol 978 MovieClip Frame 1
stop();
Symbol 978 MovieClip Frame 30
stop();
Symbol 980 Button
on (release) {
play();
}
Symbol 984 MovieClip Frame 1
stop();
Symbol 996 MovieClip Frame 1
stop();
Symbol 996 MovieClip Frame 304
stop();
Symbol 999 MovieClip Frame 1
stop();
Instance of Symbol 998 MovieClip in Symbol 999 MovieClip Frame 1
on (release) {
_root.health = _root.health - 50;
}
Symbol 999 MovieClip Frame 2
stop();
Symbol 999 MovieClip Frame 3
stop();
Symbol 999 MovieClip Frame 4
stop();
Symbol 1000 MovieClip Frame 2918
gotoAndPlay (60);
Symbol 1001 Button
on (release) {
gotoAndStop (4);
dead = true;
}
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 2
stop();
Symbol 1002 MovieClip Frame 3
stop();
Symbol 1002 MovieClip Frame 4
stop();
this.visible = false;
Symbol 1003 Button
on (release) {
dead = true;
}
Symbol 1004 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1004 MovieClip Frame 3
stop();
Symbol 1008 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 1008 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.health;
}
Symbol 1010 Button
on (release) {
gotoAndStop ("OMG7");
}
Symbol 1011 Button
on (release) {
gotoAndStop (1450);
}
Symbol 1026 Button
on (release) {
_root.health = _root.health - 25;
}
Symbol 1027 MovieClip Frame 1
stop();
Symbol 1028 MovieClip Frame 4027
gotoAndPlay (60);
Symbol 1035 Button
on (release) {
gotoAndStop ("OMG8");
}
Symbol 1036 Button
on (release) {
gotoAndStop (1503);
}
Symbol 1042 MovieClip Frame 1
stop();
Instance of Symbol 1039 MovieClip in Symbol 1042 MovieClip Frame 1
on (release) {
play();
}
Symbol 1045 MovieClip Frame 1
stop();
Instance of Symbol 1039 MovieClip in Symbol 1045 MovieClip Frame 1
on (release) {
play();
}
Symbol 1045 MovieClip Frame 51
stop();
Instance of Symbol 1039 MovieClip in Symbol 1045 MovieClip Frame 51
on (release) {
play();
}
Symbol 1049 MovieClip Frame 1
stop();
Instance of Symbol 1039 MovieClip in Symbol 1049 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1042 MovieClip in Symbol 1050 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1045 MovieClip in Symbol 1050 MovieClip Frame 1
on (release) {
play();
}
Instance of Symbol 1049 MovieClip in Symbol 1050 MovieClip Frame 1
on (release) {
play();
}
Symbol 1059 MovieClip Frame 6366
gotoAndPlay (60);
Symbol 1061 Button
on (release) {
gotoAndStop ("OMG85");
}
Symbol 1064 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 152
stop();
Symbol 1068 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1069 MovieClip Frame 1
stop();
Symbol 1069 MovieClip Frame 143
stop();
Symbol 1072 MovieClip Frame 6306
stop();
Symbol 1073 Button
on (release) {
gotoAndStop (1556);
}
Symbol 1077 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1078 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 271
stop();
Symbol 1083 Button
on (release) {
gotoAndStop ("OMG11");
}
Symbol 1088 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1089 MovieClip Frame 1
stop();
Symbol 1089 MovieClip Frame 557
stop();
Symbol 1098 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 579
stop();
Symbol 1105 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1106 MovieClip Frame 1
stop();
Symbol 1106 MovieClip Frame 464
stop();
Symbol 1119 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 352
stop();
Symbol 1129 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1130 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 500
stop();
Symbol 1132 Button
on (release) {
gotoAndStop (1609);
}
Symbol 1134 MovieClip Frame 1
stop();
Symbol 1134 MovieClip Frame 2
stop();
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1135 MovieClip Frame 2
stop();
Symbol 1135 MovieClip Frame 3
stop();
Symbol 1137 MovieClip Frame 877
stop();
Symbol 1140 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1141 MovieClip Frame 1
stop();
Symbol 1141 MovieClip Frame 230
stop();
Symbol 1142 MovieClip Frame 4203
gotoAndPlay (60);
Symbol 1143 MovieClip Frame 1
stop();
Symbol 1147 MovieClip Frame 260
stop();
Symbol 1149 Button
on (release) {
gotoAndStop ("OMG12");
}
Symbol 1153 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1154 MovieClip Frame 1
stop();
Symbol 1154 MovieClip Frame 240
stop();
Symbol 1157 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1158 MovieClip Frame 1
stop();
Symbol 1158 MovieClip Frame 240
stop();
Symbol 1163 Button
on (release) {
gotoAndStop (1662);
}
Symbol 1264 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 1264 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.health;
}
Symbol 1264 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 1266 Button
on (release) {
gotoAndStop ("OMG13");
}
Symbol 1310 MovieClip Frame 7406
stop();
Symbol 1321 Button
on (release) {
gotoAndStop (8939);
}
Symbol 1324 Button
on (release) {
gotoAndStop (8939);
}
Symbol 1328 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1329 MovieClip Frame 1
stop();
Symbol 1329 MovieClip Frame 511
stop();
Symbol 1333 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1334 MovieClip Frame 1
stop();
Symbol 1334 MovieClip Frame 687
stop();
Symbol 1338 Button
on (release) {
gotoAndPlay (10);
}
Symbol 1339 MovieClip Frame 1
stop();
Symbol 1339 MovieClip Frame 832
stop();
Symbol 1341 Button
on (release) {
_root.gotoAndStop("OMG");
}
Symbol 1343 MovieClip Frame 253
stop();
Symbol 1347 MovieClip Frame 394
stop();
Symbol 1352 Button
on (release) {
gotoAndPlay (635);
}
Symbol 1353 MovieClip Frame 5263
gotoAndPlay (60);