Frame 1
allsound = new Sound();
quality = 1;
fscommand ("allowscale", "false");
vol = 1;
firstTime = 0;
Frame 2
stop();
Frame 13
_root.click.gotoAndPlay("go");
if (firstTime == 1) {
instructions.gotoAndStop("end");
_root.instructions.captain.gotoAndStop("top");
} else {
firstTime = 1;
}
stop();
Instance of Symbol 95 MovieClip "instructions" in Frame 13
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndPlay("mainGame");
}
}
Frame 30
_root.click.gotoAndPlay("go");
stop();
Frame 45
stop();
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
stop();
Symbol 10 Button
on (press) {
if (vol == 1) {
speaker.gotoAndPlay("off");
vol = 0;
_root.allsound.setVolume(0);
} else if (vol == 0) {
speaker.gotoAndPlay("on");
vol = 1;
_root.allsound.setVolume(100);
}
}
Symbol 11 Button
on (press) {
if (quality == 1) {
hilo.gotoAndStop(2);
_root._quality = "low";
quality = 0;
} else if (quality == 0) {
_root._quality = "high";
hilo.gotoAndStop(1);
quality = 1;
}
}
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
stop();
Instance of Symbol 18 MovieClip "loadBar" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
total = _root.getBytesTotal();
sofar = _root.getBytesLoaded();
percent = Math.floor((sofar / total) * 100);
this._x = -129 + (percent * 2);
if (percent == 100) {
_root.gotoAndPlay("instructions");
}
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
play();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
play();
Symbol 40 MovieClip Frame 10
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
play();
Symbol 44 MovieClip Frame 7
head.eyes.gotoAndPlay(2);
stop();
Symbol 44 MovieClip Frame 8
play();
Symbol 44 MovieClip Frame 13
stop();
Symbol 51 Button
on (release) {
_root.gotoAndPlay("mainGame");
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 14
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 9
gotoAndPlay (1);
Symbol 91 MovieClip Frame 14
play();
trace("here");
Symbol 95 MovieClip Frame 5
captain.gotoAndPlay("up");
Symbol 95 MovieClip Frame 183
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
play();
Symbol 119 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
play();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 9
play();
Symbol 163 MovieClip Frame 40
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
Symbol 163 MovieClip Frame 48
stop();
Instance of Symbol 133 MovieClip in Symbol 163 MovieClip Frame 48
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.game.gotoAndPlay("startLevel2");
}
}
Symbol 163 MovieClip Frame 64
play();
Symbol 163 MovieClip Frame 95
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
Symbol 163 MovieClip Frame 104
stop();
Instance of Symbol 140 MovieClip in Symbol 163 MovieClip Frame 104
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.game.gotoAndPlay("startLevel3");
}
}
Symbol 163 MovieClip Frame 119
play();
Symbol 163 MovieClip Frame 150
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
Symbol 163 MovieClip Frame 159
stop();
Instance of Symbol 150 MovieClip in Symbol 163 MovieClip Frame 159
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_parent.captain.gotoAndPlay("down");
_parent.play();
}
}
Symbol 163 MovieClip Frame 167
_root.gotoAndPlay("flotilla");
stop();
Symbol 163 MovieClip Frame 178
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
play();
Symbol 163 MovieClip Frame 186
stop();
Instance of Symbol 156 MovieClip in Symbol 163 MovieClip Frame 186
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndStop("instructions");
}
}
Symbol 163 MovieClip Frame 201
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
play();
Symbol 163 MovieClip Frame 209
stop();
Instance of Symbol 156 MovieClip in Symbol 163 MovieClip Frame 209
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndStop("instructions");
}
}
Symbol 163 MovieClip Frame 218
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
play();
Symbol 163 MovieClip Frame 226
stop();
Instance of Symbol 156 MovieClip in Symbol 163 MovieClip Frame 226
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndStop("instructions");
}
}
Symbol 163 MovieClip Frame 235
captain.gotoAndPlay("up");
_parent.bilgeMetre._alpha = 0;
play();
Symbol 163 MovieClip Frame 243
stop();
Instance of Symbol 156 MovieClip in Symbol 163 MovieClip Frame 243
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndStop("instructions");
}
}
Symbol 167 MovieClip Frame 1
gotoAndPlay(Math.floor(Math.random() * 48) + 2);
Symbol 167 MovieClip Frame 50
gotoAndPlay (2);
Symbol 170 MovieClip Frame 1
gotoAndPlay(Math.floor(Math.random() * 59) + 2);
Symbol 170 MovieClip Frame 61
gotoAndPlay (2);
Symbol 171 MovieClip Frame 1
gotoAndPlay(Math.floor(Math.random() * 59) + 2);
Symbol 171 MovieClip Frame 61
gotoAndPlay (2);
Symbol 182 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 6
gotoAndPlay (1);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 14
play();
Symbol 210 MovieClip Frame 29
gotoAndStop (1);
Symbol 210 MovieClip Frame 30
_root.game.biting = 1;
play();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
play();
Symbol 211 MovieClip Frame 9
stop();
Symbol 211 MovieClip Frame 22
play();
Symbol 212 MovieClip Frame 1
fin.gotoAndPlay("up");
Symbol 212 MovieClip Frame 14
fin.shark.gotoAndPlay("up");
Symbol 212 MovieClip Frame 35
fin.gotoAndPlay("down");
Symbol 213 MovieClip Frame 1
fin.gotoAndPlay("up");
Symbol 213 MovieClip Frame 23
fin.shark.gotoAndPlay("up");
Symbol 213 MovieClip Frame 64
fin.shark.gotoAndPlay("up");
Symbol 213 MovieClip Frame 91
fin.gotoAndPlay("down");
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
play();
Symbol 224 MovieClip Frame 7
_parent.gotoAndPlay("missile" + _parent.missileNumber);
Symbol 232 MovieClip Frame 9
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 11
_parent.stop();
Symbol 234 MovieClip Frame 30
_parent.gotoAndStop("stop" + _parent.missileNumber);
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 12
stop();
Symbol 235 MovieClip Frame 24
missileNumber = 1;
stop();
Symbol 235 MovieClip Frame 32
_root.game.missileFireSound.gotoAndPlay("go");
missileNumber++;
Symbol 235 MovieClip Frame 66
stop();
Symbol 235 MovieClip Frame 67
_root.game.missileFireSound.gotoAndPlay("go");
missileNumber++;
Symbol 235 MovieClip Frame 101
stop();
Symbol 235 MovieClip Frame 102
_root.game.missileFireSound.gotoAndPlay("go");
missileNumber++;
Symbol 235 MovieClip Frame 136
stop();
Symbol 235 MovieClip Frame 137
_root.game.missileFireSound.gotoAndPlay("go");
missileNumber++;
Symbol 235 MovieClip Frame 170
gotoAndStop (24);
_root.game.fired1 = 0;
_root.game.fired2 = 0;
_root.game.fired3 = 0;
_root.game.fired4 = 0;
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
stop();
Symbol 265 MovieClip Frame 8
stop();
Symbol 265 MovieClip Frame 14
stop();
Symbol 265 MovieClip Frame 20
stop();
Symbol 265 MovieClip Frame 26
stop();
Symbol 265 MovieClip Frame 32
stop();
Symbol 265 MovieClip Frame 38
stop();
Symbol 265 MovieClip Frame 44
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 8
stop();
Symbol 266 MovieClip Frame 14
stop();
Symbol 266 MovieClip Frame 20
stop();
Symbol 266 MovieClip Frame 26
stop();
Symbol 266 MovieClip Frame 32
stop();
Symbol 266 MovieClip Frame 38
stop();
Symbol 266 MovieClip Frame 44
stop();
Symbol 267 MovieClip Frame 1
redBoat.gotoAndStop("angle2");
Instance of Symbol 265 MovieClip "redBoat" in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
redTestPoint = new Object();
}
Symbol 267 MovieClip Frame 3
if (lapsDone == 3) {
_root.game.gotoAndStop("lostRace");
} else {
lapsDone++;
}
Symbol 267 MovieClip Frame 11
redBoat.gotoAndStop("angle1");
Symbol 267 MovieClip Frame 25
redBoat.gotoAndStop("angle2");
Symbol 267 MovieClip Frame 38
redBoat.gotoAndStop("angle1");
Symbol 267 MovieClip Frame 62
redBoat.gotoAndStop("angle2");
Symbol 267 MovieClip Frame 93
redBoat.gotoAndStop("angle3");
Symbol 267 MovieClip Frame 103
redBoat.gotoAndStop("angle2");
Symbol 267 MovieClip Frame 108
redBoat.gotoAndStop("angle3");
Symbol 267 MovieClip Frame 130
redBoat.gotoAndStop("angle4");
Symbol 267 MovieClip Frame 155
redBoat.gotoAndStop("angle5");
Symbol 267 MovieClip Frame 183
redBoat.gotoAndStop("angle6");
Symbol 267 MovieClip Frame 204
redBoat.gotoAndStop("angle7");
Symbol 267 MovieClip Frame 214
redBoat.gotoAndStop("angle6");
Symbol 267 MovieClip Frame 236
redBoat.gotoAndStop("angle5");
Symbol 267 MovieClip Frame 239
redBoat.gotoAndStop("angle4");
Symbol 267 MovieClip Frame 255
redBoat.gotoAndStop("angle5");
Symbol 267 MovieClip Frame 284
redBoat.gotoAndStop("angle6");
Symbol 267 MovieClip Frame 304
redBoat.gotoAndStop("angle7");
Symbol 267 MovieClip Frame 324
redBoat.gotoAndStop("angle6");
Symbol 267 MovieClip Frame 338
redBoat.gotoAndStop("angle5");
Symbol 267 MovieClip Frame 350
redBoat.gotoAndStop("angle4");
Symbol 267 MovieClip Frame 376
redBoat.gotoAndStop("angle5");
Symbol 267 MovieClip Frame 393
redBoat.gotoAndStop("angle6");
Symbol 267 MovieClip Frame 420
redBoat.gotoAndStop("angle7");
Symbol 267 MovieClip Frame 448
redBoat.gotoAndStop("angle8");
Symbol 267 MovieClip Frame 479
redBoat.gotoAndStop("angle1");
Symbol 267 MovieClip Frame 496
redBoat.gotoAndStop("angle2");
Symbol 267 MovieClip Frame 522
redBoat.gotoAndStop("angle1");
Symbol 267 MovieClip Frame 542
redBoat.gotoAndStop("angle2");
Symbol 267 MovieClip Frame 557
redBoat.gotoAndStop("angle1");
Symbol 267 MovieClip Frame 597
redBoat.gotoAndStop("angle2");
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 3
stop();
Symbol 303 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 17
stop();
Symbol 303 MovieClip Frame 24
stop();
Symbol 303 MovieClip Frame 31
stop();
Symbol 303 MovieClip Frame 38
stop();
Symbol 303 MovieClip Frame 45
stop();
Symbol 303 MovieClip Frame 52
stop();
Symbol 303 MovieClip Frame 59
stop();
Symbol 303 MovieClip Frame 66
stop();
Symbol 303 MovieClip Frame 73
stop();
Symbol 303 MovieClip Frame 80
stop();
Symbol 303 MovieClip Frame 87
stop();
Symbol 303 MovieClip Frame 94
stop();
Symbol 303 MovieClip Frame 101
stop();
Symbol 303 MovieClip Frame 108
stop();
Symbol 303 MovieClip Frame 118
stop();
Symbol 304 MovieClip Frame 1
redBoat.gotoAndStop("angle2");
Instance of Symbol 265 MovieClip "redBoat" in Symbol 304 MovieClip Frame 1
onClipEvent (load) {
redTestPoint = new Object();
}
Symbol 304 MovieClip Frame 11
redBoat.gotoAndStop("angle1");
Symbol 304 MovieClip Frame 25
redBoat.gotoAndStop("angle2");
Symbol 304 MovieClip Frame 38
redBoat.gotoAndStop("angle1");
Symbol 304 MovieClip Frame 62
redBoat.gotoAndStop("angle2");
Symbol 304 MovieClip Frame 93
redBoat.gotoAndStop("angle3");
Symbol 304 MovieClip Frame 103
redBoat.gotoAndStop("angle2");
Symbol 304 MovieClip Frame 108
redBoat.gotoAndStop("angle3");
Symbol 304 MovieClip Frame 130
redBoat.gotoAndStop("angle4");
Symbol 304 MovieClip Frame 155
redBoat.gotoAndStop("angle5");
Symbol 304 MovieClip Frame 183
redBoat.gotoAndStop("angle6");
Symbol 304 MovieClip Frame 204
redBoat.gotoAndStop("angle7");
Symbol 304 MovieClip Frame 214
redBoat.gotoAndStop("angle6");
Symbol 304 MovieClip Frame 236
redBoat.gotoAndStop("angle5");
Symbol 304 MovieClip Frame 239
redBoat.gotoAndStop("angle4");
Symbol 304 MovieClip Frame 255
redBoat.gotoAndStop("angle5");
Symbol 304 MovieClip Frame 284
redBoat.gotoAndStop("angle6");
Symbol 304 MovieClip Frame 304
redBoat.gotoAndStop("angle7");
Symbol 304 MovieClip Frame 324
redBoat.gotoAndStop("angle6");
Symbol 304 MovieClip Frame 338
redBoat.gotoAndStop("angle5");
Symbol 304 MovieClip Frame 350
redBoat.gotoAndStop("angle4");
Symbol 304 MovieClip Frame 376
redBoat.gotoAndStop("angle5");
Symbol 304 MovieClip Frame 393
redBoat.gotoAndStop("angle6");
Symbol 304 MovieClip Frame 420
redBoat.gotoAndStop("angle7");
Symbol 304 MovieClip Frame 448
redBoat.gotoAndStop("angle8");
Symbol 304 MovieClip Frame 479
redBoat.gotoAndStop("angle1");
Symbol 304 MovieClip Frame 496
redBoat.gotoAndStop("angle2");
Symbol 304 MovieClip Frame 522
redBoat.gotoAndStop("angle1");
Symbol 304 MovieClip Frame 542
redBoat.gotoAndStop("angle2");
Symbol 304 MovieClip Frame 557
redBoat.gotoAndStop("angle1");
Symbol 304 MovieClip Frame 597
redBoat.gotoAndStop("angle2");
Instance of Symbol 303 MovieClip "playerBoat" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
greenTestPoint = new Object();
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
play();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
play();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
play();
Symbol 316 MovieClip Frame 1
if (Math.floor(Math.random() * 100) == 44) {
gotoAndPlay (7);
} else if (Math.floor(Math.random() * 100) == 6) {
gotoAndPlay (74);
} else if (Math.floor(Math.random() * 100) == 23) {
gotoAndPlay (130);
} else if (Math.floor(Math.random() * 100) == 15) {
gotoAndPlay (176);
} else if (Math.floor(Math.random() * 100) == 36) {
gotoAndPlay (222);
}
Symbol 316 MovieClip Frame 2
gotoAndPlay (1);
Symbol 316 MovieClip Frame 7
play();
Symbol 316 MovieClip Frame 73
gotoAndPlay (1);
Symbol 316 MovieClip Frame 74
play();
Symbol 316 MovieClip Frame 129
gotoAndPlay (1);
Symbol 316 MovieClip Frame 130
play();
Symbol 316 MovieClip Frame 175
gotoAndPlay (1);
Symbol 316 MovieClip Frame 176
play();
Symbol 316 MovieClip Frame 221
gotoAndPlay (1);
Symbol 316 MovieClip Frame 222
play();
Symbol 316 MovieClip Frame 267
gotoAndPlay (1);
Symbol 318 MovieClip Frame 1
if (Math.floor(Math.random() * 150) == 12) {
gotoAndPlay (8);
} else if (Math.floor(Math.random() * 150) == 30) {
gotoAndPlay (37);
} else if (Math.floor(Math.random() * 150) == 20) {
gotoAndPlay (49);
}
Symbol 318 MovieClip Frame 3
gotoAndPlay (1);
Symbol 318 MovieClip Frame 8
play();
Symbol 318 MovieClip Frame 36
gotoAndPlay (1);
Symbol 318 MovieClip Frame 48
gotoAndPlay (1);
Symbol 318 MovieClip Frame 74
gotoAndPlay (1);
Symbol 320 MovieClip Frame 1
if (Math.floor(Math.random() * 150) == 49) {
gotoAndPlay (8);
} else {
gotoAndPlay (1);
}
Symbol 320 MovieClip Frame 3
gotoAndPlay (1);
Symbol 320 MovieClip Frame 8
play();
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
play();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
play();
Symbol 332 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
level = 1;
action.course.stop();
action.redInFront.stop();
radar.red.gotoAndStop(1);
testPoint = new Object();
testPoint.x = 0;
testPoint.y = 0;
originalTrackPosX = action.course._x;
originalTrackPosY = action.course._y;
originalRedPosX = action.redInFront._x;
originalRedPosY = action.redInFront._y;
originalGreenX = action.playerBoat._x;
originalGreenY = action.playerBoat._y;
originalGreenRadarX = radar.greenBoat._x;
originalGreenRadarY = radar.greenBoat._y;
currentBilge = bilgeMetre.bilge.level._y;
gotoAndPlay (117);
totalSeconds = 0;
score = 0;
finishedCourse = 0;
beaten = 0;
Symbol 340 MovieClip Frame 2
_parent.bilgeMetre._alpha = 100;
if (level == 1) {
_root.game.action.course.beasties.gotoAndStop("level1");
} else if (level == 2) {
_root.game.action.course.beasties.gotoAndPlay("level2");
} else if (level == 3) {
_root.game.action.course.beasties.gotoAndPlay("level3");
}
lapCount = 0;
bilgeMetre.bilge.level._y = currentBilge;
action.course.outline._alpha = 0;
action.course.finish1._alpha = 0;
action.course.finish2._alpha = 0;
action.course.finish3._alpha = 0;
action.playerBoat.testDot._visible = 0;
action.course.lapsDone = 0;
speed = 12;
windTopSpeed = 25;
lapsDone = 1;
originalSpeed = speed;
timeToSpeed = 20;
cameraHome = 0;
cameraSpeed = 10;
greenInFront = 1;
count = 0;
baddieCount = 0;
windCount = 0;
baddieHit = 0;
slowing = 0;
beingBlown = 0;
radarValue = 0.034;
finish = 0;
action.playerBoat.gotoAndStop("angle3");
action.course.gotoAndStop(1);
action.redInFront.gotoAndStop(1);
radar.red.gotoAndStop(1);
action.course._x = originalTrackPosX;
action.course._y = originalTrackPosY;
action.redInFront._x = originalRedPosX;
action.redInFront._y = originalRedPosY;
action.playerBoat._x = originalGreenX;
action.playerBoat._y = originalGreenY;
radar.greenBoat._x = originalGreenRadarX;
radar.greenBoat._y = originalGreenRadarY;
Symbol 340 MovieClip Frame 25
function getScore() {
if (beaten == 0) {
totalDamage = bilgeMetre.bilge.level._y + 48;
} else if (beaten == 1) {
totalDamage = -66;
}
if (level == 1) {
score = (500 - totalSeconds) + (totalDamage * 7);
} else if (level == 2) {
score = (750 - totalSeconds) + (totalDamage * 7);
} else if ((level == 3) and (finishedCourse == 0)) {
score = (1000 - totalSeconds) + (totalDamage * 7);
} else if ((level == 3) and (finishedCourse == 1)) {
score = (1250 - totalSeconds) + (totalDamage * 7);
}
}
function convertSeconds(seconds) {
mins = Math.floor(seconds / 60);
leftovers = seconds - (mins * 60);
if (leftovers < 10) {
leftovers = "0" + leftovers;
}
return((mins + ":") + leftovers);
}
function recordLapTime() {
levelTime = Math.floor(getTimer() / 1000) - startTime;
totalSeconds = totalSeconds + levelTime;
if (level == 1) {
timeLevel1 = convertSeconds(levelTime);
} else if (level == 2) {
timeLevel2 = convertSeconds(levelTime);
} else if (level == 3) {
timeLevel3 = convertSeconds(levelTime);
}
}
function testCollision() {
if (action.course.redBoat.base.hitTest(action.playerBoat.base)) {
baddieHit = 1;
crash.gotoAndPlay(2);
justHitBaddie = 1;
backToNormal = 0;
currentBaddie = "redBoat";
currentTimeToStop = 5;
currentSpin = 0;
bilgeMetre.bilge.level._y = bilgeMetre.bilge.level._y - 8;
testDeath();
beingBlown = 0;
bilgeMetre.damage.gotoAndPlay("flash");
action.redInFront.stop();
action.course.stop();
radar.red.stop();
}
}
function testFinishLine() {
if (_root.game.action.course.finish1.hitTest(testPoint.x, testPoint.y, 1)) {
finish = 1;
} else if (_root.game.action.course.finish2.hitTest(testPoint.x, testPoint.y, 1) and (finish == 1)) {
finish = 0;
lapsDone++;
bing.gotoAndPlay(2);
laps.gotoAndPlay(2);
updateLapTimer();
if (lapsDone == 4) {
lapsDone = 3;
gotoAndStop (38);
}
} else if (_root.game.action.course.finish3.hitTest(testPoint.x, testPoint.y, 1)) {
finish = 0;
}
if (action.course.beasties.subTest1.hitTest(testPoint.x, testPoint.y, 1) and (fired1 == 0)) {
action.course.beasties.sub1.gotoAndPlay("rise");
fired1 = 1;
} else if (action.course.beasties.subTest2.hitTest(testPoint.x, testPoint.y, 1) and (fired2 == 0)) {
action.course.beasties.sub2.gotoAndPlay("rise");
fired2 = 1;
} else if (action.course.beasties.subTest3.hitTest(testPoint.x, testPoint.y, 1) and (fired3 == 0)) {
action.course.beasties.sub3.gotoAndPlay("rise");
fired3 = 1;
} else if (action.course.beasties.subTest4.hitTest(testPoint.x, testPoint.y, 1) and (fired4 == 0)) {
action.course.beasties.sub4.gotoAndPlay("rise");
fired4 = 1;
}
}
function testWindCollision(wind) {
if (_root.game.action.course.beasties[wind].hitTest(testPoint.x, testPoint.y, 0)) {
beingBlown = 1;
justHitWind = 1;
action.course.beasties[wind].gotoAndPlay("blow");
}
}
function doWind() {
if (justHitWind == 1) {
speed++;
justHitWind = 0;
speedingUp = 1;
windCount = 0;
} else if ((speed < windTopSpeed) and (speedingUp == 1)) {
speed = speed * 1.5;
} else if ((windTopSpeed < speed) and (speedingUp == 1)) {
if (windCount < timeToSpeed) {
windCount++;
} else {
windCount = 0;
speedingUp = 0;
speed = speed / 1.04;
}
} else if ((originalSpeed < speed) and (speedingUp == 0)) {
speed = speed / 1.04;
} else if ((speedingUp == 0) and (originalSpeed >= speed)) {
speed = originalSpeed;
beingBlown = 0;
}
}
function testBaddieCollision(flag, baddie, stopTime, spinning, damage) {
if ((baddieHit == 0) and action.course.beasties[baddie].hitTest(testPoint.x, testPoint.y, flag)) {
baddieHit = 1;
justHitBaddie = 1;
backToNormal = 0;
spinNo = action.playerBoat.angle;
currentBaddie = baddie;
currentTimeToStop = stopTime;
currentSpin = spinning;
bilgeMetre.bilge.level._y = bilgeMetre.bilge.level._y - damage;
if (baddie.slice(0, 9) != "whirlpool") {
bilgeMetre.damage.gotoAndPlay("flash");
}
beingBlown = 0;
}
}
function doBaddieCollision(thisBaddie, timeToStop, spin) {
if ((spin == 1) and (backToNormal == 0)) {
_root.game.action.playerBoat.gotoAndStop("angle" + spinNo);
spinNo = spinNo - 2;
suck.gotoAndPlay(2);
if (0 >= spinNo) {
spinNo = 16;
}
}
if ((thisBaddie.slice(0, 5) == "shark") and (biting == 0)) {
action.course.beasties[thisBaddie].fin.shark.gotoAndPlay("hit");
}
if (justHitBaddie == 1) {
action.course.beasties[thisBaddie].gotoAndPlay("hit");
testDeath();
control = 0;
speed--;
justHitBaddie = 0;
slowing = 1;
} else if ((0.5 < speed) and (slowing == 1)) {
speed = speed / 2;
} else if ((speed < 0.5) and (slowing == 1)) {
if (baddieCount < timeToStop) {
baddieCount++;
} else {
baddieCount = 0;
slowing = 0;
speed = speed * 2;
}
} else if ((speed < originalSpeed) and (slowing == 0)) {
speed = speed * 2;
} else if (((slowing == 0) and (speed >= originalSpeed)) and (backToNormal == 0)) {
speed = originalSpeed;
control = 1;
backToNormal = 1;
action.redInFront.play();
action.course.play();
radar.red.play();
action.playerBoat.gotoAndStop("angle" + action.playerBoat.angle);
} else if (!_root.game.action.course.beasties[thisBaddie].hitTest(testPoint.x, testPoint.y, false)) {
baddieCount++;
if (baddieCount == 3) {
baddieHit = 0;
baddieCount = 0;
biting = 0;
}
}
}
function testDeath() {
if (bilgeMetre.bilge.level._y < -114) {
gotoAndStop (63);
}
}
function testTrackCollision() {
if ((!action.course.outline.hitTest(testPoint.x, testPoint.y, true)) or (offCourse == 1)) {
offCourse = 1;
if (control == 1) {
beingBlown = 0;
creak.gotoAndPlay(2);
control = 0;
speed = 0;
_root.game.updatePlayerAngle("right");
_root.game.updatePlayerAngle("right");
justHitBuoy = 1;
} else if ((justHitBuoy == 1) and (count < 3)) {
_root.game.updatePlayerAngle("right");
_root.game.updatePlayerAngle("right");
count++;
} else if ((count >= 3) and (count < 10)) {
speed = originalSpeed;
count++;
} else if (count == 10) {
if (action.course.outline.hitTest(testPoint.x, testPoint.y, true)) {
justHitBuoy = 0;
speed = originalSpeed;
count = 0;
control = 1;
offCourse = 0;
} else {
_root.game.updatePlayerAngle("right");
_root.game.updatePlayerAngle("right");
speed++;
}
}
}
}
function testBoatDepth() {
if ((_root.game.action.course.redBoat.redTestPoint.y < _root.game.action.playerBoat.greenTestPoint.y) and (greenInfront == 0)) {
greenInFront = 1;
_root.game.action.redInFront._visible = 0;
} else if ((_root.game.action.playerBoat.greenTestPoint.y < _root.game.action.course.redBoat.redTestPoint.y) and (greenInfront == 1)) {
greenInFront = 0;
_root.game.action.redInFront._visible = 1;
}
}
function startGame() {
_root.game.action.redInFront._visible = 0;
cameraHome = 0;
action.playerBoat.angle = 3;
control = 1;
gun.gotoAndPlay(2);
}
function updateCamera() {
if (cameraXTarget < action._x) {
action._x = action._x - ((action._x - cameraXTarget) / cameraSpeed);
} else if (action._x < cameraXTarget) {
action._x = action._x + ((cameraXTarget - action._x) / cameraSpeed);
}
if (cameraYTarget < action._y) {
action._y = action._y - ((action._y - cameraYTarget) / cameraSpeed);
} else if (action._y < cameraYTarget) {
action._y = action._y + ((cameraYTarget - action._y) / cameraSpeed);
}
}
function updatePlayerAngle(direction) {
if ((direction == "right") and (action.playerBoat.angle != 16)) {
action.playerBoat.angle++;
} else if ((direction == "right") and (action.playerBoat.angle == 16)) {
action.playerBoat.angle = 1;
} else if ((direction == "left") and (action.playerBoat.angle != 1)) {
action.playerBoat.angle--;
} else if ((direction == "left") and (action.playerBoat.angle == 1)) {
action.playerBoat.angle = 16;
}
action.playerBoat.gotoAndStop("angle" + action.playerBoat.angle);
}
function moveCourse() {
if (action.playerBoat.angle == 1) {
action.course._y = action.course._y + speed;
action.redInFront._y = action.redInFront._y + speed;
action.startLine._y = action.startLine._y + speed;
radar.greenBoat._y = radar.greenBoat._y - (speed * radarValue);
cameraXTarget = 120;
cameraYTarget = 900;
} else if (action.playerBoat.angle == 2) {
action.course._y = action.course._y + (speed * 0.92);
action.course._x = action.course._x - (speed * 0.38);
action.redInFront._y = action.redInFront._y + (speed * 0.92);
action.redInFront._x = action.redInFront._x - (speed * 0.38);
action.startLine._y = action.startLine._y + (speed * 0.92);
action.startLine._x = action.startLine._x - (speed * 0.38);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.92) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.38) * radarValue);
cameraXTarget = 62;
cameraYTarget = 900;
} else if (action.playerBoat.angle == 3) {
action.course._y = action.course._y + (speed * 0.71);
action.course._x = action.course._x - (speed * 0.71);
action.redInFront._y = action.redInFront._y + (speed * 0.71);
action.redInFront._x = action.redInFront._x - (speed * 0.71);
action.startLine._y = action.startLine._y + (speed * 0.71);
action.startLine._x = action.startLine._x - (speed * 0.71);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.71) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.71) * radarValue);
cameraXTarget = 4;
cameraYTarget = 850;
} else if (action.playerBoat.angle == 4) {
action.course._y = action.course._y + (speed * 0.38);
action.course._x = action.course._x - (speed * 0.92);
action.redInFront._y = action.redInFront._y + (speed * 0.38);
action.redInFront._x = action.redInFront._x - (speed * 0.92);
action.startLine._y = action.startLine._y + (speed * 0.38);
action.startLine._x = action.startLine._x - (speed * 0.92);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.38) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.92) * radarValue);
cameraXTarget = 4;
cameraYTarget = 850;
} else if (action.playerBoat.angle == 5) {
action.course._x = action.course._x - speed;
action.redInFront._x = action.redInFront._x - speed;
action.startLine._x = action.startLine._x - speed;
radar.greenBoat._x = radar.greenBoat._x + (speed * radarValue);
cameraXTarget = -21;
cameraYTarget = 800;
} else if (action.playerBoat.angle == 6) {
action.course._y = action.course._y - (speed * 0.38);
action.course._x = action.course._x - (speed * 0.92);
action.redInFront._y = action.redInFront._y - (speed * 0.38);
action.redInFront._x = action.redInFront._x - (speed * 0.92);
action.startLine._y = action.startLine._y - (speed * 0.38);
action.startLine._x = action.startLine._x - (speed * 0.92);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.38) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.92) * radarValue);
cameraXTarget = 18;
cameraYTarget = 730;
} else if (action.playerBoat.angle == 7) {
action.course._y = action.course._y - (speed * 0.71);
action.course._x = action.course._x - (speed * 0.71);
action.redInFront._y = action.redInFront._y - (speed * 0.71);
action.redInFront._x = action.redInFront._x - (speed * 0.71);
action.startLine._y = action.startLine._y - (speed * 0.71);
action.startLine._x = action.startLine._x - (speed * 0.71);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.71) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.71) * radarValue);
cameraXTarget = 18;
cameraYTarget = 730;
} else if (action.playerBoat.angle == 8) {
action.course._y = action.course._y - (speed * 0.92);
action.course._x = action.course._x - (speed * 0.38);
action.redInFront._y = action.redInFront._y - (speed * 0.92);
action.redInFront._x = action.redInFront._x - (speed * 0.38);
action.startLine._y = action.startLine._y - (speed * 0.92);
action.startLine._x = action.startLine._x - (speed * 0.38);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.92) * radarValue);
radar.greenBoat._x = radar.greenBoat._x + ((speed * 0.38) * radarValue);
cameraXTarget = 62;
cameraYTarget = 705;
} else if (action.playerBoat.angle == 9) {
action.course._y = action.course._y - speed;
action.redInFront._y = action.redInFront._y - speed;
action.startLine._y = action.startLine._y - speed;
radar.greenBoat._y = radar.greenBoat._y + (speed * radarValue);
cameraXTarget = 113;
cameraYTarget = 705;
} else if (action.playerBoat.angle == 10) {
action.course._y = action.course._y - (speed * 0.92);
action.course._x = action.course._x + (speed * 0.38);
action.redInFront._y = action.redInFront._y - (speed * 0.92);
action.redInFront._x = action.redInFront._x + (speed * 0.38);
action.startLine._y = action.startLine._y - (speed * 0.92);
action.startLine._x = action.startLine._x + (speed * 0.38);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.92) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.38) * radarValue);
cameraXTarget = 160;
cameraYTarget = 705;
} else if (action.playerBoat.angle == 11) {
action.course._y = action.course._y - (speed * 0.71);
action.course._x = action.course._x + (speed * 0.71);
action.redInFront._y = action.redInFront._y - (speed * 0.71);
action.redInFront._x = action.redInFront._x + (speed * 0.71);
action.startLine._y = action.startLine._y - (speed * 0.71);
action.startLine._x = action.startLine._x + (speed * 0.71);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.71) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.71) * radarValue);
cameraXTarget = 209;
cameraYTarget = 730;
} else if (action.playerBoat.angle == 12) {
action.course._y = action.course._y - (speed * 0.38);
action.course._x = action.course._x + (speed * 0.92);
action.redInFront._y = action.redInFront._y - (speed * 0.38);
action.redInFront._x = action.redInFront._x + (speed * 0.92);
action.startLine._y = action.startLine._y - (speed * 0.38);
action.startLine._x = action.startLine._x + (speed * 0.92);
radar.greenBoat._y = radar.greenBoat._y + ((speed * 0.38) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.92) * radarValue);
cameraXTarget = 209;
cameraYTarget = 730;
} else if (action.playerBoat.angle == 13) {
action.course._x = action.course._x + speed;
action.redInFront._x = action.redInFront._x + speed;
action.startLine._x = action.startLine._x + speed;
radar.greenBoat._x = radar.greenBoat._x - (speed * radarValue);
cameraXTarget = 255;
cameraYTarget = 800;
} else if (action.playerBoat.angle == 14) {
action.course._y = action.course._y + (speed * 0.38);
action.course._x = action.course._x + (speed * 0.92);
action.redInFront._y = action.redInFront._y + (speed * 0.38);
action.redInFront._x = action.redInFront._x + (speed * 0.92);
action.startLine._y = action.startLine._y + (speed * 0.38);
action.startLine._x = action.startLine._x + (speed * 0.92);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.38) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.92) * radarValue);
cameraXTarget = 200;
cameraYTarget = 850;
} else if (action.playerBoat.angle == 15) {
action.course._y = action.course._y + (speed * 0.71);
action.course._x = action.course._x + (speed * 0.71);
action.redInFront._y = action.redInFront._y + (speed * 0.71);
action.redInFront._x = action.redInFront._x + (speed * 0.71);
action.startLine._y = action.startLine._y + (speed * 0.71);
action.startLine._x = action.startLine._x + (speed * 0.71);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.71) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.71) * radarValue);
cameraXTarget = 200;
cameraYTarget = 850;
} else if (action.playerBoat.angle == 16) {
action.course._y = action.course._y + (speed * 0.92);
action.course._x = action.course._x + (speed * 0.38);
action.redInFront._y = action.redInFront._y + (speed * 0.92);
action.redInFront._x = action.redInFront._x + (speed * 0.38);
action.startLine._y = action.startLine._y + (speed * 0.92);
action.startLine._x = action.startLine._x + (speed * 0.38);
radar.greenBoat._y = radar.greenBoat._y - ((speed * 0.92) * radarValue);
radar.greenBoat._x = radar.greenBoat._x - ((speed * 0.38) * radarValue);
cameraXTarget = 160;
cameraYTarget = 900;
}
}
action.course.play();
action.redInFront.play();
radar.red.play();
popup.gotoAndStop("off");
fired1 = 0;
fired2 = 0;
fired3 = 0;
fired4 = 0;
biting = 0;
startGame();
stop();
Instance of Symbol 325 MovieClip in Symbol 340 MovieClip Frame 25
onClipEvent (load) {
_parent.startTime = Math.floor(getTimer() / 1000);
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and (_parent.control == 1)) {
_root.game.updatePlayerAngle("right");
} else if (Key.isDown(37) and (_parent.control == 1)) {
_root.game.updatePlayerAngle("left");
}
_parent.testPoint.x = 0;
_parent.testPoint.y = 0;
_root.game.action.playerBoat.testDot.localToGlobal(_parent.testPoint);
_root.game.action.playerBoat.greenTestPoint.x = 0;
_root.game.action.playerBoat.greenTestPoint.y = 0;
_root.game.action.playerBoat.localToGlobal(_root.game.action.playerBoat.greenTestPoint);
_root.game.action.course.redBoat.redTestPoint.x = 0;
_root.game.action.course.redBoat.redTestPoint.y = 0;
_root.game.action.course.redBoat.localToGlobal(_root.game.action.course.redBoat.redTestPoint);
_root.game.moveCourse();
_root.game.testTrackCollision();
_root.game.updateCamera();
_root.game.testBoatDepth();
_root.game.testFinishLine();
if (_root.game.beingBlown == 0) {
_root.game.testWindCollision("wind1");
_root.game.testWindCollision("wind2");
_root.game.testWindCollision("wind3");
} else {
_root.game.doWind();
}
if (_parent.baddieHit == 0) {
_root.game.testCollision();
_root.game.testBaddieCollision(0, "whirlpool1", 20, 1, 0);
_root.game.testBaddieCollision(0, "whirlpool2", 20, 1, 0);
_root.game.testBaddieCollision(0, "whirlpool3", 20, 1, 0);
_root.game.testBaddieCollision(0, "squid1", 8, 0, 5);
_root.game.testBaddieCollision(0, "squid2", 8, 0, 5);
_root.game.testBaddieCollision(0, "squid3", 8, 0, 5);
_root.game.testBaddieCollision(0, "squid4", 8, 0, 5);
_root.game.testBaddieCollision(1, "whale1", 8, 0, 8);
_root.game.testBaddieCollision(1, "whale2", 8, 0, 8);
_root.game.testBaddieCollision(1, "whale3", 8, 0, 8);
_root.game.testBaddieCollision(1, "whale4", 8, 0, 8);
_root.game.testBaddieCollision(0, "shark1", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark2", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark3", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark4", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark5", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark6", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark7", 10, 0, 10);
_root.game.testBaddieCollision(0, "shark8", 10, 0, 10);
_root.game.testBaddieCollision(0, "missile1", 15, 1, 14);
_root.game.testBaddieCollision(0, "missile2", 15, 1, 14);
_root.game.testBaddieCollision(0, "missile3", 15, 1, 14);
_root.game.testBaddieCollision(0, "missile4", 15, 1, 14);
} else {
_root.game.doBaddieCollision(_parent.currentBaddie, _parent.currentTimeToStop, _parent.currentSpin);
}
}
Symbol 340 MovieClip Frame 38
currentBilge = bilgeMetre.bilge.level._y;
recordLapTime();
action.course.stop();
action.redInFront.redBoat.stop();
radar.red.stop();
if (level == 1) {
popup.gotoAndStop("endLevel1");
} else if (level == 2) {
popup.gotoAndStop("endLevel2");
} else if (level == 3) {
popup.gotoAndStop("endLevel3");
finishedCourse = 1;
getScore();
}
action.course.stop();
action.redInFront.stop();
stop();
Symbol 340 MovieClip Frame 50
action.course.stop();
action.redInFront.redBoat.stop();
radar.red.stop();
beaten = 1;
getScore();
popup.gotoAndStop("lostRace");
stop();
Symbol 340 MovieClip Frame 63
_root.game.action.playerBoat.gotoAndStop("sunk");
action.course.stop();
action.redInFront.redBoat.stop();
radar.red.stop();
getScore();
play();
Symbol 340 MovieClip Frame 113
popup.gotoAndStop("sunk" + level);
stop();
Symbol 340 MovieClip Frame 117
popup.gotoAndStop("off");
captain.gotoAndStop("top");
play();
Instance of Symbol 332 MovieClip in Symbol 340 MovieClip Frame 117
onClipEvent (load) {
this.swirl1.gotoAndStop(1);
this.swirl2.gotoAndStop(1);
}
Instance of Symbol 333 MovieClip in Symbol 340 MovieClip Frame 117
onClipEvent (load) {
this.spray.gotoAndStop(1);
}
Symbol 340 MovieClip Frame 166
captain.gotoAndPlay("down");
Symbol 340 MovieClip Frame 174
gotoAndPlay (2);
Symbol 340 MovieClip Frame 175
popup.gotoAndStop("off");
captain.gotoAndStop("top");
level = 2;
play();
Symbol 340 MovieClip Frame 219
captain.gotoAndPlay("down");
Symbol 340 MovieClip Frame 228
gotoAndPlay (2);
Symbol 340 MovieClip Frame 229
popup.gotoAndStop("off");
captain.gotoAndStop("top");
level = 3;
play();
Symbol 340 MovieClip Frame 272
captain.gotoAndPlay("down");
Symbol 340 MovieClip Frame 282
gotoAndPlay (2);
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 3
stop();
Symbol 350 MovieClip Frame 10
stop();
Symbol 350 MovieClip Frame 17
stop();
Symbol 350 MovieClip Frame 24
stop();
Symbol 350 MovieClip Frame 31
stop();
Symbol 350 MovieClip Frame 38
stop();
Symbol 350 MovieClip Frame 45
stop();
Symbol 350 MovieClip Frame 52
stop();
Symbol 350 MovieClip Frame 59
stop();
Symbol 350 MovieClip Frame 66
stop();
Symbol 350 MovieClip Frame 73
stop();
Symbol 350 MovieClip Frame 80
stop();
Symbol 350 MovieClip Frame 87
stop();
Symbol 350 MovieClip Frame 94
stop();
Symbol 350 MovieClip Frame 101
stop();
Symbol 350 MovieClip Frame 108
stop();
Symbol 350 MovieClip Frame 118
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 3
stop();
Symbol 356 MovieClip Frame 10
stop();
Symbol 356 MovieClip Frame 17
stop();
Symbol 356 MovieClip Frame 24
stop();
Symbol 356 MovieClip Frame 31
stop();
Symbol 356 MovieClip Frame 38
stop();
Symbol 356 MovieClip Frame 45
stop();
Symbol 356 MovieClip Frame 52
stop();
Symbol 356 MovieClip Frame 59
stop();
Symbol 356 MovieClip Frame 66
stop();
Symbol 356 MovieClip Frame 73
stop();
Symbol 356 MovieClip Frame 80
stop();
Symbol 356 MovieClip Frame 87
stop();
Symbol 356 MovieClip Frame 94
stop();
Symbol 356 MovieClip Frame 101
stop();
Symbol 356 MovieClip Frame 108
stop();
Symbol 356 MovieClip Frame 118
stop();
Symbol 371 MovieClip Frame 1
boat.gotoAndStop("angle5");
Instance of Symbol 356 MovieClip "boat" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
this.testDot._visible = 0;
}
Instance of Symbol 367 MovieClip in Symbol 371 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndPlay(10);
}
Symbol 371 MovieClip Frame 57
boat.gotoAndStop("angle4");
boat.testDot._visible = 0;
Symbol 371 MovieClip Frame 58
boat.gotoAndStop("angle3");
boat.testDot._visible = 0;
Symbol 371 MovieClip Frame 70
boat.gotoAndStop("angle2");
boat.testDot._visible = 0;
Symbol 371 MovieClip Frame 71
boat.gotoAndStop("angle1");
boat.testDot._visible = 0;
Symbol 371 MovieClip Frame 147
_root.gotoAndStop("instructions");