Instance of Symbol 236 MovieClip [ftloader] in Frame 1
//component parameters
onClipEvent (construct) {
pUseLoader = true;
pVersion = true;
pMajor = 8;
pMinor = 0;
pSecurity = false;
pServer = "fingertime";
pURL = "http://www.fingertime.com";
pLabel = "menu";
pAdvert = true;
}
Frame 2
if (highscoremode == "yes") {
madmacklogo_mc._visible = false;
rules_btn._visible = false;
scores_btn._visible = false;
playgame_btn._visible = false;
p3link_btn._visible = false;
highscoremode = "no";
}
motoraidle.stop();
motorathrottle.stop();
motorbthrottle.stop();
motorbidle.stop();
function initstartgame() {
uRecoil = 0;
uPower = 11;
uWinch = 3;
uMotor = "off";
uHarpoonRotate = 2;
uDecelerationDown = 0.18;
uAccelerationUp = 0.03;
uBoatSpeed = 0.5;
uBoatAccel = 0.5;
uSpecialHarpoon = 0;
uHighFuel = 0;
uHighFishCount = 0;
uClockKey = 0;
uCoolBox = 0;
uHighTreasureCount = 0;
uPossessCharge = 0;
uSpinach = 0;
score = 0;
pHarpoonPower = 1;
pBoatSpeed = 1;
pWinchSpeed = 1;
itemnametext = "";
itemvaluetext = "";
itemvalue = 0;
numcaught = 0;
stash = 0;
leveltarget = 0;
level = 0;
timer = 50;
depthchargexbase = 0;
depthchargeused = 0;
fishtyperatio = 19;
target = "";
levelstatus = "wait";
starColour = "green";
shopvolumelevel = 0;
motorsound = "idle";
highscoremode = "no";
titaniumdefecit = "off";
fishoutsound = 0;
}
function nextlevel() {
treasurezone_mc.gotoAndPlay(1);
level++;
switch (level) {
case 2 :
fishtyperatio = 25;
break;
case 3 :
fishtyperatio = 30;
break;
case 4 :
fishtyperatio = 34;
break;
case 5 :
fishtyperatio = 38;
break;
case 6 :
fishtyperatio = 41;
break;
case 7 :
fishtyperatio = 43;
break;
case 8 :
fishtyperatio = 45;
break;
case 9 :
fishtyperatio = 46;
break;
case 10 :
fishtyperatio = 47;
}
timer = 50;
score = 0;
if ((uSpecialHarpoon == 1) && (titaniumdefecit == "off")) {
leveltarget = (leveltarget + 750) + Math.ceil(Math.random() * 50);
titaniumdefecit = "on";
} else if ((uSpecialHarpoon == 1) && (titaniumdefecit == "on")) {
leveltarget = (leveltarget + 100) + Math.ceil(Math.random() * 50);
} else {
leveltarget = (leveltarget + 50) + Math.ceil(Math.random() * 50);
}
}
function loadpowerups() {
switch (pHarpoonPower) {
case 1 :
uPower = 10;
uDecelerationDown = 0.18;
break;
case 2 :
uPower = 13;
uDecelerationDown = 0.2;
break;
case 3 :
uPower = 18;
uDecelerationDown = 0.32;
}
switch (pBoatSpeed) {
case 1 :
uMotor = "off";
break;
case 2 :
uMotor = "on";
uBoatSpeed = 3;
uBoatAccel = 0.15;
break;
case 3 :
uMotor = "on";
uBoatSpeed = 6;
uBoatAccel = 0.25;
}
switch (pWinchSpeed) {
case 1 :
uWinch = 1;
uAccelerationUp = 0.03;
break;
case 2 :
uWinch = 3;
uAccelerationUp = 0.03;
break;
case 3 :
uWinch = 6;
uAccelerationUp = 0.03;
}
if (uHighFuel == 1) {
uBoatSpeed = uBoatSpeed + 3;
uBoatAccel = uBoatAccel + 0.2;
}
switch (uSpinach) {
case 0 :
uHarpoonRotate = 2;
return;
case 1 :
uHarpoonRotate = 4;
return;
case 2 :
uHarpoonRotate = 6;
}
}
function shoot() {
speedout = speedout - deceleration;
harpoon_mc.harpoonspike_mc._x = harpoon_mc.harpoonspike_mc._x + speedout;
coordsofpoint.x = 0;
coordsofpoint.y = 0;
harpoon_mc.harpoonspike_mc.refpoint_mc.localToGlobal(coordsofpoint);
if (speedout < 0.4) {
speedout = 0;
clearInterval(iShoot);
speedin = uWinch;
trace("fully out");
if (harpoonstate == "attached") {
harpoonstate = "attachedup";
trace("harpoon is attachedup");
} else {
harpoonstate = "windingback";
}
if (target != "electriceel") {
iWindback = setInterval(windback, 30);
}
}
}
function windback() {
speedin = speedin + acceleration;
harpoon_mc.harpoonspike_mc._x = harpoon_mc.harpoonspike_mc._x - speedin;
coordsofpoint.x = 0;
coordsofpoint.y = 0;
harpoon_mc.harpoonspike_mc.refpoint_mc.localToGlobal(coordsofpoint);
if (((harpoon_mc.harpoonspike_mc._x < 61) && (numcaught >= 1)) && (fishoutsound == 0)) {
fishout.start();
fishoutsound = 1;
}
if (harpoon_mc.harpoonspike_mc._x < 41.95) {
trace("hello I'm home");
harpoonstate = "ready";
harpoon_mc.harpoonspike_mc._x = 41.95;
clearInterval(iWindback);
speedin = 0;
fishoutsound = 0;
}
}
var smc = this.createEmptyMovieClip("sound1_mc", 15000);
var smc2 = this.createEmptyMovieClip("sound2_mc", 15001);
var smc3 = this.createEmptyMovieClip("sound3_mc", 15002);
var smc4 = this.createEmptyMovieClip("sound4_mc", 15003);
var smc5 = this.createEmptyMovieClip("sound5_mc", 15004);
var smc6 = this.createEmptyMovieClip("sound6_mc", 15005);
var smc7 = this.createEmptyMovieClip("sound7_mc", 15006);
var smc8 = this.createEmptyMovieClip("sound8_mc", 15007);
var smc9 = this.createEmptyMovieClip("sound9_mc", 15008);
var smc10 = this.createEmptyMovieClip("sound10_mc", 15009);
var smc11 = this.createEmptyMovieClip("sound11_mc", 15010);
var smc12 = this.createEmptyMovieClip("sound12_mc", 15011);
var smc13 = this.createEmptyMovieClip("sound13_mc", 15012);
var smc14 = this.createEmptyMovieClip("sound14_mc", 15013);
var smc15 = this.createEmptyMovieClip("sound15_mc", 15014);
var smc16 = this.createEmptyMovieClip("sound16_mc", 15015);
var smc17 = this.createEmptyMovieClip("sound17_mc", 15016);
var smc18 = this.createEmptyMovieClip("sound18_mc", 15017);
menuloop = new Sound(smc);
menuloop.attachSound("menuloop");
menuloop.setVolume(100);
menuloop.start(0, 99999);
gameloop = new Sound(smc2);
gameloop.attachSound("waterloop");
gameloop.setVolume(0);
gameloop.start(0, 999999);
shootharpoon = new Sound(smc3);
shootharpoon.attachSound("shootharpoon");
treasuregot = new Sound(smc4);
treasuregot.attachSound("treasuregot");
treasurehit = new Sound(smc5);
treasurehit.attachSound("treasurehit");
treasurehit.setVolume(40);
shoploop = new Sound(smc6);
shoploop.attachSound("shoploop");
motoraidle = new Sound(smc7);
motoraidle.attachSound("motoraidle");
motoraidle.setVolume(25);
motorathrottle = new Sound(smc8);
motorathrottle.attachSound("motorathrottle");
motorathrottle.setVolume(25);
motorbidle = new Sound(smc9);
motorbidle.attachSound("motorbidle");
motorbidle.setVolume(25);
motorbthrottle = new Sound(smc10);
motorbthrottle.attachSound("motorbthrottle");
motorbthrottle.setVolume(15);
fishhit1 = new Sound(smc11);
fishhit1.attachSound("catchfish1");
fishhit2 = new Sound(smc12);
fishhit2.attachSound("catchfish2");
fishhit3 = new Sound(smc13);
fishhit3.attachSound("catchfish3");
fishhit4 = new Sound(smc14);
fishhit4.attachSound("catchfish4");
fishhit5 = new Sound(smc15);
fishhit5.attachSound("catchfish5");
fishhit = new Sound(smc16);
fishhit.attachSound("fishhit");
shopbuy = new Sound(smc17);
shopbuy.attachSound("shopbuy");
fishout = new Sound(smc18);
fishout.attachSound("fishout");
keyListener = new Object();
keyListener.onKeyDown = function () {
switch (Key.getCode()) {
case 39 :
if ((harpoonstate == "ready") && (harpoon_mc._rotation >= 29)) {
harpoon_mc._rotation = harpoon_mc._rotation - uHarpoonRotate;
coordsofpoint.x = 0;
coordsofpoint.y = 0;
harpoon_mc.harpoonspike_mc.refpoint_mc.localToGlobal(coordsofpoint);
}
return;
case 37 :
if ((harpoonstate == "ready") && (harpoon_mc._rotation <= 151)) {
harpoon_mc._rotation = harpoon_mc._rotation + uHarpoonRotate;
coordsofpoint.x = 0;
coordsofpoint.y = 0;
harpoon_mc.harpoonspike_mc.refpoint_mc.localToGlobal(coordsofpoint);
}
return;
case 90 :
if (harpoonstate == "ready") {
if (uMotor == "on") {
if (boat_mc._x > 20) {
boat_mc._xscale = -100;
if ((pBoatSpeed == 2) && (motorsound != "playing")) {
motorathrottle.start(0, 99999);
motoraidle.stop();
motorsound = "playing";
}
if ((pBoatSpeed == 3) && (motorsound != "playing")) {
motorbthrottle.start(0, 99999);
motorbidle.stop();
motorsound = "playing";
}
if (boatdirection == " right") {
boat_mc.gotoAndStop("turning");
} else {
boat_mc.gotoAndStop("moving");
}
boatdirection = "left";
}
boat_mc.fisherman_mc.gotoAndStop("moving");
} else {
boat_mc.gotoAndStop("stationary");
}
}
return;
case 88 :
if (harpoonstate != "ready") {
break;
}
if (uMotor == "on") {
if (boat_mc._x < 500) {
boat_mc._xscale = 100;
if ((pBoatSpeed == 2) && (motorsound != "playing")) {
motorathrottle.start(0, 99999);
motoraidle.stop();
motorsound = "playing";
}
if ((pBoatSpeed == 3) && (motorsound != "playing")) {
motorbthrottle.start(0, 99999);
motorbidle.stop();
motorsound = "playing";
}
if (boatdirection == "left") {
boat_mc.gotoAndStop("turning");
} else {
boat_mc.gotoAndStop("moving");
}
boatdirection = "right";
}
boat_mc.fisherman_mc.gotoAndStop("moving");
} else {
boat_mc.gotoAndStop("stationary");
}
}
};
keyListener.onKeyUp = function () {
switch (Key.getCode()) {
case 90 :
if (harpoonstate == "ready") {
boat_mc.fisherman_mc.gotoAndStop("stationary");
boat_mc.gotoAndStop("stationary");
if ((pBoatSpeed == 2) && (motorsound != "idle")) {
motorathrottle.stop();
motoraidle.start(0, 99999);
motorsound = "idle";
}
if ((pBoatSpeed == 3) && (motorsound != "idle")) {
motorbthrottle.stop();
motorbidle.start(0, 99999);
motorsound = "idle";
}
}
return;
case 88 :
if (harpoonstate == "ready") {
if ((pBoatSpeed == 2) && (motorsound != "idle")) {
motorathrottle.stop();
motoraidle.start(0, 99999);
motorsound = "idle";
}
if ((pBoatSpeed == 3) && (motorsound != "idle")) {
motorbthrottle.stop();
motorbidle.start(0, 99999);
motorsound = "idle";
}
boat_mc.fisherman_mc.gotoAndStop("stationary");
boat_mc.gotoAndStop("stationary");
}
return;
case 38 :
trace(fishzone_mc.numoffish);
case 40 :
case 32 :
}
};
harpoonstate = "ready";
harpoon_mc._rotation = 90;
coordsofpoint = new Object();
manoffset = 8;
this.onEnterFrame = function () {
if (Key.isDown(16)) {
trace("harpoonstate = " + harpoonstate);
}
coordsofpoint.x = 0;
coordsofpoint.y = 0;
harpoon_mc.harpoonspike_mc.refpoint_mc.localToGlobal(coordsofpoint);
harpoon_mc._x = boat_mc._x;
fisherman_mc._x = boat_mc._x + manoffset;
_global.ropexpos = coordsofpoint.x;
_global.ropeypos = coordsofpoint.y;
_global.ropexpos2 = harpoon_mc._x;
_global.ropeypos2 = harpoon_mc._y;
var _local3 = 0;
if ((harpoonstate == "ready") && (levelstatus != "wait")) {
if (Key.isDown(90)) {
if (boat_mc._x > 80) {
_local3 = _local3 - uBoatAccel;
}
}
if (Key.isDown(88)) {
if (boat_mc._x < 520) {
_local3 = _local3 + uBoatAccel;
}
}
}
this.boat_mc.movement(_local3);
};
var bubblenum = 0;
initstartgame();
loadpowerups();
nextlevel();
stop();
Instance of Symbol 321 MovieClip "harpoon_mc" in Frame 2
/* no clip actions */
Instance of Symbol 510 MovieClip "HS_mc" in Frame 2
//component parameters
onClipEvent (construct) {
pPingLoc = "http://www.fingertime.com/ping/highscore.php";
pChartLoc = "menu";
pDoneFrame = "menu";
pGameID = "harpoonlagoon";
pHSnum = "47";
}
Frame 3
function fadedownmenuloop() {
volumelevel2++;
volumelevel1--;
menuloop.setVolume(volumelevel1);
gameloop.setVolume(volumelevel2);
if (volumelevel1 <= 0) {
menuloop.stop();
clearInterval(menuloopfadedown);
}
}
function fadedownshoploop() {
shopvolumelevel--;
shoploop.setVolume(shopvolumelevel);
if (shopvolumelevel <= 0) {
shoploop.stop();
clearInterval(shoploopfadedown);
}
}
volumelevel1 = 100;
volumelevel2 = 0;
menuloopfadedown = setInterval(fadedownmenuloop, 30);
shoploopfadedown = setInterval(fadedownshoploop, 30);
Instance of Symbol 161 MovieClip [SChainSymbol] in Frame 3
//component parameters
onClipEvent (construct) {
strength = 0.3;
}
Instance of Symbol 542 MovieClip "treasurezone_mc" in Frame 3
/* no clip actions */
Instance of Symbol 549 MovieClip "inLogo" in Frame 3
//component parameters
onClipEvent (construct) {
pT = "button on / sub-header on";
pU = "http://fingertime.com";
pB = "_blank";
}
Frame 5
motoraidle.stop();
motorathrottle.stop();
motorbidle.stop();
motorbthrottle.stop();
shoploop.start(0, 99999);
shoploop.setVolume(100);
shopvolumelevel = 100;
Symbol 7 MovieClip [fish8] Frame 1
this.pState = "alive";
this.itemname = "rare\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 40) + 70;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 2.5;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.9);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 7 MovieClip [fish8] Frame 5
if (_parent._parent.uCoolbox == 1) {
this.itemvalue = Math.ceil(this.itemvalue * 1.2);
_parent._parent.starColour = "blue";
}
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 7 MovieClip [fish8] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 14 MovieClip [fish5] Frame 1
this.pState = "alive";
this.itemname = "fancy\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 40) + 70;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 3;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.8);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
stop();
Symbol 14 MovieClip [fish5] Frame 5
if (_parent._parent.uCoolbox == 1) {
this.itemvalue = Math.ceil(this.itemvalue * 1.2);
_parent._parent.starColour = "blue";
}
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 14 MovieClip [fish5] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 26 MovieClip [fish7] Frame 1
this.pState = "alive";
this.itemname = "electric\reel";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 20) + 90;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 2;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 1);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.numcaught++;
_parent._parent.harpoonstate = "attached";
gotoAndStop (3);
this.runonce = "done";
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
_parent._parent.target = "electriceel";
_parent._parent.boat_mc.fisherman_mc.gotoAndStop("shock");
_parent._parent.harpoon_mc.gotoAndStop("shock");
_parent._parent.speedout = 0;
Key.removeListener(_parent._parent.keylistener);
}
};
stop();
stop();
Symbol 26 MovieClip [fish7] Frame 2
stop();
Symbol 26 MovieClip [fish7] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 26 MovieClip [fish7] Frame 17
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 36 MovieClip [fish12] Frame 1
this.pState = "alive";
this.itemname = "sea\rshark!";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 20) + 90;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 5;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 2);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
_parent._parent.numcaught++;
_parent._parent.harpoonstate = "attached";
gotoAndStop (3);
this.runonce = "done";
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.uSpecialHarpoon == 1) {
this.pState = "dead";
} else {
_parent._parent.speedout = 0;
}
}
};
stop();
stop();
Symbol 36 MovieClip [fish12] Frame 2
stop();
Symbol 36 MovieClip [fish12] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 36 MovieClip [fish12] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 43 MovieClip [fish9] Frame 1
this.pState = "alive";
this.itemname = "\rdolphin";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 40) + 70;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 4;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 1);
this.itemvalue = -this.itemvalue;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
_parent._parent.starColour = "red";
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
stop();
Symbol 43 MovieClip [fish9] Frame 2
stop();
Symbol 43 MovieClip [fish9] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 43 MovieClip [fish9] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 49 MovieClip [fish6] Frame 1
this.pState = "alive";
this.itemname = "flute\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 10) + 95;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 10;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
stop();
Symbol 49 MovieClip [fish6] Frame 2
stop();
Symbol 49 MovieClip [fish6] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 49 MovieClip [fish6] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 56 MovieClip [fish2] Frame 1
this.pState = "alive";
this.itemname = "angel\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 60) + 50;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 3;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.fishhit.start();
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start();
_parent._parent.harpoonstate = "attached";
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
this.speed = this.speed / 1.06;
if (this.speed < 0.05) {
this.speed = 3;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 56 MovieClip [fish2] Frame 5
if (_parent._parent.uCoolbox == 1) {
this.itemvalue = Math.ceil(this.itemvalue * 1.2);
_parent._parent.starColour = "blue";
}
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 56 MovieClip [fish2] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 62 MovieClip [fish11] Frame 1
this.pState = "alive";
this.itemname = "sea\rhorse";
this.ymovement = "up";
this.runonce = "notdone";
counter = 0;
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 10) + 95;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 0.5;
this._y = Math.ceil(Math.random() * 40) + 320;
this.itemvalue = Math.floor(this.scalesize * 1.5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if (counter < 30) {
this._y = this._y + this.speed;
counter++;
} else if (counter < 60) {
this._y = this._y - this.speed;
counter++;
} else {
counter = 0;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
stop();
Symbol 62 MovieClip [fish11] Frame 2
stop();
Symbol 62 MovieClip [fish11] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 62 MovieClip [fish11] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 71 MovieClip [fish10] Frame 1
stop();
this.pState = "alive";
this.itemname = "angler\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 40) + 90;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 0.9;
this._y = Math.ceil(Math.random() * 25) + 370;
this.itemvalue = Math.floor(this.scalesize * 0.9);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 71 MovieClip [fish10] Frame 2
stop();
Symbol 71 MovieClip [fish10] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 71 MovieClip [fish10] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 75 MovieClip [treasure1] Frame 1
this.pState = "alive";
this.itemname = "silver\rchest";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 40) + 150;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.speedout = 0;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 75 MovieClip [treasure1] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 75 MovieClip [treasure1] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 78 MovieClip [treasure2] Frame 1
this.pState = "alive";
this.itemname = "gold\rnugget";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 50) + 150;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
_parent._parent.deceleration = 2;
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 78 MovieClip [treasure2] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 78 MovieClip [treasure2] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 82 MovieClip [treasure3] Frame 1
this.pState = "alive";
this.itemname = "gold\rchest";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 50) + 250;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 2;
this.runonce = "done";
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 82 MovieClip [treasure3] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 82 MovieClip [treasure3] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 88 MovieClip [fish4] Frame 1
this.pState = "alive";
this.itemname = "puffer\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 30) + 90;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 5;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.harpoonstate = "attached";
_parent._parent.fishhit.start(0, 1);
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 60)) + 0.5;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this.speed = 0;
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
this.speed = this.speed / 1.06;
if (this.speed < 0.02) {
this.speed = 5;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, false)) {
break;
}
this.pState = "dead";
}
};
stop();
stop();
Symbol 88 MovieClip [fish4] Frame 2
stop();
Symbol 88 MovieClip [fish4] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 88 MovieClip [fish4] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 95 MovieClip [fish3] Frame 1
this.pState = "alive";
this.itemname = "sea\rturtle";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 20) + 90;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = (Math.ceil(Math.random() * 150) / 100) + 1;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 1);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start(0, 1);
_parent._parent.numcaught++;
_parent._parent.harpoonstate = "attached";
gotoAndStop (3);
this.runonce = "done";
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
_parent._parent.fishhit.start(0, 1);
if (_parent._parent.uSpecialHarpoon == 1) {
this.pState = "dead";
} else {
_parent._parent.speedout = 0;
}
}
};
stop();
Symbol 95 MovieClip [fish3] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
Symbol 95 MovieClip [fish3] Frame 11
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 98 MovieClip [treasure7] Frame 1
this.pState = "alive";
this.itemname = "mystic\rurn";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 25) + 75;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 3;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 98 MovieClip [treasure7] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 98 MovieClip [treasure7] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 101 MovieClip [treasure9] Frame 1
this.pState = "alive";
this.itemname = "sea\rurchin";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 20) + 100;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
_parent._parent.deceleration = 2;
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.7;
break;
case 2 :
_parent._parent.speedin = 2.1;
break;
case 3 :
_parent._parent.speedin = 2.4;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 101 MovieClip [treasure9] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 101 MovieClip [treasure9] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 104 MovieClip [treasure4] Frame 1
this.pState = "alive";
this.itemname = "wood\rchest";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 90) + 50;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.speedout = 0;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 104 MovieClip [treasure4] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 104 MovieClip [treasure4] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 107 MovieClip [treasure8] Frame 1
this.pState = "alive";
this.itemname = "ruby\rring";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 50) + 250;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 2;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 107 MovieClip [treasure8] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 107 MovieClip [treasure8] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 110 MovieClip [rock3] Frame 1
this.pState = "alive";
this.itemname = "boring\rrock";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.speedout = 0;
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
_parent._parent.speedin = 1.4;
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 110 MovieClip [rock3] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "red";
_parent._parent.scorepopup_mc.play();
Symbol 110 MovieClip [rock3] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 113 MovieClip [rock2] Frame 1
this.pState = "alive";
this.itemname = "grey\rrock";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 7);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.speedout = 0;
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
_parent._parent.speedin = 1.4;
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 113 MovieClip [rock2] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "red";
_parent._parent.scorepopup_mc.play();
Symbol 113 MovieClip [rock2] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 116 MovieClip [rock1] Frame 1
this.pState = "alive";
this.itemname = "just\ra rock";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 7);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.speedout = 0;
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
_parent._parent.speedin = 1.4;
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 116 MovieClip [rock1] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "red";
_parent._parent.scorepopup_mc.play();
Symbol 116 MovieClip [rock1] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 120 MovieClip [treasure6] Frame 1
this.pState = "alive";
this.itemname = "sack\ro'coins";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 50) + 50;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 2;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 120 MovieClip [treasure6] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 120 MovieClip [treasure6] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 123 MovieClip [anchor] Frame 1
this.pState = "alive";
this.itemname = "sea\ranchor";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 5);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 2;
this.runonce = "done";
_parent._parent.harpoonstate = "attached";
}
_parent._parent.speedin = 1;
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 123 MovieClip [anchor] Frame 5
_parent._parent.harpoonstate = "ready";
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "red";
_parent._parent.scorepopup_mc.play();
Symbol 123 MovieClip [anchor] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 126 MovieClip [treasure5] Frame 1
this.pState = "alive";
this.itemname = "ice\rbling!";
this.runonce = "notdone";
this.itemvalue = Math.ceil(Math.random() * 50) + 350;
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.deceleration = 2;
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
this.runonce = "done";
_parent._parent.harpoonstate = "attachedup";
}
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1.4;
break;
case 2 :
_parent._parent.speedin = 1.8;
break;
case 3 :
_parent._parent.speedin = 2.2;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
if (_parent._parent.harpoonstate != "firing") {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 126 MovieClip [treasure5] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "yellow";
_parent._parent.scorepopup_mc.play();
Symbol 126 MovieClip [treasure5] Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 131 MovieClip [fish1] Frame 1
this.pState = "alive";
this.itemname = "white\rfish";
this.runonce = "notdone";
this.pFacing = Math.ceil(Math.random() * 2);
this.scalesize = Math.ceil(Math.random() * 60) + 30;
this._yscale = this.scalesize;
if (this.pFacing == 2) {
this.negativescalesize = -this.scalesize;
this._xscale = this.negativescalesize;
this._x = -60;
} else {
this._x = 660;
this._xscale = this.scalesize;
}
this.speed = 1;
this._y = Math.ceil(Math.random() * 294) + 93;
this.itemvalue = Math.floor(this.scalesize * 0.25);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.fishhit.start();
soundnum = Math.ceil(Math.random() * 5);
_parent._parent["fishhit" + soundnum].start();
_parent._parent.harpoonstate = "attached";
if (_parent._parent.uSpecialHarpoon == 0) {
_parent._parent.speedin = _parent._parent.speedin * 0.9;
_parent._parent.deceleration = (_parent._parent.deceleration * Math.floor(this.scalesize / 30)) + 0.3;
}
gotoAndStop (3);
this.runonce = "done";
_parent._parent.numcaught++;
}
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
if (this.pFacing == 2) {
this._x = this._x + this.speed;
} else {
this._x = this._x - this.speed;
}
if ((this._x < -60) || (this._x > 660)) {
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.harpoon_mc.harpoonspike_mc.refpoint_mc)) {
break;
}
this.pState = "dead";
}
};
stop();
Symbol 131 MovieClip [fish1] Frame 5
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.scorepopup_mc.play();
trace("hello");
Symbol 131 MovieClip [fish1] Frame 12
_parent._parent.itemvalue = 0;
_parent.numoffish--;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 132 MovieClip [SmoothDrawSymbol] Frame 1
#initclip 1
_global.SmoothDrawClass = function () {
if (this._name != undefined) {
this.init();
}
};
Object.registerClass("SmoothDrawSymbol", SmoothDrawClass);
var p = ((SmoothDrawClass.prototype = new MovieClip()));
p.init = function () {
super.init();
this.moveTo(0, 0);
};
p.smoothTo = function (x, y) {
var _local3 = this.px;
var _local2 = this.py;
this.px = x;
this.py = y;
var _local5 = (_local3 + x) / 2;
var _local4 = (_local2 + y) / 2;
this.curveTo(_local3, _local2, _local5, _local4);
};
p.endSmooth = function () {
this.smoothTo(this.px, this.py);
};
p.moveTo = function (x, y) {
super.moveTo(x, y);
this.px = x;
this.py = y;
};
delete p;
#endinitclip
Symbol 159 MovieClip [depthchargedown] Frame 92
trace("lastest fish number = " + _parent.fishzone_mc.fishnumber);
trace("num of fish in lake = " + _parent.fishzone_mc.numoffish);
_parent.depthchargeused = 1;
i = _parent.fishzone_mc.fishnumber;
while (i >= (_parent.fishzone_mc.fishnumber - _parent.fishzone_mc.numoffish)) {
if ((_parent.fishzone_mc["fish" + i]._x > (_parent.depthchargexbase - 125)) && (_parent.fishzone_mc["fish" + i]._x < (_parent.depthchargexbase + 125))) {
if ((_parent.fishzone_mc["fish" + i]._y > 124) && (_parent.fishzone_mc["fish" + i]._y < 374)) {
_parent.fishzone_mc["fish" + i].gotoAndPlay(5);
delete _parent.fishzone_mc["fish" + i].onEnterFrame;
}
}
i--;
}
Symbol 159 MovieClip [depthchargedown] Frame 152
stop();
Symbol 160 MovieClip [mcbubble] Frame 37
this.removeMovieClip();
stop();
Symbol 161 MovieClip [SChainSymbol] Frame 1
#initclip 2
function SChainClass() {
this.setLength(7);
this.strength = 0.3;
this.friction = 0.95;
this.slidingFriction = 0.1;
this.gravity = 0.3;
this.restLength = 2;
}
function Anchor(x, y) {
this.x = ropexpos;
this.y = ropeypos;
this.xv = 0;
this.yv = 0;
this.isFixed = false;
}
var p = ((SChainClass.prototype = new SmoothDrawClass()));
Object.registerClass("SChainSymbol", SChainClass);
p.setLength = function (l) {
this.anchors = [];
var _local2 = 0;
while (_local2 < l) {
this.anchors[_local2] = new Anchor();
_local2++;
}
this.anchors[0].isFixed = true;
this.anchors[6].isFixed = true;
};
p.onEnterFrame = function () {
var _local15 = this.anchors.length;
this.anchors[0].x = ropexpos;
this.anchors[0].y = ropeypos;
this.anchors[_local15 - 1].x = ropexpos2;
this.anchors[_local15 - 1].y = ropeypos2;
var _local6 = 0;
while (_local6 < (_local15 - 1)) {
var _local5 = this.anchors[_local6];
var _local4 = this.anchors[_local6 + 1];
var _local10 = _local5.x;
var _local8 = _local5.y;
var _local9 = _local4.x;
var _local7 = _local4.y;
var _local14 = getDistance(_local10, _local8, _local9, _local7);
var _local3 = getAngle(_local10, _local8, _local9, _local7) - (Math.PI/2);
var _local13 = (this.restLength - _local14) * this.strength;
var _local12 = (Math.sin(_local3) * _local13) / 2;
var _local11 = (Math.cos(_local3) * _local13) / 2;
if (!_local5.isFixed) {
_local5.xv = _local5.xv - (_local12 / 2);
_local5.yv = _local5.yv + (_local11 / 2);
}
if (!_local4.isFixed) {
_local4.xv = _local4.xv + (_local12 / 2);
_local4.yv = _local4.yv - (_local11 / 2);
}
_local6++;
}
_local6 = 0;
while (_local6 < _local15) {
var _local3 = this.anchors[_local6];
if (!_local3.isFixed) {
_local3.yv = _local3.yv + this.gravity;
_local3.xv = _local3.xv * this.friction;
_local3.yv = _local3.yv * this.friction;
_local3.x = _local3.x + _local3.xv;
_local3.y = _local3.y + _local3.yv;
}
if ((_local3.x < 0) && (_root.uWallRebound == "on")) {
_root.speedout = 0;
_local3.x = 0;
_local3.xv = _local3.xv * (-this.friction);
_local3.vy = _local3.vy * this.slidingFriction;
}
if ((_local3.x > Stage.width) && (_root.uWallRebound == "on")) {
_root.speedout = 0;
_local3.x = Stage.width;
_local3.xv = _local3.xv * (-this.friction);
_local3.vy = _local3.vy * this.slidingFriction;
}
if ((_local3.y < 0) && (_root.uWallRebound == "on")) {
_root.speedout = 0;
_local3.y = 0;
_local3.yv = _local3.yv * (-this.friction);
_local3.vx = _local3.vx * this.slidingFriction;
}
if ((_local3.y > Stage.height) && (_root.uWallRebound == "on")) {
_root.speedout = 0;
_local3.y = Stage.height;
_local3.yv = _local3.yv * (-this.friction);
_local3.vx = _local3.vx * this.slidingFriction;
}
_local6++;
}
this.render();
};
p.render = function () {
var _local4 = this.anchors;
this.clear();
this.lineStyle(1, 16776960, 100);
this.moveTo(_local4[0].x, _local4[0].y);
var _local5 = _local4.length;
var _local2 = 1;
while (_local2 < _local5) {
var _local3 = _local4[_local2];
this.smoothTo(_local3.x, _local3.y);
_local2++;
}
this.endSmooth();
};
getDistance = function (x1, y1, x2, y2) {
var _local2 = x1 - x2;
var _local1 = y1 - y2;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
};
getAngle = function (x1, y1, x2, y2) {
var _local2 = x1 - x2;
var _local1 = y1 - y2;
return(Math.atan2(_local1, _local2));
};
#endinitclip
Symbol 184 Button
on (release) {
getURL ("http://www.fingertime.com", "_blank");
}
Symbol 185 MovieClip Frame 1
gotoAndPlay (2);
Symbol 185 MovieClip Frame 127
this._parent.logoDone();
stop();
Symbol 201 MovieClip Frame 1
this.resizePanel = function (x, y) {
var _local2 = x / 2;
this.panelTL_mc._x = -_local2;
this.panelTR_mc._x = _local2 - 20;
this.panelBL_mc._x = -_local2;
this.panelBR_mc._x = _local2 - 20;
this.panelTM_mc._width = x - 40;
this.panelBM_mc._width = x - 40;
this.panelTM_mc._x = (-_local2) + 20;
this.panelBM_mc._x = (-_local2) + 20;
this.panelBL_mc._y = y - 45;
this.panelBM_mc._y = y - 45;
this.panelBR_mc._y = y - 45;
this.panelBg_mc._x = -_local2;
this.panelBg_mc._y = 59;
this.panelBg_mc._width = x;
this.panelBg_mc._height = y - 104;
};
stop();
Symbol 216 MovieClip Frame 1
this.init = function () {
this.pTotal = _root.getBytesTotal();
this.pUnit = 100 / this.pTotal;
this.pFrame = 0;
this.pAdCheck = true;
this.onEnterFrame = this.animate;
};
this.animate = function () {
this.pFrame = Math.floor(this.pUnit * _root.getBytesLoaded());
this.gotoAndStop(this.pFrame + 1);
this.loading_txt.text = ("LOADING... " + String(this._currentframe - 1)) + "%";
if (this.pFrame >= 100) {
if (this._parent._parent.AdForDisplay()) {
this.loading_txt.text = "START GAME.";
this.onPress = function () {
delete this.onPress;
delete this.onEnterFrame;
this._parent._parent.exitLoader();
};
} else {
this.loading_txt.text = "LOADED.";
}
this.gotoAndStop(102);
delete this.onEnterFrame;
this.onEnterFrame = this.pause;
}
if (this.pAdCheck) {
if (this._parent._parent.AdForDisplay()) {
if (this._parent._parent.AdReady()) {
this._parent.openForAd();
this.pAdCheck = false;
}
} else {
this.pAdCheck = false;
}
}
};
this.pause = function () {
this.pFrame = this.pFrame - 3;
if (this.pFrame <= 0) {
delete this.onEnterFrame;
this._parent._parent.loadDone();
}
};
stop();
Symbol 219 MovieClip Frame 1
this.init = function () {
this.pX = 260;
this.pY = 104;
};
this.resizePanel = function (tX, tY) {
this.pTargetX = Math.max(260, tX);
this.pTargetY = Math.max(104, tY);
if ((this.pTargetX != this.pX) || (this.pTargetY != this.pY)) {
this.onEnterFrame = function () {
this.pX = this.pX + ((this.pTargetX - this.pX) / 5);
this.pY = this.pY + ((this.pTargetY - this.pY) / 5);
this.pX = Math.round(this.pX);
this.pY = Math.round(this.pY);
if ((Math.abs(this.pTargetX - this.pX) < 5) && (Math.abs(this.pTargetY - this.pY) < 5)) {
this.pX = this.pTargetX;
this.pY = this.pTargetY;
delete this.onEnterFrame;
this._parent.showAdvert();
}
this.panel_mc.resizePanel(this.pX, this.pY);
this.loaderbar_mc._y = this.pY - 97;
this._y = Math.round(((Stage.height - this.pY) / 2) + 52);
};
}
};
this.openForAd = function () {
var _local2 = this._parent.getAdSize();
this.resizePanel(_local2.x + 10, _local2.y + 114);
trace((("resizing to " + _local2.x) + ", ") + _local2.y);
};
this.init();
this.gotoAndPlay(2);
Symbol 219 MovieClip Frame 14
this.loaderbar_mc.init();
stop();
Symbol 227 Button
on (release) {
getURL ("http://www.macromedia.com/go/getflashplayer", "_blank");
}
Symbol 229 Button
on (release) {
this._parent.logoPlay();
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 236 MovieClip [ftloader] Frame 1
_root.stop();
this._x = 0;
this._y = 0;
this.bg_mc._width = Stage.width;
this.bg_mc._height = Stage.height;
Symbol 236 MovieClip [ftloader] Frame 2
if (this.pUseLoader) {
this.loadAdvert = function () {
if (this.pAdvert) {
trace("loading adv");
this.pAdUrl = _root.adv;
if (this.pAdUrl == undefined) {
this.pAdvert = false;
} else {
this.pAdReady = false;
var _local4 = this.createEmptyMovieClip("adSpace_mc", this.getNextHighestDepth());
var _local5 = _local4.createEmptyMovieClip("ad_mc", 100);
var _local3 = new MovieClipLoader();
_local3.onLoadInit = function () {
trace("advert loaded!");
positionAdvert();
};
_local3.loadClip(this.pAdUrl, _local5);
}
}
};
this.positionAdvert = function () {
var _local3 = this.adSpace_mc.ad_mc._width;
var _local2 = this.adSpace_mc.ad_mc._height;
this.pAdx = _local3;
this.pAdy = _local2;
this.adSpace_mc._x = (Stage.width - _local3) / 2;
this.adSpace_mc._y = (Stage.height - _local2) / 2;
this.adSpace_mc.ad_mc._visible = false;
var _local4 = this.adSpace_mc.attachMovie("mc.mask", "mask_mc", 1);
_local4._width = _local3;
_local4._height = _local2;
this.adSpace_mc.setMask(_local4);
this.pAdReady = true;
};
this.AdForDisplay = function () {
return(this.pAdvert);
};
this.AdReady = function () {
return(this.pAdReady);
};
this.showAdvert = function () {
trace("showingAd");
this.adSpace_mc.ad_mc._visible = true;
};
this.getAdSize = function () {
var _local2 = new Object();
_local2.x = this.pAdx;
_local2.y = this.pAdy;
return(_local2);
};
this.loadDone = function () {
if (this.pAdvert) {
} else {
this.exitLoader();
}
};
this.exitLoader = function () {
trace("exiting loader");
_root.gotoAndPlay(this.pLabel);
};
this.logoPlay = function () {
this.gotoAndPlay("logoAni");
};
this.logoDone = function () {
if (this.pSecurity) {
this.serverCheck();
} else {
this.gotoAndPlay("loader");
}
};
this.positionLogo = function () {
var _local2 = Stage.width / 15;
this.logo_mc._xscale = _local2;
this.logo_mc._yscale = _local2;
this.logo_mc._x = Stage.width / 2;
this.logo_mc._y = Stage.height / 2;
};
this.positionLoader = function () {
this.loadPanel_mc._x = Stage.width / 2;
this.loadPanel_mc._y = Stage.height / 2;
};
this.gotoStolen = function () {
this.gotoAndPlay("stolen");
getURL (this.pURL, "_self");
};
this.serverCheck = function () {
trace("checking server");
var _local4 = _root._url;
if (_local4.substring(0, 4) == "http") {
var _local5 = _local4.split("/")[2];
trace(_local5);
var _local3 = _local5.split(".");
if (_local3[_local3.length - 2] == this.pServer) {
if (_local3[_local3.length - 1] == "com") {
this.gotoAndPlay("loader");
} else {
this.gotoStolen();
}
} else {
this.gotoStolen();
}
} else {
trace("running locally");
this.gotoAndPlay("local");
}
};
this.versionCheck = function () {
trace("checking version");
var _local4 = System.capabilities.version;
var _local3 = _local4.substring(_local4.indexOf(" ") + 1).split(",");
var _local6 = parseInt(_local3[0]);
var _local5 = parseInt(_local3[2]);
var _local2 = false;
if (_local6 < this.pMajor) {
_local2 = true;
} else if (_local5 < this.pMinor) {
_local2 = true;
}
return(!_local2);
};
if (this.pVersion) {
if (this.versionCheck()) {
this.logoPlay();
} else {
this.gotoAndPlay("update");
}
} else {
this.logoPlay();
}
this.loadAdvert();
} else {
_root.gotoAndPlay(this.pLabel);
}
Symbol 236 MovieClip [ftloader] Frame 6
this.positionLogo();
stop();
Symbol 236 MovieClip [ftloader] Frame 13
this.positionLoader();
stop();
Symbol 236 MovieClip [ftloader] Frame 19
this.updatePanel_mc._x = Math.round(Stage.width / 2);
this.updatePanel_mc._y = Math.round(Stage.height / 2);
stop();
Symbol 236 MovieClip [ftloader] Frame 26
stop();
Symbol 236 MovieClip [ftloader] Frame 32
this.local_mc._x = Math.round(Stage.width / 2);
this.local_mc._y = Math.round(Stage.height / 2);
stop();
Symbol 254 MovieClip Frame 19
_parent.gotoAndStop("stationary");
Symbol 263 MovieClip Frame 60
_parent._parent._parent.harpoon_mc.gotoAndStop(1);
Key.addListener(_parent._parent._parent.keylistener);
_parent._parent._parent.target = "";
_parent._parent._parent.iWindback = setInterval(_parent._parent._parent.windback, 30);
_parent.gotoAndStop("stationary");
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 3
stop();
Symbol 264 MovieClip Frame 4
stop();
Symbol 264 MovieClip Frame 5
stop();
Symbol 264 MovieClip Frame 6
stop();
Symbol 264 MovieClip Frame 7
stop();
Symbol 268 MovieClip Frame 60
gotoAndPlay (1);
Symbol 268 MovieClip Frame 72
gotoAndPlay (65);
Symbol 271 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.pBoatSpeed) {
case 2 :
gotoAndStop (1);
break;
case 3 :
gotoAndStop (2);
}
Symbol 274 MovieClip Frame 1
switch (_parent._parent._parent.pBoatSpeed) {
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (1);
case 3 :
gotoAndStop (3);
}
Symbol 278 MovieClip Frame 1
movingbubbles = 0;
this.onEnterFrame = function () {
movingbubbles = movingbubbles + 1;
propbubblexy = Math.ceil(Math.random() * 10);
propbubblexy2 = Math.ceil(Math.random() * 10);
propbubblescale = Math.ceil(Math.random() * 60) + 40;
duplicateMovieClip (_root.propellorbubble_mc, ("_root.propbubble" + movingbubbles) + "_mc", 2500 + movingbubbles);
_root[("propbubble" + movingbubbles) + "_mc"]._x = (_parent._parent._x - 14) + propbubblexy;
_root[("propbubble" + movingbubbles) + "_mc"]._y = (_parent._parent._y - 19) + propbubblexy2;
_root[("propbubble" + movingbubbles) + "_mc"]._xscale = propbubblescale;
_root[("propbubble" + movingbubbles) + "_mc"]._yscale = propbubblescale;
};
Symbol 281 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.pBoatSpeed) {
case 2 :
gotoAndStop (1);
break;
case 3 :
gotoAndStop (2);
}
Symbol 284 MovieClip Frame 1
switch (_parent._parent._parent.pBoatSpeed) {
case 2 :
gotoAndStop (1);
break;
case 3 :
gotoAndStop (2);
}
Symbol 301 MovieClip Frame 8
stop();
_parent.gotoAndStop("moving");
Symbol 302 MovieClip Frame 14
stop();
_parent.gotoAndStop("stationary");
Symbol 303 MovieClip Frame 1
this.init = function () {
pSpeed = 0;
pLoc = 268;
};
this.movement = function (tx) {
if (tx == 0) {
if (pSpeed > 0) {
pSpeed = pSpeed - _parent.uBoatAccel;
} else if (pSpeed < 0) {
pSpeed = pSpeed + _parent.uBoatAccel;
}
if ((pSpeed <= _parent.uBoatAccel) && (pSpeed >= (-_parent.uBoatAccel))) {
pSpeed = 0;
}
} else {
pSpeed = pSpeed + tx;
if (pSpeed > _parent.uBoatSpeed) {
pSpeed = _parent.uBoatSpeed;
}
if (pSpeed < (-_parent.uBoatSpeed)) {
pSpeed = -_parent.uBoatSpeed;
}
}
pLoc = pLoc + pSpeed;
this._x = pLoc;
};
init();
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 3
stop();
Symbol 303 MovieClip Frame 4
stop();
Symbol 303 MovieClip Frame 5
stop();
Symbol 303 MovieClip Frame 6
stop();
Symbol 303 MovieClip Frame 7
stop();
Symbol 308 MovieClip Frame 20
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
fishnumber = 0;
numoffish = 0;
if (_parent.uHighFishCount == 1) {
maxfish = 40;
} else {
maxfish = 20;
}
Symbol 324 MovieClip Frame 2
whichfish = Math.ceil(Math.random() * _parent.fishtyperatio);
switch (true) {
case whichfish <= 7 :
fishtype = 1;
break;
case (whichfish > 7) && (whichfish <= 13) :
fishtype = 2;
break;
case (whichfish > 14) && (whichfish <= 19) :
fishtype = 3;
break;
case (whichfish > 19) && (whichfish <= 25) :
fishtype = 4;
break;
case (whichfish > 25) && (whichfish <= 30) :
fishtype = 5;
break;
case (whichfish > 30) && (whichfish <= 34) :
fishtype = 6;
break;
case (whichfish > 34) && (whichfish <= 38) :
fishtype = 7;
break;
case (whichfish > 38) && (whichfish <= 41) :
fishtype = 8;
break;
case (whichfish > 41) && (whichfish <= 43) :
fishtype = 9;
break;
case (whichfish > 43) && (whichfish <= 45) :
fishtype = 10;
break;
case (whichfish > 45) && (whichfish <= 46) :
fishtype = 11;
break;
case (whichfish > 46) && (whichfish <= 47) :
fishtype = 12;
}
trace(fishtype);
trace("fish no." + fishnumber);
if (numoffish >= maxfish) {
} else {
numoffish++;
fishnumber++;
this.attachMovie("fish" + fishtype, "fish" + fishnumber, 10000 + fishnumber);
}
Symbol 324 MovieClip Frame 24
if (_parent.uHighFishCount == 1) {
gotoAndPlay (2);
}
Symbol 324 MovieClip Frame 50
gotoAndPlay (2);
Symbol 334 MovieClip Frame 24
stop();
Symbol 335 MovieClip Frame 36
stop();
Symbol 337 Button
on (release) {
gotoAndStop ("gamestart");
}
Symbol 340 Button
on (release) {
p3link_btn._visible = false;
instructions_mc.play();
}
Symbol 343 Button
on (release) {
menufadeouts_mc.gotoAndStop(2);
HS_mc.displayHS();
}
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 2
alphalevel = 100;
this.onEnterFrame = function () {
alphalevel = alphalevel - 10;
_parent.p3link_btn._alpha = alphalevel;
_parent.rules_btn._alpha = alphalevel;
_parent.scores_btn._alpha = alphalevel;
_parent.playgame_btn._alpha = alphalevel;
_parent.madmacklogo_mc._alpha = alphalevel;
if (alphalevel <= 0) {
_parent.madmacklogo_mc._visible = false;
_parent.rules_btn._visible = false;
_parent.scores_btn._visible = false;
_parent.playgame_btn._visible = false;
_parent.p3link_btn._visible = false;
delete this.onEnterFrame;
gotoAndStop (1);
}
};
Symbol 373 Button
on (release) {
play();
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 20
stop();
Symbol 374 MovieClip Frame 35
_parent.p3link_btn._visible = true;
Symbol 393 MovieClip Frame 1
stop();
Symbol 396 Button
on (release) {
getURL ("http://www.playerthree.net", "_blank");
}
Symbol 400 MovieClip [TMPgeib021l1w] Frame 1
function bitOR(a, b) {
var _local1 = (a & 1) | (b & 1);
var _local2 = (a >>> 1) | (b >>> 1);
return((_local2 << 1) | _local1);
}
function bitXOR(a, b) {
var _local1 = (a & 1) ^ (b & 1);
var _local2 = (a >>> 1) ^ (b >>> 1);
return((_local2 << 1) | _local1);
}
function bitAND(a, b) {
var _local1 = (a & 1) & (b & 1);
var _local2 = (a >>> 1) & (b >>> 1);
return((_local2 << 1) | _local1);
}
function addme(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function rhex(num) {
str = "";
j = 0;
while (j <= 3) {
str = str + (hex_chr.charAt((num >> ((j * 8) + 4)) & 15) + hex_chr.charAt((num >> (j * 8)) & 15));
j++;
}
return(str);
}
function str2blks_MD5(str) {
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < (nblk * 16)) {
blks[i] = 0;
i++;
}
i = 0;
while (i < str.length) {
blks[i >> 2] = blks[i >> 2] | (str.charCodeAt(i) << ((((str.length * 8) + i) % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((((str.length * 8) + i) % 4) * 8));
var _local2 = str.length * 8;
blks[(nblk * 16) - 2] = _local2 & 255;
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 8) & 255) << 8);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 16) & 255) << 16);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 24) & 255) << 24);
return(blks);
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(addme(rol(addme(addme(a, q), addme(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, c), bitAND(~b, d)), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, d), bitAND(c, ~d)), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(bitXOR(c, bitOR(b, ~d)), a, b, x, s, t));
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
var _local1;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
_local1 = 0;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = addme(a, olda);
b = addme(b, oldb);
c = addme(c, oldc);
d = addme(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
}
this.getCode = function (name, email, score, HSnum) {
tStr = "";
tStr = ((name + email) + score) + HSnum;
return(calcMD5(tStr));
};
var hex_chr = "0123456789abcdef";
stop();
Symbol 408 Button
on (press) {
fSwitchMe();
}
Symbol 410 MovieClip Frame 1
function fSwitchMe(tWay) {
if (tWay == undefined) {
if (pSwitch == 0) {
pSwitch = 1;
gotoAndStop ("on");
} else {
pSwitch = 0;
gotoAndStop ("off");
}
} else if (tWay == 1) {
pSwitch = 1;
gotoAndStop ("on");
} else {
pSwitch = 0;
gotoAndStop ("off");
}
}
pSwitch = 0;
stop();
Symbol 497 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
this._alpha = 0;
stop();
Symbol 503 Button
on (release) {
_parent.p3link_btn._visible = true;
_parent.scores_btn._visible = true;
_parent.rules_btn._visible = true;
_parent.playgame_btn._visible = true;
_parent.madmacklogo_mc._visible = true;
_parent.p3link_btn._alpha = 100;
_parent.scores_btn._alpha = 100;
_parent.rules_btn._alpha = 100;
_parent.playgame_btn._alpha = 100;
_parent.madmacklogo_mc._alpha = 100;
_parent.highscoremode = "off";
_parent.HS_mc.clearHS();
}
Symbol 510 MovieClip Frame 1
var pScore = 0;
this.submitHS = function (tSC) {
this.pScore = tSC;
this.gotoAndPlay("enter");
};
this.displayHS = function () {
this.pingHighScore("get");
};
this.clearHS = function () {
this.gotoAndPlay("empty");
};
this.pingHighScore = function (tFunc, tLimit) {
if (tLimit == undefined) {
tLimit = "week";
}
if (tVarHS_lv != undefined) {
delete tVarHS_lv;
}
tVarHS_lv = new LoadVars();
tVarHS_lv.f = tFunc;
tVarHS_lv.g = pHSnum;
tVarHS_lv.l = tLimit;
tVarHS_lv.o = mailing_mc.getVal();
switch (tFunc) {
case "add" :
tVarHS_lv.s = pScore;
tVarHS_lv.n = usrname_txt.text;
tVarHS_lv.e = usremail_txt.text;
if (tVarHS_lv.n.length < 1) {
emailalert_txt.text = "Please enter your name";
return(undefined);
}
if (tVarHS_lv.e.length < 5) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
if (((tVarHS_lv.e.indexOf("@") == -1) || (tVarHS_lv.e.lastIndexOf(".") == -1)) || (tVarHS_lv.e.indexOf("@") > tVarHS_lv.e.lastIndexOf("."))) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
p3_so.data.usrname = tVarHS_lv.n;
p3_so.data.usremail = tVarHS_lv.e;
p3_so.flush();
tVarHS_lv.m = this.code_mc.getCode(tVarHS_lv.n, tVarHS_lv.e, tVarHS_lv.s, tVarHS_lv.g);
case "get" :
tVarHS_lv.onData = function (src) {
trace("src = " + src);
this.decode(src);
if (src == "invalid") {
getURL (("http://www.fingertime.com/" + pGameID) + ".php?redir=highscore", "_top");
}
gotoAndPlay ("display");
};
tVarHS_lv.sendAndLoad(pPingLoc, tVarHS_lv, "GET");
this.gotoAndPlay("pingwait");
}
};
stop();
Symbol 510 MovieClip Frame 3
stop();
Symbol 510 MovieClip Frame 8
usrname_txt.restrict = "a-z A-Z 0-9";
usremail_txt.restrict = "a-zA-Z0-9@.\\-_";
usrname_txt.tabIndex = 1;
usremail_txt.tabIndex = 2;
submit_mc.tabIndex = 3;
skip_mc.tabIndex = 4;
submit_mc.onRelease = function () {
pingHighScore("add");
_parent.gotoAndStop("menu");
_parent.highscoremode = "yes";
};
stop();
Symbol 510 MovieClip Frame 13
stop();
Symbol 510 MovieClip Frame 20
this.tnames = (this.tscores = (this.tengland = (this.tflags = 0)));
ok_mc.onRelease = function () {
this._parent.clearHS();
};
HSweek.onRelease = function () {
this._parent.setChart(1);
};
HSall.onRelease = function () {
this._parent.setChart(2);
};
this.addCommas = function (tSC) {
var _local1 = "";
var _local5 = String(tSC);
var _local3 = _local5.split("");
var _local4 = 0;
var _local2 = _local3.length;
while (_local2 > 0) {
_local1 = String(_local3.pop()) + _local1;
_local4++;
if ((_local4 == 3) && (_local3.length >= 1)) {
_local1 = "," + _local1;
_local4 = 0;
}
_local2--;
}
return(_local1);
};
this.setChart = function (tx) {
if (tx == 1) {
this.tnames = tVarHS_lv.HSnames1.split(",");
this.tscores = tVarHS_lv.HSscores1.split(",");
this.tengland = tVarHS_lv.EPscores1.split(",");
this.tflags = tVarHS_lv.HSflags1.split(",");
HSweek.tab_mc.gotoAndStop("select");
HSall.tab_mc.gotoAndStop("deselect");
} else {
this.tnames = tVarHS_lv.HSnames2.split(",");
this.tscores = tVarHS_lv.HSscores2.split(",");
this.tengland = tVarHS_lv.EPscores2.split(",");
this.tflags = tVarHS_lv.HSflags2.split(",");
HSweek.tab_mc.gotoAndStop("deselect");
HSall.tab_mc.gotoAndStop("select");
}
this.printOut();
};
this.printOut = function () {
i = 1;
while (i < 11) {
this["HSline" + i]._alpha = 0;
this["HSline" + i].HSpos.text = i;
this["HSline" + i].HSname.text = this.tnames[i - 1];
this["HSline" + i].HSscore.text = addCommas(this.tscores[i - 1]);
this["HSline" + i].HSflag_mc.gotoAndStop(this.tflags[i - 1]);
if (this["HSline" + i].HSname.text != "-") {
this["HSline" + i]._alpha = 100;
}
i++;
}
if (tengland[1] != undefined) {
this.HSlineX.HSpos.text = this.tengland[0];
this.HSlineX.HSname.text = this.tengland[1];
this.HSlineX.HSscore.text = addCommas(this.tengland[2]);
this.HSlineX.HSflag_mc.gotoAndStop(this.tengland[3]);
this.HSlineX._alpha = 100;
} else {
this.HSlineX._alpha = 0;
}
};
this.setChart(1);
stop();
Symbol 516 MovieClip Frame 1
this._x = Math.ceil(Math.random() * 600);
Symbol 525 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, true)) {
trace("octopus!");
_parent.gotoAndPlay(2);
_parent._parent.speedin = 0.0001;
_parent._parent.speedout = 0.0001;
}
};
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 25
gotoAndStop (1);
_parent.speedin = 3;
_parent.speedout = 0.0001;
Symbol 537 MovieClip Frame 1
this.pState = "alive";
this.itemname = "clam\rpearl";
pt = new Object();
pt.x = 0;
pt.y = 0;
this.runonce = "notdone";
this._x = 23;
this._y = 380;
this.hitArea = hitarea_mc;
this.itemvalue = 650 + Math.ceil(Math.random() * 100);
this.onEnterFrame = function () {
if (this.pState == "dead") {
if (this.runonce != "done") {
_parent._parent.treasuregot.start();
_parent._parent.treasurehit.start();
_parent.pearlattached = 1;
_parent._parent.harpoonstate = "attached";
this.runonce = "done";
_parent._parent.numcaught++;
}
gotoAndStop (3);
switch (_parent._parent.pWinchSpeed) {
case 1 :
_parent._parent.speedin = 1;
break;
case 2 :
_parent._parent.speedin = 1.2;
break;
case 3 :
_parent._parent.speedin = 1.5;
}
_parent._parent.deceleration = 9;
if ((_parent._parent.harpoonstate == "ready") && (this.pState == "dead")) {
delete this.onEnterFrame;
gotoAndPlay (5);
}
this._x = _parent._parent.coordsofpoint.x;
this._y = _parent._parent.coordsofpoint.y;
}
switch (_parent._parent.harpoonstate) {
case "windingback" :
case "ready" :
case "attachedup" :
break;
case "firing" :
case "attached" :
if (!this.hitTest(_parent._parent.coordsofpoint.x, _parent._parent.coordsofpoint.y, true)) {
break;
}
if (!((_parent._parent.harpoonstate == "firing") && (_parent.clamtop_mc.clamstatus == "open"))) {
break;
}
_parent._parent.harpoonstate = "attachedup";
this.pState = "dead";
}
};
stop();
Symbol 537 MovieClip Frame 5
_parent._parent.harpoonstate = "ready";
_parent._parent.itemnametext = this.itemname;
_parent._parent.itemvalue = _parent._parent.itemvalue + this.itemvalue;
_parent._parent.score = _parent._parent.score + this.itemvalue;
_parent._parent.itemvaluetext = "$" + _parent._parent.itemvalue;
if (_parent._parent.boat_mc._x < 100) {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x + 75;
} else {
_parent._parent.scorepopup_mc._x = _parent._parent.boat_mc._x - 75;
}
_parent._parent.starColour = "pearl";
_parent._parent.scorepopup_mc.play();
Symbol 537 MovieClip Frame 11
_parent._parent.itemvalue = 0;
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 540 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.coordsofpoint.x, _parent._parent._parent.coordsofpoint.y, true)) {
_parent._parent._parent.speedout = 0;
}
};
Symbol 541 MovieClip Frame 1
pearlattached = 0;
clamstatus = "closed";
pearlgone = 0;
this.onEnterFrame = function () {
if ((clamstatus == "closed") && (pearlgone == 0)) {
shouldclamopen = Math.ceil(Math.random() * 50000);
if (shouldclamopen < 3) {
gotoAndPlay ("opening");
clamstatus = "open";
}
}
};
stop();
Symbol 541 MovieClip Frame 139
clamstatus = "closed";
if ((pearlattached == 1) || (peargone == 1)) {
gotoAndStop (1);
delete this.onEnterFrame;
}
Symbol 542 MovieClip Frame 1
if (numoftreasure != undefined) {
i = 0;
while (i <= numoftreasure) {
this["treasure" + i].removeMovieClip();
trace("removing treasure");
i++;
}
}
Symbol 542 MovieClip Frame 2
if (_parent.uHighTreasureCount == 1) {
this.attachMovie("anchor", "anchor1", 5900);
this.anchor1._x = Math.ceil(Math.random() * 500) + 100;
this.anchor1._y = Math.ceil(Math.random() * 20) + 400;
numoftreasure = Math.ceil((Math.random() * 6) + 5);
} else {
numoftreasure = Math.ceil((Math.random() * 2) + 1);
}
numofrocks = Math.ceil((Math.random() * 4) + 2);
trace("amount of treasure = " + numoftreasure);
i = 0;
while (i <= numoftreasure) {
treasuretype = Math.ceil(Math.random() * 9);
this.attachMovie("treasure" + treasuretype, "treasure" + i, 5000 + i);
this["treasure" + i]._x = Math.ceil(Math.random() * 500) + 100;
this["treasure" + i]._y = Math.ceil(Math.random() * 20) + 400;
this["treasure" + i]._xscale = Math.ceil(Math.random() * 20) + 100;
this["treasure" + i]._yscale = Math.ceil(Math.random() * 20) + 100;
trace("lala");
i++;
}
i = 0;
while (i <= numofrocks) {
rocktype = Math.ceil(Math.random() * 3);
this.attachMovie("rock" + rocktype, "rock" + i, 5500 + i);
this["rock" + i]._x = Math.ceil(Math.random() * 500) + 100;
this["rock" + i]._y = Math.ceil(Math.random() * 20) + 400;
this["rock" + i]._xscale = Math.ceil(Math.random() * 20) + 100;
this["rock" + i]._yscale = Math.ceil(Math.random() * 20) + 100;
i++;
}
Symbol 542 MovieClip Frame 3
stop();
Symbol 548 Button
on (press) {
getURL ("http://www.fingertime.com", "_blank");
}
Symbol 549 MovieClip Frame 1
switch (pT) {
case "button on / sub-header on" :
gotoAndStop (2);
break;
case "button off / sub-header on" :
gotoAndStop (3);
break;
case "button on / sub-header off" :
gotoAndStop (4);
break;
case "button off / sub-header off" :
gotoAndStop (5);
}
Symbol 555 Button
on (release) {
getURL ("http://www.fingertime.com", "_blank");
}
Symbol 558 Button
on (release, keyPress "<Enter>") {
trace("bang!");
launchdepthcharge();
_parent.uPossessCharge--;
if (_parent.uPossessCharge == 0) {
gotoAndStop (1);
}
}
Symbol 559 MovieClip Frame 1
function launchdepthcharge() {
dCID++;
trace("depth charge : " + dCID);
_parent.attachMovie("depthchargedown", "depthchargeweapon" + dCID, 25602 + dCID);
_parent["depthchargeweapon" + dCID]._x = _parent.boat_mc._x;
_parent.depthchargexbase = _parent.boat_mc._x;
_parent["depthchargeweapon" + dCID]._y = _parent.boat_mc._y;
}
if (_parent.uPossessCharge >= 1) {
gotoAndStop (2);
}
dCID = 0;
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 36
if (_parent.uClockKey == 0) {
if (_parent.timer == 0) {
_parent.levelend_mc.gotoAndPlay(2);
stop();
clockmovement_mc.gotoAndStop(1);
} else {
clockmovement_mc.nextFrame();
_parent.timer--;
gotoAndPlay (2);
}
}
Symbol 616 MovieClip Frame 53
if (_parent.uClockKey == 1) {
if (_parent.timer == 0) {
_parent.levelend_mc.gotoAndPlay(2);
stop();
clockmovement_mc.gotoAndStop(1);
} else {
clockmovement_mc.nextFrame();
_parent.timer--;
gotoAndPlay (2);
}
}
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 89
_parent.levelstartboard_mc.play();
Symbol 630 MovieClip Frame 1
day_txt.text = "trip " + _parent._parent.level;
target_txt.text = _parent._parent.leveltarget;
Symbol 630 MovieClip Frame 88
Key.addListener(_parent._parent.keyListener);
_parent.fire_btn._visible = true;
_parent._parent.levelstatus = "play";
_parent._parent.clock_mc.gotoAndPlay(2);
_parent._parent.gotoAndStop("game");
stop();
Symbol 631 MovieClip Frame 1
stop();
if (_parent.uHighFishCount == 1) {
_parent.fishthrow1._x = _parent.boat_mc._x;
_parent.fishthrow1.gotoAndPlay(2);
} else {
play();
}
Symbol 631 MovieClip Frame 11
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 4
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 2
trace("num caught = " + _parent.numcaught);
Symbol 645 MovieClip Frame 8
star_mc.gotoAndStop(_parent.starColour);
Symbol 645 MovieClip Frame 12
if (_parent.numcaught > 1) {
_parent.itemnametext = "big\rcombo!";
}
if (_parent.depthchargeused == 1) {
_parent.itemnametext = "depth\rcharge!";
}
Symbol 645 MovieClip Frame 29
_parent.numcaught = 0;
_parent.depthchargeused = 0;
_parent.starColour = "green";
trace("num caught =" + _parent.numcaught);
Symbol 649 Button
on (press, keyPress "<Space>") {
if ((harpoonstate == "firing") && (uRecoil == 1)) {
speedout = 0;
harpoonstate = "windingback";
}
if (harpoonstate == "ready") {
speedout = uPower;
speedin = 0;
acceleration = uAccelerationUp;
deceleration = uDecelerationDown;
trace("firing");
iShoot = setInterval(shoot, 29);
harpoonstate = "firing";
boat_mc.gotoAndStop("fire");
boat_mc.fisherman_mc.gotoAndStop("fire");
shootharpoon.start();
}
}
Symbol 651 MovieClip Frame 16
this.removeMovieClip();
stop();
Symbol 652 MovieClip Frame 44
this.removeMovieClip();
stop();
Symbol 653 MovieClip Frame 42
this.removeMovieClip();
Symbol 654 MovieClip Frame 1
var propellorbubble = 0;
var bubblenum = 0;
var counter = 0;
this.onEnterFrame = function () {
if ((_parent.speedin > 7) || (_parent.speedout > 7)) {
bubblenum++;
harpoonbubblesrc = Math.ceil(Math.random() * 3);
harpoonbubblexy = Math.ceil(Math.random() * 20) - 10;
harpoonbubblexy2 = Math.ceil(Math.random() * 20) - 10;
harpoonbubblescale = Math.ceil(Math.random() * 60) + 40;
this[("bubbletype" + harpoonbubblesrc) + "_mc"].duplicateMovieClip(("harpoonbubble" + bubblenum) + "_mc", 2000 + bubblenum);
this[("harpoonbubble" + bubblenum) + "_mc"]._x = _parent.coordsofpoint.x + harpoonbubblexy;
this[("harpoonbubble" + bubblenum) + "_mc"]._y = _parent.coordsofpoint.y + harpoonbubblexy2;
this[("harpoonbubble" + bubblenum) + "_mc"]._xscale = harpoonbubblescale;
this[("harpoonbubble" + bubblenum) + "_mc"]._yscale = harpoonbubblescale;
}
if (_parent.boat_mc._currentframe == "moving") {
propellorbubble = propellorbubble + 1;
propbubblexy = Math.ceil(Math.random() * 10);
propbubblexy2 = Math.ceil(Math.random() * 10);
propbubblescale = Math.ceil(Math.random() * 60) + 40;
this.propellorbubble_mc.duplicateMovieClip(("propbubble" + propellorbubble) + "_mc", 2500 + propellorbubble);
this[("propbubble" + propellorbubble) + "_mc"]._x = (_parent.boat_mc._x - 14) + propbubblexy;
this[("propbubble" + propellorbubble) + "_mc"]._y = (_parent.boat_mc._y - 19) + propbubblexy2;
this[("propbubble" + propellorbubble) + "_mc"]._xscale = propbubblescale;
this[("propbubble" + propellorbubble) + "_mc"]._yscale = propbubblescale;
}
};
Symbol 661 Button
on (release) {
_parent.nextlevel();
_parent.loadpowerups();
_parent.gotoAndStop("gamestart");
}
Symbol 663 Button
on (release) {
_parent.gotoAndStop("shop");
}
Symbol 666 Button
on (release) {
gotoAndPlay ("lose");
}
Symbol 671 Button
on (release) {
_parent.initstartgame();
_parent.loadpowerups();
_parent.nextlevel();
_parent.motoraidle.stop();
_parent.motorathrottle.stop();
_parent.motorbthrottle.stop();
_parent.motorbidle.stop();
_parent.gotoAndStop("gamestart");
}
Symbol 673 Button
on (release) {
play();
}
Symbol 675 Button
on (release) {
_parent.gotoAndStop("menu");
}
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 2
this.onEnterFrame = function () {
if (_parent.harpoonstate != "ready") {
stop();
} else {
play();
delete this.onEnterFrame;
}
};
_parent.fire_btn._visible = false;
Key.removeListener(_parent.keylistener);
_parent.pHarpoonPower = 1;
_parent.uSpinach = 0;
_parent.uHighFuel = 0;
_parent.uClockKey = 0;
_parent.uCoolBox = 0;
_parent.uHighFishCount = 0;
_parent.uHighTreasureCount = 0;
_parent.levelstatus = "wait";
Symbol 676 MovieClip Frame 14
if (_parent.score >= _parent.leveltarget) {
gotoAndPlay ("win");
gameoverreason = "Fishing trip over! Submit score?";
} else {
gotoAndPlay ("lose");
gameoverreason = "Unlucky! you didn't make Macks Target";
}
Symbol 676 MovieClip Frame 15
this.onEnterFrame = function () {
if (_parent.harpoonstate != "ready") {
stop();
} else {
play();
delete this.onEnterFrame;
}
};
_parent.fire_btn._visible = false;
Key.removeListener(_parent.keylistener);
_parent.pHarpoonPower = 1;
_parent.uSpinach = 0;
_parent.uHighFuel = 0;
_parent.uClockKey = 0;
_parent.uCoolBox = 0;
_parent.uHighFishCount = 0;
_parent.uHighTreasureCount = 0;
_parent.levelstatus = "wait";
Symbol 676 MovieClip Frame 51
_parent.stash = _parent.stash + _parent.score;
stop();
Symbol 676 MovieClip Frame 82
_parent.stash = _parent.stash + _parent.score;
stop();
Symbol 676 MovieClip Frame 92
_parent.HS_mc.submitHS(_parent.stash);
stop();
Symbol 681 Button
on (rollOver) {
infooverlay_mc._visible = true;
infooverlay_mc.info_txt.text = "current level : basic\rGet more bang for your buck, more power out the gates with this bad boy means easier targeting and more chance of multiple hits";
infooverlay_mc.cost_txt.text = "$600";
}
on (rollOut) {
infooverlay_mc._visible = false;
}
Symbol 683 Button
on (rollOver) {
infooverlay_mc._visible = true;
infooverlay_mc.info_txt.text = "current level : standard\rGetting dragged down? get a more powerful winch to tow up your catches and save valuable time!";
infooverlay_mc.cost_txt.text = "$500";
}
on (rollOut) {
infooverlay_mc._visible = false;
}
Symbol 705 Button
on (rollOver) {
infooverlay_mc._visible = true;
infooverlay_mc.info_txt.text = "current level : No Motor\ran upgrade here would give you the ability to move your boat across\rthe top of the water providing you with more opportunities to score big shooting for multiple fish and rewards";
infooverlay_mc.cost_txt.text = "$300";
}
on (rollOut) {
thankyou_mc._visible = false;
infooverlay_mc._visible = false;
}
on (release) {
if (_parent.score > 250) {
_parent.uRecoil = "on";
_parent.score = _parent.score - 2000;
infooverlay_mc._visible = false;
thankyou_mc._visible = true;
}
}
Symbol 709 Button
on (release) {
nextlevel();
_parent.gotoAndStop("game");
delete this.onEnterFrame;
}
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 2
stop();
Symbol 724 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 734 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 1
stop();
Symbol 768 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
stop();
Symbol 806 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(2);
}
Symbol 808 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(3);
}
Symbol 810 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(4);
}
Symbol 812 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(5);
}
Symbol 814 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(6);
}
Symbol 816 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(7);
}
Symbol 818 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(8);
}
Symbol 820 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(9);
}
Symbol 822 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(10);
}
Symbol 824 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(11);
}
Symbol 826 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(12);
}
Symbol 828 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(13);
}
Symbol 830 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(14);
}
Symbol 832 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(15);
}
Symbol 834 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(16);
}
Symbol 836 Button
on (release) {
gotoAndPlay (2);
shoppopup_mc.gotoAndStop(17);
}
Symbol 844 Button
on (release) {
if (_parent._parent.stash >= 50) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 50;
_parent.fishmax_mc.gotoAndStop(2);
_parent.fixhmaxbuy_btn._visible = false;
_parent.fishmaxprice_mc.gotoAndStop(2);
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uHighFishCount = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 846 Button
on (release) {
gotoAndStop (1);
_parent.gotoAndStop(1);
}
Symbol 849 Button
on (release) {
if (_parent._parent.stash >= 50) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 50;
_parent.spinach1_mc.gotoAndStop(2);
_parent.spinach1price_mc.gotoAndStop(2);
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent.spinach1buy_btn._visible = false;
_parent._parent.uSpinach = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 851 Button
on (release) {
if (_parent._parent.stash >= 99) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 99;
_parent.spinach2_mc.gotoAndStop(2);
_parent.spinach2price_mc.gotoAndStop(2);
_parent.spinach2buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uSpinach = 2;
} else {
gotoAndPlay (25);
}
}
Symbol 853 Button
on (release) {
if (_parent._parent.stash >= 999) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 999;
_parent.recoil_mc.gotoAndStop(2);
_parent.recoilprice_mc.gotoAndStop(2);
_parent.recoilbuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uRecoil = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 855 Button
on (release) {
if (_parent._parent.stash >= 450) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 450;
_parent.winch1_mc.gotoAndStop(2);
_parent.winch1price_mc.gotoAndStop(2);
_parent.winch1buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pWinchSpeed = 2;
} else {
gotoAndPlay (25);
}
}
Symbol 857 Button
on (release) {
if (_parent._parent.stash >= 750) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 750;
_parent.winch2_mc.gotoAndStop(2);
_parent.winch2price_mc.gotoAndStop(2);
_parent.winch2buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pWinchSpeed = 3;
} else {
gotoAndPlay (25);
}
}
Symbol 859 Button
on (release) {
if (_parent._parent.stash >= 150) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 150;
_parent.depthcharge_mc.gotoAndStop(2);
_parent.depthchargeprice_mc.gotoAndStop(2);
_parent.depthchargebuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uPossessCharge = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 861 Button
on (release) {
if (_parent._parent.stash >= 150) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 150;
_parent.gastank1_mc.gotoAndStop(2);
_parent.gastank1price_mc.gotoAndStop(2);
_parent.gas1buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pHarpoonPower = 2;
} else {
gotoAndPlay (25);
}
}
Symbol 863 Button
on (release) {
if (_parent._parent.stash >= 250) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 250;
_parent.gastank2_mc.gotoAndStop(2);
_parent.gastank2price_mc.gotoAndStop(2);
_parent.gas2buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pHarpoonPower = 3;
} else {
gotoAndPlay (25);
}
}
Symbol 865 Button
on (release) {
if (_parent._parent.stash >= 50) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 50;
_parent.clockkey_mc.gotoAndStop(2);
_parent.clockkeyprice_mc.gotoAndStop(2);
_parent.clockkeybuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uClockKey = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 867 Button
on (release) {
if (_parent._parent.stash >= 500) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 500;
_parent.treasuremapbuy_btn._visible = false;
_parent.treasuremap_mc.gotoAndStop(2);
_parent.treasuremapprice_mc.gotoAndStop(2);
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uHighTreasureCount = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 869 Button
on (release) {
if (_parent._parent.stash >= 99) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 99;
_parent.coolbox_mc.gotoAndStop(2);
_parent.coolboxprice_mc.gotoAndStop(2);
_parent.coolboxbuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uCoolBox = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 871 Button
on (release) {
if (_parent._parent.stash >= 105) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 105;
_parent.hifuel_mc.gotoAndStop(2);
_parent.hifuelprice_mc.gotoAndStop(2);
_parent.hifuelbuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uHighFuel = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 873 Button
on (release) {
if (_parent._parent.stash >= 300) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 300;
_parent.outboard1_mc.gotoAndStop(2);
_parent.outboard1price_mc.gotoAndStop(2);
_parent.outboard1buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pBoatSpeed = 2;
} else {
gotoAndPlay (25);
}
}
Symbol 875 Button
on (release) {
if (_parent._parent.stash >= 2200) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 2200;
_parent.outboard2_mc.gotoAndStop(2);
_parent.outboard2price_mc.gotoAndStop(2);
_parent.outboard2buy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.pBoatSpeed = 3;
} else {
gotoAndPlay (25);
}
}
Symbol 877 Button
on (release) {
if (_parent._parent.stash >= 7999) {
_parent._parent.shopbuy.start();
_parent._parent.stash = _parent._parent.stash - 7999;
_parent.harpooon_mc.gotoAndStop(2);
_parent.harpoonprice_mc.gotoAndStop(2);
_parent.harpoonbuy_btn._visible = false;
_parent.gotoAndStop(1);
gotoAndStop (1);
_parent._parent.uSpecialHarpoon = 1;
} else {
gotoAndPlay (25);
}
}
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 120
gotoAndStop (1);
_parent.gotoAndStop(1);
Symbol 883 Button
on (release) {
_parent.loadpowerups();
_parent.nextlevel();
_parent.gotoAndStop("gamestart");
_parent.boat_mc.gotoAndStop("moving");
_parent.boat_mc.gotoAndStop(1);
}
Symbol 885 MovieClip Frame 1
if (_parent.uRecoil == 1) {
recoil_mc.gotoAndStop(2);
recoilbuy_btn._visible = false;
recoilprice_mc.gotoAndStop(2);
}
switch (_parent.pWinchSpeed) {
case 1 :
break;
case 3 :
winch2_mc.gotoAndStop(2);
winch2buy_btn._visible = false;
winch2price_mc.gotoAndStop(2);
case 2 :
winch1_mc.gotoAndStop(2);
winch1buy_btn._visible = false;
winch1price_mc.gotoAndStop(2);
}
switch (_parent.pBoatSpeed) {
case 1 :
break;
case 3 :
outboard2_mc.gotoAndStop(2);
outboard2buy_btn._visible = false;
outboard2price_mc.gotoAndStop(2);
case 2 :
outboard1_mc.gotoAndStop(2);
outboard1buy_btn._visible = false;
outboard1price_mc.gotoAndStop(2);
}
if (_parent.uSpecialHarpoon == 1) {
harpoon_mc.gotoAndStop(2);
harpoonbuy_btn._visible = false;
specialharpoonprice_mc.gotoAndStop(2);
}
stop();
Instance of Symbol 718 MovieClip "thankyou_mc" in Symbol 885 MovieClip Frame 1
/* no clip actions */
Symbol 885 MovieClip Frame 5
stop();