Frame 1
ifFrameLoaded (115) {
gotoAndStop (3);
}
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
loadBar.gotoAndStop(percent);
Frame 2
gotoAndPlay (1);
Frame 3
_root.online = 1;
_root.optionsInGame.gotoAndStop("blank");
_root.REGSTATUS = 0;
_root.soundOn = false;
_root.pestActive = true;
_root.currentActiveTournament = 1;
_root.currentGameSelection = 2;
_root.gameplayMode = "Best of 3";
_root.course = 1;
SFXclack = new Sound();
SFXclack.attachSound("Ball_hit_lower");
SFXclack.setVolume(45);
SFXnightengale = new Sound();
SFXnightengale.attachSound("nightengale");
SFXrolling_ball = new Sound();
SFXrolling_ball.attachSound("rolling_ball");
SFXrolling_ball.setVolume(70);
SFXbabs1 = new Sound();
SFXbabs1.attachSound("babs1");
SFXbabs1.setVolume(70);
SFXbabs2 = new Sound();
SFXbabs2.attachSound("babs2");
SFXbabs2.setVolume(70);
SFXbabs3 = new Sound();
SFXbabs3.attachSound("babs3");
SFXbabs3.setVolume(70);
SFXbetty1 = new Sound();
SFXbetty1.attachSound("betty1");
SFXbetty1.setVolume(70);
SFXbetty2 = new Sound();
SFXbetty2.attachSound("betty2");
SFXbetty2.setVolume(70);
SFXbetty3 = new Sound();
SFXbetty3.attachSound("betty3");
SFXbetty3.setVolume(70);
fscommand ("showmenu", "false");
_root.player1charname = "BABS";
_root.player2charname = "BETTY";
_root.player3charname = "CEDRIC";
_root.player4charname = "ARTHUR";
stop();
Instance of Symbol 257 MovieClip "gameModeButtons" in Frame 3
onClipEvent (enterFrame) {
if (_root.REGSTATUS == 1) {
(this.gotoAndStop(1));// not popped
} else {
(this.gotoAndStop(2));// not popped
}
}
Instance of Symbol 284 MovieClip "2playerButton" in Frame 3
onClipEvent (enterFrame) {
if (_root.gameplayMode != "Tournament") {
if (_root.REGSTATUS == 1) {
(this.gotoAndStop(1));// not popped
} else {
(this.gotoAndStop(2));// not popped
}
}
}
Instance of Symbol 322 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.REGSTATUS != 1) {
} else {
(this.gotoAndStop("registered"));// not popped
}
}
Instance of Symbol 375 MovieClip "options" in Frame 3
onClipEvent (load) {
}
Frame 10
stop();
Frame 11
slice.gotoAndStop(_root.course + 1);
Instance of Symbol 409 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.REGSTATUS != 1) {
(this.gotoAndStop(2));// not popped
} else {
(this.gotoAndStop(1));// not popped
}
}
Frame 19
((_root.LoadedPlayer1Name.length > 1) ? ((_root.char1name = LoadedPlayer1Name)) : 0);
((_root.LoadedPlayer2Name.length > 1) ? ((_root.char2name = LoadedPlayer2Name)) : 0);
stop();
Frame 20
gotoAndPlay (18);
Frame 47
gotoAndPlay (108);
Frame 67
gotoAndPlay (108);
Instance of Symbol 271 MovieClip "OAP2" in Frame 67
/* no clip actions */
Instance of Symbol 204 MovieClip "OAP2" in Frame 67
/* no clip actions */
Frame 87
gotoAndPlay (108);
Frame 107
gotoAndPlay (108);
Instance of Symbol 422 MovieClip "OAP2" in Frame 107
/* no clip actions */
Instance of Symbol 246 MovieClip "OAP2" in Frame 107
/* no clip actions */
Frame 108
function INIT_ROUND_VARS() {
_root.ballToThrow = 1;
_root.playerTogo = _root.lastWinner;
_root.throwNum = 0;
}
function QUIT_GAME() {
_root.REMOVE_BALLS();
_root.optionsInGame.gotoAndStop("blank");
if (_root.REGSTATUS == 1) {
gotoAndPlay (3);
} else {
gotoAndStop (115);
}
}
function WRITE_LOCAL_TOURN_DATA() {
local_data = SharedObject.getLocal("bowling_user_data", "/");
local_data.data.currentActiveTournament = _root.currentActiveTournament;
}
function END_OF_THROW() {
if (_root.ballToThrow == 1) {
if (_root[1]._y < jokeyLine._y) {
goodthrow = true;
} else {
goodthrow = false;
((_root.playerTogo == _root.player1char) ? ((_root.playerTogo = _root.player2char)) : ((_root.playerTogo = _root.player1char)));
whosGo.gotoAndStop(_root.playerTogo);
WHICH_PLAYER_TO_THROW_ALERT();
POSITION_PLAYER();
}
}
if (goodthrow == true) {
_root.ballToThrow++;
if (_root.ballToThrow <= 1) {
(jokeyLine.gotoAndStop("on"));// not popped
} else {
(jokeyLine.gotoAndStop("off"));// not popped
}
if (_root.ballToThrow == 10) {
c = 0;
while (c < 500) {
c++;
}
DISP_ORDER();
_root.gameOver = false;
_root.setNumber++;
((_root.player1Char == _root.positionOrder[1]) ? ((_root.lastWinnerActual = 1)) : ((_root.lastWinnerActual = 2)));
_root.lastWinner = _root.positionOrder[1];
this["scorePlayer" + _root.lastWinnerActual] = this["scorePlayer" + _root.lastWinnerActual] + 1;
if (_root.gameplayMode == "Best of 3") {
(((scorePlayer1 == 2) or (scorePlayer2 == 2)) ? ((_root.gameOver = true)) : 0);
}
if (_root.gameplayMode == "Best of 5") {
(((scorePlayer1 == 3) or (scorePlayer2 == 3)) ? ((_root.gameOver = true)) : 0);
}
if ((_root.gameplayMode == "First to 21") or (_root.gameplayMode == "Tournament")) {
((_root.positionOrder[2] == _root.positionOrder[1]) ? (this["scorePlayer" + _root.lastWinnerActual]++) : 0);
((_root.positionOrder[3] == _root.positionOrder[1]) ? (this["scorePlayer" + _root.lastWinnerActual]++) : 0);
((_root.positionOrder[4] == _root.positionOrder[1]) ? (this["scorePlayer" + _root.lastWinnerActual]++) : 0);
(((scorePlayer1 >= 21) or (scorePlayer2 >= 21)) ? ((_root.gameOver = true)) : 0);
}
REMOVE_DISP_ORDER();
if (_root.gameOver == false) {
oapwin.gotoAndStop("roundWon");
}
if (_root.gameOver == true) {
if (scorePlayer1 > scorePlayer2) {
_root.winnerChar = _root.player1charname;
_root.winnerNum = _root.player1char;
if (_root.gameplayMode == "Tournament") {
_root.currentActiveTournament++;
_root.WRITE_LOCAL_TOURN_DATA();
}
} else {
_root.winnerChar = _root.player2charname;
_root.winnerNum = _root.player2char;
}
oapwin.gotoAndStop("w" + _root.winnerNum);
}
} else {
DISP_ORDER();
CHANGE_PLAYER();
((_root.playerToGo == 1) ? (duplicateMovieClip ("blackball", _root.ballToThrow, 9999 + _root.ballToThrow)) : 0);
((_root.playerToGo == 2) ? (duplicateMovieClip ("redball", _root.ballToThrow, 9999 + _root.ballToThrow)) : 0);
((_root.playerToGo == 3) ? (duplicateMovieClip ("yellowball", _root.ballToThrow, 9999 + _root.ballToThrow)) : 0);
((_root.playerToGo == 4) ? (duplicateMovieClip ("greenball", _root.ballToThrow, 9999 + _root.ballToThrow)) : 0);
_root[_root.ballToThrow].id = _root.playerToGo;
}
}
}
function POSITION_PLAYER() {
if (_root.playerTogo == _root.player1Char) {
(_root["oap" + _root.player1char]._x = _root.OAPstartPos);
(_root["oap" + _root.player2char]._x = _root.OAPrestPos);
} else {
(_root["oap" + _root.player2char]._x = _root.OAPstartPos);
(_root["oap" + _root.player1char]._x = _root.OAPrestPos);
}
}
function CHANGE_PLAYER() {
_root.throwNum++;
if (_root.throwNum == 3) {
_root.throwNum = 1;
((_root.playerTogo == _root.player1char) ? ((_root.playerTogo = _root.player2char)) : ((_root.playerTogo = _root.player1char)));
mousePointer._x = 235;
WHICH_PLAYER_TO_THROW_ALERT();
}
POSITION_PLAYER();
}
function DISP_ORDER() {
_root.distances = new Array(999, 999, 999, 999, 999, 999, 999, 999, 999);
_root.picked = new Array(false, false, false, false, false, false, false, false, false, false, false);
_root.positionOrder = new Array("-", "-", "-", "-", "-", "-", "-", "-", "-");
_root.closestDIST = new Array(999, 999, 999, 999, 999, 999, 999, 999, 999);
n = 1;
while (n < _root.ballToThrow) {
n++;
xd = ballPosX[1] - ballPosX[n];
yd = ballPosY[1] - ballPosY[n];
_root.distances[n] = FLOATING_POINTS(Math.sqrt((xd * xd) + (yd * yd)));
}
c = 1;
while (c < _root.ballToThrow) {
n = 1;
while (n < _root.ballToThrow) {
if (((_root.distances[n] > 0) and (_root.distances[n] < _root.closestDIST[c])) and (_root.picked[n] != true)) {
_root.closestDIST[c] = _root.distances[n];
_root.closestID = n;
}
n++;
}
_root.picked[_root.closestID] = true;
_root.positionOrder[c] = _root[_root.closestID].id;
c++;
}
n = 1;
while (n < 10) {
duplicateMovieClip ("proxOrder", "proxOrder" + n, 200 + n);
this["proxOrder" + n]._y = ((15 + box._y) - (box._height / 2)) + (15 * n);
this["proxOrder" + n]._x = box._x;
this["proxOrder" + n].gotoAndStop("off");
n++;
}
n = 1;
while (n < (_root.ballToThrow - 1)) {
this["proxOrder" + n].gotoAndStop(_root.positionOrder[n]);
n++;
}
}
function REMOVE_BALLS() {
n = 2;
while (n < 11) {
removeMovieClip(n);
n++;
}
n = 1;
while (n < 11) {
removeMovieClip("proxOrder" + n);
n++;
}
}
function START_NEW_SET() {
_root.REMOVE_BALLS();
_root.oapwin.gotoAndStop(1);
_root.jokeyLine.gotoAndStop(1);
_root.INIT_ROUND_VARS();
_root.POSITION_PLAYER();
}
function REMOVE_DISP_ORDER() {
n = 1;
while (n < 10) {
this["proxOrder" + n].gotoAndStop("off");
n++;
}
n = 1;
while (n < 11) {
_root[n]._x = -999;
_root[n]._y = 100 * n;
n++;
}
whoseGo.gotoAndStop(1);
}
function DRAW_TRAJECTORY(s, num) {
(ax = 0);
(ay = 0);
(st = 4);
n = 0;
WillHit = false;
while (n < 100) {
(spx = tempXspeed * st);
(spy = tempYspeed * st);
c = 1;
while (c < n) {
spx = spx * (_root.BallStartWeight - ((_root.ballFriction * st) * c));
spy = spy * (_root.BallStartWeight - ((_root.ballFriction * st) * c));
spTr = Math.sqrt((spx * spx) + (spy * spy));
angleT = _root.GET_ANGLE_FROM_X_and_Yspeeds(spx, spy);
xtr = 1.4 - (Math.abs(_root.gArrowRotation) / 170);
newAngT = angleT + (_root.gSpinPower * (st * xtr));
radians = (-180 + newAngT) * (Math.PI/180);
x2tr = -Math.sin(radians);
y2tr = Math.cos(radians);
spx = x2tr * spTr;
spy = y2tr * spTr;
c = c + st;
}
ax = ax + spx;
ay = ay + spy;
trajXpos = _root[_root.ballToThrow]._x - ax;
trajYpos = _root[_root.ballToThrow]._y - ay;
this["traject" + n]._x = trajXpos;
this["traject" + n]._y = trajYpos;
_root["traject" + n].gotoAndStop(1);
hitC = 2;
while (hitC < 10) {
if (((hitC != _root.ballToThrow) and (trajXpos > 0)) and (trajYpos > 0)) {
hX = _root["traject" + n]._x - _root[hitC]._x;
hY = _root["traject" + n]._y - _root[hitC]._y;
hR = Math.sqrt((hX * hX) + (hY * hY));
_root["traject" + n].hR = hR;
_root["traject" + n].hR = "";
if ((Math.abs(hR) < 20) and (_root[hitC]._y < _root[1]._y)) {
_root.gTrajHit[num] = hitC;
WillHit = true;
_root["traject" + n].gotoAndStop(2);
}
}
hitC++;
}
n = n + st;
}
_root.ComputertargetX = this.traject48._x;
_root.ComputertargetY = this.traject48._y;
duplicateMovieClip ("mousePointer", "mouse" + num, 990 + num);
this["mouse" + num]._x = _root.ComputertargetX;
this["mouse" + num]._y = _root.ComputertargetY;
return(WillHit);
}
function FLOATING_POINTS(n) {
n = Math.abs(int(n * 100));
n = n / 100;
return(n);
}
function GET_ANGLE_FROM_X_and_Yspeeds(xSp, ySp) {
pR = Math.sqrt((xSp * xSp) + (ySp * ySp));
sinTheta = ySp / pR;
cDiv = Math.sqrt(1 - (sinTheta * sinTheta));
theta = Math.atan(sinTheta / cDiv);
if (xSp < 0) {
res = 270 - (theta / 0.0175);
}
if (xSp >= 0) {
res = (theta / 0.0175) + 90;
}
return(res);
}
((_root.soundOn == 1) ? (SFXnightengale.start()) : 0);
SFXnightengale.setVolume(55);
_root.gBallAng = new Array(0, 0, 0, 0, 0, 0, 0);
_root.gXBallSpeed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.gYBallSpeed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.gBallVelocity = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ballPosX = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ballPosY = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ballTouching = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.gLastHitList = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ballMoving = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.BallWeight = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
WHICH_PLAYER_TO_THROW_ALERT = function () {
(((_root.player2type == "Computer") and (_root.playerToGo == _root.player2char)) ? ((T = " ( computer ) ")) : ((T = "")));
((_root.playerToGo == _root.player1Char) ? ((toss.str = (_root.player1charname + T) + " to throw...")) : ((toss.str = (_root.player2charname + T) + " to throw...")));
toss.gotoAndPlay("starter");
};
_root.lastWinner = random(2) + 1;
((_root.lastWinner == 1) ? ((_root.playerToGo = _root.player1Char)) : ((_root.playerToGo = _root.player2Char)));
_root.lastWinner = _root.playerToGo;
_root.WHICH_PLAYER_TO_THROW_ALERT();
INIT_ROUND_VARS();
_root.moleStatus = "none";
_root.screenHeight = 500;
_root.OAPstartPos = 225;
_root.OAPrestPos = 400;
_root.scorePlayer1 = 0;
_root.scorePlayer2 = 0;
_root.setNumber = 1;
_root.nosOfBalls = 9;
_root.mousePointer._x = 225;
bFriction = 0.00035;
_root.CSMhock = 1;
((_root.course == 1) ? ((_root.CSM = 1)(_root.ballFriction = bFriction)) : 0);
((_root.course == 2) ? ((_root.CSM = 2)(_root.ballFriction = bFriction * (_root.CSM * 6))) : 0);
((_root.course == 3) ? ((_root.CSMhock = 0.7)(_root.CSM = 1)(_root.ballFriction = 0.0002)) : 0);
((_root.course == 4) ? ((_root.CSM = 1)(_root.ballFriction = 0.00015)) : 0);
((_root.course == 5) ? ((_root.CSM = 1.5)(_root.ballFriction = bFriction * (_root.CSM * 3))) : 0);
_root.BallStartWeight = 0.99;
_root.sideWeight = 0.9;
_root.manualWeighting = "left";
if (_root.player2type != "Computer") {
} else {
(scoreDisplay.player2type.gotoAndStop("Computer"));// not popped
}
if (_root.player2type != "Computer") {
} else {
(scoreDisplayShad.player2type.gotoAndStop("Computer"));// not popped
}
_root.controlMethod = "keyboard";
_root.ballWeighting = "manual";
_root.player1charname = _root.player1charname.toUpperCase();
_root.player2charname = _root.player2charname.toUpperCase();
player1Head.gotoAndStop(_root.player1char);
player2Head.gotoAndStop(_root.player2char);
if (_root.player1Char == 1) {
scoreDisplay.gotoAndStop(1);
scoreDisplayShad.gotoAndStop(1);
} else {
scoreDisplay.gotoAndStop(2);
scoreDisplayShad.gotoAndStop(2);
}
BALL_MOVE = function (s) {
if (_root.moleStatus == "popUp") {
_root.moleHit = 1;
pestSize = 15;
if (_root.ballPosX[s] > (_root[_root.pest]._x - pestSize)) {
if (_root.ballPosX[s] < (_root[_root.pest]._x + pestSize)) {
if (_root.ballPosY[s] > (_root[_root.pest]._y - pestSize)) {
if (_root.ballPosY[s] < (_root[_root.pest]._y + pestSize)) {
_root.gXBallSpeed[s] = _root.gXBallSpeed[s] - ((_root.ballPosX[s] - _root[_root.pest]._x) / 4);
_root.gYBallSpeed[s] = _root.gYBallSpeed[s] - ((_root.ballPosY[s] - _root[_root.pest]._y) / 4);
_root.moleStatus = "goDown";
}
}
}
}
}
_root[s].s = s;
_root.ballPosX[s] = _root[s]._x;
_root.ballPosY[s] = _root[s]._y;
_root.ballPosX[s] = _root.ballPosX[s] - _root.gXBallSpeed[s];
_root.ballPosY[s] = _root.ballPosY[s] - _root.gYBallSpeed[s];
((_root.BallWeightSet[s] != 1) ? ((BallWeight[s] = BallStartWeight)(_root.BallWeightSet[s] = 1)) : 0);
_root.gXBallSpeed[s] = _root.gXBallSpeed[s] * BallWeight[s];
_root.gYBallSpeed[s] = _root.gYBallSpeed[s] * BallWeight[s];
_root.gBallVelocity[s] = Math.sqrt((_root.gXBallSpeed[s] * _root.gXBallSpeed[s]) + (_root.gYBallSpeed[s] * _root.gYBallSpeed[s]));
BallWeight[s] = BallWeight[s] - ballFriction;
(sx = _root.gXBallSpeed[_root.ballToThrow]);
(sy = _root.gYBallSpeed[_root.ballToThrow]);
sr = int(Math.sqrt((sx * sx) + (sy * sy)));
if (((_root.gPowerStatus == "moving") and (Math.abs(sr) >= 0)) and (Math.abs(sr) < 0.3)) {
_root.gXBallSpeed[_root.ballToThrow] = 0;
_root.gYBallSpeed[_root.ballToThrow] = 0;
if (_root.AllBallStopped == true) {
_root.gPowerStatus = "none";
_root.END_OF_THROW();
}
}
(t = 25);
(b = 475);
(l = 25);
(r = 425);
((_root[s]._x < l) ? ((_root.gXBallSpeed[s] = _root.gXBallSpeed[s] / 25)) : 0);
((_root[s]._x > r) ? ((_root.gXBallSpeed[s] = _root.gXBallSpeed[s] / 25)) : 0);
((_root[s]._y < t) ? ((_root.gYBallSpeed[s] = _root.gYBallSpeed[s] / 25)) : 0);
((_root[s]._y > b) ? ((_root.gYBallSpeed[s] = _root.gYBallSpeed[s] / 25)) : 0);
(_root[s]._x = _root.ballPosX[s]);
(_root[s]._y = _root.ballPosY[s]);
(_root["sh" + s]._x = _root.ballPosX[s]);
(_root["sh" + s]._y = _root.ballPosY[s]);
};
_global.BALL_COLLISION = function (s) {
_root[s].s = s;
sprN = 1;
while (sprN < (_root.nosOfBalls + 1)) {
if (sprN != s) {
(xc = _root[sprN]._x - _root.ballPosX[s]);
(yc = _root[sprN]._y - _root.ballPosY[s]);
rc = Math.sqrt((xc * xc) + (yc * yc));
if (rc < int(_root[s]._width)) {
_root.ballTouching[s] = sprN;
if (true or ((_root.gLastHitList[sprN] != s) and (_root.gLastHitList[s] != _root.gLastHitList[sprN]))) {
((_root.soundOn == 1) ? (SFXclack.start()) : 0);
SFXclack.setVolume(10 + (_root.gBallVelocity[s] * 8));
_root.gLastHitList[sprN] = s;
_root.gLastHitList[s] = _root.gLastHitList[sprN];
(px = _root.ballPosX[s] - _root[sprN]._x);
(py = _root.ballPosY[s] - _root[sprN]._y);
pr = Math.sqrt((px * px) + (py * py));
((pr != 0) ? ((sinTheta = py / pr)) : 0);
cDiv = Math.sqrt(1 - (sinTheta * sinTheta));
((cDiv != 0) ? ((theta = Math.atan(sinTheta / cDiv))) : 0);
if (_root[sprN]._x < _root.ballPosX[s]) {
hitAng = 90 + (theta / 0.0175);
}
if (_root[sprN]._x >= _root.ballPosX[s]) {
hitAng = (180 - (theta / 0.0175)) + 90;
}
_root.hitAng = hitAng;
counter = 0;
radians = hitAng * (Math.PI/180);
cx2 = -Math.sin(radians);
cy2 = Math.cos(radians);
while (counter < 200) {
counter++;
(px = _root.ballPosX[s] - _root[sprN]._x);
(py = _root.ballPosY[s] - _root[sprN]._y);
pr = Math.sqrt((px * px) + (py * py));
if (pr < int(_root[s]._width)) {
_root.ballPosX[s] = _root.ballPosX[s] - cx2;
_root.ballPosY[s] = _root.ballPosY[s] - cy2;
} else {
(_root[s]._x = _root.ballPosX[s]);
(_root[s]._y = _root.ballPosY[s]);
break;
}
}
(oldXspeed = _root.gXBallSpeed[s]);
(oldYspeed = _root.gYBallSpeed[s]);
speedMult = Math.sqrt((oldXspeed * oldXspeed) + (oldYspeed * oldYspeed));
(((hitAng > 0) and (hitAng < 90)) ? ((pXw = (-hitAng) / 90)(pYw = (90 - hitAng) / 90)) : 0);
(((hitAng > 90) and (hitAng < 180)) ? ((pXw = (-(180 - hitAng)) / 90)(pYw = (-(hitAng - 90)) / 90)) : 0);
(((hitAng > 180) and (hitAng < 270)) ? ((pXw = (hitAng - 180) / 90)(pYw = (-(270 - hitAng)) / 90)) : 0);
(((hitAng > 270) and (hitAng < 360)) ? ((pXw = (360 - hitAng) / 90)(pYw = (hitAng - 270) / 90)) : 0);
_root.gXBallSpeed[sprN] = (-pXw) * (speedMult / 1);
_root.gYBallSpeed[sprN] = (-pYw) * (speedMult / 1);
_root.gBallAng[sprN] = hitAng;
_root.xtra = "";
(((_root.gBallAng[s] > 270) and (_root.gBallAng[sprN] < 90)) ? ((_root.xtra = "l")) : 0);
(((_root.gBallAng[s] < 90) and (_root.gBallAng[sprN] > 90)) ? ((_root.xtra = "r")) : 0);
otherAng = _root.gBallAng[sprN];
if (((otherAng <= _root.gBallAng[s]) and (_root.xtra == "")) or (_root.xtra == "rr")) {
ax = _root.gBallAng[sprN] - 90;
((ax > 360) ? ((ax = ax - 360)) : 0);
((ax < 0) ? ((ax = ax + 360)) : 0);
}
if (((otherAng > _root.gBallAng[s]) and (_root.xtra == "")) or (_root.xtra == "ll")) {
ax = _root.gBallAng[sprN] + 90;
((ax > 360) ? ((ax = ax - 360)) : 0);
((ax < 0) ? ((ax = ax + 360)) : 0);
}
(((ax > 0) and (ax < 90)) ? ((pXw2 = (-ax) / 90)(pYw2 = (90 - ax) / 90)) : 0);
(((ax > 90) and (ax < 180)) ? ((pXw2 = (-(180 - ax)) / 90)(pYw2 = (-(ax - 90)) / 90)) : 0);
(((ax > 180) and (ax < 270)) ? ((pXw2 = (ax - 180) / 90)(pYw2 = (-(270 - ax)) / 90)) : 0);
(((ax > 270) and (ax < 360)) ? ((pXw2 = (360 - ax) / 90)(pYw2 = (ax - 270) / 90)) : 0);
_root.gXBallSpeed[s] = pXw2 * (speedMult / 1);
_root.gYBallSpeed[s] = pYw2 * (speedMult / 1);
angSpc = Math.abs(_root.gBallAng[sprN] - _root.gBallAng[s]);
angSp = angSpc / 90;
if ((angSpc > 0) and (angSpc < 90)) {
_root.gXBallSpeed[s] = _root.gXBallSpeed[s] * angSp;
_root.gYBallSpeed[s] = _root.gYBallSpeed[s] * angSp;
_root.gXBallSpeed[sprN] = _root.gXBallSpeed[sprN] * (1 - angSp);
_root.gYBallSpeed[sprN] = _root.gYBallSpeed[sprN] * (1 - angSp);
}
}
} else {
_root.ballTouching[s] = 2;
}
}
sprN++;
}
};
_global.BALL_POWER = function (s) {
((init != true) ? ((init = true)(xc = (yc = (rc = (Xmin = (Ymin = 0)))))) : 0);
cDiv = Math.sqrt((_root.x * _root.x) + (_root.y * _root.y));
tempXspeed = (_root.x / cDiv) * _root.gHitPower;
tempYspeed = (_root.y / cDiv) * _root.gHitPower;
_root.gBallAng[s] = _root.GET_ANGLE_FROM_X_and_Yspeeds(_root.gXBallSpeed[s], _root.gYBallSpeed[s]);
if ((s > 1) and (_root.gPowerStatus == "moving")) {
csp = Math.sqrt((_root.gXBallSpeed[s] * _root.gXBallSpeed[s]) + (_root.gYBallSpeed[s] * _root.gYBallSpeed[s]));
xtraAng = (_root.gBallAng[s] + _root.gSpinPower) + 180;
radians = xtraAng * (Math.PI/180);
cx2 = -Math.sin(radians);
cy2 = Math.cos(radians);
_root.gXBallSpeed[s] = cx2 * csp;
_root.gYBallSpeed[s] = cy2 * csp;
}
if (_root.gPowerStatus == "set") {
_root.gXBallSpeed[s] = tempXspeed;
_root.gYBallSpeed[s] = tempYspeed;
_root.gPowerStatus = "moving";
}
if (_root.gPowerStatus != "moving") {
DRAW_TRAJECTORYX(s, 3);
}
};
n = 1;
while (n < 50) {
duplicateMovieClip ("traject", "traject" + n, 50 + n);
n++;
}
POSITION_PLAYER();
_root.gTrajHit = new Array(0, 0, 0, 0, 0, 0, 0);
Instance of Symbol 460 MovieClip "arrow" in Frame 108
onClipEvent (load) {
s = this.name;
_root.gHitPower = 2.5;
_root.gPowerStatus = "none";
}
onClipEvent (mouseDown) {
if (_root.controlMethod == "mouse") {
((_root.gPowerStatus == "none") ? ((_root.gMouseDown = true)) : 0);
}
}
onClipEvent (mouseUp) {
if (_root.controlMethod == "mouse") {
((_root.gPowerStatus == "setting") ? ((_root.gMouseDown = false)) : 0);
}
}
onClipEvent (enterFrame) {
if ((_root.gPowerStatus == "none") or (_root.gPowerStatus == "setting")) {
_root[_root.ballToThrow]._x = _root["oap" + _root.playerTogo]._x;
_root[_root.ballToThrow]._y = _root["oap" + _root.playerTogo]._y;
this._x = _root["oap" + _root.playerTogo]._x;
this._y = _root["oap" + _root.playerTogo]._y;
}
Xpos = _root.mousePointer._x;
Ypos = _root.oap1._y + 100;
_root.x = Xpos - this._x;
_root.y = Ypos - this._y;
r = Math.sqrt((_root.x * _root.x) + (_root.y * _root.y));
((r != 0) ? ((sinTheta = _root.y / r)) : 0);
cDiv = Math.sqrt(1 - (sinTheta * sinTheta));
((cDiv != 0) ? ((theta = Math.atan(sinTheta / cDiv))) : 0);
gMyRotation = this._rotation;
_root.gArrowRotation = gMyRotation - 90;
if (Xpos < this._x) {
ang = (180 - (theta / 0.0175)) + 90;
this._rotation = 180 - (theta / 0.0175);
}
if (Xpos > this._x) {
ang = (theta / 0.0175) + 90;
this._rotation = theta / 0.0175;
}
if (_root.gMouseDown == true) {
_root.gPowerStatus = "setting";
((_root.gHitPower < (2 * _root.CSM)) ? ((_root.powerDir = "up")) : 0);
((_root.gHitPower > (8 * _root.CSM)) ? ((_root.powerDir = "down")) : 0);
if (_root.powerDir == "down") {
_root.gHitPower = _root.gHitPower - (0.25 * _root.CSM);
} else {
_root.gHitPower = _root.gHitPower + (0.25 * _root.CSM);
}
}
if ((_root.gMouseDown == false) and (_root.gPowerStatus == "setting")) {
_root.gPowerStatus = "set";
_root.BallWeightSet = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
_root["oap" + _root.playerToGo].gotoAndPlay(2);
}
}
Instance of Symbol 467 MovieClip "mousePointer" in Frame 108
onClipEvent (enterFrame) {
xxx = this._x;
}
Instance of Symbol 607 MovieClip "optionsInGame" in Frame 108
onClipEvent (load) {
this.swapDepths(99999);
}
Frame 109
function Computerthrow() {
_root.gPowerStatus = "setting";
_root.gMouseDown = false;
initComputer = false;
}
_root.ccc = _root.positionOrder[1];
if (_root.pestActive == true) {
if (_root.moleStatus == "none") {
(_root.moleUpTime = random(100) + 25);
(_root.moleCounter = 0);
(_root.moleStatus = "counting");
}
if (_root.moleStatus == "counting") {
((_root.moleCounter < _root.moleUpTime) ? (_root.moleCounter++) : ((_root.moleStatus = "StartpopUp")));
}
if (_root.moleStatus == "StartpopUp") {
if ((_root.player2type == "Computer") and (_root.playerToGo == _root.player2Char)) {
_root[_root.pest]._x = (20 + random(30)) + (random(2) * 300);
} else {
_root[_root.pest]._y = 100 + random(250);
}
_root[_root.pest].gotoAndPlay("up");
(_root.moleCounter = 0);
(_root.moleDownTime = random(200) + 100);
(_root.moleStatus = "popUp");
}
if (_root.moleStatus == "popUp") {
((_root.moleCounter < _root.moleDownTime) ? (_root.moleCounter++) : ((_root.moleStatus = "goDown")));
}
if (_root.moleStatus == "goDown") {
_root[_root.pest].gotoAndPlay("down");
_root.moleStatus = "none";
}
}
if (_root.soundOn == 1) {
if (random(200) == 50) {
}
if ((_root.gPowerStatus == "moving") and (rollingSFX != true)) {
rollingSFX = true;
SFXrolling_ball.setVolume(60);
SFXrolling_ball.start();
if (random(3) == 1) {
((_root.playerToGo == _root.player1char) ? (this["SFXbabs" + (random(3) + 1)].start()) : (this["SFXbetty" + (random(3) + 1)].start()));
}
}
}
((_root.gPowerStatus != "moving") ? (SFXrolling_ball.stop()(rollingSFX = false)) : 0);
if (_root.gPowerStatus != "moving") {
_root.gXBallSpeed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.gYBallSpeed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if ((_root.playerTogo == _root.player1Char) or ((_root.playerTogo == _root.player2Char) and (_root.player2type == "HUMAN"))) {
arrow.gotoAndStop("on");
if (_root.controlMethod == "mouse") {
_root.mousePointer._x = _xmouse;
_root.mousePointer._y = _ymouse;
}
if (_root.controlMethod == "keyboard") {
if (Key.isDown(37)) {
_root.mousePointer._x = _root.mousePointer._x + 5;
}
if (Key.isDown(39)) {
_root.mousePointer._x = _root.mousePointer._x - 5;
}
if (Key.isDown(32)) {
if (_root.gPowerStatus != "moving") {
_root.gMouseDown = true;
}
} else {
_root.gMouseDown = false;
}
if (Key.isDown(38) and (_root.gPowerStatus != "moving")) {
if (mwDone != true) {
mwDone = true;
((_root.manualWeighting == "left") ? ((_root.manualWeighting = "right")) : ((_root.manualWeighting = "left")));
}
} else {
mwDone = false;
}
_root.xmouse = _root.mousePointer._x;
_root.ymouse = _root.mousePointer._y;
}
}
if ((((_root.ballToThrow < 10) and (_root.playerToGo == _root.player2Char)) and (_root.player2type == "Computer")) and (_root.gPowerStatus == "none")) {
arrow.gotoAndStop("off");
_root.gHitPower = ((430 - _root[1]._y) / 50) * _root.CSM;
if (_root.ballToThrow == 1) {
_root.mousePointer._x = 200 + random(80);
_root.CSMhock = 1;
_root.gHitPower = (4.5 + random(4)) * _root.CSMhock;
_root.gPowerStatus = "setting";
_root.gMouseDown = false;
initComputer = false;
}
if (_root.ballToThrow != 1) {
if (initComputer != true) {
sweePNum = 1;
initComputer = true;
sweepRange = 200;
sweepSet = 10;
sweepCountTop = int(sweepRange / sweepSet);
xx = -(sweepRange / 2);
cc = 0;
_root.Computerpr = new Array();
_root.ComputerxPos = new Array();
((random(10) < 5) ? ((_root.manualWeighting = "left")) : ((_root.manualWeighting = "right")));
Computerthoughts = ("I'll try a " + _root.manualWeighting) + " swing. ";
}
cc++;
if (cc < sweepCountTop) {
_root.mousePointer._x = _root["oap" + _root.playerToGo]._x - xx;
DRAW_TRAJECTORY(_root.ballToThrow, cc);
px = _root.ComputertargetX - _root[1]._x;
py = _root.ComputertargetY - _root[1]._y;
pr = int(Math.sqrt((px * px) + (py * py)));
this["mouse" + cc].pr = pr;
_root.Computerpr[cc] = pr;
_root.ComputerxPos[cc] = _root.mousePointer._x;
xx = xx + sweepSet;
}
if (cc == sweepCountTop) {
_root.shortest = 1000 + random(1000);
i = 3;
while (i < sweepCountTop) {
if ((_root.Computerpr[i] > 1) and (_root.Computerpr[i] < _root.shortest)) {
_root.shortest = _root.Computerpr[i];
_root.goodxpos = _root.ComputerxPos[i];
_root.goodi = i;
}
i++;
}
Computerthoughts = Computerthoughts + (("Closest SHOT is " + _root.shortest) + ". ");
cc++;
}
if (cc > sweepCountTop) {
_root.mousePointer._x = _root.ComputerxPos[_root.goodi] + 20;
_root.willItHit = DRAW_TRAJECTORY(_root.ballToThrow, 0);
((_root.manualWeighting == "right") ? ((_root.goodRightXpos = _root.mousePointer._x)) : ((_root.goodLeftXpos = _root.mousePointer._x)));
if (_root.willItHit == true) {
if (sweePNum < 2) {
sweePNum++;
xx = -(sweepRange / 2);
cc = 0;
_root.Computerpr = new Array();
_root.ComputerxPos = new Array();
Computerthoughts = Computerthoughts + (("CANT swing to " + _root.manualWeighting) + "....");
((_root.manualWeighting == "right") ? ((_root.manualWeighting = "left")) : ((_root.manualWeighting = "right")));
} else {
Computerthoughts = Computerthoughts + (("also CANT swing to " + _root.manualWeighting) + "....");
leftCount = 0;
rightCount = 0;
b = 2;
while (b < _root.ballToThrow) {
((_root[b]._x > _root[1]._x) ? (rightCount++) : (leftCount++));
b++;
}
Computerthoughts = Computerthoughts + (("There are " + leftCount) + " balls On left ,");
Computerthoughts = Computerthoughts + (("and " + rightCount) + " balls On right ,");
if (leftCount > rightCount) {
_root.manualWeighting = "left";
_root.mousePointer._x = _root.goodLeftXpos;
} else {
_root.manualWeighting = "right";
_root.mousePointer._x = _root.goodRightXpos;
}
Computerthoughts = Computerthoughts + (("so ill weight on" + _root.manualWeighting) + " ,");
if ((_root.positionOrder[1] == _root.player2Char) and (_root.ballToThrow > 7)) {
Computerthoughts = Computerthoughts + (("I'm winning so i little power" + _root.manualWeighting) + " ,");
_root.gHitPower = _root.gHitPower / 1.5;
}
Computerthrow();
}
} else {
Computerthoughts = Computerthoughts + (("Nothing in the way. swing to the " + _root.manualWeighting) + "....");
if ((_root.positionOrder[1] == _root.player2Char) and (_root.ballToThrow > 7)) {
Computerthoughts = Computerthoughts + (("I'm winning so i little power" + _root.manualWeighting) + " ,");
_root.gHitPower = _root.gHitPower / 1.5;
}
Computerthrow();
}
}
}
}
BALL_POWER(_root.ballToThrow);
a = 0;
n = 1;
while (N < (_root.nosOfBalls + 1)) {
BALL_MOVE(n);
BALL_COLLISION(n);
(((Math.abs(_root.gBallVelocity[n]) >= 0) and (Math.abs(_root.gBallVelocity[n]) < 0.3)) ? ((_root.ballMoving[n] = 0)) : ((_root.ballMoving[n] = 1)));
a = a + _root.ballMoving[n];
N++;
}
((a == 0) ? ((_root.AllBallStopped = true)) : ((_root.AllBallStopped = false)));
if (_root.ballWeighting == "auto") {
bx = _root["oap" + _root.playerTogo]._x;
by = _root["oap" + _root.playerTogo]._y;
jx = _root[1]._x;
jy = _root[1]._y;
(px = jx - bx);
(py = jy - by);
pr = Math.sqrt((px * px) + (py * py));
((pr != 0) ? ((sinTheta = py / pr)) : 0);
cDiv = Math.sqrt(1 - (sinTheta * sinTheta));
((cDiv != 0) ? ((theta = Math.atan(sinTheta / cDiv))) : 0);
((jx > bx) ? ((_root.jAng = 90 + (theta / 0.0175))) : 0);
((jx <= bx) ? ((_root.jAng = -(90 + (theta / 0.0175)))) : 0);
if (_root.ballToThrow == 1) {
_root.gSpinPower = 0;
_root.jokeyAngle._x = -999;
_root.arrow.arrow.gotoAndStop("straight");
} else {
_root.jokeyAngle._x = _root["oap" + _root.playerTogo]._x;
_root.jokeyAngle._y = _root["oap" + _root.playerTogo]._y;
_root.jokeyAngle._rotation = _root.jAng;
if (_root.jAng <= _root.gArrowRotation) {
} else {
(_root.gSpinPower = _root.sideWeight);
(_root.arrow.arrow.gotoAndStop("right"));// not popped
}
if (_root.jAng >= _root.gArrowRotation) {
} else {
(_root.gSpinPower = -1);
(_root.arrow.arrow.gotoAndStop("left"));// not popped
}
}
}
if (_root.ballWeighting == "manual") {
if (_root.ballToThrow == 1) {
_root.gSpinPower = 0;
_root.jokeyAngle._x = -999;
_root.arrow.arrow.gotoAndStop("straight");
} else if (_root.manualWeighting == "left") {
_root.arrow.arrow.gotoAndStop("left");
_root.gSpinPower = -_root.sideWeight;
} else {
_root.arrow.arrow.gotoAndStop("right");
_root.gSpinPower = _root.sideWeight;
}
}
Frame 110
gotoAndPlay (109);
Frame 115
_root.optionsInGame.gotoAndStop("blank");
stop();
Instance of Symbol 636 MovieClip in Frame 115
onClipEvent (enterFrame) {
if (_root.online != 1) {
(this.gotoAndStop("buy"));// not popped
} else {
(this.gotoAndStop("download"));// not popped
}
}
Instance of Symbol 640 MovieClip in Frame 115
onClipEvent (load) {
if (_root.online != 1) {
(this.gotoAndStop("offline"));// not popped
} else {
(this.gotoAndStop("online"));// not popped
}
}
onClipEvent (enterFrame) {
if (_root.online != 1) {
(this.gotoAndStop("offline"));// not popped
} else {
(this.gotoAndStop("online"));// not popped
}
}
Symbol 82 MovieClip Frame 1
gotoAndStop(_root.course);
Symbol 83 MovieClip Frame 1
function SET_DEFAULT_LOCAL_VARS() {
local_data = SharedObject.getLocal("bowling_user_data", "/");
_root.soundOn = true;
_root.musicOn = true;
_root.pestActive = true;
_root.currentActiveTournament = 1;
_root.currentGameSelection = 2;
}
function WRITE_LOCAL_DATA() {
local_data.data.currentGameSelection = _root.currentGameSelection;
local_data.data.soundOn = _root.soundOn;
local_data.data.musicOn = _root.musicOn;
local_data.data.pestActive = _root.pestActive;
local_data.data.currentActiveTournament = _root.currentActiveTournament;
}
function READ_LOCAL_DATA() {
_root.currentGameSelection = local_data.data.currentGameSelection;
_root.soundOn = local_data.data.soundOn;
_root.musicOn = local_data.data.musicOn;
_root.pestActive = local_data.data.pestActive;
_root.currentActiveTournament = local_data.data.currentActiveTournament;
}
if (INIT != true) {
INIT = true;
local_data = SharedObject.getLocal("bowling_user_data", "/");
}
if (READ != true) {
if (local_data.getSize() == 0) {
SET_DEFAULT_LOCAL_VARS();
WRITE_LOCAL_DATA();
READ = true;
}
if (local_data.getSize() > 0) {
READ_LOCAL_DATA();
READ = true;
}
}
if (_root.REGSTATUS != 1) {
loadVariables ("c://Documents and Settings/All Users/Application Data/mowagp.txt", this);
((mowagp > 0) ? ((_root.REGSTATUS = 1)) : ((_root.REGSTATUS = 0)));
}
Symbol 97 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 131 Button
on (release) {
_root.course = 1;
_root.pest = "mole";
_root.gotoAndPlay("entername");
}
on (rollOver) {
cro1.gotoAndStop(2);
}
on (rollOut) {
cro1.gotoAndStop(1);
}
Symbol 132 Button
on (release) {
_root.course = 2;
_root.pest = "crab";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 2) {
} else {
(cro2.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro2.gotoAndStop(1);
}
Symbol 133 Button
on (release) {
_root.course = 3;
_root.pest = "crab";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 3) {
} else {
(cro3.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro3.gotoAndStop(1);
}
Symbol 134 Button
on (release) {
_root.course = 4;
_root.pest = "Penguin";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 4) {
} else {
(cro4.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro4.gotoAndStop(1);
}
Symbol 135 Button
on (release) {
_root.course = 5;
_root.pest = "Alien";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 5) {
} else {
(cro5.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro5.gotoAndStop(1);
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 150 Button
on (release) {
_root.course = 2;
_root.pest = "crab";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 2) {
} else {
(cro2.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro2.gotoAndStop(1);
}
Symbol 151 Button
on (release) {
_root.course = 3;
_root.pest = "crab";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 3) {
} else {
(cro3.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro3.gotoAndStop(1);
}
Symbol 152 Button
on (release) {
_root.course = 4;
_root.pest = "Penguin";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 4) {
} else {
(cro4.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro4.gotoAndStop(1);
}
Symbol 153 Button
on (release) {
_root.course = 5;
_root.pest = "Alien";
if (_root.currentActiveTournament < _root.course) {
} else {
(_root.gotoAndPlay("entername"));// not popped
}
}
on (rollOver) {
if (_root.currentActiveTournament < 5) {
} else {
(cro5.gotoAndStop(2));// not popped
}
}
on (rollOut) {
cro5.gotoAndStop(1);
}
Symbol 154 MovieClip Frame 1
stop();
Instance of Symbol 126 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
rnum = 3;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 126 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
rnum = 4;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 126 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
rnum = 5;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 126 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
rnum = 2;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 147 MovieClip in Symbol 154 MovieClip Frame 3
onClipEvent (load) {
rnum = 3;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 147 MovieClip in Symbol 154 MovieClip Frame 3
onClipEvent (load) {
rnum = 4;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 147 MovieClip in Symbol 154 MovieClip Frame 3
onClipEvent (load) {
rnum = 5;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Instance of Symbol 147 MovieClip in Symbol 154 MovieClip Frame 3
onClipEvent (load) {
rnum = 2;
((_root.currentActiveTournament >= rnum) ? (gotoAndStop (2)) : 0);
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip "courseType" in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
function SET_COURSEGAMETYPE_DISPLAY() {
if (_root.REGSTATUS == 1) {
((_root.gameplayMode == "Tournament") ? (gotoAndStop (3)) : (gotoAndStop (1)));
} else {
gotoAndStop (2);
}
}
SET_COURSEGAMETYPE_DISPLAY();
}
Symbol 253 Button
on (release) {
gotoAndStop (2);
if (this._name == 1) {
_root.gameplayMode = "Best of 3";
_parent[2].gotoAndStop("off");
_parent[3].gotoAndStop("off");
if (_root.REGSTATUS != 1) {
} else {
(_parent._parent["2playerButton"].gotoAndStop(1));// not popped
}
}
if (this._name == 2) {
_root.gameplayMode = "Best of 5";
_parent[1].gotoAndStop("off");
_parent[3].gotoAndStop("off");
if (_root.REGSTATUS != 1) {
} else {
(_parent._parent["2playerButton"].gotoAndStop(1));// not popped
}
}
if (this._name == 3) {
_root.gameplayMode = "Tournament";
_parent[1].gotoAndStop("off");
_parent[2].gotoAndStop("off");
if (_root.REGSTATUS != 1) {
} else {
(_parent._parent["2playerButton"].gotoAndStop("off"));// not popped
}
}
}
Symbol 254 MovieClip Frame 1
_root.OptIn = false;
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 257 MovieClip Frame 1
stop();
Instance of Symbol 254 MovieClip "1" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("on");
}
Instance of Symbol 254 MovieClip "2" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 254 MovieClip "3" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 278 Button
on (release) {
_root.player2type = "Computer";
_root.player1char = "";
_root.player2char = "n/a";
_root.gotoAndPlay("enterCourse");
((_root.soundOn == 1) ? (_root.SFXclack.start()) : 0);
}
Symbol 283 Button
on (release) {
_root.player2type = "HUMAN";
_root.player1char = "";
_root.player2char = "";
_root.gotoAndPlay("enterCourse");
((_root.soundOn == 1) ? (_root.SFXclack.start()) : 0);
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 290 Button
on (release) {
playerID = null;
getURL ("http://tournaments.miniworldgames.com/metacharge/buy_OAP.cfm", this, "POST");
gotoAndPlay (2);
}
Symbol 296 MovieClip Frame 1
stop();
Symbol 304 Button
on (release) {
formCodeEntry = int(formCodeEntry);
loadVariables ("http://tournaments.miniworldgames.com/metacharge/register_OAP.cfm", this, "GET");
gotoAndPlay (2);
}
Symbol 312 Button
on (release) {
formCodeEntry = "";
gotoAndStop (1);
}
Symbol 321 Button
on (release) {
getURL ("http://www.miniworldgames.com/MWG_download_games/OAPLawnBowling.exe", "_blank");
}
Symbol 322 MovieClip Frame 1
if (_root.online == 1) {
gotoAndStop (25);
}
stop();
Symbol 322 MovieClip Frame 2
if ((regStatus.charAt(0) == 1) or (regStatus.charAt(0) == "1")) {
fscommand ("Arg", "_level0.result");
fscommand ("Arg", "c://Documents and Settings/All Users/Application Data/mowagp.txt");
fscommand ("Arg", "mowagp=" + formCodeEntry);
fscommand ("FileSys2.WriteToFile");
gotoAndStop (7);
}
if ((regStatus.charAt(0) == 9) or (regStatus.charAt(0) == "9")) {
gotoAndStop (11);
}
Symbol 322 MovieClip Frame 3
gotoAndPlay (2);
Symbol 322 MovieClip Frame 7
_root.sharedObject.SET_DEFAULT_LOCAL_VARS();
_root.sharedObject.WRITE_LOCAL_DATA();
_root.REGSTATUS = 1;
stop();
Symbol 322 MovieClip Frame 11
stop();
Symbol 322 MovieClip Frame 12
stop();
Symbol 322 MovieClip Frame 13
stop();
Symbol 322 MovieClip Frame 20
stop();
Symbol 322 MovieClip Frame 25
stop();
Symbol 322 MovieClip Frame 26
stop();
Symbol 333 Button
on (release) {
_root.history.gotoAndStop("blank");
_root.options.gotoAndStop("blank");
gotoAndStop (2);
}
Symbol 344 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
if (_root.ballMoving[this._name] == 1) {
((init != true) ? ((init = true)(frm = 1)) : 0);
spinGFX._rotation = _root.gBallAng[this._name];
frm = frm + (int(_root.gBallVelocity[this._name]) + 1);
((frm > 30) ? ((frm = frm - 30)) : 0);
spinGFX.gotoAndStop(frm);
}
Symbol 346 MovieClip Frame 2
gotoAndPlay (1);
Symbol 348 Button
on (release) {
_root.history.gotoAndStop(1);
_root.instructions.gotoAndStop(1);
_root.options.gotoAndStop(1);
}
Symbol 349 MovieClip Frame 1
stop();
Symbol 362 Button
on (release) {
_root.instructions.gotoAndStop("blank");
_root.options.gotoAndStop("blank");
gotoAndStop (2);
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
Symbol 367 Button
on (release) {
_root.history.gotoAndStop("blank");
_root.instructions.gotoAndStop("blank");
((_root.REGSTATUS == 0) ? (gotoAndStop (3)) : (gotoAndStop (2)));
}
Symbol 372 Button
on (release) {
turnOn();
gotoAndStop (2);
}
Symbol 373 Button
on (release) {
turnOff();
gotoAndStop (1);
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.pestActive = true;
_root.sharedObject.WRITE_LOCAL_DATA();
}
function turnOff() {
_root.pestActive = false;
_root.sharedObject.WRITE_LOCAL_DATA();
_root.moleStatus = "none";
_root[_root.pest].gotoAndPlay("down");
}
((_root.pestActive == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
_root.sharedObject.WRITE_LOCAL_DATA();
}
function turnOff() {
_root.soundOn = false;
_root.sharedObject.WRITE_LOCAL_DATA();
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.musicOn = true;
_root.sharedObject.WRITE_LOCAL_DATA();
}
function turnOff() {
_root.musicOn = false;
_root.sharedObject.WRITE_LOCAL_DATA();
}
((_root.musicOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 3
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
_root.sharedObject.WRITE_LOCAL_DATA();
}
function turnOff() {
_root.soundOn = false;
_root.sharedObject.WRITE_LOCAL_DATA();
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 3
onClipEvent (load) {
function turnOn() {
_root.musicOn = true;
_root.sharedObject.WRITE_LOCAL_DATA();
}
function turnOff() {
_root.musicOn = false;
_root.sharedObject.WRITE_LOCAL_DATA();
}
((_root.musicOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Symbol 377 MovieClip Frame 1
if (_root.soundOn == 0) {
gotoAndPlay (7);
}
if (_root.soundOn == 1) {
gotoAndPlay (3);
}
Symbol 377 MovieClip Frame 3
if (_root.soundOn == 0) {
gotoAndPlay (5);
}
Symbol 377 MovieClip Frame 4
gotoAndPlay (3);
Symbol 377 MovieClip Frame 7
if (_root.soundOn == 1) {
gotoAndPlay (3);
}
Symbol 377 MovieClip Frame 8
gotoAndPlay (7);
Symbol 380 Button
on (release) {
getURL ("http://www.miniworldgames.com", "_blank");
}
Symbol 392 MovieClip Frame 21
gotoAndPlay (1);
Symbol 392 MovieClip Frame 41
gotoAndPlay (22);
Symbol 401 Button
on (rollOver) {
_root.oap1.gotoAndStop(2);
}
on (rollOut) {
_root.oap1.gotoAndStop(1);
}
on (release) {
((_root.soundOn == true) ? (_root["SFXbabs" + (random(3) + 1)].start()) : 0);
_root.oap1.gotoAndStop("ghost");
if (_root.player2char == "n/a") {
_root.player1char = 1;
_root.player2char = 2;
_root.player1charname = "BABS";
_root.player2charname = "BETTY";
_root.oap1.gotoAndStop(1);
_root.gotoAndPlay("bigfat");
} else if (_root.player1char == "") {
_root.player1char = 1;
_root.player1charname = "BABS";
_root.selectChar.gotoAndPlay("loop2");
} else {
_root.player2char = 1;
_root.player2charname = "BABS";
_root.oap1.gotoAndStop(1);
_root.gotoAndPlay("bigfat");
}
gotoAndStop (2);
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 403 Button
on (rollOver) {
_root.oap2.gotoAndStop(2);
}
on (rollOut) {
_root.oap2.gotoAndStop(1);
}
on (release) {
((_root.soundOn == true) ? (_root["SFXbetty" + (random(3) + 1)].start()) : 0);
_root.oap2.gotoAndStop("ghost");
if (_root.player2char == "n/a") {
_root.player1char = 2;
_root.player2char = 1;
_root.player1charname = "BETTY";
_root.player2charname = "BABS";
_root.oap2.gotoAndStop(1);
_root.gotoAndPlay("bigthin");
} else if (_root.player1char == "") {
_root.player1char = 2;
_root.player1charname = "BETTY";
_root.selectChar.gotoAndPlay("loop2");
} else {
_root.player2char = 2;
_root.player2charname = "BETTY";
_root.oap2.gotoAndStop(1);
_root.gotoAndPlay("bigthin");
}
gotoAndStop (2);
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 405 Button
on (rollOver) {
_root.oap3.gotoAndStop(2);
}
on (rollOut) {
_root.oap3.gotoAndStop(1);
}
on (release) {
((_root.soundOn == true) ? (_root["SFXbetty" + (random(3) + 1)].start()) : 0);
_root.oap3.gotoAndStop("ghost");
if (_root.player2char == "n/a") {
_root.player1char = 3;
_root.player2char = 1;
_root.player1charname = "CEDRIC";
_root.player2charname = "BABS";
_root.oap3.gotoAndStop(1);
_root.gotoAndPlay("bigred");
} else if (_root.player1char == "") {
_root.player1char = 3;
_root.player1charname = "CEDRIC";
_root.selectChar.gotoAndPlay("loop2");
} else {
_root.player2char = 3;
_root.player2charname = "CEDRIC";
_root.oap3.gotoAndStop(1);
_root.gotoAndPlay("bigred");
}
gotoAndStop (2);
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 407 Button
on (rollOver) {
_root.oap4.gotoAndStop(2);
}
on (rollOut) {
_root.oap4.gotoAndStop(1);
}
on (release) {
((_root.soundOn == true) ? (_root["SFXbetty" + (random(3) + 1)].start()) : 0);
_root.oap4.gotoAndStop("ghost");
if (_root.player2char == "n/a") {
_root.player1char = 4;
_root.player2char = 1;
_root.player1charname = "JACQUE";
_root.player2charname = "BABS";
_root.oap4.gotoAndStop(1);
_root.gotoAndPlay("bigFrench");
} else if (_root.player1char == "") {
_root.player1char = 4;
_root.player1charname = "JACQUE";
_root.selectChar.gotoAndPlay("loop2");
} else {
_root.player2char = 4;
_root.player2charname = "JACQUE";
_root.oap4.gotoAndStop(1);
_root.gotoAndPlay("bigFrench");
}
gotoAndStop (2);
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 8
stop();
Symbol 433 MovieClip Frame 16
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 8
stop();
Symbol 436 MovieClip Frame 16
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 8
stop();
Symbol 441 MovieClip Frame 16
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 8
stop();
Symbol 446 MovieClip Frame 16
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 8
stop();
Symbol 450 MovieClip Frame 16
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
stop();
Instance of Symbol 456 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(int((_root.gHitPower / _root.CSM) * 2) + 2);
}
Symbol 460 MovieClip Frame 1
stop();
Instance of Symbol 459 MovieClip "arrow" in Symbol 460 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Symbol 467 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 1
if (_root.playerTogo == 1) {
point = new object();
point.x = spot._x;
point.y = spot._y;
localToGlobal(point);
_root.ballInHandx = point.x;
_root.ballInHandy = point.y;
}
Symbol 490 MovieClip Frame 1
stop();
Instance of Symbol 487 MovieClip in Symbol 490 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = _root.gArrowRotation;
}
Symbol 494 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (load) {
_parent.bodyStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 1) {
this._rotation = _parent.bodyStartRot - _parent.armRot;
}
}
Instance of Symbol 490 MovieClip "arm" in Symbol 494 MovieClip Frame 1
onClipEvent (load) {
_parent.armStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 1) {
this._rotation = _root.gArrowRotation / 3;
_parent.armRot = this._rotation;
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (load) {
_parent.headStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 1) {
this._rotation = _parent.headStartRot + (_parent.armRot / 2);
}
}
Symbol 494 MovieClip Frame 2
arm.gotoAndPlay(2);
Symbol 499 MovieClip Frame 1
if (_root.playerTogo == 2) {
point = new object();
point.x = spot._x;
point.y = spot._y;
localToGlobal(point);
_root.ballInHandx = point.x;
_root.ballInHandy = point.y;
}
Symbol 504 MovieClip Frame 1
stop();
Instance of Symbol 497 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
_parent.bodyStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 2) {
this._rotation = _parent.bodyStartRot - (_parent.armRot / 14);
}
}
Instance of Symbol 499 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
_parent.armStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 2) {
this._rotation = _root.gArrowRotation;
_parent.armRot = this._rotation;
}
}
Instance of Symbol 501 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
_parent.headStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 2) {
this._rotation = _parent.headStartRot + (_parent.armRot / 2);
}
}
Symbol 509 MovieClip Frame 1
if (_root.playerTogo == 2) {
point = new object();
point.x = spot._x;
point.y = spot._y;
localToGlobal(point);
_root.ballInHandx = point.x;
_root.ballInHandy = point.y;
}
Symbol 514 MovieClip Frame 1
stop();
Instance of Symbol 507 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
_parent.bodyStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 2) {
this._rotation = _parent.bodyStartRot - (_parent.armRot / 14);
}
}
Instance of Symbol 509 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
_parent.armStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 3) {
this._rotation = _root.gArrowRotation;
_parent.armRot = this._rotation;
}
}
Instance of Symbol 511 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
_parent.headStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 3) {
this._rotation = _parent.headStartRot + (_parent.armRot / 2);
}
}
Symbol 522 MovieClip Frame 1
if (_root.playerTogo == 1) {
point = new object();
point.x = spot._x;
point.y = spot._y;
localToGlobal(point);
_root.ballInHandx = point.x;
_root.ballInHandy = point.y;
}
Symbol 530 MovieClip Frame 1
stop();
Instance of Symbol 518 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
_parent.bodyStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 1) {
this._rotation = _parent.bodyStartRot - _parent.armRot;
}
}
Instance of Symbol 522 MovieClip "arm" in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
_parent.armStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 4) {
this._rotation = _root.gArrowRotation;
_parent.armRot = this._rotation;
}
}
Instance of Symbol 524 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
_parent.headStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 4) {
this._rotation = _parent.headStartRot + (_parent.armRot / 2);
}
}
Symbol 530 MovieClip Frame 2
arm.gotoAndPlay(2);
Instance of Symbol 526 MovieClip in Symbol 530 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = _root.gArrowRotation;
}
Instance of Symbol 524 MovieClip in Symbol 530 MovieClip Frame 3
onClipEvent (load) {
_parent.headStartRot = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.playerTogo == 1) {
this._rotation = _parent.headStartRot + (_parent.armRot / 2);
}
}
Symbol 533 MovieClip Frame 1
if (_root.ballMoving[this._name] == 1) {
((init != true) ? ((init = true)(frm = 1)) : 0);
spinGFX._rotation = _root.gBallAng[this._name];
frm = frm + (int(_root.gBallVelocity[this._name]) + 1);
((frm > 30) ? ((frm = frm - 30)) : 0);
spinGFX.gotoAndStop(frm);
}
Symbol 533 MovieClip Frame 2
gotoAndPlay (1);
Symbol 535 MovieClip Frame 1
if (_root.ballMoving[this._name] == 1) {
((init != true) ? ((init = true)(frm = 1)) : 0);
spinGFX._rotation = _root.gBallAng[this._name];
frm = frm + (int(_root.gBallVelocity[this._name]) + 1);
((frm > 30) ? ((frm = frm - 30)) : 0);
spinGFX.gotoAndStop(frm);
}
Symbol 535 MovieClip Frame 2
gotoAndPlay (1);
Symbol 537 MovieClip Frame 1
if (_root.ballMoving[this._name] == 1) {
((init != true) ? ((init = true)(frm = 1)) : 0);
spinGFX._rotation = _root.gBallAng[this._name];
frm = frm + (int(_root.gBallVelocity[this._name]) + 1);
((frm > 30) ? ((frm = frm - 30)) : 0);
spinGFX.gotoAndStop(frm);
}
Symbol 537 MovieClip Frame 2
gotoAndPlay (1);
Symbol 539 MovieClip Frame 1
if (_root.ballMoving[this._name] == 1) {
((init != true) ? ((init = true)(frm = 1)) : 0);
spinGFX._rotation = _root.gBallAng[this._name];
frm = frm + (int(_root.gBallVelocity[this._name]) + 1);
((frm > 30) ? ((frm = frm - 30)) : 0);
spinGFX.gotoAndStop(frm);
}
Symbol 539 MovieClip Frame 2
gotoAndPlay (1);
Symbol 550 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 2
play();
Symbol 562 MovieClip Frame 65
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 1
((_root.lastWinnerActual == 1) ? ((_root.winnerChar = _root.player1charname)) : 0);
((_root.lastWinnerActual == 2) ? ((_root.winnerChar = _root.player2charname)) : 0);
_root.setNumberDisp = _root.setNumber - 1;
Symbol 589 Button
on (release) {
_root.START_NEW_SET();
}
Symbol 590 MovieClip Frame 1
stop();
Instance of Symbol 575 MovieClip "gameOver" in Symbol 590 MovieClip Frame 2
onClipEvent (enterFrame) {
((_root.gameOver == true) ? (gotoAndStop (2)) : 0);
}
onClipEvent (keyUp) {
((_root.gameOver == true) ? (_root.QUIT_GAME()) : 0);
}
Symbol 590 MovieClip Frame 47
_root.setDisp = _root.setNumber - 1;
stop();
Symbol 594 Button
on (release) {
((_root.REGSTATUS == 0) ? (gotoAndStop (3)) : (gotoAndStop (2)));
}
Symbol 599 Button
on (release) {
gotoAndStop (1);
}
Symbol 605 Button
on (release) {
_root.QUIT_GAME();
}
Symbol 606 Button
on (release) {
gotoAndStop (8);
}
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 2
nam = this._name;
Instance of Symbol 374 MovieClip in Symbol 607 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.pestActive = true;
}
function turnOff() {
_root.pestActive = false;
_root.moleStatus = "none";
_root[_root.pest].gotoAndPlay("down");
}
((_root.pestActive == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 607 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
}
function turnOff() {
_root.soundOn = false;
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 607 MovieClip Frame 2
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
}
function turnOff() {
_root.soundOn = false;
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 607 MovieClip Frame 3
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
}
function turnOff() {
_root.soundOn = false;
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Instance of Symbol 374 MovieClip in Symbol 607 MovieClip Frame 3
onClipEvent (load) {
function turnOn() {
_root.soundOn = true;
}
function turnOff() {
_root.soundOn = false;
}
((_root.soundOn == true) ? (gotoAndStop (2)) : (gotoAndStop (1)));
}
Symbol 607 MovieClip Frame 8
stop();
Symbol 625 Button
on (release) {
gotoAndPlay (3);
}
Symbol 632 Button
on (release) {
getURL ("http://www.miniworldgames.com/MWG_download_games/OAPLawnBowling.exe", "_blank");
}
Symbol 635 Button
on (release) {
getURL ("http://tournaments.miniworldgames.com/metacharge/buy_OAP.cfm", _blank, "POST");
}
Symbol 636 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 1
stop();