Frame 1
play();
_quality = "BEST";
Frame 2
stop();
Frame 3
play();
Frame 4
ifFrameLoaded (25) {
gotoAndPlay ("instructions");
}
Frame 5
gotoAndPlay ("loadloop");
Frame 7
play();
Frame 19
stop();
this.onEnterFrame = function () {
if ((this.getBytesLoaded() / this.getBytesTotal()) > 0.99) {
this.play();
delete this.onEnterFrame;
}
};
Frame 20
play();
Frame 25
hq = 1;
stop();
Frame 33
function rates() {
if (score < 30000) {
gamerate = 31 - int(score / 1000);
} else {
gamerate = 1;
}
waveSpeed = 9 - (gamerate / 5);
waveY = 401 - gamerate;
if (gamerate > 10) {
windRange = int(1000 / gamerate);
} else {
windRange = 100;
}
}
monkeyPos = new Array(0, 0, 0, 0);
ledgeX = new Array(0, 0, 215, 84, 0, 324);
ledgeY = new Array(0, 40, 120, 179, 156, 272);
gravity = new Array(0, 1, 0.5, 0.1);
windEffect = new Array(0, 1, 2, 0.5);
wavessfx = new Sound("waves");
wavessfx.attachSound("wavesfx");
play();
Frame 34
waveX = 275;
score = 0;
lives = 5;
monkeylives.gotoAndStop(1);
monkey1.gotoAndPlay(1);
monkey2.gotoAndPlay(1);
monkey3.gotoAndPlay(1);
waveVolume = 40;
wavessfx.start(0, 10000);
wavessfx.setVolume(waveVolume);
rates();
play();
Frame 36
if (lives > 0) {
play();
} else {
waveLeft = 1000;
waveVolReduce = waveVolume / (440 - waveY);
gotoAndPlay ("gameover");
}
Frame 37
waveX = waveX + waveSpeed;
if (waveX > 775) {
waveX = waveX - 500;
}
setProperty("waves", _x , waveX);
setProperty("waves", _y , waveY);
waveOffset = (waveY - 370) * 2;
waveLeft = (waveX - 640) + waveOffset;
waveCentreLeft = (waveX - 360) - waveOffset;
waveCentreRight = (waveX - 140) + waveOffset;
waveRight = (waveX + 140) - waveOffset;
rates();
prevFrame();
Frame 40
play();
Frame 41
waveX = waveX + waveSpeed;
waveY++;
if (waveVolume > 0) {
waveVolume = waveVolume - waveVolReduce;
}
if (waveY < 440) {
waves._y = waveY;
waves._x = waveX;
wavessfx.setVolume(waveVolume);
prevFrame();
} else {
nextFrame();
}
Frame 42
_quality = "HIGH";
wavessfx.stop();
stop();
Frame 47
stop();
Symbol 11 MovieClip Frame 95
_root.play();
stop();
Symbol 20 Button
on (release) {
getURL ("http://www.freeworldgroup.com/verti2.htm", "_blank");
}
Symbol 25 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 28 Button
on (release) {
getURL ("http://www.freeworldgroup.com", "_blank");
}
Symbol 50 Button
on (release) {
gotoAndStop (33);
}
Symbol 68 MovieClip Frame 1
play();
Symbol 68 MovieClip Frame 20
gotoAndPlay ("breath");
Symbol 68 MovieClip Frame 25
play();
Symbol 68 MovieClip Frame 42
_parent._parent.nextFrame();
Symbol 68 MovieClip Frame 45
stop();
Symbol 68 MovieClip Frame 50
play();
Symbol 68 MovieClip Frame 64
stop();
Symbol 68 MovieClip Frame 70
play();
Symbol 68 MovieClip Frame 74
gotoAndPlay ("swirl");
Symbol 69 MovieClip Frame 1
play();
Symbol 69 MovieClip Frame 20
gotoAndPlay ("breath");
Symbol 69 MovieClip Frame 25
play();
Symbol 69 MovieClip Frame 42
_parent._parent.nextFrame();
Symbol 69 MovieClip Frame 45
stop();
Symbol 69 MovieClip Frame 50
play();
Symbol 69 MovieClip Frame 64
stop();
Symbol 69 MovieClip Frame 70
play();
Symbol 69 MovieClip Frame 74
gotoAndPlay ("swirl");
Symbol 70 MovieClip Frame 1
play();
Symbol 70 MovieClip Frame 20
gotoAndPlay ("breath");
Symbol 70 MovieClip Frame 25
play();
Symbol 70 MovieClip Frame 42
_parent._parent.nextFrame();
Symbol 70 MovieClip Frame 45
stop();
Symbol 70 MovieClip Frame 50
play();
Symbol 70 MovieClip Frame 64
stop();
Symbol 70 MovieClip Frame 70
play();
Symbol 70 MovieClip Frame 74
gotoAndPlay ("swirl");
Symbol 71 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
play();
Symbol 72 MovieClip Frame 10
_parent.nextFrame();
stop();
Symbol 72 MovieClip Frame 15
play();
Symbol 72 MovieClip Frame 28
_parent.nextFrame();
stop();
Symbol 72 MovieClip Frame 31
play();
Symbol 72 MovieClip Frame 39
_parent.nextFrame();
stop();
Symbol 72 MovieClip Frame 45
play();
Symbol 72 MovieClip Frame 53
_parent.nextFrame();
stop();
Symbol 72 MovieClip Frame 60
play();
Symbol 72 MovieClip Frame 68
_parent.nextFrame();
stop();
Symbol 73 Button
on (release) {
jump = 1;
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
play();
Symbol 85 MovieClip Frame 15
stop();
Symbol 85 MovieClip Frame 20
play();
Symbol 85 MovieClip Frame 36
stop();
Symbol 85 MovieClip Frame 40
play();
Symbol 85 MovieClip Frame 56
stop();
Symbol 86 MovieClip Frame 1
monkeyNum = Number(substring(_name, 7, 1));
play();
Symbol 86 MovieClip Frame 4
if (_parent.lives > 0) {
play();
} else {
stop();
}
Symbol 86 MovieClip Frame 5
do {
position = 1 + random(5);
check = 0;
i = 1;
while (i <= 3) {
if ((i != monkeyNum) and (_parent.monkeyPos[i] == position)) {
check = 1;
}
i++;
}
} while (check == 1);
_parent.monkeyPos[monkeyNum] = position;
if (position == 1) {
monkeyX = 250 + random(200);
} else if (position == 4) {
monkeyX = 400 + random(100);
} else {
monkeyX = _parent.ledgeX[position];
}
monkeyY = _parent.ledgeY[position];
_x = monkeyX;
_y = monkeyY;
monkeyType = 1 + random(3);
monkeyScore = int((monkeyType * 500) / position);
monkeyWait = int(800 / position);
mEnter.mType.gotoAndStop(monkeyType);
mEnter.gotoAndPlay("ledge" + position);
stop();
Symbol 86 MovieClip Frame 6
m.gotoAndStop(monkeyType);
jump = 0;
play();
Symbol 86 MovieClip Frame 7
if (monkeyScore > 0) {
monkeyScore--;
}
if ((monkeyWait > 0) and (_parent.lives > 0)) {
monkeyWait--;
} else {
jump = 1;
}
play();
Symbol 86 MovieClip Frame 8
if (jump == 0) {
prevFrame();
} else {
gotoAndStop ("dive");
}
Symbol 86 MovieClip Frame 14
m.anim.gotoAndPlay("dive");
count = 1;
check = 0;
dead = 0;
stop();
Symbol 86 MovieClip Frame 15
play();
Symbol 86 MovieClip Frame 16
gravity = _parent.gravity[monkeyType] * count;
windFactor = (_parent.windEffect[monkeyType] * _parent.wind) * -1;
windFactor = windFactor / ((monkeyY + 100) / 100);
monkeyY = _y + gravity;
monkeyX = _x + windFactor;
_x = monkeyX;
if (((check == 0) and (monkeyY > (385 - gravity))) and (monkeyY < (385 + gravity))) {
check = 1;
if (((monkeyX < _parent.waveLeft) or (monkeyX > _parent.waveRight)) or ((monkeyX > _parent.waveCentreLeft) and (monkeyX < _parent.waveCentreRight))) {
dead = 1;
} else {
splash.gotoAndPlay("splash" + monkeyType);
_parent.score = _parent.score + monkeyScore;
}
}
if (dead == 1) {
_y = 385;
m.anim.gotoAndPlay("die");
_parent.lives--;
_parent.monkeylives.nextFrame();
gotoAndPlay ("die");
} else {
_y = monkeyY;
if (monkeyY > 430) {
gotoAndPlay ("setup");
} else {
count++;
prevFrame();
}
}
Symbol 86 MovieClip Frame 19
if (_parent.lives > 0) {
play();
} else {
stop();
}
Symbol 86 MovieClip Frame 20
dX1 = _parent.waveX - monkeyX;
dX2 = (_parent.waveX - 500) - monkeyX;
if (((dX1 > -15) and (dX1 < 15)) or ((dX2 > -15) and (dX2 < 15))) {
m.anim.gotoAndPlay("swirl");
gotoAndPlay ("swirl");
} else {
prevFrame();
}
Symbol 86 MovieClip Frame 24
play();
Symbol 86 MovieClip Frame 25
monkeyX = _x + _parent.waveSpeed;
monkeyY = _y + 2;
if (monkeyY < 425) {
_x = monkeyX;
_y = monkeyY;
prevFrame();
} else {
gotoAndPlay ("setup");
}
Symbol 94 MovieClip Frame 1
wind = 0;
sockRot = 0;
play();
Symbol 94 MovieClip Frame 2
prevSockRot = sockRot;
_parent.wind = (random(_parent.windRange) / 10) * (1 - (random(2) * 2));
sockRot = _parent.wind * 10;
rotFactor = (sockRot - prevSockRot) / 10;
count = 1;
play();
Symbol 94 MovieClip Frame 3
play();
Symbol 94 MovieClip Frame 4
if (count < 10) {
sockRotCurrent = getProperty("sock", _rotation) + rotFactor;
setProperty("sock", _rotation , sockRotCurrent);
count++;
prevFrame();
} else {
wait = 50 + (_parent.gamerate * 4);
count = 0;
nextFrame();
}
Symbol 94 MovieClip Frame 5
play();
Symbol 94 MovieClip Frame 6
if (count < wait) {
count++;
prevFrame();
} else {
gotoAndPlay ("setup");
}
Symbol 102 MovieClip Frame 1
play();
Symbol 102 MovieClip Frame 51
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 105 Button
on (keyPress "q") {
if (hq == 0) {
hq = 1;
_quality = "HIGH";
} else {
hq = 0;
_quality = "LOW";
}
}
on (keyPress "Q") {
if (hq == 0) {
hq = 1;
_quality = "HIGH";
} else {
hq = 0;
_quality = "LOW";
}
}
Symbol 107 Button
on (release) {
if (hq == 0) {
_quality = "LOW";
}
gotoAndStop ("introloaded");
}