Frame 1
_root._x = 0;
_root._y = 0;
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_xscale = (_xscale - (Math.round(PercentLoaded + _xscale) / 30));
if (this.PercentLoaded == 100) {
_root.nextFrame();
}
}
Frame 2
stop();
lives = 5;
Instance of Symbol 18 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 20;
play();
}
}
Instance of Symbol 35 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 41 MovieClip "you" in Frame 2
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 42 MovieClip in Frame 2
onClipEvent (load) {
T = 0;
_root.sec = 0;
}
onClipEvent (enterFrame) {
if (_root.lives == -1) {
_root.gotoAndStop(2);
}
T = T + 1;
if (T == 60) {
_root.sec = _root.sec + 1;
T = 0;
}
}
Frame 3
HP = 7;
Hcount = 0;
nextFrame();
Frame 4
stop();
Instance of Symbol 9 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 4
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 4
onClipEvent (load) {
R = false;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 4
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 4
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 5
Hcount = 0;
nextFrame();
Frame 6
stop();
Instance of Symbol 32 MovieClip in Frame 6
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 6
onClipEvent (load) {
R = false;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 6
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 20;
play();
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (enterFrame) {
if ((_root.you._x > 300) && (_root.you._y > 200)) {
play();
}
}
Instance of Symbol 18 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 20;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 41 MovieClip "you" in Frame 6
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 6
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 7
Hcount = 0;
nextFrame();
Frame 8
stop();
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 8
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 8
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (enterFrame) {
if ((_root.you._x < 250) && (_root.you._y > 150)) {
play();
}
}
Instance of Symbol 32 MovieClip in Frame 8
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 8
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 8
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 8
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 9
Hcount = 0;
nextFrame();
Frame 10
stop();
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 10
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 10
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.you._y > 450) {
play();
}
}
Instance of Symbol 32 MovieClip in Frame 10
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 25;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 41 MovieClip "you" in Frame 10
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 10
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 11
Hcount = 0;
nextFrame();
Frame 12
stop();
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 12
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 12
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 16;
play();
}
}
Instance of Symbol 70 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 16;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 16;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 32 MovieClip in Frame 12
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 12
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 12
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 12
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 12
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 13
Hcount = 0;
nextFrame();
Frame 14
stop();
Instance of Symbol 9 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 70 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 25;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 25;
play();
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 82 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.platforms.gate1.nextFrame();
this.nextFrame();
}
}
Instance of Symbol 82 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.platforms.gate2.nextFrame();
this.nextFrame();
}
}
Instance of Symbol 70 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 14
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 14
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 14
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 15
Hcount = 0;
nextFrame();
Frame 16
stop();
Instance of Symbol 32 MovieClip in Frame 16
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 18 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 25;
play();
}
}
Instance of Symbol 82 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.platforms.gate1.nextFrame();
this.nextFrame();
}
}
Instance of Symbol 70 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 16
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 16
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 30 MovieClip in Frame 16
onClipEvent (enterFrame) {
if ((((_root.you._y > 20) && (_root.you._y < 140)) && (_root.you._x > 350)) && (_root.you._x < 750)) {
play();
}
}
Instance of Symbol 32 MovieClip in Frame 16
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 16
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 16
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 17
Hcount = 0;
nextFrame();
Frame 18
stop();
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 35 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 18 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 32 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 70 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 93 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you)) {
_root.you.jumpSpeed = 25;
}
}
Instance of Symbol 18 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 93 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (this.hitTest(_root.you)) {
_root.you.jumpSpeed = 25;
}
}
Instance of Symbol 18 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 20;
play();
}
}
Instance of Symbol 32 MovieClip in Frame 18
onClipEvent (load) {
R = true;
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(this._x + 5, this._y, true)) {
right = false;
R = false;
} else {
right = true;
}
if (_root.platforms.hitTest(this._x - 5, this._y, true)) {
left = false;
R = true;
} else {
left = true;
}
if (R == true) {
_x = (_x + 3);
} else {
_x = (_x - 3);
}
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 41 MovieClip "you" in Frame 18
onClipEvent (load) {
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
Instance of Symbol 56 MovieClip "health" in Frame 18
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Frame 19
Hcount = 0;
BHP = 7;
nextFrame();
Frame 20
stop();
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.Boss)) {
_root.Bosshealth._alpha = 100;
if (_root.BHP > 2) {
_root.Boss._x = -400;
}
}
}
Instance of Symbol 35 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.nextFrame();
}
}
Instance of Symbol 9 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 18 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 133 MovieClip "Boss" in Frame 20
onClipEvent (load) {
speed = 1;
}
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_root.you._y - _y, _root.you._x - _x) * 57.2957795130823);
_x = (_x + (Math.cos(_rotation * (Math.PI/180)) * speed));
_y = (_y + (Math.sin(_rotation * (Math.PI/180)) * speed));
if ((this.hitTest(_root.you) && (_root.BHP > 1)) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
this._x = 800;
}
if (_root.bossBeat == true) {
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
}
Instance of Symbol 9 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 9 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.you.jumpSpeed = 10;
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.Boss)) {
_root.Bosshealth._alpha = 100;
if (_root.BHP > 2) {
_root.Boss._x = 750;
}
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.Boss)) {
_root.Bosshealth._alpha = 100;
if (_root.BHP > 2) {
_root.Boss._x = -400;
}
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.Boss)) {
_root.Bosshealth._alpha = 100;
if (_root.BHP > 2) {
_root.Boss._x = 750;
}
}
}
Instance of Symbol 18 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 18 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.you)) {
_root.you.downSpeed = 0;
_root.you.jumpSpeed = 15;
play();
}
}
Instance of Symbol 41 MovieClip "you" in Frame 20
onClipEvent (load) {
_root.bossBeat = false;
jumpSpeed = 0;
downSpeed = 0;
}
onClipEvent (enterFrame) {
if (((_root.platforms.hitTest(this._x, this._y + 5, true) || (_root.platforms.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms.hitTest(this._x - 5, this._y + 10, true))) || ((_root.platforms2.hitTest(this._x, this._y + 5, true) || (_root.platforms2.hitTest(this._x + 5, this._y + 10, true))) || (_root.platforms2.hitTest(this._x - 5, this._y + 10, true)))) {
down = false;
} else {
down = true;
}
if ((_root.platforms.hitTest(this._x, this._y - 20, true) || (_root.platforms.hitTest(this._x + 5, this._y - 20, true))) || (_root.platforms.hitTest(this._x - 5, this._y - 20, true))) {
up = false;
} else {
up = true;
}
if (_root.platforms.hitTest(this._x - 8, this._y, true) || (_root.platforms.hitTest(this._x - 8, this._y - 10, true))) {
left = false;
} else {
left = true;
}
if (_root.platforms.hitTest(this._x + 8, this._y, true) || (_root.platforms.hitTest(this._x + 8, this._y - 10, true))) {
right = false;
} else {
right = true;
}
if (Key.isDown(37) && (left == true)) {
_xscale = -100;
this._x = this._x - 3;
}
if (Key.isDown(39) && (right == true)) {
_xscale = 100;
this._x = this._x + 3;
}
if (Key.isDown(38) && (down == false)) {
jumpSpeed = 10;
}
jumpSpeed = jumpSpeed - 1;
if (jumpSpeed < 0) {
jumpSpeed = 0;
}
if (up == true) {
this._y = this._y - jumpSpeed;
} else {
jumpSpeed = 0;
}
if ((down == true) && (jumpSpeed == 0)) {
downSpeed = downSpeed + 1;
}
if (downSpeed > 10) {
downSpeed = 10;
}
if (down == true) {
this._y = this._y + downSpeed;
}
if (down == false) {
downSpeed = 0;
}
if (_root.platforms.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.platforms2.hitTest(this._x, this._y + 9, true)) {
this._y = this._y - 2;
}
if (_root.bossBeat == false) {
_root._x = _root._x - Math.round(((_root._x + this._x) - 250) / 15);
_root._y = _root._y - Math.round(((_root._y + this._y) - 250) / 20);
}
}
Instance of Symbol 56 MovieClip "health" in Frame 20
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_x = _root.you._x;
_y = _root.you._y;
if (_root.Hcount == 30) {
_root.HP = _root.HP - 1;
}
if (_root.Hcount > 0) {
_root.Hcount = _root.Hcount - 1;
}
gotoAndStop(_root.HP);
if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (_root.HP == 1) {
_root.lives = _root.lives - 1;
_root.HP = 7;
_root.prevFrame();
}
}
Instance of Symbol 136 MovieClip "Bosshealth" in Frame 20
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_x = _root.Boss._x;
_y = _root.Boss._y;
if (_alpha == 100) {
_root.BHP = _root.BHP - 1;
}
gotoAndStop(_root.BHP);
if (_alpha > 0) {
_alpha = (_alpha - 0.1);
}
if (_root.BHP == 1) {
_root.Boss.play();
}
}
Frame 21
TIME = _root.sec + " seconds";
Instance of Symbol 42 MovieClip in Frame 21
onClipEvent (enterFrame) {
_root._x = _root._x - Math.round((_root._x + this._x) / 15);
_root._y = _root._y - Math.round((_root._y + this._y) / 20);
}
Symbol 18 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) && (_root.Hcount == 0)) {
_root.health._alpha = 100;
_root.Hcount = 30;
}
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
aiming = true;
stop();
Instance of Symbol 28 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.you._y <= this._parent._y) {
if (_parent.aiming == true) {
_rotation = (Math.atan2(_root.you._y - (_parent._y + _y), _root.you._x - (_parent._x + _x)) * 57.2957795130823);
} else {
play();
}
} else {
this._rotation = 270;
}
}
Symbol 30 MovieClip Frame 30
aiming = false;
Symbol 40 MovieClip Frame 1
stop();
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37) || (Key.isDown(39))) {
play();
}
}
Symbol 56 MovieClip Frame 7
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
_root.bossBeat = true;
Symbol 133 MovieClip Frame 65
_root.nextFrame();
stop();
Symbol 136 MovieClip Frame 7
stop();
Symbol 146 Button
on (release) {
gotoAndStop (2);
}