Frame 1
stop();
Frame 2
_root.jellyhit = false;
_root.whalehit = false;
_root.error.gotoandstop(1);
_root.landmove = 0;
_root.missed = false;
_root.passed = false;
stop();
Instance of Symbol 49 MovieClip "monkey" in Frame 2
onClipEvent (enterFrame) {
if (_root.missed == true) {
_root.error.gotoandstop(2);
} else if (this.hitTest(_root.land.ground)) {
_rotation = 0;
} else if (this.hitTest(_root.land.sea)) {
gotoAndStop (3);
xspeed = 0;
yspeed = 0;
} else if (this.hitTest(_root.land.endwall)) {
gotoAndStop (4);
xspeed = 0;
yspeed = 0;
} else if (!_root.dragging) {
if (this.hitTest(_root.land.jelly) && (ySpeed > 0)) {
rturn++;
ySpeed = ySpeed * -1.2;
} else {
ySpeed++;
}
_y = (_y + ySpeed);
if (_root.passed == true) {
} else {
_x = (_x + xSpeed);
}
_rotation = (_rotation + rturn);
} else {
_rotation = 0;
rturn = 0;
xspeed = _x - oldx;
yspeed = _y - oldy;
oldx = _x;
oldy = _y;
}
}
Symbol 8 Button
on (release) {
play();
}
Symbol 22 MovieClip Frame 1
stop();
Instance of Symbol 13 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (_root.jellyhit == false) {
_root.error.gotoandstop(2);
_root.missed = true;
} else {
_root.passed = true;
if (_root.monkey.hitTest(_root.land.sea)) {
} else {
xspeed = _root.monkey.xSpeed;
_root.land._x = _root.land._x - (xspeed + 25);
_root.landmove = _root.landmove + (xspeed + 25);
_root.landmoveend = _root.landmoveend + _root.monkey.xSpeed;
}
}
}
}
Instance of Symbol 22 MovieClip "jelly" in Symbol 25 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (!_root.dragging) {
_root.jellyhit = true;
_root.missed = false;
play();
}
}
}
Symbol 28 Button
on (release) {
_root.passed = false;
_root.monkey._rotation = 0;
_root.monkey._x = 15;
_root.monkey._y = 124.9;
_root.monkey.gotoandstop(1);
_root.jellyhit = false;
_root.whalehit = false;
_root.error.gotoandstop(1);
_root.missed = false;
_root.land._x = _root.land._x + _root.landmove;
_root.landmove = 0;
_root.landmoveend = 0;
_root.monkey.xSpeed = 0;
_root.monkey.ySpeed = 0;
}
Symbol 30 Button
on (release) {
_root.passed = false;
_root.monkey._rotation = 0;
_root.monkey._x = 15;
_root.monkey._y = 124.9;
_root.monkey.gotoandstop(1);
_root.jellyhit = false;
_root.whalehit = false;
_root.error.gotoandstop(1);
_root.missed = false;
_root.land._x = _root.land._x + _root.landmove;
_root.landmoveend = 0;
_root.landmove = 0;
_root.monkey.xSpeed = 0;
_root.monkey.ySpeed = 0;
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 35 Button
on (press) {
if (!_root.missed) {
startDrag (this);
_root.dragging = true;
_root.jellyhit = false;
}
}
on (release, releaseOutside) {
if (!_root.missed) {
stopDrag();
_root.dragging = false;
_root.jellyhit = false;
}
}
Symbol 47 MovieClip Frame 30
_root.error.gotoandstop(3);
Symbol 47 MovieClip Frame 42
stop();
Symbol 49 MovieClip Frame 1
stop();