Frame 2
slowdown = 0.94;
bounce = -0.75;
jumpheight = -10;
maxfall = 20;
maxrun = 15;
thrust = 0.5;
weight = 1;
stopAllSounds();
_root.ledit = false;
stop();
Instance of Symbol 43 MovieClip "c2" in Frame 2
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 2
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 2
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 2
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 2
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 2
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 3
play();
Frame 319
stop();
Frame 320
play();
Frame 341
gotoAndPlay (364);
Frame 342
play();
play();
Frame 363
gotoAndPlay (454);
Frame 364
play();
Instance of Symbol 43 MovieClip "c2" in Frame 364
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 364
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 364
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 364
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 364
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 364
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 393
stop();
Frame 394
play();
Frame 423
gotoAndStop (514);
Frame 453
_root.gotoAndPlay(1);
Frame 454
play();
code = "Enter A Code";
Instance of Symbol 43 MovieClip "c2" in Frame 454
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 454
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 454
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 454
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 454
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 454
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 484
stop();
Frame 485
play();
Frame 513
_root.gotoAndPlay(1);
Frame 514
stop();
_root.statictext = 0;
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 514
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 514
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 514
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 7.5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 514
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 514
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 514
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 514
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 514
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 514
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 514
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 514
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 514
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 514
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 43 MovieClip "c2" in Frame 514
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 514
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 514
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 514
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 514
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 514
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 515
nextFrame();
_root.zap = true;
_root.zap = true;
Frame 516
stop();
Instance of Symbol 301 MovieClip "player" in Frame 516
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 2;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 517
nextFrame();
_root.zap = true;
Frame 518
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 518
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.w3)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 2;
}
if (this.hitTest(_root.p4)) {
fallmomentum = -2;
}
if (this.hitTest(_root.water1)) {
fallmomentum = fallmomentum - 0.1;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.water1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = -10;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = -10;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = -10;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = -10;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w3)) {
this.water.play();
fallmomentum = -10;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water1)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 519
nextFrame();
_root.zap = true;
Frame 520
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 520
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0;
runmomentum = -1;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0;
runmomentum = 1;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 2;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -1;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 1;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 339 MovieClip "e1" in Frame 520
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 1;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 1;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.l1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.l2)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
_root.b1.nextFrame();
alive = false;
}
if (this.hitTest(_root.b2)) {
_root.b2.nextFrame();
alive = false;
}
if (this.hitTest(_root.b3)) {
_root.b3.nextFrame();
alive = false;
}
if (this.hitTest(_root.b4)) {
_root.b4.nextFrame();
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 339 MovieClip "e2" in Frame 520
onClipEvent (load) {
alive = true;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (this._x < _root.player._x) {
this._x = this._x + 2;
this._xscale = 100;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
this._xscale = -100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.w2) == false) {
if (this.hitTest(_root.w1) == false) {
this._y = this._y + 10;
}
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
_x = (_x - 2);
}
if (this.hitTest(_root.w2)) {
this._y = this._y - 5;
_x = (_x + 2);
}
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
_root.b1.nextFrame();
alive = false;
}
if (this.hitTest(_root.b2)) {
_root.b2.nextFrame();
alive = false;
}
if (this.hitTest(_root.b3)) {
_root.b3.nextFrame();
alive = false;
}
if (this.hitTest(_root.b4)) {
_root.b4.nextFrame();
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Frame 521
nextFrame();
_root.zap = true;
Frame 522
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 522
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0;
runmomentum = -1;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0;
runmomentum = 1;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 2;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -1;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 1;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 523
nextFrame();
_root.zap = true;
Frame 524
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 524
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 2;
}
if (this.hitTest(_root.fan1.wind)) {
runmomentum = runmomentum + 0.5;
}
if (this.hitTest(_root.fan1.blades)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
this.removeMovieClip();
this._x = 1000000000 /* 0x3B9ACA00 */;
this._y = this._y - 100000000000;
_root.death.play();
runmomentum = 0;
charged = false;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
}
Instance of Symbol 310 MovieClip in Frame 524
onClipEvent (enterFrame) {
if (this.hitTest(_root.p2) == false) {
_y = (_y + 20);
}
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Instance of Symbol 339 MovieClip "e1" in Frame 524
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 1;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 1;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.l1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.l2)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
_root.b1.nextFrame();
alive = false;
}
if (this.hitTest(_root.b2)) {
_root.b2.nextFrame();
alive = false;
}
if (this.hitTest(_root.b3)) {
_root.b3.nextFrame();
alive = false;
}
if (this.hitTest(_root.b4)) {
_root.b4.nextFrame();
alive = false;
}
if (this.hitTest(_root.fan1.blades)) {
alive = false;
}
if (this.hitTest(_root.fan1.wind)) {
this._x = this._x + 3;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Frame 525
nextFrame();
_root.zap = true;
Frame 526
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 526
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0;
runmomentum = 5;
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 0;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (Key.isDown(83)) {
if (this.hitTest(_root.p3)) {
this.water.play();
fallmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p3) == false) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 339 MovieClip "e1" in Frame 526
onClipEvent (load) {
alive = true;
}
onClipEvent (enterFrame) {
this.stop();
if (alive == true) {
if (this._x < _root.player._x) {
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._xscale = 100;
}
if (this.hitTest(_root.p2) == false) {
this._y = this._y + 10;
}
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
_root.b1.nextFrame();
alive = false;
}
if (this.hitTest(_root.b2)) {
_root.b2.nextFrame();
alive = false;
}
if (this.hitTest(_root.b3)) {
_root.b3.nextFrame();
alive = false;
}
if (this.hitTest(_root.b4)) {
_root.b4.nextFrame();
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
}
}
Instance of Symbol 355 MovieClip in Frame 526
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 15;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
function gone() {
this._x = 1000000 /* 0x0F4240 */;
}
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 60;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
if (_root.e1.alive == true) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
this.gotoAndPlay(2);
}
}
if (this._x > 600) {
gone();
}
if (this._y > 431) {
gone();
}
if (this._x < -37) {
gone();
}
if (this._y < -18) {
gone();
}
if (this.hitTest(_root.p1)) {
gone();
}
if (this.hitTest(_root.p2)) {
gone();
}
if (this.hitTest(_root.p3)) {
gone();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
gone();
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
gone();
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
gone();
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
gone();
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
Frame 527
nextFrame();
_root.zap = true;
Frame 528
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 528
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = -0.01;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
_root.t1.play();
}
if (this.hitTest(_root.t1)) {
fallmomentum = -15;
_root.t1.gotoAndPlay(2);
_root.statictext = _root.statictext + 15;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.t1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p3)) {
this.water.play();
fallmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.t1)) {
this.water.play();
fallmomentum = -30;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 529
nextFrame();
_root.zap = true;
Frame 530
stop();
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 530
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 530
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 530
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 7.5;
}
if (this.hitTest(_root.t1)) {
fallmomentum = -15;
_root.t1.gotoAndPlay(2);
_root.statictext = _root.statictext + 15;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.t1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.t1)) {
this.water.play();
fallmomentum = -18;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 379 MovieClip in Frame 530
onClipEvent (load) {
health = 5;
}
onClipEvent (enterFrame) {
if (health == 0) {
_root.nextFrame();
}
if (this._y < _root.player._y) {
this._y = this._y + 3;
}
if (this._y > _root.player._y) {
this._y = this._y - 3;
}
rnumber = random(100) + 1;
if (rnumber == 1) {
this.gotoAndPlay(2);
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.play();
health = health - 1;
this.gotoAndPlay(1);
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.play();
health = health - 1;
this.gotoAndPlay(1);
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.play();
health = health - 1;
this.gotoAndPlay(1);
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.play();
health = health - 1;
this.gotoAndPlay(1);
}
}
if (this.hitTest(_root.player.attack)) {
health = health - 1;
this.gotoAndPlay(1);
}
if (this.hitTest(_root.player)) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
Instance of Symbol 254 MovieClip in Frame 530
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 530
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 531
play();
play();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 531
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 7.5;
}
if (this.hitTest(_root.t1)) {
fallmomentum = -15;
_root.t1.gotoAndPlay(2);
_root.statictext = _root.statictext + 15;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.t1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.t1)) {
this.water.play();
fallmomentum = -18;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 381 MovieClip in Frame 531
onClipEvent (enterFrame) {
this.stop();
this._y = this._y + 1;
this._xscale = this._xscale - 2;
this._x = this._x + 2;
this._alpha = this._alpha - 2;
}
Frame 532
play();
Frame 533
play();
Frame 534
play();
Frame 535
play();
Frame 536
play();
Frame 537
play();
Frame 538
play();
Frame 539
play();
Frame 540
play();
Frame 541
play();
Frame 542
play();
Frame 543
play();
Frame 544
play();
Frame 545
play();
Frame 546
play();
Frame 547
play();
Frame 548
play();
Frame 549
play();
Frame 550
play();
Frame 551
play();
Frame 552
play();
Frame 553
play();
Frame 554
play();
Frame 555
play();
Frame 556
play();
Frame 557
play();
Frame 558
play();
Frame 559
play();
Frame 560
play();
Frame 561
play();
Frame 562
play();
Frame 564
play();
Frame 565
play();
Frame 566
play();
Frame 567
play();
Frame 568
play();
Frame 569
play();
Frame 570
play();
Frame 571
play();
Frame 572
play();
Frame 573
play();
Frame 574
play();
Frame 575
play();
Frame 576
play();
Frame 577
play();
Frame 578
play();
Frame 579
play();
Frame 580
play();
Frame 581
play();
Frame 582
play();
Frame 583
play();
Frame 584
play();
Frame 585
play();
Frame 586
play();
Frame 587
play();
Frame 588
play();
Frame 589
play();
Frame 590
play();
Frame 591
play();
Frame 592
play();
Frame 593
play();
Frame 594
stop();
Frame 595
play();
Frame 596
play();
Frame 597
play();
Frame 598
play();
Frame 599
play();
Frame 600
play();
Frame 601
play();
Frame 602
play();
Frame 603
play();
Frame 604
play();
Frame 605
play();
Frame 606
play();
Frame 607
play();
Frame 608
play();
Frame 609
play();
Frame 610
play();
Frame 611
play();
Frame 612
play();
Frame 613
play();
Frame 614
play();
Frame 615
play();
Frame 616
play();
Frame 617
play();
Frame 618
play();
Frame 619
play();
Frame 620
play();
Frame 621
play();
Frame 622
play();
Frame 623
play();
Frame 624
stop();
statictext = 0;
_root.zap = true;
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 624
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w3)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p5)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w3)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p5)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p5)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 624
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 624
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 624
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 624
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 624
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 624
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 624
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 624
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 624
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 624
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 625
nextFrame();
_root.zap = true;
Frame 626
stop();
Instance of Symbol 301 MovieClip "player" in Frame 626
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.water1)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + thrust;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.water1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water1)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 627
nextFrame();
_root.zap = true;
Frame 628
stop();
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 628
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 628
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 628
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 628
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 628
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.water1)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + (thrust * 2);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.water1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water1)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 629
nextFrame();
_root.zap = true;
Frame 630
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 630
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 630
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 409 MovieClip in Frame 630
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 317 MovieClip "death" in Frame 630
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 1;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Frame 631
nextFrame();
_root.zap = true;
Frame 632
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 632
onClipEvent (load) {
runmomentum = 0;
fallmomentum = -20;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 632
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 317 MovieClip "death" in Frame 632
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 632
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("afterledit");
}
}
Instance of Symbol 303 MovieClip in Frame 632
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (727);
}
}
Frame 633
play();
_root.zap = true;
Instance of Symbol 409 MovieClip in Frame 633
onClipEvent (load) {
alive = true;
health = 2;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + 10;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Frame 634
play();
Frame 635
play();
Frame 636
play();
Frame 637
play();
Frame 638
play();
Frame 639
play();
Frame 640
play();
Frame 641
play();
Frame 642
play();
Frame 643
play();
Frame 644
play();
Frame 645
play();
Frame 646
play();
Frame 647
play();
Frame 648
play();
Frame 649
play();
Frame 650
play();
Frame 651
play();
Frame 652
play();
Frame 653
play();
Frame 654
play();
Frame 655
play();
Frame 656
play();
Frame 657
play();
Frame 658
play();
Frame 659
play();
Frame 660
play();
Frame 661
play();
Frame 662
play();
Frame 663
play();
Frame 664
play();
Frame 665
play();
Frame 666
play();
Frame 667
play();
Frame 668
play();
Frame 669
play();
Frame 670
play();
Frame 671
play();
Frame 672
play();
Frame 673
play();
Frame 674
play();
Frame 675
play();
Frame 676
play();
Frame 677
play();
Frame 678
play();
Frame 679
play();
Frame 680
play();
Frame 681
play();
Frame 682
play();
Frame 683
play();
Frame 684
play();
Frame 685
play();
Frame 686
play();
Frame 687
play();
Frame 688
play();
Frame 689
play();
Frame 690
play();
Frame 691
play();
Frame 692
play();
Frame 693
play();
Frame 694
play();
Frame 695
play();
Frame 696
stop();
Frame 697
play();
Frame 698
play();
Frame 699
play();
Frame 700
play();
Frame 701
play();
Frame 702
play();
Frame 703
play();
Frame 704
play();
Frame 705
play();
Frame 706
play();
Frame 707
play();
Frame 708
play();
Frame 709
play();
Frame 710
play();
Frame 711
play();
Frame 712
play();
Frame 713
play();
Frame 714
play();
Frame 715
play();
Frame 716
play();
Frame 717
play();
Frame 718
play();
Frame 719
play();
Frame 720
play();
Frame 721
play();
Frame 722
play();
Frame 723
play();
Frame 724
play();
Frame 725
play();
Frame 726
stop();
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 726
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 726
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 726
onClipEvent (load) {
runmomentum = 0;
fallmomentum = -20;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 726
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this._x > _root.player._x) {
this._x = this._x - 3;
this._xscale = 100;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 726
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 726
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 726
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 726
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 726
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 726
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 726
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 726
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 726
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 726
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 727
nextFrame();
_root.zap = true;
Frame 728
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 728
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 728
onClipEvent (load) {
alive = true;
this.stop();
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
this._xscale = -99.9;
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this.play();
this._xscale = -100;
_x = (_x + 2);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 728
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Frame 729
nextFrame();
_root.zap = true;
Frame 730
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 730
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.w1)) {
runmomentum = 5;
}
if (this.hitTest(_root.w2)) {
runmomentum = -5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 730
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._xscale = -100;
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._xscale = 100;
_x = (_x - 2);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Frame 731
nextFrame();
_root.zap = true;
Instance of Symbol 317 MovieClip "death" in Frame 731
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 731
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Frame 732
stop();
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 732
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 732
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 732
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.w1)) {
runmomentum = 5;
}
if (this.hitTest(_root.w2)) {
runmomentum = -5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip in Frame 732
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Frame 733
nextFrame();
_root.zap = true;
Frame 734
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 734
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.w1)) {
runmomentum = 5;
}
if (this.hitTest(_root.w2)) {
runmomentum = -5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 409 MovieClip "e1" in Frame 734
onClipEvent (load) {
alive = true;
health = 2;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (this._x < _root.player._x) {
this._xscale = -100;
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._xscale = 100;
_x = (_x - 2);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 485 MovieClip in Frame 734
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 25;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
function gone() {
this._x = 1000000 /* 0x0F4240 */;
}
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 20;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
if (_root.e1.alive == true) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
this.gotoAndPlay(2);
}
}
if (this._x > 600) {
gone();
}
if (this._y > 431) {
gone();
}
if (this._x < -37) {
gone();
}
if (this._y < -18) {
gone();
}
if (this.hitTest(_root.p1)) {
gone();
}
if (this.hitTest(_root.p2)) {
gone();
}
if (this.hitTest(_root.p3)) {
gone();
}
if (this.hitTest(_root.p4)) {
gone();
}
if (this.hitTest(_root.p5)) {
gone();
}
if (this.hitTest(_root.w1)) {
gone();
}
if (this.hitTest(_root.w2)) {
gone();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
gone();
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
gone();
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
gone();
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
gone();
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
Instance of Symbol 254 MovieClip in Frame 734
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 734
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 734
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 734
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 735
nextFrame();
_root.zap = true;
Frame 736
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 736
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.w1)) {
runmomentum = 5;
}
if (this.hitTest(_root.w2)) {
runmomentum = -5;
}
if (this.hitTest(_root.t1)) {
fallmomentum = -15;
_root.statictext = _root.statictext + 15;
_root.t1.play();
}
if (this.hitTest(_root.t2)) {
fallmomentum = -5;
runmomentum = 5;
_root.statictext = _root.statictext + 15;
_root.t2.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.t1)) {
fallmomentum = -20;
_root.statictext = _root.statictext + 5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.t2)) {
runmomentum = 15;
_root.statictext = _root.statictext + 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 310 MovieClip in Frame 736
onClipEvent (enterFrame) {
if (this.hitTest(_root.p2) == false) {
_y = (_y + 20);
}
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Frame 737
nextFrame();
_root.zap = true;
Frame 738
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 738
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.w1)) {
runmomentum = 5;
}
if (this.hitTest(_root.w2)) {
runmomentum = -5;
}
if (this.hitTest(_root.w3)) {
runmomentum = -5;
}
if (this.hitTest(_root.w4)) {
runmomentum = 5;
}
if (this.hitTest(_root.t1)) {
fallmomentum = -15;
_root.statictext = _root.statictext + 15;
_root.t1.play();
}
if (this.hitTest(_root.t2)) {
fallmomentum = -5;
runmomentum = 5;
_root.statictext = _root.statictext + 15;
_root.t2.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w3)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w4)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.t1)) {
fallmomentum = -20;
_root.statictext = _root.statictext + 5;
}
}
if (_root.cursor._y < _y) {
if (this.hitTest(_root.t2)) {
runmomentum = 15;
_root.statictext = _root.statictext + 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 310 MovieClip in Frame 738
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Instance of Symbol 485 MovieClip in Frame 738
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
function gone() {
this._x = 1000000 /* 0x0F4240 */;
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (_root.tree.rnumber == 1) {
_root.tree.gotoAndPlay(26);
this._y = _root.tree.box._y;
this._x = _root.tree.box._x;
sniperaim();
}
if (this._x > 600) {
gone();
}
if (this._y > 431) {
gone();
}
if (this._x < -37) {
gone();
}
if (this._y < -18) {
gone();
}
if (this.hitTest(_root.p1)) {
gone();
}
if (this.hitTest(_root.p2)) {
gone();
}
if (this.hitTest(_root.p3)) {
gone();
}
if (this.hitTest(_root.p4)) {
gone();
}
if (this.hitTest(_root.p5)) {
gone();
}
if (this.hitTest(_root.w1)) {
gone();
}
if (this.hitTest(_root.w2)) {
gone();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
gone();
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
gone();
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
gone();
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
gone();
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
Instance of Symbol 502 MovieClip "tree" in Frame 738
onClipEvent (load) {
health = 7;
}
onClipEvent (enterFrame) {
if (health < 0) {
_root.nextFrame();
}
rnumber = random(200) + 1;
if (rnumber == 1) {
this.gotoAndPlay(26);
}
if (rnumber == 2) {
this.gotoAndPlay(2);
}
if (rnumber == 4) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 485 MovieClip in Frame 738
onClipEvent (load) {
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
function gone() {
this._x = 1000000 /* 0x0F4240 */;
}
this._y = this._y + 20;
if (_root.tree.rnumber == 3) {
this._y = 0;
this._x = random(500) + 1;
sniperaim();
_root.tree.gotoAndPlay(26);
}
if (this._x > 600) {
gone();
}
if (this._y > 431) {
gone();
}
if (this._x < -37) {
gone();
}
if (this._y < -18) {
gone();
}
if (this.hitTest(_root.p1)) {
gone();
}
if (this.hitTest(_root.p2)) {
gone();
}
if (this.hitTest(_root.p3)) {
gone();
}
if (this.hitTest(_root.p4)) {
gone();
}
if (this.hitTest(_root.p5)) {
gone();
}
if (this.hitTest(_root.w1)) {
gone();
}
if (this.hitTest(_root.w2)) {
gone();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
gone();
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
gone();
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
gone();
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
gone();
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
Frame 739
play();
nextFrame();
_root.zap = true;
Instance of Symbol 502 MovieClip "tree" in Frame 739
onClipEvent (enterFrame) {
this._x = this._x - 2;
this._y = this._y - 2;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
this._alpha = this._alpha - 2;
this._rotation = this._rotation + 1;
}
Frame 740
play();
Frame 741
play();
Frame 742
play();
Frame 743
play();
Frame 744
play();
Frame 745
play();
Frame 746
play();
Frame 747
play();
Frame 748
play();
Frame 749
play();
Frame 750
play();
Frame 751
play();
Frame 752
play();
Frame 753
play();
Frame 754
play();
Frame 755
play();
Frame 756
play();
Frame 757
play();
Frame 758
play();
Frame 759
play();
Frame 760
play();
Frame 761
play();
Frame 762
play();
Frame 763
play();
Frame 764
play();
Frame 765
play();
Frame 766
play();
Frame 767
play();
Frame 768
play();
Frame 769
play();
Frame 770
play();
Frame 772
play();
Frame 773
play();
Frame 774
play();
Frame 775
play();
Frame 776
play();
Frame 777
play();
Frame 778
play();
Frame 779
play();
Frame 780
play();
Frame 781
play();
Frame 782
play();
Frame 783
play();
Frame 784
play();
Frame 785
play();
Frame 786
play();
Frame 787
play();
Frame 788
play();
Frame 789
play();
Frame 790
play();
Frame 791
play();
Frame 792
play();
Frame 793
play();
Frame 794
play();
Frame 795
play();
Frame 796
play();
Frame 797
play();
Frame 798
play();
Frame 799
play();
Frame 800
play();
Frame 801
play();
Frame 802
stop();
Frame 803
play();
Frame 804
play();
Frame 805
play();
Frame 806
play();
Frame 807
play();
Frame 808
play();
Frame 809
play();
Frame 810
play();
Frame 811
play();
Frame 812
play();
Frame 813
play();
Frame 814
play();
Frame 815
play();
Frame 816
play();
Frame 817
play();
Frame 818
play();
Frame 819
play();
Frame 820
play();
Frame 821
play();
Frame 822
play();
Frame 823
play();
Frame 824
play();
Frame 825
play();
Frame 826
play();
Frame 827
play();
Frame 828
play();
Frame 829
play();
Frame 830
play();
Frame 831
play();
Frame 832
stop();
statictext = 0;
Instance of Symbol 254 MovieClip in Frame 832
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 832
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 832
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 513 MovieClip "el1" in Frame 832
onClipEvent (load) {
up = false;
down = true;
timer = 30;
}
onClipEvent (enterFrame) {
if (_y < 0) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 2);
}
if (down == true) {
_y = (_y + 2);
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 832
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 832
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 832
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 832
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 832
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 832
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thebottom)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 832
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 832
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 832
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 832
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 833
nextFrame();
Frame 834
stop();
Instance of Symbol 301 MovieClip "player" in Frame 834
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 513 MovieClip "el1" in Frame 834
onClipEvent (load) {
up = true;
down = false;
timer = 30;
}
onClipEvent (enterFrame) {
if (_y < 170) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 2);
}
if (down == true) {
_y = (_y + 2);
}
}
Instance of Symbol 573 MovieClip "e1" in Frame 834
onClipEvent (load) {
health = 3;
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (fall > 15) {
fall = 15;
}
this.hp.gotoAndPlay(health);
this.distance = (this._x / 7.5) - (_root.player._x / 7.5);
if (this.distance < 0) {
this.distance = this.distance * -1;
}
if (alive == true) {
if (this._x < _root.player._x) {
this._xscale = -100;
this._x = this._x + 1.5;
}
if (this._x > _root.player._x) {
this._xscale = 100;
_x = (_x - 1.5);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
this._y = this._y + 15;
}
}
}
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 575 MovieClip "dupe" in Frame 834
onClipEvent (load) {
i = 0;
time = 0;
}
onClipEvent (enterFrame) {
if (time > 0) {
time--;
} else {
duplicateMovieClip (_root.smoke, "t" + i, i);
i++;
time = 5;
}
}
Instance of Symbol 577 MovieClip "smoke" in Frame 834
onClipEvent (load) {
_root.smoke._x = -50;
_root.smoke._y = -50;
_x = _root.e1._x;
_y = _root.e1._y;
}
Frame 835
nextFrame();
Frame 836
stop();
Instance of Symbol 303 MovieClip in Frame 836
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.beam.nextFrame();
}
}
Instance of Symbol 590 MovieClip "beam" in Frame 836
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
Instance of Symbol 301 MovieClip "player" in Frame 836
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 837
nextFrame();
Frame 838
stop();
Instance of Symbol 254 MovieClip in Frame 838
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 838
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 838
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 303 MovieClip "p3" in Frame 838
onClipEvent (load) {
down = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
down = true;
}
if (down == true) {
_y = (_y + 15);
_root.p1._x = _root.p1._x - 100000;
_root.wire.play();
}
}
Frame 839
nextFrame();
Frame 840
stop();
Instance of Symbol 301 MovieClip "player" in Frame 840
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 841
nextFrame();
Frame 842
stop();
Instance of Symbol 301 MovieClip "player" in Frame 842
onClipEvent (load) {
runmomentum = 0;
fallmomentum = -15;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 573 MovieClip "e1" in Frame 842
onClipEvent (load) {
health = 3;
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (fall > 15) {
fall = 15;
}
this.hp.gotoAndPlay(health);
this.distance = (this._x / 7.5) - (_root.player._x / 7.5);
if (this.distance < 0) {
this.distance = this.distance * -1;
}
if (alive == true) {
if (this._x < _root.player._x) {
this._xscale = -100;
this._x = this._x + 1.5;
}
if (this._x > _root.player._x) {
this._xscale = 100;
_x = (_x - 1.5);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 575 MovieClip "dupe" in Frame 842
onClipEvent (load) {
i = 0;
time = 0;
}
onClipEvent (enterFrame) {
if (time > 0) {
time--;
} else {
duplicateMovieClip (_root.smoke, "t" + i, i);
i++;
time = 5;
}
}
Instance of Symbol 577 MovieClip "smoke" in Frame 842
onClipEvent (load) {
_root.smoke._x = -50;
_root.smoke._y = -50;
_x = _root.e1._x;
_y = _root.e1._y;
}
Frame 843
nextFrame();
Frame 844
stop();
Instance of Symbol 301 MovieClip "player" in Frame 844
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 573 MovieClip "e1" in Frame 844
onClipEvent (load) {
health = 3;
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
this.hp.gotoAndPlay(health);
this.distance = (this._x / 7.5) - (_root.player._x / 7.5);
if (this.distance < 0) {
this.distance = this.distance * -1;
}
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._xscale = -100;
this._x = this._x + 1.5;
}
if (this._x > _root.player._x) {
this._xscale = 100;
_x = (_x - 1.5);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
}
}
if (this.hitTest(_root.player.attack)) {
health = 0;
}
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (this.hitTest(_root.el1.thebottom)) {
health = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
health = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
health = 0;
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.nextFrame();
if (health > 1) {
_x = (_x + _xscale);
}
health = health - 1;
this.gotoAndPlay("hit");
}
}
if (health < 1) {
alive = false;
}
}
if (alive == false) {
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
if (this.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
}
}
Instance of Symbol 513 MovieClip "el1" in Frame 844
onClipEvent (load) {
up = true;
down = false;
timer = 7.5;
}
onClipEvent (enterFrame) {
if (_y < 1) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 5);
}
if (down == true) {
_y = (_y + 52);
}
}
Instance of Symbol 513 MovieClip "el2" in Frame 844
onClipEvent (load) {
up = true;
down = false;
timer = 15;
}
onClipEvent (enterFrame) {
if (_y < 1) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 10);
}
if (down == true) {
_y = (_y + 10);
}
}
Instance of Symbol 513 MovieClip "el3" in Frame 844
onClipEvent (load) {
up = true;
down = false;
timer = 5;
}
onClipEvent (enterFrame) {
if (_y < 1) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 15);
}
if (down == true) {
_y = (_y + 15);
}
}
Instance of Symbol 575 MovieClip "dupe" in Frame 844
onClipEvent (load) {
i = 0;
time = 0;
}
onClipEvent (enterFrame) {
if (time > 0) {
time--;
} else {
duplicateMovieClip (_root.smoke, "t" + i, i);
i++;
time = 5;
}
}
Instance of Symbol 577 MovieClip "smoke" in Frame 844
onClipEvent (load) {
_root.smoke._x = -50;
_root.smoke._y = -50;
_x = _root.e1._x;
_y = _root.e1._y;
}
Instance of Symbol 317 MovieClip "death" in Frame 844
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thebottom)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thefloor)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el2.thefloor)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el3.thefloor)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Frame 845
nextFrame();
Frame 846
stop();
Instance of Symbol 301 MovieClip "player" in Frame 846
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 310 MovieClip in Frame 846
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Frame 847
nextFrame();
Frame 848
stop();
statictext = 100;
Instance of Symbol 301 MovieClip "player" in Frame 848
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.water)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + 1;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
if (this.hitTest(_root.water) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 317 MovieClip "death" in Frame 848
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thebottom)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.water)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Frame 849
nextFrame();
Frame 850
stop();
Instance of Symbol 301 MovieClip "player" in Frame 850
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.water)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + 1;
}
if (this.hitTest(_root.l1)) {
fallmomentum = 0;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
if (this.hitTest(_root.water) == false) {
if (this.hitTest(_root.l1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.l1)) {
this.water.play();
fallmomentum = -5;
}
}
if (Key.isDown(83)) {
if (hitTest(_root.l1)) {
this.water.play();
fallmomentum = 10;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 622 MovieClip in Frame 850
onClipEvent (enterFrame) {
_x = (_x - 5);
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
_root.death.play();
}
}
Instance of Symbol 317 MovieClip "death" in Frame 850
onClipEvent (load) {
this._x = 10000;
this._y = -2000;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thebottom)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.water)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Frame 851
nextFrame();
Frame 852
stop();
Instance of Symbol 254 MovieClip in Frame 852
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 852
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 852
onClipEvent (load) {
runmomentum = 0;
fallmomentum = -15;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.water)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + 1;
}
if (this.hitTest(_root.l1)) {
fallmomentum = 0;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
if (this.hitTest(_root.water) == false) {
if (this.hitTest(_root.l1) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.l1)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 317 MovieClip "death" in Frame 852
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.el1.thebottom)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.water)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 852
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 852
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 853
nextFrame();
Frame 854
stop();
Instance of Symbol 301 MovieClip "player" in Frame 854
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = -3;
}
if (this.hitTest(_root.p3)) {
fallmomentum = -3;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -5;
}
if (this.hitTest(_root.el2.thefloor)) {
fallmomentum = -10;
}
if (this.hitTest(_root.el3.thefloor)) {
fallmomentum = -15;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.water)) {
fallmomentum = fallmomentum - 0.1;
runmomentum = runmomentum + 1;
}
if (this.hitTest(_root.l1)) {
fallmomentum = 0;
}
if (this.hitTest(_root.l2)) {
fallmomentum = 0;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el2.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.el3.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
if (this.hitTest(_root.el2.thefloor) == false) {
if (this.hitTest(_root.el3.thefloor) == false) {
if (this.hitTest(_root.water) == false) {
if (this.hitTest(_root.l1) == false) {
if (this.hitTest(_root.l2) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.water)) {
this.water.play();
fallmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.l1)) {
this.water.play();
fallmomentum = -10;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.l2)) {
this.water.play();
fallmomentum = -10;
}
}
if (Key.isDown(83)) {
if (hitTest(_root.l1)) {
this.water.play();
fallmomentum = 10;
}
}
if (Key.isDown(83)) {
if (hitTest(_root.l2)) {
this.water.play();
fallmomentum = 10;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.l1)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 689 MovieClip "boss" in Frame 854
onClipEvent (load) {
movemode = "still";
fall = 20;
speed = 3;
timer = 100;
health = 5;
}
onClipEvent (enterFrame) {
if (this.attack.hitTest(_root.player)) {
if (this.attack.hitTest(_root.player.attack) == false) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
if (this.aup.hitTest(_root.player)) {
movemode = "up";
}
if (this.aacross.hitTest(_root.player)) {
speed = 20;
_rotation = -10;
}
this.hp.gotoAndPlay(health);
if (movemode == "notstill") {
if (this.aup.hitTest(_root.player)) {
movemode = "up";
}
this.jets.gotoAndPlay(1);
if (this.aacross.hitTest(_root.player) == false) {
_rotation = 0;
}
if (this.walk.hitTest(_root.player)) {
speed = 3;
}
if (this._x > _root.player._x) {
this._x = this._x - speed;
_xscale = 100;
}
if (this._x < _root.player._x) {
this._x = this._x + speed;
_xscale = -100;
}
}
if (this.attack.hitTest(_root.p1) == false) {
_y = (_y + fall);
}
this.distance = (this._x / 7.5) - (_root.player._x / 7.5);
if (this.distance < 0) {
distance = distance * -1;
}
if (movemode == "still") {
_y = (_y - fall);
_rotation = 0;
timer = timer - 1;
this.jets.gotoAndPlay(2);
speed = 0;
}
if (timer < 1) {
timer = 100;
movemode = "notstill";
}
if (movemode == "up") {
_y = (_y - 30);
_rotation = 0;
this.jets.gotoAndPlay(2);
if (this._y < 1) {
timer = 30;
movemode = "still";
}
}
if (this.attack.hitTest(_root.machine)) {
health = health - 1;
_y = (_y + 100);
movemode = "notstill";
this.play();
}
if (health < 1) {
_root.nextFrame();
this.stop();
this._y = this._y - 5;
this._xscale = this._xscale - 5;
this._alpha = this._alpha - 5;
}
}
Instance of Symbol 696 MovieClip "gun" in Frame 854
onClipEvent (enterFrame) {
this._x = _root.boss._x;
this._y = _root.boss._y;
gotoSpotX = _root.player._x;
gotoSpotY = _root.player._y;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
if (_rotation < targetRotation) {
_rotation = (_rotation + 2.5);
}
if (_rotation > targetRotation) {
_rotation = (_rotation - 2.5);
}
if (this._x > _root.player._x) {
_xscale = 100;
}
if (this._x < _root.player._x) {
_xscale = -100;
}
}
Instance of Symbol 698 MovieClip "shot" in Frame 854
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
_rotation = _root.gun._rotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
function gone() {
this._x = 1000000 /* 0x0F4240 */;
}
timer = timer - 1;
if (timer < 1) {
timer = 150;
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 5) {
_root.gun.play();
this._y = _root.gun._y;
this._x = _root.gun._x;
sniperaim();
}
if (this._x > 600) {
gone();
}
if (this._y > 431) {
gone();
}
if (this._x < -37) {
gone();
}
if (this._y < -18) {
gone();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
gone();
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
gone();
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
gone();
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
gone();
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
_root.player.runmomentum = 0;
_root.player.charged = false;
_root.statictext = 0;
}
}
Instance of Symbol 303 MovieClip "p2" in Frame 854
onClipEvent (load) {
down = true;
up = false;
}
onClipEvent (enterFrame) {
if (this._y < 94.5) {
down = true;
up = false;
}
if (this.hitTest(_root.p1)) {
up = true;
down = false;
}
if (up == true) {
_y = (_y - 4);
}
if (down == true) {
_y = (_y + 2);
}
}
Instance of Symbol 303 MovieClip "p3" in Frame 854
onClipEvent (load) {
down = true;
up = false;
}
onClipEvent (enterFrame) {
if (this._y < 94.5) {
down = true;
up = false;
}
if (this.hitTest(_root.p1)) {
up = true;
down = false;
}
if (up == true) {
_y = (_y - 3);
}
if (down == true) {
_y = (_y + 3);
}
}
Instance of Symbol 310 MovieClip in Frame 854
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Instance of Symbol 701 MovieClip "machine" in Frame 854
onClipEvent (load) {
left = false;
right = true;
}
onClipEvent (enterFrame) {
if (left == true) {
_x = (_x - 5);
}
if (right == true) {
_x = (_x + 5);
}
if (_x < 1) {
right = true;
left = false;
}
if (_x > 450) {
left = true;
right = false;
}
if (this.hitTest(_root.player)) {
_root.player.runmomentum = _root.player.runmomentum * _root.player.slowdown;
}
}
Frame 855
play();
Frame 856
play();
Frame 857
play();
Frame 858
play();
Frame 859
play();
Frame 860
play();
Frame 861
play();
Frame 862
play();
Frame 863
play();
Frame 864
play();
Frame 865
play();
Frame 866
play();
Frame 867
play();
Frame 868
play();
Frame 869
play();
Frame 870
play();
Frame 871
play();
Frame 872
play();
Frame 873
play();
Frame 874
play();
Frame 875
play();
Frame 876
play();
Frame 877
play();
Frame 878
play();
Frame 879
play();
Frame 880
play();
Frame 881
play();
Frame 882
play();
Frame 883
play();
Frame 884
play();
Frame 885
play();
Frame 886
play();
Frame 887
play();
Frame 888
play();
Frame 889
play();
Frame 890
play();
Frame 891
play();
Frame 892
play();
Frame 893
play();
Frame 894
play();
Frame 895
play();
Frame 896
play();
Frame 897
play();
Frame 898
play();
Frame 899
play();
Frame 900
play();
Frame 901
play();
Frame 902
play();
Frame 903
play();
Frame 904
play();
Frame 905
play();
Frame 906
play();
Frame 907
play();
Frame 908
play();
Frame 909
play();
Frame 910
play();
Frame 911
play();
Frame 912
play();
Frame 913
play();
Frame 914
play();
Frame 915
play();
Frame 916
play();
Frame 917
play();
Frame 918
stop();
Frame 919
play();
Frame 920
play();
Frame 921
play();
Frame 922
play();
Frame 923
play();
Frame 924
play();
Frame 925
play();
Frame 926
play();
Frame 927
play();
Frame 928
play();
Frame 929
play();
Frame 930
play();
Frame 931
play();
Frame 932
play();
Frame 933
play();
Frame 934
play();
Frame 935
play();
Frame 936
play();
Frame 937
play();
Frame 938
play();
Frame 939
play();
Frame 940
play();
Frame 941
play();
Frame 942
play();
Frame 943
play();
Frame 944
play();
Frame 945
play();
Frame 946
play();
Frame 947
play();
Frame 948
stop();
_root.statictext = 0;
_root.zap = true;
Instance of Symbol 254 MovieClip in Frame 948
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 948
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 948
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 737 MovieClip "e1" in Frame 948
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
}
if (this.hitTest(_root.p3)) {
_y = (_y + 10);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 948
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 948
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 948
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 948
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 948
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 948
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 948
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 948
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 948
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 254 MovieClip in Frame 948
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 254 MovieClip in Frame 948
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 949
nextFrame();
_root.zap = true;
Frame 950
stop();
_root.zap = true;
Instance of Symbol 743 MovieClip in Frame 950
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 950
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 950
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 301 MovieClip "player" in Frame 950
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 737 MovieClip "e1" in Frame 950
onClipEvent (load) {
alive = true;
timer = -10;
ab = true;
_xscale = 1;
_yscale = 1;
}
onClipEvent (enterFrame) {
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
if (_xscale > 100) {
_xscale = 100;
}
if (_yscale > 100) {
_yscale = 100;
}
this.stop();
timer = timer + 0.25;
if (ab == true) {
_x = (_x + 5.3);
}
if (alive == true) {
_y = (_y + timer);
if (this.hitTest(_root.p3)) {
_y = (_y + 1);
timer = -1;
ab = false;
}
if (this.hitTest(_root.p1)) {
timer = -1;
ab = false;
}
if (this.hitTest(_root.p2)) {
timer = -1;
ab = false;
}
if (timer > 0) {
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + 10;
}
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 950
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 5;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Frame 951
nextFrame();
_root.zap = true;
Frame 952
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 952
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 747 MovieClip in Frame 952
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 15;
ebulletcounter = 1;
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
timer = timer - 1;
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this._y = _root.e1._y;
this._x = _root.e1._x;
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
this.play();
destroy = true;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this.play();
destroy = true;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this.play();
destroy = true;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this.play();
destroy = true;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this.play();
destroy = true;
}
if (this.hitTest(_root.player)) {
this.play();
destroy = true;
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
}
Frame 953
nextFrame();
_root.zap = true;
Frame 954
stop();
_root.zap = true;
Instance of Symbol 743 MovieClip in Frame 954
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 954
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 954
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 954
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 954
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 301 MovieClip "player" in Frame 954
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 303 MovieClip in Frame 954
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.fallmomentum = -30;
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
}
Instance of Symbol 303 MovieClip in Frame 954
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("secondchoice");
}
}
Instance of Symbol 303 MovieClip in Frame 954
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Frame 955
nextFrame();
_root.zap = true;
Frame 956
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 956
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 737 MovieClip "e1" in Frame 956
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
}
if (this.hitTest(_root.p3)) {
_y = (_y + 10);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 956
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Instance of Symbol 737 MovieClip "e2" in Frame 956
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
}
if (this.hitTest(_root.p3)) {
_y = (_y + 10);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 956
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 20) {
this._alpha = 100;
this._y = (_root.e2._y = _root.e2._y + 0);
this._x = (_root.e2._x = _root.e2._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Instance of Symbol 303 MovieClip in Frame 956
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Frame 957
nextFrame();
_root.zap = true;
Frame 958
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 958
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 737 MovieClip "e1" in Frame 958
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
}
if (this.hitTest(_root.p3)) {
_y = (_y + 10);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 958
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Instance of Symbol 737 MovieClip "e2" in Frame 958
onClipEvent (load) {
alive = true;
fall = 0;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (fall > 15) {
fall = 15;
}
if (this._x < _root.player._x) {
this._x = this._x + 2;
}
if (this._x > _root.player._x) {
this._x = this._x - 2;
}
if (this.hitTest(_root.p3)) {
_y = (_y + 10);
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
this._y = this._y + fall;
fall = fall + 0.25;
}
}
}
if (this.hitTest(_root.w1)) {
this._y = this._y - 5;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
}
if (alive == false) {
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
if (this.hitTest(_root.player)) {
if (alive == true) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 958
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root._root.player._x;
ebulletspoty = _root._root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1.5;
if (_root.e1.alive == true) {
timer = timer - 1;
if (timer < 0) {
timer = 30;
}
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 20) {
this._alpha = 100;
this._y = (_root.e2._y = _root.e2._y + 0);
this._x = (_root.e2._x = _root.e2._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
Instance of Symbol 303 MovieClip in Frame 958
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Frame 959
nextFrame();
_root.zap = true;
Frame 960
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 960
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 738 MovieClip in Frame 960
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > 400) {
_y = 0;
speed = random(10) + 3;
_x = (random(550) + 1);
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
_y = 450;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
_y = 450;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
_y = 450;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
_y = 450;
}
}
Instance of Symbol 738 MovieClip in Frame 960
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > 400) {
_y = 0;
speed = random(10) + 3;
_x = (random(550) + 1);
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
_y = 450;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
_y = 450;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
_y = 450;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
_y = 450;
}
}
Instance of Symbol 738 MovieClip in Frame 960
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > 400) {
_y = 0;
speed = random(10) + 3;
_x = (random(550) + 1);
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
_y = 450;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
_y = 450;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
_y = 450;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
_y = 450;
}
}
Frame 961
nextFrame();
_root.zap = true;
Frame 962
stop();
_root.zap = true;
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 743 MovieClip in Frame 962
onClipEvent (enterFrame) {
rnum = random(50) + 1;
if (rnum == 30) {
this.play();
}
}
Instance of Symbol 303 MovieClip "p3" in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_y = (_y + 5);
_root.p4._y = _root.p4._y - 5;
_root.g3._yscale = _root.g3._yscale - 1;
_root.g4._yscale = _root.g4._yscale + 1;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 962
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = 0;
}
if (this.hitTest(_root.p2)) {
fallmomentum = 0;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 0;
}
if (this.hitTest(_root.p4)) {
fallmomentum = 0;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p3)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 303 MovieClip "p1" in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_y = (_y + 5);
_root.p2._y = _root.p2._y - 5;
_root.g1._yscale = _root.g1._yscale - 1;
_root.g2._yscale = _root.g2._yscale + 1;
}
}
Instance of Symbol 303 MovieClip in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.fallmomentum = -30;
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
}
Instance of Symbol 303 MovieClip "p2" in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_y = (_y + 5);
_root.p1._y = _root.p1._y - 5;
_root.g2._yscale = _root.g2._yscale - 1;
_root.g1._yscale = _root.g1._yscale + 1;
}
}
Instance of Symbol 303 MovieClip "p4" in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_y = (_y + 5);
_root.p3._y = _root.p3._y - 5;
_root.g4._yscale = _root.g4._yscale - 1;
_root.g3._yscale = _root.g3._yscale + 1;
}
}
Instance of Symbol 303 MovieClip in Frame 962
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.fallmomentum = -30;
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
}
Frame 963
nextFrame();
_root.zap = true;
Frame 964
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 964
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 965
nextFrame();
_root.zap = true;
Frame 966
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 966
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 737 MovieClip "boss" in Frame 966
onClipEvent (load) {
timer = 0;
ouch = false;
}
onClipEvent (enterFrame) {
if (ouch == true) {
timer = timer - 1;
this._y = this._y - 0.3;
}
if (timer < 1) {
timer = 100;
ouch = false;
_y = 390;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
ouch = true;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
ouch = true;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
ouch = true;
}
if (this.foot1.hitTest(_root.b4)) {
_root.b4.play();
ouch = true;
}
if (this.hitTest(_root.b1) == false) {
if (this.hitTest(_root.b2) == false) {
if (this.hitTest(_root.b3) == false) {
if (this.hitTest(_root.b4) == false) {
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
}
}
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 966
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Instance of Symbol 738 MovieClip in Frame 966
onClipEvent (load) {
speed = random(10) + 3;
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > 400) {
_y = 0;
speed = random(10) + 3;
_x = (random(550) + 1);
}
if (this.hitTest(_root.player)) {
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
_root.death.play();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
_y = 450;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
_y = 450;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
_y = 450;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
_y = 450;
}
}
Instance of Symbol 738 MovieClip "e1shot" in Frame 966
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
destroy = false;
}
onClipEvent (enterFrame) {
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (_root.boss.timer == 1) {
this._y = _root.boss._y;
this._x = _root.boss._x;
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this._x = 100000 /* 0x0186A0 */;
}
if (this.hitTest(_root.player.attack)) {
this._x = 1000000 /* 0x0F4240 */;
}
if (this.hitTest(_root.player)) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
if (this.hitTest(_root.weak)) {
_root.nextFrame();
}
}
Frame 967
play();
_root.zap = true;
Instance of Symbol 737 MovieClip "e1" in Frame 967
onClipEvent (enterFrame) {
_xscale = (_xscale - 5);
_x = (_x + 5);
_alpha = (_alpha - 5);
}
Frame 968
play();
Frame 969
play();
Frame 970
play();
Frame 971
play();
Frame 972
play();
Frame 973
play();
Frame 974
play();
Frame 975
play();
Frame 976
play();
Frame 977
play();
Frame 978
play();
Frame 979
play();
Frame 980
play();
Frame 981
play();
Frame 982
play();
Frame 983
play();
Frame 984
play();
Frame 985
play();
Frame 986
play();
Frame 987
play();
Frame 988
play();
Frame 989
play();
Frame 990
play();
Frame 991
play();
Frame 992
play();
Frame 993
play();
Frame 994
play();
Frame 995
play();
Frame 996
play();
Frame 997
play();
Frame 998
play();
Frame 999
play();
Frame 1000
play();
Frame 1001
play();
Frame 1002
play();
Frame 1003
play();
Frame 1004
play();
Frame 1005
play();
Frame 1006
play();
Frame 1007
play();
Frame 1008
play();
Frame 1009
play();
Frame 1010
play();
Frame 1011
play();
Frame 1012
play();
Frame 1013
play();
Frame 1014
play();
Frame 1015
play();
Frame 1016
play();
Frame 1017
play();
Frame 1018
play();
Frame 1019
play();
Frame 1020
play();
Frame 1021
play();
Frame 1022
play();
Frame 1023
play();
Frame 1024
play();
Frame 1025
play();
Frame 1026
play();
Frame 1027
play();
Frame 1028
play();
Frame 1029
play();
Frame 1030
play();
Frame 1031
stop();
Frame 1032
play();
Frame 1033
play();
Frame 1034
play();
Frame 1035
play();
Frame 1036
play();
Frame 1037
play();
Frame 1038
play();
Frame 1039
play();
Frame 1040
play();
Frame 1041
play();
Frame 1042
play();
Frame 1043
play();
Frame 1044
play();
Frame 1045
play();
Frame 1046
play();
Frame 1047
play();
Frame 1048
play();
Frame 1049
play();
Frame 1050
play();
Frame 1051
play();
Frame 1052
play();
Frame 1053
play();
Frame 1054
play();
Frame 1055
play();
Frame 1056
play();
Frame 1057
play();
Frame 1058
play();
Frame 1059
play();
Frame 1060
play();
Frame 1061
stop();
_root.statictext = 0;
_root.zap = true;
Instance of Symbol 806 MovieClip in Frame 1061
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 806 MovieClip in Frame 1061
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 1061
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
fallmomentum = fallmomentum + weight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 307 MovieClip "staticbar" in Frame 1061
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.statictext);
if (_root.statictext > 100) {
_root.statictext = 100;
}
}
Instance of Symbol 310 MovieClip "b1" in Frame 1061
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 312 MovieClip "b2" in Frame 1061
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 314 MovieClip "b3" in Frame 1061
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 316 MovieClip "b4" in Frame 1061
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = targetRotation;
}
Instance of Symbol 317 MovieClip "death" in Frame 1061
onClipEvent (enterFrame) {
this._y = this._y + _root.player.fallmomentum;
if (this.hitTest(_root.p1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p2)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p3)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p4)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.p5)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
if (this.hitTest(_root.t1)) {
this.play();
_root.player.fallmomentum = 5;
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 1061
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 303 MovieClip in Frame 1061
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 806 MovieClip in Frame 1061
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Frame 1062
nextFrame();
_root.zap = true;
Frame 1063
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1063
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 513 MovieClip "el1" in Frame 1063
onClipEvent (load) {
up = false;
down = true;
timer = 30;
}
onClipEvent (enterFrame) {
if (_y < 0) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 2);
}
if (down == true) {
_y = (_y + 2);
}
}
Frame 1064
nextFrame();
_root.zap = true;
Frame 1065
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1065
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 513 MovieClip "el1" in Frame 1065
onClipEvent (load) {
up = true;
down = false;
timer = 30;
}
onClipEvent (enterFrame) {
if (_y < 210) {
up = false;
timer = timer - 1;
if (timer < 1) {
down = true;
timer = 30;
}
}
if (this.hitTest(_root.thebottom)) {
down = false;
timer = timer - 1;
if (timer < 1) {
up = true;
timer = 30;
}
}
if (up == true) {
_y = (_y - 2);
}
if (down == true) {
_y = (_y + 2);
}
}
Frame 1066
nextFrame();
_root.zap = true;
Frame 1067
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1067
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 500) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p5)) {
fallmomentum = 5;
}
if (this.hitTest(_root.el1.thefloor)) {
fallmomentum = -2;
}
if (this.hitTest(_root.w1)) {
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
runmomentum = 5;
}
if (this.hitTest(_root.el1.thebottom)) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
_root.death.play();
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p3) == false) {
if (this.hitTest(_root.p4) == false) {
if (this.hitTest(_root.p5) == false) {
if (this.hitTest(_root.el1.thefloor) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.el1.thefloor)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.el1.thefloor)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1068
_root.gotoAndPlay("cinematic");
_root.zap = true;
Frame 1069
stop();
_root.statictext = 0;
timermc.timer = 150;
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1069
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 830 MovieClip "timermc" in Frame 1069
onClipEvent (load) {
ttimer = 29;
}
onClipEvent (enterFrame) {
ttimer = ttimer - 1;
if (ttimer < 1) {
ttimer = 30;
}
if (ttimer == 30) {
this.timer = this.timer - 1;
}
if (this.timer == 0) {
_root.fade.play();
_root.player.fallmomentum = 0;
_root.player.runmomentum = 0;
}
if (Key.isDown(37)) {
if (ttimer < 29) {
ttimer = ttimer + 0.5;
}
}
if (Key.isDown(39)) {
if (ttimer < 29) {
ttimer = ttimer + 0.5;
}
}
if (this.timer < 0) {
this.timer = 0;
}
}
Frame 1070
nextFrame();
_root.zap = true;
Frame 1071
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1071
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 840 MovieClip "e1" in Frame 1071
onClipEvent (load) {
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
}
Instance of Symbol 845 MovieClip in Frame 1071
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
if (_root.e1.alive == true) {
timer = timer - 1;
}
if (timer < 0) {
timer = 30;
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this.gotoAndStop(1);
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.player.attack)) {
this.play();
}
if (this.hitTest(_root.player)) {
if (this.hitTest(_root.b1) == false) {
if (this.hitTest(_root.b2) == false) {
if (this.hitTest(_root.b3) == false) {
if (this.hitTest(_root.b4) == false) {
if (this.hitTest(_root.player.attack) == false) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
}
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 1071
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
this.play();
}
}
Frame 1072
nextFrame();
_root.zap = true;
Frame 1073
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1073
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 840 MovieClip "e1" in Frame 1073
onClipEvent (load) {
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack)) {
alive = false;
}
if (this.hitTest(_root.b1)) {
alive = false;
_root.b1.play();
}
if (this.hitTest(_root.b2)) {
alive = false;
_root.b2.play();
}
if (this.hitTest(_root.b3)) {
alive = false;
_root.b3.play();
}
if (this.hitTest(_root.b4)) {
alive = false;
_root.b4.play();
}
if (alive == false) {
this.stop();
this._y = this._y - 2;
this._xscale = this._xscale - 2;
this._alpha = this._alpha - 2;
}
}
Instance of Symbol 845 MovieClip in Frame 1073
onClipEvent (load) {
function sniperaim() {
ebulletspeed = 20;
ebulletcounter = 1;
ebulletspotx = _root.player._x;
ebulletspoty = _root.player._y;
ebulletthere_x = _x - ebulletspotx;
ebulletthere_y = _y - ebulletspoty;
ebullettargetrotation = (-Math.atan2(ebulletthere_x, ebulletthere_y)) / (Math.PI/180);
_rotation = ebullettargetrotation;
}
timer = 45;
destroy = false;
}
onClipEvent (enterFrame) {
if (_root.e1.alive == true) {
timer = timer - 1;
}
if (timer < 0) {
timer = 30;
}
if (destroy == false) {
_y = (_y - (ebulletspeed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (ebulletspeed * Math.sin(_rotation * (Math.PI/180))));
}
if (timer == 10) {
this.gotoAndStop(1);
this._alpha = 100;
this._y = (_root.e1._y = _root.e1._y + 0);
this._x = (_root.e1._x = _root.e1._x + 0);
sniperaim();
}
if (this._x > 600) {
this._x = 1000;
}
if (this._y > 431) {
this._x = 1000;
}
if (this._x < -37) {
this._x = 1000;
}
if (this._y < -18) {
this._x = 1000;
}
if (this.hitTest(_root.p1)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.p2)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.p3)) {
ebulletspeed = 0;
this.play();
}
if (this.hitTest(_root.b1)) {
_root.b1.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b2)) {
_root.b2.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b3)) {
_root.b3.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.b4)) {
_root.b4.play();
this.play();
ebulletspeed = 0;
}
if (this.hitTest(_root.player.attack)) {
this.play();
}
if (this.hitTest(_root.player)) {
if (this.hitTest(_root.b1) == false) {
if (this.hitTest(_root.b2) == false) {
if (this.hitTest(_root.b3) == false) {
if (this.hitTest(_root.b4) == false) {
if (this.hitTest(_root.player.attack) == false) {
_root.death.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
this._x = 1000000 /* 0x0F4240 */;
}
}
}
}
}
}
}
Instance of Symbol 303 MovieClip in Frame 1073
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.fade.play();
_root.player.fallmomentum = 0;
_root.player.runmomentum = 0;
}
}
Frame 1074
nextFrame();
_root.zap = true;
Frame 1075
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1075
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1076
nextFrame();
_root.zap = true;
Frame 1077
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1077
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1078
nextFrame();
_root.zap = true;
Frame 1079
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1079
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1080
nextFrame();
_root.zap = true;
Frame 1081
stop();
_root.zap = true;
Instance of Symbol 806 MovieClip in Frame 1081
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 806 MovieClip in Frame 1081
onClipEvent (load) {
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (this._x > 550) {
this._alpha = random(100) + 1;
this._x = 0;
this._y = random(390) + 10;
}
}
Instance of Symbol 301 MovieClip "player" in Frame 1081
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1082
nextFrame();
_root.zap = true;
Frame 1083
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1083
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1084
nextFrame();
_root.zap = true;
Frame 1085
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1085
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1086
nextFrame();
_root.zap = true;
Frame 1087
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1087
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1088
nextFrame();
_root.zap = true;
Frame 1089
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1089
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Frame 1090
nextFrame();
_root.zap = true;
Frame 1091
stop();
_root.zap = true;
Instance of Symbol 301 MovieClip "player" in Frame 1091
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
}
onClipEvent (mouseDown) {
if (charged == true) {
_root.b1.nextFrame();
_root.b2.nextFrame();
_root.b3.nextFrame();
_root.b4.nextFrame();
fallmomentum = -10;
this.gotoAndPlay("discharge");
charged = false;
_root.statictext = 1;
}
}
onClipEvent (enterFrame) {
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.w1)) {
fallmomentum = 0.5;
runmomentum = -5;
}
if (this.hitTest(_root.w2)) {
fallmomentum = 0.5;
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p2)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p4)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p2)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p4)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w1)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = -5;
}
}
if (_root.cursor._y < _y) {
if (hitTest(_root.w2)) {
this.water.play();
fallmomentum = jumpheight;
runmomentum = 5;
}
}
if (_root.cursor._x > _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
if (this.hitTest(_root.p1)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p2)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p3)) {
_root.statictext = _root.statictext + 1;
}
if (this.hitTest(_root.p4)) {
_root.statictext = _root.statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > 19) {
this._alpha = 0;
_root.death._x = this._x;
_root.death._y = this._y;
runmomentum = 0;
charged = false;
_root.statictext = 0;
}
if (this._alpha == 0) {
runmomentum = 0;
}
}
Instance of Symbol 301 MovieClip "e1" in Frame 1091
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
statictext = 0;
alive = true;
ftd = false;
}
onClipEvent (enterFrame) {
if (_x < 20) {
fallmomentum = jumpheight;
}
if (_y > _root.player._y) {
if (_x == _root.player._x) {
fallmomentum = jumpheight;
}
}
if (this.hitTest(_root.player.attack)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.player)) {
if (statictext > 99) {
_root.zap = false;
fallmomentum = -10;
this.gotoAndPlay("discharge");
statictext = 1;
}
}
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._y > 400) {
_root.fade.play();
}
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
if (ftd == true) {
if (_root.player._alpha == 0) {
_root.nextFrame();
}
}
if (ftd == false) {
fallmomentum = fallmomentum * bounce;
}
if (_y > _root.player._y) {
fallmomentum = jumpheight;
}
}
if (this.hitTest(_root.p2)) {
if (ftd == true) {
if (_root.player._alpha == 0) {
_root.nextFrame();
}
}
if (ftd == false) {
fallmomentum = fallmomentum * bounce;
}
}
if (this.hitTest(_root.p3)) {
fallmomentum = 5;
}
if (this.hitTest(_root.p1) == false) {
if (this.hitTest(_root.p2) == false) {
if (this.hitTest(_root.p4) == false) {
fallmomentum = fallmomentum + weight;
}
}
}
if (hitTest(_root.w1)) {
this.water.play();
runmomentum = -5;
if (_y > _root.player._y) {
fallmomentum = jumpheight;
}
if (_y < _root.player._y) {
fallmomentum = jumpheight;
runmomentum = -10;
}
}
if (hitTest(_root.w2)) {
this.water.play();
runmomentum = 5;
if (_y > _root.player._y) {
fallmomentum = jumpheight;
}
if (_y < _root.player._y) {
fallmomentum = jumpheight;
runmomentum = 10;
}
}
if (_x < _root.player._x) {
if (this.hitTest(_root.p1)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p2)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p3)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p4)) {
statictext = statictext + 1;
}
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_x > _root.player._x) {
if (this.hitTest(_root.p1)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p2)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p3)) {
statictext = statictext + 1;
}
if (this.hitTest(_root.p4)) {
statictext = statictext + 1;
}
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (alive == false) {
_root.nextFrame();
}
if (this.attack.hitTest(_root.player)) {
_root.death.play();
_root.b1.play();
_root.b2.play();
_root.b3.play();
_root.b4.play();
_root.player._alpha = 0;
_root.death._x = _root.player._x;
_root.death._y = _root.player._y;
}
if (fallmomentum > 19) {
if (player._alpha == 0) {
ftd = true;
}
}
if (ftd == true) {
if (statictext > 99) {
_root.zap = false;
fallmomentum = -10;
this.gotoAndPlay("discharge");
statictext = 1;
ftd = false;
}
}
}
Instance of Symbol 307 MovieClip "staticbar2" in Frame 1091
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.e1.statictext);
if (_root.e1.statictext > 100) {
_root.e1.statictext = 100;
}
}
Frame 1092
_root.gotoAndPlay("Cinematic2");
Instance of Symbol 806 MovieClip in Frame 1093
onClipEvent (enterFrame) {
_x = (_x + 0.5);
}
Instance of Symbol 806 MovieClip in Frame 1093
onClipEvent (enterFrame) {
_x = (_x + 0.5);
}
Instance of Symbol 806 MovieClip in Frame 1093
onClipEvent (enterFrame) {
_x = (_x + 0.5);
}
Instance of Symbol 43 MovieClip "c2" in Frame 1093
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 1093
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 1093
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 1093
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 1093
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 1093
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 1707
_root.gotoAndPlay("europa");
Instance of Symbol 43 MovieClip "c2" in Frame 1708
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 1708
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 1708
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 1708
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 1708
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 1708
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 2717
_root.gotoAndPlay(1);
Frame 2718
nextFrame();
slowdown = 0.94;
bounce = -0.75;
jumpheight = -10;
maxfall = 20;
maxrun = 15;
thrust = 0.5;
weight = 1;
Instance of Symbol 43 MovieClip "c2" in Frame 2718
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 2718
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 2718
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 2718
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 2718
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 2718
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 2719
stop();
Instance of Symbol 301 MovieClip "player" in Frame 2719
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p1) == false) {
fallmomentum = fallmomentum + weight;
}
if (_root.cursor._y < _y) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (_root.cursor._x > _x) {
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (_root.cursor._x < _x) {
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > (maxfall - 1)) {
_root.nextFrame();
}
}
Frame 2720
prevFrame();
Instance of Symbol 301 MovieClip "player" in Frame 2720
onClipEvent (load) {
runmomentum = 0;
fallmomentum = 0;
charged = false;
}
onClipEvent (enterFrame) {
slowdown = _root.slowdown;
bounce = _root.bounce;
jumpheight = _root.jumpheight;
maxfall = _root.maxfall;
maxrun = _root.maxrun;
thrust = _root.thrust;
weight = _root.weight;
this._x = this._x + runmomentum;
this._y = this._y + fallmomentum;
this.balloon._rotation = this.balloon._rotation + runmomentum;
if (this._x > 549) {
runmomentum = -5;
}
if (this._x < 1) {
runmomentum = 5;
}
if (this.hitTest(_root.p1)) {
fallmomentum = fallmomentum * bounce;
}
if (this.hitTest(_root.p1) == false) {
fallmomentum = fallmomentum + weight;
}
if (Key.isDown(87)) {
if (hitTest(_root.p1)) {
this.water.play();
fallmomentum = jumpheight;
}
}
if (Key.isDown(68)) {
runmomentum = runmomentum + thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (Key.isDown(65)) {
runmomentum = runmomentum - thrust;
this.water.play();
} else {
this.water._rotation = 0;
runmomentum = runmomentum * slowdown;
}
if (runmomentum > maxrun) {
runmomentum = maxrun;
}
if (runmomentum < (-maxrun)) {
runmomentum = -maxrun;
}
if (fallmomentum > maxfall) {
fallmomentum = maxfall;
}
if (fallmomentum > (maxfall - 1)) {
_root.nextFrame();
}
}
Frame 2721
_root.gotoAndPlay("thegame");
Frame 2722
play();
play();
Instance of Symbol 43 MovieClip "c2" in Frame 2722
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 3;
speedy = distancey / 3;
distancex = _root.c1._x - _x;
distancey = _root.c1._y - _y;
if (_x < _root.c1._x) {
_x = (_x + speedx);
}
if (_x > _root.c1._x) {
_x = (_x - speedx);
}
if (_y < _root.c1._y) {
_y = (_y + speedy);
}
if (_y > _root.c1._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c3" in Frame 2722
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 4;
speedy = distancey / 4;
distancex = _root.c2._x - _x;
distancey = _root.c2._y - _y;
if (_x < _root.c2._x) {
_x = (_x + speedx);
}
if (_x > _root.c2._x) {
_x = (_x - speedx);
}
if (_y < _root.c2._y) {
_y = (_y + speedy);
}
if (_y > _root.c2._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c4" in Frame 2722
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 5;
speedy = distancey / 5;
distancex = _root.c3._x - _x;
distancey = _root.c3._y - _y;
if (_x < _root.c3._x) {
_x = (_x + speedx);
}
if (_x > _root.c3._x) {
_x = (_x - speedx);
}
if (_y < _root.c3._y) {
_y = (_y + speedy);
}
if (_y > _root.c3._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 43 MovieClip "c5" in Frame 2722
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 6;
speedy = distancey / 6;
distancex = _root.c4._x - _x;
distancey = _root.c4._y - _y;
if (_x < _root.c4._x) {
_x = (_x + speedx);
}
if (_x > _root.c4._x) {
_x = (_x - speedx);
}
if (_y < _root.c4._y) {
_y = (_y + speedy);
}
if (_y > _root.c4._y) {
_y = (_y - speedy);
}
}
Instance of Symbol 47 MovieClip "cursor" in Frame 2722
onClipEvent (enterFrame) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 43 MovieClip "c1" in Frame 2722
onClipEvent (enterFrame) {
if (distancex < 0) {
distancex = distancex * -1;
}
if (distancey < 0) {
distancey = distancey * -1;
}
speedx = distancex / 2;
speedy = distancey / 2;
distancex = _root.cursor._x - _x;
distancey = _root.cursor._y - _y;
if (_x < _root.cursor._x) {
_x = (_x + speedx);
}
if (_x > _root.cursor._x) {
_x = (_x - speedx);
}
if (_y < _root.cursor._y) {
_y = (_y + speedy);
}
if (_y > _root.cursor._y) {
_y = (_y - speedy);
}
}
Frame 2723
play();
Frame 2724
play();
Frame 2725
play();
Frame 2726
play();
Frame 2727
play();
Frame 2728
play();
Frame 2729
play();
Frame 2730
play();
Frame 2731
play();
Frame 2732
play();
Frame 2733
play();
Frame 2734
play();
Frame 2735
play();
Frame 2736
play();
Frame 2737
play();
Frame 2738
play();
Frame 2739
play();
Frame 2740
play();
Frame 2741
play();
Frame 2742
play();
Frame 2743
play();
Frame 2744
play();
Frame 2745
play();
Frame 2746
play();
Frame 2747
play();
Frame 2748
play();
Frame 2749
play();
Frame 2750
play();
Frame 2751
play();
Frame 2752
play();
Frame 2753
play();
Frame 2754
play();
Frame 2755
play();
Frame 2756
play();
Frame 2757
play();
Frame 2758
play();
Frame 2759
play();
Frame 2760
play();
Frame 2761
play();
Frame 2762
play();
Frame 2763
play();
Frame 2764
play();
Frame 2765
play();
Frame 2766
play();
Frame 2767
play();
Frame 2768
play();
Frame 2769
play();
Frame 2770
play();
Frame 2771
play();
Frame 2772
play();
Frame 2773
play();
Frame 2774
play();
Frame 2775
play();
Frame 2776
play();
Frame 2777
play();
Frame 2778
play();
Frame 2779
play();
Frame 2780
play();
Frame 2781
play();
Frame 2782
play();
Frame 2783
play();
Frame 2784
play();
Frame 2785
play();
Frame 2786
play();
Frame 2787
play();
Frame 2788
play();
Frame 2789
play();
Frame 2790
play();
Frame 2791
play();
Frame 2792
play();
Frame 2793
play();
Frame 2794
play();
Frame 2795
play();
Frame 2796
play();
Frame 2797
play();
Frame 2798
play();
Frame 2799
play();
Frame 2800
play();
Frame 2801
play();
Frame 2802
play();
Frame 2803
play();
Frame 2804
play();
Frame 2805
play();
Frame 2806
play();
Frame 2807
play();
Frame 2808
play();
Frame 2809
play();
Frame 2810
play();
Frame 2811
play();
Frame 2812
play();
Frame 2813
play();
Frame 2814
play();
Frame 2815
play();
Frame 2816
play();
Frame 2817
play();
Frame 2818
play();
Frame 2819
play();
Frame 2820
play();
Frame 2821
play();
Frame 2822
play();
Frame 2823
play();
Frame 2824
play();
Frame 2825
play();
Frame 2826
play();
Frame 2827
play();
Frame 2828
play();
Frame 2829
play();
Frame 2830
play();
Frame 2831
play();
Frame 2832
play();
Frame 2833
play();
Frame 2834
play();
Frame 2835
play();
Frame 2836
play();
Frame 2837
play();
Frame 2838
play();
Frame 2839
play();
Frame 2840
play();
Frame 2841
play();
Frame 2842
play();
Frame 2843
play();
Frame 2844
play();
Frame 2845
play();
Frame 2846
play();
Frame 2847
play();
Frame 2848
play();
Frame 2849
play();
Frame 2850
play();
Frame 2851
play();
Frame 2852
play();
Frame 2853
play();
Frame 2854
play();
Frame 2855
play();
Frame 2856
play();
Frame 2857
play();
Frame 2858
play();
Frame 2859
play();
Frame 2860
play();
Frame 2861
play();
Frame 2862
play();
Frame 2863
play();
Frame 2864
play();
Frame 2865
play();
Frame 2866
play();
Frame 2867
play();
Frame 2868
play();
Frame 2869
play();
Frame 2870
play();
Frame 2871
play();
Frame 2872
play();
Frame 2873
play();
Frame 2874
play();
Frame 2875
play();
Frame 2876
play();
Frame 2877
play();
Frame 2878
play();
Frame 2879
play();
Frame 2880
play();
Frame 2881
play();
Frame 2882
play();
Frame 2883
play();
Frame 2884
play();
Frame 2885
play();
Frame 2886
play();
Frame 2887
play();
Frame 2888
play();
Frame 2889
play();
Frame 2890
play();
Frame 2891
play();
Frame 2892
play();
Frame 2893
play();
Frame 2894
play();
Frame 2895
play();
Frame 2896
play();
Frame 2897
play();
Frame 2898
play();
Frame 2899
play();
Frame 2900
play();
Frame 2901
play();
Frame 2902
play();
Frame 2903
play();
Frame 2904
play();
Frame 2905
play();
Frame 2906
play();
Frame 2907
play();
Frame 2908
play();
Frame 2909
play();
Frame 2910
play();
Frame 2911
play();
Frame 2912
play();
Frame 2913
play();
Frame 2914
play();
Frame 2915
play();
Frame 2916
play();
Frame 2917
play();
Frame 2918
play();
Frame 2919
play();
Frame 2920
play();
Frame 2921
play();
Frame 2922
play();
Frame 2923
play();
Frame 2924
play();
Frame 2925
play();
Frame 2926
play();
Frame 2927
play();
Frame 2928
play();
Frame 2929
play();
Frame 2930
play();
Frame 2931
play();
Frame 2932
play();
Frame 2933
play();
Frame 2934
play();
Frame 2935
play();
Frame 2936
play();
Frame 2937
play();
Frame 2938
play();
Frame 2939
play();
Frame 2940
play();
Frame 2941
play();
Frame 2942
play();
Frame 2943
play();
Frame 2944
play();
Frame 2945
play();
Frame 2946
play();
Frame 2947
play();
Frame 2948
play();
Frame 2949
play();
Frame 2950
play();
Frame 2951
play();
Frame 2952
play();
Frame 2953
play();
Frame 2954
play();
Frame 2955
play();
Frame 2956
play();
Frame 2957
play();
Frame 2958
play();
Frame 2959
play();
Frame 2960
play();
Frame 2961
play();
Frame 2962
play();
Frame 2963
play();
Frame 2964
play();
Frame 2965
play();
_root.gotoAndPlay(1);
Symbol 10 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
KB_out = (int(_root.getBytesLoaded() / 1000) + "/") + int(_root.getBytesTotal() / 1000);
if (PercentLoaded != 100) {
setProperty(barmask.bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 10 MovieClip Frame 3
_root.play();
Symbol 18 Button
on (release) {
_root.gotoAndPlay(318);
}
Symbol 31 MovieClip Frame 541
_root.nextFrame();
Symbol 98 Button
on (press) {
nextFrame();
}
Symbol 99 Button
on (press) {
gotoAndPlay (342);
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 50
charged = true;
Symbol 146 MovieClip Frame 51
play();
Symbol 146 MovieClip Frame 52
play();
Symbol 146 MovieClip Frame 53
play();
Symbol 146 MovieClip Frame 54
play();
Symbol 146 MovieClip Frame 55
play();
Symbol 146 MovieClip Frame 56
play();
Symbol 146 MovieClip Frame 57
play();
Symbol 146 MovieClip Frame 58
play();
Symbol 146 MovieClip Frame 59
play();
gotoAndPlay (51);
Symbol 210 MovieClip Frame 488
staticbar.play();
Symbol 210 MovieClip Frame 611
staticbar.gotoAndPlay(1);
staticbar.play();
Symbol 210 MovieClip Frame 908
staticbar.gotoAndStop(1);
Symbol 210 MovieClip Frame 1289
gotoAndPlay (72);
Symbol 219 Button
on (press) {
toggleHighQuality();
}
Symbol 220 Button
on (press) {
gotoAndPlay (424);
}
Symbol 238 Button
on (release, keyPress "<Enter>") {
givec = true;
if (code == "spinge") {
gotoAndPlay (624);
}
if (code == "engle") {
gotoAndPlay (832);
}
if (code == "chquimble") {
gotoAndPlay (948);
}
if (code == "nekosuki") {
gotoAndPlay (1061);
}
if (code == "ledit") {
_root.gotoAndPlay("ledit");
}
if (code == "debug") {
gotoAndPlay (2745);
} else {
givec = false;
code = "incorrect";
}
}
Symbol 240 Button
on (press) {
gotoAndPlay (485);
}
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
play();
Symbol 281 MovieClip Frame 3
stop();
Symbol 281 MovieClip Frame 4
play();
Symbol 281 MovieClip Frame 5
stop();
Symbol 281 MovieClip Frame 6
play();
Symbol 281 MovieClip Frame 7
play();
Symbol 281 MovieClip Frame 8
play();
Symbol 281 MovieClip Frame 9
play();
Symbol 281 MovieClip Frame 10
play();
Symbol 281 MovieClip Frame 11
play();
Symbol 281 MovieClip Frame 12
play();
Symbol 281 MovieClip Frame 13
play();
Symbol 281 MovieClip Frame 14
play();
Symbol 281 MovieClip Frame 15
stop();
Symbol 281 MovieClip Frame 16
play();
Symbol 281 MovieClip Frame 17
stop();
Symbol 281 MovieClip Frame 18
play();
Symbol 281 MovieClip Frame 19
stop();
Symbol 281 MovieClip Frame 20
play();
Symbol 281 MovieClip Frame 21
stop();
Symbol 281 MovieClip Frame 22
play();
Symbol 281 MovieClip Frame 23
play();
Symbol 281 MovieClip Frame 24
play();
Symbol 281 MovieClip Frame 25
play();
Symbol 281 MovieClip Frame 26
play();
Symbol 281 MovieClip Frame 27
play();
Symbol 281 MovieClip Frame 28
play();
Symbol 281 MovieClip Frame 29
play();
Symbol 281 MovieClip Frame 30
play();
Symbol 281 MovieClip Frame 31
play();
Symbol 281 MovieClip Frame 32
play();
Symbol 281 MovieClip Frame 33
stop();
Symbol 281 MovieClip Frame 34
play();
Symbol 281 MovieClip Frame 35
stop();
Symbol 281 MovieClip Frame 36
play();
Symbol 281 MovieClip Frame 37
play();
Symbol 281 MovieClip Frame 38
play();
Symbol 281 MovieClip Frame 39
play();
Symbol 281 MovieClip Frame 40
play();
Symbol 281 MovieClip Frame 41
stop();
Symbol 281 MovieClip Frame 42
play();
Symbol 281 MovieClip Frame 43
stop();
Symbol 281 MovieClip Frame 44
play();
Symbol 281 MovieClip Frame 45
stop();
Symbol 281 MovieClip Frame 46
gotoAndPlay (1);
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
if (_root.zap == true) {
if (_root.player._alpha != 0) {
_root.inverter.play();
_root.inverter._x = _root.player._x;
_root.inverter._y = _root.player._y;
}
}
if (_root.zap == false) {
if (_root.e1._alpha != 0) {
_root.inverter.play();
_root.inverter._x = _root.e1._x;
_root.inverter._y = _root.e1._y;
}
}
Symbol 301 MovieClip Frame 15
gotoAndPlay (1);
Symbol 306 MovieClip Frame 1
_root.player.charged = true;
Symbol 306 MovieClip Frame 10
gotoAndPlay (51);
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 100
_root.player.charged = true;
nextFrame();
Symbol 307 MovieClip Frame 102
gotoAndPlay (100);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
play();
play();
Symbol 310 MovieClip Frame 3
play();
Symbol 310 MovieClip Frame 4
play();
Symbol 310 MovieClip Frame 5
play();
Symbol 310 MovieClip Frame 6
play();
Symbol 310 MovieClip Frame 7
play();
Symbol 310 MovieClip Frame 8
play();
Symbol 310 MovieClip Frame 9
play();
Symbol 310 MovieClip Frame 10
play();
Symbol 310 MovieClip Frame 11
play();
Symbol 310 MovieClip Frame 12
play();
Symbol 310 MovieClip Frame 13
play();
Symbol 310 MovieClip Frame 14
play();
Symbol 310 MovieClip Frame 15
play();
Symbol 310 MovieClip Frame 16
play();
Symbol 310 MovieClip Frame 17
play();
Symbol 310 MovieClip Frame 18
play();
Symbol 310 MovieClip Frame 19
play();
Symbol 310 MovieClip Frame 21
stop();
Symbol 310 MovieClip Frame 22
prevFrame();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
play();
play();
Symbol 312 MovieClip Frame 3
play();
Symbol 312 MovieClip Frame 4
play();
Symbol 312 MovieClip Frame 5
play();
Symbol 312 MovieClip Frame 6
play();
Symbol 312 MovieClip Frame 7
play();
Symbol 312 MovieClip Frame 8
play();
Symbol 312 MovieClip Frame 9
play();
Symbol 312 MovieClip Frame 10
play();
Symbol 312 MovieClip Frame 11
play();
Symbol 312 MovieClip Frame 12
play();
Symbol 312 MovieClip Frame 13
play();
Symbol 312 MovieClip Frame 14
play();
Symbol 312 MovieClip Frame 15
play();
Symbol 312 MovieClip Frame 16
play();
Symbol 312 MovieClip Frame 17
play();
Symbol 312 MovieClip Frame 18
play();
Symbol 312 MovieClip Frame 19
play();
Symbol 312 MovieClip Frame 21
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
play();
play();
Symbol 314 MovieClip Frame 3
play();
Symbol 314 MovieClip Frame 4
play();
Symbol 314 MovieClip Frame 5
play();
Symbol 314 MovieClip Frame 6
play();
Symbol 314 MovieClip Frame 7
play();
Symbol 314 MovieClip Frame 8
play();
Symbol 314 MovieClip Frame 9
play();
Symbol 314 MovieClip Frame 10
play();
Symbol 314 MovieClip Frame 11
play();
Symbol 314 MovieClip Frame 12
play();
Symbol 314 MovieClip Frame 13
play();
Symbol 314 MovieClip Frame 14
play();
Symbol 314 MovieClip Frame 15
play();
Symbol 314 MovieClip Frame 16
play();
Symbol 314 MovieClip Frame 17
play();
Symbol 314 MovieClip Frame 18
play();
Symbol 314 MovieClip Frame 19
play();
Symbol 314 MovieClip Frame 21
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
play();
play();
Symbol 316 MovieClip Frame 3
play();
Symbol 316 MovieClip Frame 4
play();
Symbol 316 MovieClip Frame 5
play();
Symbol 316 MovieClip Frame 6
play();
Symbol 316 MovieClip Frame 7
play();
Symbol 316 MovieClip Frame 8
play();
Symbol 316 MovieClip Frame 9
play();
Symbol 316 MovieClip Frame 10
play();
Symbol 316 MovieClip Frame 11
play();
Symbol 316 MovieClip Frame 12
play();
Symbol 316 MovieClip Frame 13
play();
Symbol 316 MovieClip Frame 14
play();
Symbol 316 MovieClip Frame 15
play();
Symbol 316 MovieClip Frame 16
play();
Symbol 316 MovieClip Frame 17
play();
Symbol 316 MovieClip Frame 18
play();
Symbol 316 MovieClip Frame 19
play();
Symbol 316 MovieClip Frame 21
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
_root.fade.play();
Symbol 317 MovieClip Frame 60
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 60
_root.gotoAndPlay("gameover");
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 81
gotoAndStop (1);
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 31
gone();
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
play();
Symbol 375 MovieClip Frame 3
play();
Symbol 375 MovieClip Frame 4
play();
Symbol 375 MovieClip Frame 5
play();
Symbol 375 MovieClip Frame 6
play();
Symbol 375 MovieClip Frame 7
play();
Symbol 375 MovieClip Frame 8
play();
Symbol 375 MovieClip Frame 9
play();
Symbol 375 MovieClip Frame 10
play();
Symbol 375 MovieClip Frame 11
play();
Symbol 375 MovieClip Frame 12
play();
Symbol 375 MovieClip Frame 13
play();
Symbol 375 MovieClip Frame 14
play();
Symbol 375 MovieClip Frame 15
play();
Symbol 375 MovieClip Frame 16
play();
Symbol 375 MovieClip Frame 17
play();
Symbol 375 MovieClip Frame 18
gotoAndPlay (1);
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 60
attacking = false;
gotoAndPlay (1);
Symbol 388 Button
on (release) {
_root.nextFrame();
}
Symbol 409 MovieClip Frame 20
gotoAndPlay (1);
Symbol 409 MovieClip Frame 28
gotoAndPlay (1);
Symbol 502 MovieClip Frame 1
stop();
Instance of Symbol 303 MovieClip in Symbol 502 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.attack)) {
_parent.health = _parent.health - 2;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 303 MovieClip in Symbol 502 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.attack)) {
_parent.health = _parent.health - 2;
_parent.gotoAndStop(1);
}
if (this.hitTest(_root.player)) {
if (this.hitTest(_root.player.attack) == false) {
_root.player.runmomentum = -20;
}
}
}
Instance of Symbol 303 MovieClip "box" in Symbol 502 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.b1)) {
if (_root.b1._currentframe == 1) {
_root.b1.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b2)) {
if (_root.b2._currentframe == 1) {
_root.b2.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b3)) {
if (_root.b3._currentframe == 1) {
_root.b3.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.b4)) {
if (_root.b4._currentframe == 1) {
_root.b4.play();
_parent.health = _parent.health - 1;
_parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.attack)) {
_parent.health = _parent.health - 2;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 518 MovieClip in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 10);
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 2
play();
Symbol 573 MovieClip Frame 3
play();
Symbol 573 MovieClip Frame 4
play();
Symbol 573 MovieClip Frame 5
play();
Symbol 573 MovieClip Frame 6
play();
Symbol 573 MovieClip Frame 7
play();
Symbol 577 MovieClip Frame 45
stop();
Symbol 590 MovieClip Frame 1
play();
Symbol 590 MovieClip Frame 2
play();
Symbol 590 MovieClip Frame 3
play();
Symbol 590 MovieClip Frame 4
play();
Symbol 590 MovieClip Frame 5
play();
Symbol 590 MovieClip Frame 6
play();
Symbol 590 MovieClip Frame 7
play();
Symbol 590 MovieClip Frame 8
play();
Symbol 590 MovieClip Frame 9
play();
Symbol 590 MovieClip Frame 10
play();
Symbol 590 MovieClip Frame 11
play();
Symbol 590 MovieClip Frame 12
play();
Symbol 590 MovieClip Frame 13
play();
Symbol 590 MovieClip Frame 14
play();
Symbol 590 MovieClip Frame 15
play();
Symbol 590 MovieClip Frame 16
play();
Symbol 590 MovieClip Frame 17
play();
Symbol 590 MovieClip Frame 18
play();
Symbol 590 MovieClip Frame 19
play();
Symbol 590 MovieClip Frame 20
play();
Symbol 590 MovieClip Frame 21
play();
Symbol 590 MovieClip Frame 22
play();
Symbol 590 MovieClip Frame 23
play();
Symbol 590 MovieClip Frame 24
play();
Symbol 590 MovieClip Frame 25
play();
Symbol 590 MovieClip Frame 26
stop();
Symbol 590 MovieClip Frame 27
play();
Symbol 590 MovieClip Frame 28
play();
Symbol 590 MovieClip Frame 29
play();
Symbol 590 MovieClip Frame 30
play();
Symbol 590 MovieClip Frame 31
play();
Symbol 590 MovieClip Frame 32
play();
Symbol 590 MovieClip Frame 33
play();
Symbol 590 MovieClip Frame 34
play();
Symbol 590 MovieClip Frame 35
play();
Symbol 590 MovieClip Frame 36
play();
Symbol 590 MovieClip Frame 37
play();
Symbol 590 MovieClip Frame 38
play();
Symbol 590 MovieClip Frame 39
play();
Symbol 590 MovieClip Frame 40
play();
Symbol 590 MovieClip Frame 41
play();
Symbol 590 MovieClip Frame 42
play();
Symbol 590 MovieClip Frame 43
play();
Symbol 590 MovieClip Frame 44
play();
Symbol 590 MovieClip Frame 45
play();
Symbol 590 MovieClip Frame 46
play();
Symbol 590 MovieClip Frame 47
play();
Symbol 590 MovieClip Frame 48
play();
Symbol 590 MovieClip Frame 49
play();
Symbol 590 MovieClip Frame 50
play();
Symbol 590 MovieClip Frame 51
play();
Symbol 590 MovieClip Frame 52
play();
Symbol 590 MovieClip Frame 53
play();
Symbol 590 MovieClip Frame 54
play();
Symbol 590 MovieClip Frame 55
play();
Symbol 590 MovieClip Frame 56
gotoAndPlay (1);
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 2
play();
Symbol 605 MovieClip Frame 3
play();
Symbol 605 MovieClip Frame 4
play();
Symbol 605 MovieClip Frame 5
play();
Symbol 605 MovieClip Frame 6
play();
Symbol 605 MovieClip Frame 7
play();
Symbol 605 MovieClip Frame 8
play();
Symbol 605 MovieClip Frame 9
play();
Symbol 605 MovieClip Frame 10
play();
Symbol 605 MovieClip Frame 11
play();
Symbol 605 MovieClip Frame 12
play();
Symbol 605 MovieClip Frame 13
stop();
Symbol 605 MovieClip Frame 14
prevFrame();
Symbol 669 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 2
play();
Symbol 689 MovieClip Frame 3
play();
Symbol 689 MovieClip Frame 4
play();
Symbol 689 MovieClip Frame 5
play();
Symbol 689 MovieClip Frame 6
play();
Symbol 689 MovieClip Frame 7
gotoAndPlay (1);
Symbol 696 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 31
stop();
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 31
stop();
Symbol 747 MovieClip Frame 32
prevFrame();
Symbol 797 MovieClip Frame 31
stop();
Symbol 845 MovieClip Frame 1
stop();
Symbol 845 MovieClip Frame 2
play();
Symbol 845 MovieClip Frame 3
play();
Symbol 845 MovieClip Frame 4
play();
Symbol 845 MovieClip Frame 5
play();
Symbol 845 MovieClip Frame 6
play();
Symbol 845 MovieClip Frame 7
play();
Symbol 845 MovieClip Frame 8
play();
Symbol 845 MovieClip Frame 9
play();
Symbol 845 MovieClip Frame 10
play();
Symbol 845 MovieClip Frame 11
play();
Symbol 845 MovieClip Frame 12
play();
Symbol 845 MovieClip Frame 13
stop();
Symbol 890 Button
on (release) {
_root.gotoAndPlay("europa");
}
Symbol 955 Button
on (press) {
gotoAndPlay (2748);
}
Symbol 958 Button
on (press) {
_root.slowdown = _root.slowdown + 0.1;
}
Symbol 959 Button
on (press) {
_root.slowdown = _root.slowdown - 0.1;
}
Symbol 960 Button
on (press) {
_root.bounce = _root.bounce + 0.1;
}
Symbol 961 Button
on (press) {
_root.bounce = _root.bounce - 0.1;
}
Symbol 962 Button
on (press) {
_root.jumpheight = _root.jumpheight + 0.1;
}
Symbol 963 Button
on (press) {
_root.jumpheight = _root.jumpheight - 0.1;
}
Symbol 964 Button
on (press) {
_root.maxfall = _root.maxfall + 0.1;
}
Symbol 965 Button
on (press) {
_root.maxfall = _root.maxfall - 0.1;
}
Symbol 966 Button
on (press) {
_root.maxrun = _root.maxrun + 0.1;
}
Symbol 967 Button
on (press) {
_root.maxrun = _root.maxrun - 0.1;
}
Symbol 968 Button
on (press) {
_root.thrust = _root.thrust + 0.1;
}
Symbol 969 Button
on (press) {
_root.thrust = _root.thrust - 0.1;
}
Symbol 970 Button
on (press) {
_root.weight = _root.weight + 0.1;
}
Symbol 971 Button
on (press) {
_root.weight = _root.weight - 0.1;
}
Symbol 972 Button
on (press) {
_root.prevFrame();
}
Symbol 981 Button
on (press) {
_root.gotoAndPlay("continue");
}
Symbol 995 Button
on (release) {
_root.gotoAndPlay(1);
}