Combined Code
frame 1 {
score = 0;
}
frame 1 {
stop();
}
movieClip 4 {
}
movieClip 23 {
}
movieClip 28 {
}
button 29 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 30 {
}
button 38 {
on (release) {
_root.play();
}
}
movieClip 39 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v2;
if (v2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
return undefined;
}
gotoAndStop('loaded');
return undefined;
}
}
}
function startMovie() {
_root.play();
}
_root.stop();
stop();
var AUTO_PLAY = false;
var loadingComplete = false;
timerHandler();
}
instance of movieClip 30 {
onClipEvent (enterFrame) {
_parent.timerHandler();
}
}
frame 2 {
stop();
}
}
frame 2 {
stop();
}
movieClip 43 {
}
movieClip 45 {
}
movieClip 46 {
}
movieClip 51 {
}
movieClip 64 {
}
movieClip 75 {
frame 64 {
stop();
}
}
movieClip 80 {
}
movieClip 83 {
}
movieClip 86 {
}
movieClip 89 {
}
movieClip 92 {
}
movieClip 95 {
}
movieClip 97 {
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 99 {
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 101 {
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 102 {
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 117 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 122 {
}
movieClip 123 {
}
movieClip 124 {
}
instance player of movieClip 124 {
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = _x + speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(65)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) {
_x = _x - speed;
}
if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) {
_x = _x + speed;
}
if (_root.ground.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
}
}
}
movieClip 133 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
instance of movieClip 133 {
onClipEvent (enterFrame) {
_y = _y + (_root.player._y - _y) / 4;
_x = _x + (_root.player._x - _x) / 4;
}
}
movieClip 140 {
}
movieClip 141 {
}
movieClip 242 {
}
button 243 {
on (release) {
stopAllSounds();
gotoAndPlay(150);
}
}
button 259 {
on (release) {
gotoAndPlay(3);
}
}
movieClip 532 {
}
frame 3 {
stop();
}
movieClip 538 {
}
movieClip 545 {
}
movieClip 551 {
}
movieClip 552 {
}
movieClip 558 {
}
movieClip 559 {
}
movieClip 561 {
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 563 {
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 565 {
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 567 {
}
button 581 {
on (release) {
gotoAndPlay(4);
}
}
frame 4 {
stop();
}
movieClip 590 {
}
movieClip 592 {
}
movieClip 594 {
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
movieClip 595 {
}
movieClip 596 {
}
instance player of movieClip 596 {
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 50;
var slow = 0.7;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = _x + speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(65)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) {
_x = _x - speed;
}
if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) {
_x = _x + speed;
}
if (_root.ground.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
}
}
}
button 597 {
on (release) {
gotoAndPlay(5);
}
}
frame 5 {
stop();
}
movieClip 606 {
frame 1 {
stop();
}
}
instance of movieClip 606 {
onClipEvent (mouseDown) {
gotoAndStop(4);
}
}
movieClip 608 {
}
instance player of movieClip 124 {
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = _x + speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(65)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) {
_x = _x - speed;
}
if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) {
_x = _x + speed;
}
if (_root.ground.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
}
}
}
button 610 {
on (release) {
gotoAndPlay(6);
}
}
frame 6 {
stop();
}
movieClip 620 {
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 97 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 561 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 565 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance of movieClip 563 {
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
++_root.score;
this.removeMovieClip();
}
}
}
instance player of movieClip 596 {
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 50;
var slow = 0.7;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = _x + speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(65)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) {
_x = _x - speed;
}
if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) {
_x = _x + speed;
}
if (_root.ground.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
}
}
}
button 622 {
on (release) {
stopAllSounds();
gotoAndPlay(1);
}
}