Frame 1
ifFrameLoaded (754) {
gotoAndStop (11);
}
loadedFrames = _level0.getBytesLoaded();
totalFrames = _level0.getBytesTotal();
if (Number(loadedFrames) < Number(totalFrames)) {
percentageoutput = int((loadedFrames / totalFrames) * 100);
}
Frame 10
gotoAndPlay (1);
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Instance of Symbol 102 MovieClip "ball" in Frame 14
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 15
stop();
Frame 103
gotoAndStop (15);
tellTarget ("/powerbardemo") {
gotoAndStop (1);
};
power = "";
accuracy = "";
Frame 163
stop();
Frame 164
stop();
n = 1;
balls = 1;
tellTarget ("/distance_info") {
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
status = "practice";
};
tellTarget ("/ball") {
gotoAndStop (1);
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
gravity = 0.295;
zheight = 0.2;
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
woodhit = 0;
woodhit2 = 0;
Instance of Symbol 236 MovieClip "ball" in Frame 164
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 170
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.18;
velz = power * 0.13;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
Frame 171
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale_dr");
call("yscale_dr");
call("slopecheck_dr");
call("trees_dr");
call("zheight_dr");
call("bordertest_dr");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 172
gotoAndPlay (171);
xspeed = xspeed * friction;
yspeed = yspeed * friction;
zspeed = (zspeed * friction) - gravity;
zheight = zheight + zspeed;
vertspeed = Math.sqrt(zspeed);
if ((totalspeed < 0.28) and (zheight < 1)) {
xspeed = 0;
yspeed = 0;
totalspeed = 0;
zspeed = 0;
zheight = 0;
gotoAndStop (205);
}
tellTarget ("/distance_info") {
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
shotdistance = int(Math.sqrt(((xpos - xball) * (xpos - xball)) + ((ypos - yball) * (ypos - yball))) / 1.5);
};
if (intrees == false) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
if ((0 < totalspeed) and (totalspeed < 2)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 1);
};
}
if ((totalspeed >= 2) and (totalspeed < 4)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 2);
};
}
if ((totalspeed >= 4) and (totalspeed < 7)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 3);
};
}
if ((totalspeed >= 7) and (totalspeed < 10)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 4);
};
}
if ((totalspeed >= 10) and (totalspeed < 20)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 5);
};
}
Frame 175
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 182
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 190
if (zheight < 0) {
zspeed = -1 * (zspeed * 0.75);
zheight = 0;
}
totalzspeed = Math.sqrt(zspeed * zspeed);
if ((zheight < 0.18) and (4 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce");
};
}
if (((zheight < 0.18) and (totalzspeed < 4)) and (1.5 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce2");
};
}
Frame 199
intrees = trees.hitTest(xpos, ypos, true);
if ((intrees == true) and (zheight < 10)) {
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
tellTarget ("/distance_info") {
status = "trees";
};
} else {
tellTarget ("/distance_info") {
status = "practise";
};
}
if ((intrees == true) and (10 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
if ((((intrees == true) and (zheight < 10)) and (woodhit < 1)) or ((6 < woodhit2) and (woodhit2 < 8))) {
xspeed = xspeed - (random(4) - 2);
yspeed = yspeed + (random(5) - 2);
friction = 0.85;
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
woodhit = Number(woodhit) + 1;
woodhit2 = Number(woodhit2) + 1;
}
Frame 205
tellTarget ("/ball") {
gotoAndPlay ("dropball");
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _x , xball);
setProperty("/ball", _y , yball);
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
bn = "staticball" add n;
duplicateMovieClip ("staticball", bn, n);
setProperty(bn, _x , xpos);
setProperty(bn, _y , ypos);
n = Number(n) + 1;
balls = Number(balls) + 1;
Set(bn add ":n", n);
zheight = 0.2;
woodhit = 0;
woodhit2 = 0;
Frame 215
if (ypos < 80) {
ypos = 81;
yspeed = -yspeed;
}
if (416 < ypos) {
ypos = 415;
yspeed = -yspeed;
}
Frame 231
stop();
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
ongreen = green.hitTest(xpos, ypos, true);
if (ongreen == true) {
tellTarget ("/club") {
gotoAndStop (15);
};
}
if (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (16);
};
}
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
xdis2 = getProperty("/ball", _x) - getProperty("/hole2", _x);
ydis2 = getProperty("/ball", _y) - getProperty("/hole2", _y);
distance2 = Math.sqrt((xdis2 * xdis2) + (ydis2 * ydis2));
xdis3 = getProperty("/ball", _x) - getProperty("/hole3", _x);
ydis3 = getProperty("/ball", _y) - getProperty("/hole3", _y);
distance3 = Math.sqrt((xdis3 * xdis3) + (ydis3 * ydis3));
xdis4 = getProperty("/ball", _x) - getProperty("/hole4", _x);
ydis4 = getProperty("/ball", _y) - getProperty("/hole4", _y);
distance4 = Math.sqrt((xdis4 * xdis4) + (ydis4 * ydis4));
xdis5 = getProperty("/ball", _x) - getProperty("/hole5", _x);
ydis5 = getProperty("/ball", _y) - getProperty("/hole5", _y);
distance5 = Math.sqrt((xdis5 * xdis5) + (ydis5 * ydis5));
tellTarget ("/ball") {
gotoAndStop (1);
};
if (intrees == true) {
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
}
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
gravity = 0.295;
zheight = 0.2;
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
rmax = 850;
lmax = 0;
tmax = 0;
bmax = 500;
crap = 0;
clubsmash = 0;
Instance of Symbol 236 MovieClip "ball" in Frame 231
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 237
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.18;
velz = power * 0.13;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
Frame 238
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale_pg");
call("yscale_pg");
call("slopecheck_pg");
call("zheight_pg");
call("holecheck_pg");
call("surfacecheck_pg");
call("b_pg");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 239
gotoAndPlay (238);
xspeed = xspeed * friction;
yspeed = yspeed * friction;
zspeed = (zspeed * friction) - gravity;
zheight = zheight + zspeed;
vertspeed = Math.sqrt(zspeed);
if (((totalspeed < 0.28) and (onslope == false)) and (zheight < 1)) {
xspeed = 0;
yspeed = 0;
totalspeed = 0;
zspeed = 0;
zheight = 0;
gotoAndStop (231);
}
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
xdis2 = getProperty("/ball", _x) - getProperty("/hole2", _x);
ydis2 = getProperty("/ball", _y) - getProperty("/hole2", _y);
distance2 = Math.sqrt((xdis2 * xdis2) + (ydis2 * ydis2));
xdis3 = getProperty("/ball", _x) - getProperty("/hole3", _x);
ydis3 = getProperty("/ball", _y) - getProperty("/hole3", _y);
distance3 = Math.sqrt((xdis3 * xdis3) + (ydis3 * ydis3));
xdis4 = getProperty("/ball", _x) - getProperty("/hole4", _x);
ydis4 = getProperty("/ball", _y) - getProperty("/hole4", _y);
distance4 = Math.sqrt((xdis4 * xdis4) + (ydis4 * ydis4));
xdis5 = getProperty("/ball", _x) - getProperty("/hole5", _x);
ydis5 = getProperty("/ball", _y) - getProperty("/hole5", _y);
distance5 = Math.sqrt((xdis5 * xdis5) + (ydis5 * ydis5));
if (intrees == false) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
if ((0 < totalspeed) and (totalspeed < 2)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 1);
};
}
if ((totalspeed >= 2) and (totalspeed < 4)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 2);
};
}
if ((totalspeed >= 4) and (totalspeed < 7)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 3);
};
}
if ((totalspeed >= 7) and (totalspeed < 10)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 4);
};
}
if ((totalspeed >= 10) and (totalspeed < 20)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 5);
};
}
Frame 242
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 249
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 259
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.1;
}
Frame 271
tellTarget ("/ball") {
gotoAndPlay ("dropball");
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _x , xball);
setProperty("/ball", _y , yball);
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
zheight = 0.2;
Frame 281
if (zheight < 0) {
zspeed = -1 * (zspeed * 0.75);
zheight = 0;
}
totalzspeed = Math.sqrt(zspeed * zspeed);
if ((zheight < 0.18) and (4 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce");
};
}
if (((zheight < 0.18) and (totalzspeed < 4)) and (1.5 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce2");
};
}
Frame 288
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == true) and (zheight < 0.15)) {
friction = 0.96;
tellTarget ("/distance_info") {
status = "fairway";
};
}
ongreen = green.hitTest(xpos, ypos, true);
if ((ongreen == true) and (zheight < 0.15)) {
friction = 0.97;
tellTarget ("/distance_info") {
status = "green";
};
tellTarget ("/club") {
gotoAndStop (15);
};
}
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == false) and (zheight < 0.15)) {
friction = 0.92;
tellTarget ("/distance_info") {
status = "rough";
};
}
onrocks = rocks.hitTest(xpos, ypos, true);
if ((onrocks == true) and (zheight < 0.15)) {
friction = 0.975;
tellTarget ("/bounce_sounds") {
gotoAndPlay ("rocks");
};
}
Frame 310
if (ypos < 80) {
ypos = 81;
yspeed = -yspeed;
}
if (416 < ypos) {
ypos = 415;
yspeed = -yspeed;
}
if (xpos < 0) {
xpos = 2;
xspeed = -xspeed;
}
if (850 < xpos) {
xpos = 848;
xspeed = -xspeed;
}
incl_hit = cl_hit.hitTest(xpos, ypos, true);
if (((incl_hit == true) and (clubsmash < 1)) and (5 >= zheight)) {
tellTarget ("/smash") {
gotoAndPlay (23);
};
clubsmash = Number(clubsmash) + 1;
xspeed = xspeed * 0.5;
yspeed = yspeed * 0.5;
}
Frame 316
if (((((((distance < 4) or (distance2 < 4)) or (distance3 < 4)) or (distance4 < 4)) or (distance5 < 4)) and (totalspeed < 1)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndPlay (327);
}
Frame 348
play();
Frame 350
tellTarget ("/") {
setProperty("/ball", _x , random(200) + 150);
setProperty("/ball", _y , random(200) + 180);
clubsmash = 0;
gotoAndStop ("pause_pg");
};
Frame 351
stop();
Frame 354
stop();
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
yardage = int(distance / 1.5);
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
if ((80 < shotdistance) and (yardage < 15)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("almostin");
};
}
if ((160 < shotdistance) and (yardage < 20)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("fancyshot");
};
}
};
tellTarget ("/ball") {
gotoAndStop (1);
};
if (intrees == true) {
treefactor = 0.45;
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
} else {
treefactor = 1;
}
if (inbunker == true) {
tellTarget ("/club") {
gotoAndStop (17);
};
}
ontee = tee.hitTest(xpos, ypos, true);
if (ontee == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((onfairway == true) or (ontee == true)) or (teeshot == true)) {
fwfactor = 1;
} else {
fwfactor = 0.92;
}
ongreen = green.hitTest(xpos, ypos, true);
if (ongreen == true) {
tellTarget ("/club") {
gotoAndStop (15);
};
}
if (teeshot == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (fairwayshot == 1)) {
tellTarget ("/club") {
gotoAndStop (19);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (1 < fairwayshot)) {
tellTarget ("/club") {
gotoAndStop (20);
};
}
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
gravity = 0.295;
zheight = 0.2;
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
rmax = 850;
lmax = 0;
tmax = 0;
bmax = 500;
woodhit = 0;
woodhit2 = 0;
carpark = 0;
Instance of Symbol 236 MovieClip "ball" in Frame 354
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 359
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (((power * clubfactor) * 0.18) * treefactor) * fwfactor;
velz = ((power * 0.13) * fwfactor) * treefactor;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
teeshot = false;
fairwayshot = Number(fairwayshot) + 1;
Frame 360
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale");
call("yscale");
call("slopecheck");
call("zheight");
call("watercheck");
call("holecheck");
call("surfacecheck");
call("bunkercheck");
call("b");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 361
gotoAndPlay (360);
xspeed = xspeed * friction;
yspeed = yspeed * friction;
zspeed = (zspeed * friction) - gravity;
zheight = zheight + zspeed;
vertspeed = Math.sqrt(zspeed);
if (((((((totalspeed < 0.28) and (onslope == false)) and (oncoltslope_back == false)) and (oncoltslope_backR == false)) and (oncoltslope_front == false)) and (zheight < 1)) and (parkcarhit != true)) {
xspeed = 0;
yspeed = 0;
totalspeed = 0;
zspeed = 0;
zheight = 0;
gotoAndStop (354);
}
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
shotdistance = int(Math.sqrt(((xpos - xball) * (xpos - xball)) + ((ypos - yball) * (ypos - yball))) / 1.5);
};
if (intrees == false) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((0 < totalspeed) and (totalspeed < 2)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 1);
};
}
if ((totalspeed >= 2) and (totalspeed < 4)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 2);
};
}
if ((totalspeed >= 4) and (totalspeed < 7)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 3);
};
}
if ((totalspeed >= 7) and (totalspeed < 10)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 4);
};
}
if ((totalspeed >= 10) and (totalspeed < 20)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 5);
};
}
Frame 364
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 371
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 381
onslope = slope.hitTest(xpos, ypos, true);
if (((onslope == true) and (zheight < 3)) and (slopedir == 7)) {
xspeed = xspeed - 0.1;
yspeed = yspeed - 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 9)) {
xspeed = xspeed + 0.1;
yspeed = yspeed - 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 1)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 2)) {
xspeed = xspeed + 0.05;
yspeed = yspeed + 0.1;
}
oncoltslope_back = coltslope_back.hitTest(xpos, ypos, true);
if ((oncoltslope_back == true) and (zheight < 3)) {
xspeed = xspeed + 0.01;
yspeed = yspeed + 0.09;
}
oncoltslope_backR = coltslope_backR.hitTest(xpos, ypos, true);
if ((oncoltslope_backR == true) and (zheight < 3)) {
xspeed = xspeed - 0.08;
yspeed = yspeed + 0.11;
}
oncoltslope_front = coltslope_front.hitTest(xpos, ypos, true);
if ((oncoltslope_front == true) and (zheight < 3)) {
xspeed = xspeed + 0.03;
yspeed = yspeed - 0.07;
}
Frame 391
inbunker = bunkergroup.hitTest(xpos, ypos, true);
if ((inbunker == true) and (zheight < 0.15)) {
friction = 0.5;
zheight = 0.2;
power = power * 0.2;
tellTarget ("/distance_info") {
status = "bunker";
};
}
Frame 403
if (zheight < 0) {
zspeed = -1 * (zspeed * 0.75);
zheight = 0;
}
totalzspeed = Math.sqrt(zspeed * zspeed);
if ((zheight < 0.18) and (4 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce");
};
}
if (((zheight < 0.18) and (totalzspeed < 4)) and (1.5 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce2");
};
}
Frame 410
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == true) and (zheight < 0.15)) {
friction = 0.96;
tellTarget ("/distance_info") {
status = "fairway";
};
}
ongreen = green.hitTest(xpos, ypos, true);
if ((ongreen == true) and (zheight < 0.15)) {
friction = 0.97;
tellTarget ("/distance_info") {
status = "green";
};
}
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == false) and (zheight < 0.15)) {
friction = 0.92;
tellTarget ("/distance_info") {
status = "rough";
};
}
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
}
onrocks = rocks.hitTest(xpos, ypos, true);
if (((onrocks == true) and (inwater == false)) and (zheight < 0.15)) {
friction = 0.975;
tellTarget ("/bounce_sounds") {
gotoAndPlay ("rocks");
};
tellTarget ("/distance_info") {
status = "path";
};
}
intrees = trees.hitTest(xpos, ypos, true);
if ((intrees == true) and (zheight < 10)) {
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
}
if ((intrees == true) and (10 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
if ((((intrees == true) and (zheight < 10)) and (woodhit < 1)) or ((6 < woodhit2) and (woodhit2 < 8))) {
xspeed = xspeed - (random(4) - 2);
yspeed = yspeed + (random(5) - 2);
friction = 0.85;
tellTarget ("/distance_info") {
status = "trees";
};
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
woodhit = Number(woodhit) + 1;
woodhit2 = Number(woodhit2) + 1;
}
Frame 417
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
xspeed = 0;
yspeed = 0;
tellTarget ("/ball") {
gotoAndStop ("splash");
};
setProperty("/ripple", _x , xpos);
setProperty("/ripple", _y , ypos);
tellTarget ("/ripple") {
play();
};
gotoAndStop (427);
}
Frame 427
tellTarget ("/ball") {
gotoAndPlay ("dropball");
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _x , xball);
setProperty("/ball", _y , yball);
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
zheight = 0.2;
shot = shot + 2;
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Frame 435
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (427);
}
parkcarhit = parkcar.hitTest(xpos, ypos, true);
if (((parkcarhit == true) and (carpark < 1)) and (5 >= zheight)) {
tellTarget ("/smash") {
gotoAndPlay (2);
};
carpark = Number(carpark) + 1;
}
Frame 438
if (((distance < 4) and (totalspeed < 1)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (449);
}
Frame 449
tellTarget ("/holeinfo") {
if ((par - shot) == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 1) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if ((par - shot) == 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if ((par - shot) < 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 472
tellTarget ("/rocks") {
nextFrame();
};
tellTarget ("/water") {
nextFrame();
};
tellTarget ("/fairway") {
nextFrame();
};
tellTarget ("/slope") {
nextFrame();
};
tellTarget ("/tee") {
nextFrame();
};
tellTarget ("/green") {
nextFrame();
};
tellTarget ("/bunkergroup") {
nextFrame();
};
tellTarget ("/hole") {
nextFrame();
};
tellTarget ("/trees") {
nextFrame();
};
tellTarget ("/ripplemask") {
nextFrame();
};
tellTarget ("coltslope_back") {
nextFrame();
};
tellTarget ("coltslope_backR") {
nextFrame();
};
tellTarget ("coltslope_front") {
nextFrame();
};
tellTarget ("parkcar") {
nextFrame();
};
tellTarget ("/holeinfo") {
holenumber = Number(holenumber) + 1;
};
tellTarget ("/distance_info") {
shotdistance = "";
};
teeshot = true;
fwfactor = 1;
fairwayshot = 0;
gotoAndStop (354);
Frame 482
stop();
setProperty("/scorecard", _visible , true);
tellTarget ("/scorecard") {
total = (((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8) + hole9;
score = total;
total = Number(total) - 36;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
Frame 490
stop();
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
yardage = int(distance / 1.5);
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
if ((80 < shotdistance) and (yardage < 15)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("almostin");
};
}
if ((160 < shotdistance) and (yardage < 20)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("fancyshot");
};
}
};
tellTarget ("/ball") {
gotoAndStop (1);
};
if (intrees == true) {
treefactor = 0.45;
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
} else {
treefactor = 1;
}
if (inbunker == true) {
tellTarget ("/club") {
gotoAndStop (17);
};
}
ontee = tee.hitTest(xpos, ypos, true);
if (ontee == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((onfairway == true) or (ontee == true)) or (teeshot == true)) {
fwfactor = 1;
} else {
fwfactor = 0.92;
}
ongreen = green.hitTest(xpos, ypos, true);
if (ongreen == true) {
tellTarget ("/club") {
gotoAndStop (15);
};
}
if (teeshot == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (fairwayshot == 1)) {
tellTarget ("/club") {
gotoAndStop (19);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (1 < fairwayshot)) {
tellTarget ("/club") {
gotoAndStop (20);
};
}
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
gravity = 0.295;
zheight = 0.2;
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
rmax = 850;
lmax = 0;
tmax = 0;
bmax = 500;
woodhit = 0;
woodhit2 = 0;
clubsmash = 0;
Instance of Symbol 236 MovieClip "ball" in Frame 490
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 495
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (((power * clubfactor) * 0.18) * treefactor) * fwfactor;
velz = ((power * 0.13) * fwfactor) * treefactor;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
teeshot = false;
fairwayshot = Number(fairwayshot) + 1;
Frame 496
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale_a");
call("yscale_a");
call("slopecheck_a");
call("zheight_a");
call("watercheck_a");
call("holecheck_a");
call("surfacecheck_a");
call("bunkercheck_a");
call("b_a");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 497
gotoAndPlay (496);
xspeed = xspeed * friction;
yspeed = yspeed * friction;
zspeed = (zspeed * friction) - gravity;
zheight = zheight + zspeed;
vertspeed = Math.sqrt(zspeed);
if ((((((((totalspeed < 0.28) and (onslope == false)) and (onslopeplat1 == false)) and (onslopeplat2 == false)) and (onslopeplat3 == false)) and (onslopeplat4 == false)) and (zheight < 1)) and (incl_hit != true)) {
xspeed = 0;
yspeed = 0;
totalspeed = 0;
zspeed = 0;
zheight = 0;
gotoAndStop (490);
}
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
shotdistance = int(Math.sqrt(((xpos - xball) * (xpos - xball)) + ((ypos - yball) * (ypos - yball))) / 1.6);
};
if (intrees == false) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((0 < totalspeed) and (totalspeed < 2)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 1);
};
}
if ((totalspeed >= 2) and (totalspeed < 4)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 2);
};
}
if ((totalspeed >= 4) and (totalspeed < 7)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 3);
};
}
if ((totalspeed >= 7) and (totalspeed < 10)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 4);
};
}
if ((totalspeed >= 10) and (totalspeed < 20)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 5);
};
}
Frame 500
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 507
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 517
onslope = slope.hitTest(xpos, ypos, true);
if (((onslope == true) and (zheight < 3)) and (slopedir == 7)) {
xspeed = xspeed - 0.1;
yspeed = yspeed - 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 9)) {
xspeed = xspeed + 0.1;
yspeed = yspeed - 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 1)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 2)) {
xspeed = xspeed + 0.05;
yspeed = yspeed + 0.1;
}
onslopeplat1 = slopeplat1.hitTest(xpos, ypos, true);
if ((onslopeplat1 == true) and (zheight < 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed + 0.05;
}
onslopeplat2 = slopeplat2.hitTest(xpos, ypos, true);
if ((onslopeplat2 == true) and (zheight < 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed - 0.05;
}
onslopeplat3 = slopeplat3.hitTest(xpos, ypos, true);
if ((onslopeplat3 == true) and (zheight < 3)) {
xspeed = xspeed - 0.1;
yspeed = yspeed - 0.05;
}
onslopeplat4 = slopeplat4.hitTest(xpos, ypos, true);
if ((onslopeplat4 == true) and (zheight < 3)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.05;
}
Frame 527
inbunker = bunkergroup.hitTest(xpos, ypos, true);
if ((inbunker == true) and (zheight < 0.15)) {
friction = 0.5;
zheight = 0.2;
power = power * 0.2;
tellTarget ("/distance_info") {
status = "bunker";
};
}
Frame 539
if (zheight < 0) {
zspeed = -1 * (zspeed * 0.75);
zheight = 0;
}
totalzspeed = Math.sqrt(zspeed * zspeed);
if ((zheight < 0.18) and (4 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce");
};
}
if (((zheight < 0.18) and (totalzspeed < 4)) and (1.5 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce2");
};
}
Frame 546
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == true) and (zheight < 0.15)) {
friction = 0.96;
tellTarget ("/distance_info") {
status = "fairway";
};
}
ongreen = green.hitTest(xpos, ypos, true);
if ((ongreen == true) and (zheight < 0.15)) {
friction = 0.97;
tellTarget ("/distance_info") {
status = "green";
};
}
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == false) and (zheight < 0.15)) {
friction = 0.92;
tellTarget ("/distance_info") {
status = "rough";
};
}
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
}
onrocks = rocks.hitTest(xpos, ypos, true);
if (((onrocks == true) and (inwater == false)) and (zheight < 0.15)) {
friction = 0.975;
tellTarget ("/bounce_sounds") {
gotoAndPlay ("rocks");
};
tellTarget ("/distance_info") {
status = "path";
};
}
intrees = trees.hitTest(xpos, ypos, true);
if ((intrees == true) and (zheight < 10)) {
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
}
if ((intrees == true) and (10 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
if ((((intrees == true) and (zheight < 10)) and (woodhit < 1)) or ((6 < woodhit2) and (woodhit2 < 8))) {
xspeed = xspeed - (random(4) - 2);
yspeed = yspeed + (random(5) - 2);
friction = 0.85;
tellTarget ("/distance_info") {
status = "trees";
};
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
woodhit = Number(woodhit) + 1;
woodhit2 = Number(woodhit2) + 1;
}
Frame 553
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
xspeed = 0;
yspeed = 0;
tellTarget ("/ball") {
gotoAndStop ("splash");
};
setProperty("/ripple", _x , xpos);
setProperty("/ripple", _y , ypos);
tellTarget ("/ripple") {
play();
};
gotoAndStop (563);
}
Frame 563
tellTarget ("/ball") {
gotoAndPlay ("dropball");
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _x , xball);
setProperty("/ball", _y , yball);
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
zheight = 0.2;
shot = shot + 2;
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
clubsmash = 0;
Frame 571
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or ((bmax < ypos) and (incl_hit != true))) {
tellTarget ("/out_a") {
gotoAndPlay (2);
};
gotoAndStop (563);
}
incl_hit = cl_hit.hitTest(xpos, ypos, true);
if (((incl_hit == true) and (clubsmash < 1)) and (5 >= zheight)) {
tellTarget ("/smash") {
gotoAndPlay (23);
};
clubsmash = Number(clubsmash) + 1;
xspeed = xspeed * 0.5;
yspeed = yspeed * 0.5;
}
Frame 574
if (((distance < 4) and (totalspeed < 1)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (585);
}
Frame 585
tellTarget ("/holeinfo") {
if ((par - shot) == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 1) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if ((par - shot) == 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if ((par - shot) < 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 608
tellTarget ("/rocks") {
nextFrame();
};
tellTarget ("/water") {
nextFrame();
};
tellTarget ("/fairway") {
nextFrame();
};
tellTarget ("/slope") {
nextFrame();
};
tellTarget ("/tee") {
nextFrame();
};
tellTarget ("/green") {
nextFrame();
};
tellTarget ("/bunkergroup") {
nextFrame();
};
tellTarget ("/hole") {
nextFrame();
};
tellTarget ("/trees") {
nextFrame();
};
tellTarget ("/ripplemask") {
nextFrame();
};
tellTarget ("slopeplat1") {
nextFrame();
};
tellTarget ("slopeplat2") {
nextFrame();
};
tellTarget ("slopeplat3") {
nextFrame();
};
tellTarget ("slopeplat4") {
nextFrame();
};
tellTarget ("clubhouse") {
nextFrame();
};
tellTarget ("cl_hit") {
nextFrame();
};
tellTarget ("/holeinfo") {
holenumber = Number(holenumber) + 1;
};
tellTarget ("/distance_info") {
shotdistance = "";
};
teeshot = true;
fwfactor = 1;
fairwayshot = 0;
gotoAndStop (490);
Frame 618
stop();
setProperty("/scorecard", _visible , true);
tellTarget ("/scorecard") {
total = (((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8) + hole9;
score = total;
total = Number(total) - 35;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
Frame 626
stop();
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
yardage = int(distance / 1.5);
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
if ((80 < shotdistance) and (yardage < 15)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("almostin");
};
}
if ((160 < shotdistance) and (yardage < 20)) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("fancyshot");
};
}
};
tellTarget ("/ball") {
gotoAndStop (1);
};
if (intrees == true) {
treefactor = 0.45;
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
} else {
treefactor = 1;
}
if (inbunker == true) {
tellTarget ("/club") {
gotoAndStop (17);
};
}
ontee = tee.hitTest(xpos, ypos, true);
if (ontee == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((onfairway == true) or (ontee == true)) or (teeshot == true)) {
fwfactor = 1;
} else {
fwfactor = 0.92;
}
ongreen = green.hitTest(xpos, ypos, true);
if (ongreen == true) {
tellTarget ("/club") {
gotoAndStop (15);
};
}
if (teeshot == true) {
tellTarget ("/club") {
gotoAndStop (1);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (fairwayshot == 1)) {
tellTarget ("/club") {
gotoAndStop (19);
};
}
if (((((ontee == false) and (inbunker == false)) and (ongreen == false)) and (teeshot == false)) and (1 < fairwayshot)) {
tellTarget ("/club") {
gotoAndStop (20);
};
}
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
gravity = 0.295;
zheight = 0.2;
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
rmax = 850;
lmax = 0;
tmax = 0;
bmax = 500;
woodhit = 0;
woodhit2 = 0;
Instance of Symbol 236 MovieClip "ball" in Frame 626
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 631
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (((power * clubfactor) * 0.18) * treefactor) * fwfactor;
velz = ((power * 0.13) * fwfactor) * treefactor;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
teeshot = false;
fairwayshot = Number(fairwayshot) + 1;
Frame 632
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale_j");
call("yscale_j");
call("slopecheck_j");
call("zheight_j");
call("watercheck_j");
call("holecheck_j");
call("surfacecheck_j");
call("bunkercheck_j");
call("b_j");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 633
gotoAndPlay (632);
xspeed = xspeed * friction;
yspeed = yspeed * friction;
zspeed = (zspeed * friction) - gravity;
zheight = zheight + zspeed;
vertspeed = Math.sqrt(zspeed);
if (((totalspeed < 0.28) and (onslope == false)) and (zheight < 1)) {
xspeed = 0;
yspeed = 0;
totalspeed = 0;
zspeed = 0;
zheight = 0;
gotoAndStop (626);
}
xdis = getProperty("/ball", _x) - getProperty("/hole", _x);
ydis = getProperty("/ball", _y) - getProperty("/hole", _y);
distance = Math.sqrt((xdis * xdis) + (ydis * ydis));
tellTarget ("/distance_info") {
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
shotdistance = int(Math.sqrt(((xpos - xball) * (xpos - xball)) + ((ypos - yball) * (ypos - yball))) / 1.6);
};
if (intrees == false) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((0 < totalspeed) and (totalspeed < 2)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 1);
};
}
if ((totalspeed >= 2) and (totalspeed < 4)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 2);
};
}
if ((totalspeed >= 4) and (totalspeed < 7)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 3);
};
}
if ((totalspeed >= 7) and (totalspeed < 10)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 4);
};
}
if ((totalspeed >= 10) and (totalspeed < 20)) {
tellTarget ("/ball/golfball") {
gotoAndPlay(_currentframe + 5);
};
}
Frame 636
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 643
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 653
onslope = slope.hitTest(xpos, ypos, true);
if (((onslope == true) and (zheight < 3)) and (slopedir == 7)) {
xspeed = xspeed - 0.07;
yspeed = yspeed - 0.07;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 9)) {
xspeed = xspeed + 0.1;
yspeed = yspeed - 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 1)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed + 0.08;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 2)) {
xspeed = xspeed + 0.05;
yspeed = yspeed + 0.1;
}
if (((onslope == true) and (zheight < 3)) and (slopedir == 5)) {
xspeed = xspeed - 0.1;
}
Frame 663
inbunker = bunkergroup.hitTest(xpos, ypos, true);
if ((inbunker == true) and (zheight < 0.15)) {
friction = 0.5;
zheight = 0.2;
power = power * 0.2;
tellTarget ("/distance_info") {
status = "bunker";
};
}
Frame 675
if (zheight < 0) {
zspeed = -1 * (zspeed * 0.75);
zheight = 0;
}
totalzspeed = Math.sqrt(zspeed * zspeed);
if ((zheight < 0.18) and (4 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce");
};
}
if (((zheight < 0.18) and (totalzspeed < 4)) and (1.5 < totalzspeed)) {
tellTarget ("/bounce_sounds") {
gotoAndPlay ("bounce2");
};
}
Frame 682
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == true) and (zheight < 0.15)) {
friction = 0.96;
tellTarget ("/distance_info") {
status = "fairway";
};
}
ongreen = green.hitTest(xpos, ypos, true);
if ((ongreen == true) and (zheight < 0.15)) {
friction = 0.97;
tellTarget ("/distance_info") {
status = "green";
};
}
onfairway = fairway.hitTest(xpos, ypos, true);
if ((onfairway == false) and (zheight < 0.15)) {
friction = 0.92;
tellTarget ("/distance_info") {
status = "rough";
};
}
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
}
onrocks = rocks.hitTest(xpos, ypos, true);
if (((onrocks == true) and (inwater == false)) and (zheight < 0.15)) {
friction = 0.975;
tellTarget ("/bounce_sounds") {
gotoAndPlay ("rocks");
};
tellTarget ("/distance_info") {
status = "path";
};
}
intrees = trees.hitTest(xpos, ypos, true);
if ((intrees == true) and (zheight < 10)) {
tellTarget ("/ball") {
gotoAndStop ("inthetrees");
};
}
if ((intrees == true) and (10 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
if ((((intrees == true) and (zheight < 10)) and (woodhit < 1)) or ((6 < woodhit2) and (woodhit2 < 8))) {
xspeed = xspeed - (random(4) - 2);
yspeed = yspeed + (random(5) - 2);
friction = 0.85;
tellTarget ("/distance_info") {
status = "trees";
};
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
woodhit = Number(woodhit) + 1;
woodhit2 = Number(woodhit2) + 1;
}
Frame 689
inwater = water.hitTest(xpos, ypos, true);
if ((inwater == true) and (zheight < 0.2)) {
tellTarget ("/distance_info") {
status = "water";
};
xspeed = 0;
yspeed = 0;
tellTarget ("/ball") {
gotoAndStop ("splash");
};
setProperty("/ripple", _x , xpos);
setProperty("/ripple", _y , ypos);
tellTarget ("/ripple") {
play();
};
gotoAndStop (699);
}
Frame 699
tellTarget ("/ball") {
gotoAndPlay ("dropball");
};
tellTarget ("/powerbar") {
gotoAndStop (1);
};
setProperty("/ball", _x , xball);
setProperty("/ball", _y , yball);
setProperty("/ball", _xscale , 100);
setProperty("/ball", _yscale , 100);
zheight = 0.2;
shot = shot + 2;
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Frame 707
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out_j") {
gotoAndPlay (2);
};
gotoAndStop (699);
}
Frame 710
if (((distance < 4) and (totalspeed < 1)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (721);
}
Frame 721
tellTarget ("/holeinfo") {
if ((par - shot) == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if ((par - shot) == 1) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if ((par - shot) == 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if ((par - shot) < 0) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 744
tellTarget ("/rocks") {
nextFrame();
};
tellTarget ("/water") {
nextFrame();
};
tellTarget ("/fairway") {
nextFrame();
};
tellTarget ("/slope") {
nextFrame();
};
tellTarget ("/tee") {
nextFrame();
};
tellTarget ("/green") {
nextFrame();
};
tellTarget ("/bunkergroup") {
nextFrame();
};
tellTarget ("/hole") {
nextFrame();
};
tellTarget ("/trees") {
nextFrame();
};
tellTarget ("/ripplemask") {
nextFrame();
};
tellTarget ("/holeinfo") {
holenumber = Number(holenumber) + 1;
};
tellTarget ("/distance_info") {
shotdistance = "";
};
teeshot = true;
fwfactor = 1;
fairwayshot = 0;
gotoAndStop (626);
Frame 754
stop();
setProperty("/scorecard", _visible , true);
tellTarget ("/scorecard") {
total = (((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8) + hole9;
score = total;
total = Number(total) - 36;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
Symbol 25 Button
on (press) {
gotoAndStop (164);
}
Symbol 27 Button
on (press) {
gotoAndStop (352);
}
Symbol 29 Button
on (press) {
gotoAndStop (231);
}
Symbol 31 Button
on (press) {
gotoAndStop (14);
}
Symbol 33 Button
on (press) {
gotoAndPlay (104);
}
Symbol 35 Button
on (press) {
gotoAndStop (12);
}
Symbol 37 Button
on (press) {
getURL ("http://www.stokeparkclub.com");
}
Symbol 39 Button
on (press) {
gotoAndStop (351);
}
Symbol 47 Button
on (press) {
balls = 0;
while (balls < n) {
crap = staticball add balls;
removeMovieClip(crap);
balls = Number(balls) + 1;
}
gotoAndStop (11);
}
Symbol 49 Button
on (press) {
gotoAndStop (13);
}
Symbol 58 Button
on (press) {
gotoAndStop (12);
}
Symbol 84 Button
on (press) {
getURL ("http://www.stokeparkclub.com", "_blank");
}
Symbol 87 Button
on (press) {
getURL ("mailto:info@stokeparkclub.com");
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 95 Button
on (press) {
dorot = !dorot;
tellTarget ("pointer") {
play();
};
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 100 Button
on (press) {
dorot = !dorot;
tellTarget ("pointer_outline") {
play();
};
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 5
stop();
Symbol 102 MovieClip Frame 71
gotoAndStop (1);
Symbol 105 Button
on (press) {
gotoAndStop (15);
}
Symbol 119 Button
on (press) {
powerset = 1;
play();
}
on (release) {
powerset = 2;
}
Symbol 120 Button
on (press) {
aimset = 2;
}
Symbol 121 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 121 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 121 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 121 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 121 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 121 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 121 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 121 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 121 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 121 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 121 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 121 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 121 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 121 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 121 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 121 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 121 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 121 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 121 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 121 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 121 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 121 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 121 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 121 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 121 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 121 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 121 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 121 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 121 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 121 MovieClip Frame 40
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 64
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "very bad hook!";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 65
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "hook";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 66
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "pull";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 67
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "slight pull";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "PERFECT!";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 69
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "slight push";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 70
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "push";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 71
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "slice";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 72
stop();
tellTarget ("/") {
accuracy = "very bad slice!";
play();
};
Symbol 121 MovieClip Frame 80
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 98
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "very bad hook!";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 99
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "hook";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 100
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "pull";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "PERFECT!";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 102
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "push";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 103
if (aimset == 2) {
stop();
tellTarget ("/") {
accuracy = "slice";
play();
};
} else {
play();
}
Symbol 121 MovieClip Frame 104
stop();
tellTarget ("/") {
accuracy = "very bad slice!";
play();
};
Symbol 122 Button
on (press) {
gotoAndStop (14);
}
Symbol 139 Button
on (press) {
getURL ("http://www.nitrovortex.com", "_blank");
}
Symbol 142 Button
on (press) {
getURL ("mailto:simon@nitrovortex.com", "_blank");
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 15
gotoAndStop (1);
Symbol 147 MovieClip Frame 26
gotoAndStop (1);
Symbol 147 MovieClip Frame 29
stop();
Symbol 147 MovieClip Frame 30
stop();
Symbol 147 MovieClip Frame 38
gotoAndStop (29);
Symbol 147 MovieClip Frame 52
gotoAndStop (1);
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 8
stop();
Symbol 151 MovieClip Frame 18
gotoAndStop (8);
Symbol 151 MovieClip Frame 24
stop();
Symbol 151 MovieClip Frame 33
gotoAndStop (24);
Symbol 151 MovieClip Frame 36
stop();
Symbol 151 MovieClip Frame 42
gotoAndStop (36);
Symbol 153 MovieClip Frame 1
stop();
Symbol 171 Button
on (press) {
gotoAndStop (3);
}
Symbol 176 Button
on (press) {
startDrag ("/club");
}
on (release) {
stopDrag();
}
Symbol 178 Button
on (rollOver, dragOver) {
gotoAndStop (1);
}
Symbol 183 Button
on (rollOver, dragOver) {
gotoAndStop (3);
}
on (press) {
gotoAndStop (2);
box = "Driver";
tellTarget ("/") {
clubfactor = 0.75;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
}
Symbol 184 Button
on (rollOver, dragOver) {
gotoAndStop (4);
}
on (press) {
gotoAndStop (2);
box = "3 Wood";
tellTarget ("/") {
clubfactor = 0.7;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
}
Symbol 185 Button
on (rollOver, dragOver) {
gotoAndStop (5);
}
on (press) {
gotoAndStop (2);
box = "3 Iron";
tellTarget ("/") {
clubfactor = 0.65;
z_degrees = 23;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 186 Button
on (rollOver, dragOver) {
gotoAndStop (6);
}
on (press) {
gotoAndStop (2);
box = "4 Iron";
tellTarget ("/") {
clubfactor = 0.6;
z_degrees = 25;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 187 Button
on (rollOver, dragOver) {
gotoAndStop (7);
}
on (press) {
gotoAndStop (2);
box = "5 Iron";
tellTarget ("/") {
clubfactor = 0.55;
z_degrees = 30;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 188 Button
on (rollOver, dragOver) {
gotoAndStop (8);
}
on (press) {
gotoAndStop (2);
box = "6 Iron";
tellTarget ("/") {
clubfactor = 0.5;
z_degrees = 35;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 189 Button
on (rollOver, dragOver) {
gotoAndStop (9);
}
on (press) {
gotoAndStop (2);
box = "7 Iron";
tellTarget ("/") {
clubfactor = 0.45;
z_degrees = 40;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 190 Button
on (rollOver, dragOver) {
gotoAndStop (10);
}
on (press) {
gotoAndStop (2);
box = "8 Iron";
tellTarget ("/") {
clubfactor = 0.4;
z_degrees = 45;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 191 Button
on (rollOver, dragOver) {
gotoAndStop (11);
}
on (press) {
gotoAndStop (2);
box = "9 Iron";
tellTarget ("/") {
clubfactor = 0.35;
z_degrees = 50;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 192 Button
on (rollOver, dragOver) {
gotoAndStop (12);
}
on (press) {
gotoAndStop (2);
box = "PW";
tellTarget ("/") {
clubfactor = 0.3;
z_degrees = 55;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 193 Button
on (rollOver, dragOver) {
gotoAndStop (13);
}
on (press) {
gotoAndStop (2);
box = "SW";
tellTarget ("/") {
clubfactor = 0.28;
z_degrees = 60;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 194 Button
on (rollOver, dragOver) {
gotoAndStop (14);
}
on (press) {
gotoAndStop (2);
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
}
Symbol 196 Button
on (press) {
gotoAndStop (21);
}
Symbol 197 Button
on (rollOver, dragOver) {
gotoAndStop (19);
}
Symbol 198 Button
on (rollOver, dragOver) {
gotoAndStop (21);
}
on (press) {
gotoAndStop (20);
box = "3 Wood";
tellTarget ("/") {
clubfactor = 0.7;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
}
Symbol 199 Button
on (rollOver, dragOver) {
gotoAndStop (22);
}
on (press) {
gotoAndStop (20);
box = "3 Iron";
tellTarget ("/") {
clubfactor = 0.65;
z_degrees = 23;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 200 Button
on (rollOver, dragOver) {
gotoAndStop (23);
}
on (press) {
gotoAndStop (20);
box = "4 Iron";
tellTarget ("/") {
clubfactor = 0.6;
z_degrees = 25;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 201 Button
on (rollOver, dragOver) {
gotoAndStop (24);
}
on (press) {
gotoAndStop (20);
box = "5 Iron";
tellTarget ("/") {
clubfactor = 0.55;
z_degrees = 30;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 202 Button
on (rollOver, dragOver) {
gotoAndStop (25);
}
on (press) {
gotoAndStop (20);
box = "6 Iron";
tellTarget ("/") {
clubfactor = 0.5;
z_degrees = 35;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 203 Button
on (rollOver, dragOver) {
gotoAndStop (26);
}
on (press) {
gotoAndStop (20);
box = "7 Iron";
tellTarget ("/") {
clubfactor = 0.45;
z_degrees = 40;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 204 Button
on (rollOver, dragOver) {
gotoAndStop (27);
}
on (press) {
gotoAndStop (20);
box = "8 Iron";
tellTarget ("/") {
clubfactor = 0.4;
z_degrees = 45;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 205 Button
on (rollOver, dragOver) {
gotoAndStop (28);
}
on (press) {
gotoAndStop (20);
box = "9 Iron";
tellTarget ("/") {
clubfactor = 0.35;
z_degrees = 50;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 206 Button
on (rollOver, dragOver) {
gotoAndStop (29);
}
on (press) {
gotoAndStop (20);
box = "PW";
tellTarget ("/") {
clubfactor = 0.3;
z_degrees = 55;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 207 Button
on (rollOver, dragOver) {
gotoAndStop (30);
}
on (press) {
gotoAndStop (20);
box = "SW";
tellTarget ("/") {
clubfactor = 0.28;
z_degrees = 60;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 208 Button
on (rollOver, dragOver) {
gotoAndStop (31);
}
on (press) {
gotoAndStop (20);
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
}
Symbol 210 MovieClip Frame 1
stop();
box = "Driver";
tellTarget ("/") {
clubfactor = 0.75;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
Symbol 210 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 3
stop();
Symbol 210 MovieClip Frame 15
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
Symbol 210 MovieClip Frame 16
stop();
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
Symbol 210 MovieClip Frame 17
box = "SW";
tellTarget ("/") {
clubfactor = 0.28;
z_degrees = 60;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
Symbol 210 MovieClip Frame 19
stop();
box = "3 Wood";
tellTarget ("/") {
clubfactor = 0.7;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
Symbol 210 MovieClip Frame 20
stop();
Symbol 210 MovieClip Frame 21
stop();
Symbol 222 Button
on (press) {
startDrag ("/distance_info");
}
on (release) {
stopDrag();
}
Symbol 228 Button
on (press) {
startDrag ("/powerbar");
}
on (release) {
stopDrag();
}
Symbol 229 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
}
Symbol 230 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 230 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 230 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 230 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 230 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 230 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 230 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 230 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 230 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 230 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 230 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 230 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 230 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 230 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 230 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 230 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 230 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 230 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 230 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 230 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 230 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 230 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 230 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 230 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 230 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 230 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 230 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 230 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 230 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 230 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 230 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
tellTarget ("/sounds") {
play();
};
Symbol 230 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 230 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
} else {
play();
}
Symbol 230 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init_dr");
};
tellTarget ("/sounds") {
play();
};
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 4
stop();
Symbol 235 MovieClip Frame 5
stop();
Symbol 235 MovieClip Frame 6
stop();
Symbol 235 MovieClip Frame 7
stop();
Symbol 235 MovieClip Frame 8
stop();
Symbol 235 MovieClip Frame 9
stop();
Symbol 235 MovieClip Frame 10
stop();
Symbol 235 MovieClip Frame 11
stop();
Symbol 235 MovieClip Frame 12
stop();
Symbol 235 MovieClip Frame 13
stop();
Symbol 235 MovieClip Frame 14
stop();
Symbol 235 MovieClip Frame 15
stop();
Symbol 235 MovieClip Frame 16
stop();
Symbol 235 MovieClip Frame 17
stop();
Symbol 235 MovieClip Frame 18
stop();
Symbol 235 MovieClip Frame 19
stop();
Symbol 235 MovieClip Frame 20
stop();
Symbol 235 MovieClip Frame 21
stop();
Symbol 235 MovieClip Frame 22
stop();
Symbol 235 MovieClip Frame 23
stop();
Symbol 235 MovieClip Frame 24
stop();
Symbol 235 MovieClip Frame 25
stop();
Symbol 235 MovieClip Frame 26
stop();
Symbol 235 MovieClip Frame 27
stop();
Symbol 235 MovieClip Frame 28
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 5
stop();
Symbol 236 MovieClip Frame 71
gotoAndStop (1);
Symbol 239 Button
on (press) {
gotoAndStop (2);
}
Symbol 244 Button
on (press) {
gotoAndStop (1);
}
Symbol 249 Button
on (press) {
startDrag ("/helicopter");
}
on (release) {
stopDrag();
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 15
gotoAndStop (1);
Symbol 252 MovieClip Frame 26
gotoAndStop (1);
Symbol 252 MovieClip Frame 29
stop();
Symbol 252 MovieClip Frame 30
stop();
Symbol 252 MovieClip Frame 38
gotoAndStop (29);
Symbol 252 MovieClip Frame 52
gotoAndStop (1);
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 24
xspeed = 0;
yspeed = 0;
Symbol 254 MovieClip Frame 26
tellTarget ("/") {
xspeed = 0;
yspeed = 0;
gotoAndStop ("waterdrop_pg");
};
Symbol 270 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 270 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 270 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 270 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 270 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 270 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 270 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 270 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 270 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 270 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 270 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 270 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 270 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 270 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 270 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 270 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 270 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 270 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 270 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 270 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 270 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 270 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 270 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 270 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 270 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 270 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 270 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 270 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 270 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 270 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 270 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
tellTarget ("/sounds") {
play();
};
Symbol 270 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 270 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
} else {
play();
}
Symbol 270 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init_pg");
};
tellTarget ("/sounds") {
play();
};
Symbol 276 Button
on (press) {
startDrag ("/holeinfo");
}
on (release) {
stopDrag();
}
Symbol 278 MovieClip Frame 1
stop();
shot = 0;
tellTarget ("/") {
fwfactor = 1;
};
Symbol 278 MovieClip Frame 2
stop();
Symbol 286 Button
on (press) {
gotoAndStop (2);
}
Symbol 288 Button
on (press) {
gotoAndStop (1);
}
Symbol 290 Button
on (press) {
startDrag ("/lobsterinfo");
}
on (release) {
stopDrag();
}
Symbol 291 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 2
stop();
Symbol 292 Button
on (press) {
gotoAndStop (2);
}
Symbol 294 Button
on (press) {
gotoAndStop (1);
}
Symbol 296 Button
on (press) {
startDrag ("/food");
}
on (release) {
stopDrag();
}
Symbol 299 Button
on (press) {
getURL ("http://www.stokeparkclub.com", "_blank");
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 304 Button
on (release) {
score = 200;
getURL ("all_time.php3", "_blank", "POST");
}
Symbol 305 MovieClip Frame 1
stop();
course = "COLT";
Symbol 305 MovieClip Frame 2
stop();
course = "ALISON";
Symbol 305 MovieClip Frame 3
stop();
course = "JACKSON";
Symbol 308 Button
on (press) {
gotoAndStop (1);
}
Symbol 309 Button
on (press) {
gotoAndStop (2);
}
Symbol 310 Button
on (press) {
gotoAndStop (3);
}
Symbol 311 MovieClip Frame 1
stop();
tellTarget ("/teeoffmc") {
gotoAndStop (1);
};
Symbol 311 MovieClip Frame 2
stop();
tellTarget ("/teeoffmc") {
gotoAndStop (2);
};
Symbol 311 MovieClip Frame 3
stop();
tellTarget ("/teeoffmc") {
gotoAndStop (3);
};
Symbol 317 Button
on (release) {
getURL ("http://www.stokeparkclub.com/game", "_blank");
}
Symbol 319 Button
on (press) {
tellTarget ("/") {
gotoAndStop ("pause");
};
}
Symbol 320 Button
on (press) {
tellTarget ("/") {
gotoAndStop ("pause_a");
};
}
Symbol 321 Button
on (press) {
tellTarget ("/") {
gotoAndStop ("pause_j");
};
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
stop();
Symbol 322 MovieClip Frame 3
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 29
tellTarget ("/out") {
gotoAndPlay (2);
};
tellTarget ("/") {
xspeed = 0;
yspeed = 0;
gotoAndStop ("waterdrop");
};
Symbol 335 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 31
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 1
tellTarget ("/holeinfo") {
par = 5;
};
tellTarget ("/scorecard") {
hole = 1;
};
stop();
setProperty("/info", _visible , false);
setProperty("/pavillion", _visible , false);
Symbol 362 MovieClip Frame 2
tellTarget ("/scbutton") {
thru = 1;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 2;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 750);
setProperty("/ball", _y , 435);
setProperty("/ball", _rotation , -160);
setProperty("/hole", _x , 180);
setProperty("/hole", _y , 200);
setProperty("/powerbar", _x , 100);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
setProperty("/lobsterinfo", _visible , false);
setProperty("/pga", _visible , false);
};
Symbol 362 MovieClip Frame 3
tellTarget ("/scbutton") {
thru = 2;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 3;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 250);
setProperty("/ball", _y , 340);
setProperty("/ball", _rotation , -25);
setProperty("/hole", _x , 525);
setProperty("/hole", _y , 227);
};
Symbol 362 MovieClip Frame 4
tellTarget ("/scbutton") {
thru = 3;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 4;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 742);
setProperty("/ball", _y , 400);
setProperty("/ball", _rotation , -170);
setProperty("/hole", _x , 140);
setProperty("/hole", _y , 170);
};
Symbol 362 MovieClip Frame 5
tellTarget ("/scbutton") {
thru = 4;
};
tellTarget ("/holeinfo") {
par = 5;
};
tellTarget ("/scorecard") {
hole = 5;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 50);
setProperty("/ball", _y , 470);
setProperty("/ball", _rotation , -23.8);
setProperty("/hole", _x , 734);
setProperty("/hole", _y , 71);
setProperty("/powerbar", _x , 720);
setProperty("/distance_info", _x , 130);
setProperty("/distance_info", _y , 120);
};
Symbol 362 MovieClip Frame 6
tellTarget ("/scbutton") {
thru = 5;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 6;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 726);
setProperty("/ball", _y , 378);
setProperty("/ball", _rotation , -165);
setProperty("/hole", _x , 150);
setProperty("/hole", _y , 150);
setProperty("/powerbar", _x , 100);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
};
Symbol 362 MovieClip Frame 7
tellTarget ("/scbutton") {
thru = 6;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 7;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 315);
setProperty("/ball", _y , 275);
setProperty("/ball", _rotation , -21);
setProperty("/hole", _x , 525);
setProperty("/hole", _y , 192);
setProperty("/powerbar", _x , 720);
setProperty("/info", _visible , true);
};
Symbol 362 MovieClip Frame 8
tellTarget ("/scbutton") {
thru = 7;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 8;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 700);
setProperty("/ball", _y , 420);
setProperty("/ball", _rotation , -165);
setProperty("/hole", _x , 224);
setProperty("/hole", _y , 183);
setProperty("/powerbar", _x , 100);
setProperty("/info", _visible , false);
};
Symbol 362 MovieClip Frame 9
tellTarget ("/scbutton") {
thru = 8;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 9;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 80);
setProperty("/ball", _y , 440);
setProperty("/ball", _rotation , -29);
setProperty("/hole", _x , 675);
setProperty("/hole", _y , 118);
setProperty("/powerbar", _x , 100);
setProperty("/powerbar", _y , 270);
setProperty("/distance_info", _x , 130);
setProperty("/distance_info", _y , 120);
setProperty("/pavillion", _visible , true);
};
tellTarget ("/nexthole") {
gotoAndStop (2);
};
Symbol 362 MovieClip Frame 10
tellTarget ("/") {
gotoAndStop ("end");
};
Symbol 366 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
tellTarget ("/") {
slopedir = 7;
};
Symbol 376 MovieClip Frame 3
tellTarget ("/") {
slopedir = 1;
};
Symbol 376 MovieClip Frame 6
tellTarget ("/") {
slopedir = 3;
};
Symbol 376 MovieClip Frame 7
tellTarget ("/") {
slopedir = 2;
};
Symbol 376 MovieClip Frame 8
tellTarget ("/") {
slopedir = 7;
};
Symbol 376 MovieClip Frame 9
tellTarget ("/") {
slopedir = 1;
};
Symbol 378 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 434 Button
on (press) {
if (thru == 1) {
tellTarget ("/scorecard") {
total = hole1;
total = Number(total) - 5;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 2) {
tellTarget ("/scorecard") {
total = hole1 + hole2;
total = Number(total) - 9;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 3) {
tellTarget ("/scorecard") {
total = (hole1 + hole2) + hole3;
total = Number(total) - 12;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 4) {
tellTarget ("/scorecard") {
total = ((hole1 + hole2) + hole3) + hole4;
total = Number(total) - 16;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 5) {
tellTarget ("/scorecard") {
total = (((hole1 + hole2) + hole3) + hole4) + hole5;
total = Number(total) - 21;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 6) {
tellTarget ("/scorecard") {
total = ((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6;
total = Number(total) - 25;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 7) {
tellTarget ("/scorecard") {
total = (((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7;
total = Number(total) - 28;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 8) {
tellTarget ("/scorecard") {
total = ((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8;
total = Number(total) - 32;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
gotoAndStop (2);
}
Symbol 436 Button
on (press) {
startDrag ("/scbutton");
}
on (release) {
stopDrag();
}
Symbol 437 Button
on (press) {
gotoAndStop (1);
}
Symbol 439 MovieClip Frame 1
stop();
setProperty("/scorecard", _visible , false);
Symbol 439 MovieClip Frame 2
stop();
setProperty("/scorecard", _visible , true);
Symbol 440 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
}
Symbol 441 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 441 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 441 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 441 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 441 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 441 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 441 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 441 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 441 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 441 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 441 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 441 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 441 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 441 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 441 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 441 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 441 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 441 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 441 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 441 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 441 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 441 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 441 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 441 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 441 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 441 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 441 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 441 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 441 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 441 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 441 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 441 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 441 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 441 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 18
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 447 MovieClip Frame 29
gotoAndStop (1);
Symbol 447 MovieClip Frame 46
gotoAndStop (1);
Symbol 447 MovieClip Frame 68
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 447 MovieClip Frame 190
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 447 MovieClip Frame 244
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 449 Button
on (keyPress "q") {
tellTarget ("/") {
gotoAndPlay ("next");
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 10;
}
};
}
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 2
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 454 Button
on (press) {
gotoAndStop (2);
}
Symbol 456 Button
on (press) {
gotoAndStop (1);
}
Symbol 458 Button
on (press) {
startDrag ("/info");
}
on (release) {
stopDrag();
}
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 462 Button
on (press) {
gotoAndStop (2);
}
Symbol 464 Button
on (press) {
gotoAndStop (1);
}
Symbol 466 Button
on (press) {
startDrag ("/pavillion");
}
on (release) {
stopDrag();
}
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 471 Button
on (press) {
gotoAndStop (2);
}
Symbol 473 Button
on (press) {
gotoAndStop (1);
}
Symbol 475 Button
on (press) {
startDrag ("/pga");
}
on (release) {
stopDrag();
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 499 Button
on (press) {
getURL ("scorecard.php3", "_blank", "POST");
tellTarget ("/") {
gotoAndStop ("menu");
};
}
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 2
course = "COLT";
stop();
Symbol 502 MovieClip Frame 26
stop();
Symbol 503 MovieClip Frame 26
stop();
Symbol 504 Button
on (press) {
tellTarget ("/") {
gotoAndStop ("menu");
};
}
Symbol 506 Button
on (press) {
tellTarget ("/") {
gotoAndPlay ("colt");
};
}
Symbol 507 Button
on (press) {
tellTarget ("/scorecard") {
gotoAndStop (2);
};
play();
}
Symbol 508 MovieClip Frame 26
stop();
Symbol 508 MovieClip Frame 27
stop();
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 24
xspeed = 0;
yspeed = 0;
Symbol 510 MovieClip Frame 48
tellTarget ("/") {
xspeed = 0;
yspeed = 0;
gotoAndStop ("waterdrop_a");
};
Symbol 510 MovieClip Frame 60
tellTarget ("/out_a") {
gotoAndPlay (2);
};
Symbol 515 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 1;
};
stop();
setProperty("/jamesbond", _visible , false);
setProperty("/jamesbond18", _visible , false);
setProperty("/lhw", _visible , false);
Symbol 539 MovieClip Frame 2
tellTarget ("/scbutton") {
thru = 1;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 2;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 340);
setProperty("/ball", _y , 304);
setProperty("/ball", _rotation , -29);
setProperty("/hole", _x , 550);
setProperty("/hole", _y , 200);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
setProperty("/lobsterinfo", _visible , false);
};
Symbol 539 MovieClip Frame 3
tellTarget ("/scbutton") {
thru = 2;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 3;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 740);
setProperty("/ball", _y , 432);
setProperty("/ball", _rotation , -160);
setProperty("/hole", _x , 150);
setProperty("/hole", _y , 153);
};
Symbol 539 MovieClip Frame 4
tellTarget ("/scbutton") {
thru = 3;
};
tellTarget ("/holeinfo") {
par = 5;
};
tellTarget ("/scorecard") {
hole = 4;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 76);
setProperty("/ball", _y , 449);
setProperty("/ball", _rotation , -27);
setProperty("/hole", _x , 734);
setProperty("/hole", _y , 100);
setProperty("/powerbar", _x , 650);
setProperty("/distance_info", _x , 130);
setProperty("/distance_info", _y , 120);
};
Symbol 539 MovieClip Frame 5
tellTarget ("/scbutton") {
thru = 4;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 5;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 730);
setProperty("/ball", _y , 412);
setProperty("/ball", _rotation , -150);
setProperty("/hole", _x , 140);
setProperty("/hole", _y , 170);
setProperty("/powerbar", _x , 150);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
};
Symbol 539 MovieClip Frame 6
tellTarget ("/scbutton") {
thru = 5;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 6;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 240);
setProperty("/ball", _y , 304);
setProperty("/ball", _rotation , -25);
setProperty("/hole", _x , 448);
setProperty("/hole", _y , 195);
setProperty("/powerbar", _x , 690);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
};
Symbol 539 MovieClip Frame 7
tellTarget ("/scbutton") {
thru = 6;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 7;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 670);
setProperty("/ball", _y , 410);
setProperty("/ball", _rotation , -154);
setProperty("/hole", _x , 188);
setProperty("/hole", _y , 170);
setProperty("/powerbar", _x , 200);
};
Symbol 539 MovieClip Frame 8
tellTarget ("/scbutton") {
thru = 7;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 8;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 118);
setProperty("/ball", _y , 420);
setProperty("/ball", _rotation , -25);
setProperty("/hole", _x , 690);
setProperty("/hole", _y , 150);
setProperty("/distance_info", _x , 130);
setProperty("/distance_info", _y , 120);
setProperty("/powerbar", _x , 690);
setProperty("/jamesbond", _visible , true);
};
Symbol 539 MovieClip Frame 9
tellTarget ("/scbutton") {
thru = 8;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 9;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 720);
setProperty("/ball", _y , 400);
setProperty("/ball", _rotation , -156);
setProperty("/hole", _x , 160);
setProperty("/hole", _y , 160);
setProperty("/powerbar", _y , 240);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
setProperty("/jamesbond", _visible , false);
setProperty("/jamesbond18", _visible , true);
setProperty("/lhw", _visible , true);
};
tellTarget ("/nexthole") {
gotoAndStop (2);
};
Symbol 539 MovieClip Frame 10
tellTarget ("/") {
gotoAndStop ("end_a");
};
Symbol 540 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 1
stop();
tellTarget ("/") {
slopedir = 3;
};
Symbol 561 MovieClip Frame 2
tellTarget ("/") {
slopedir = 9;
};
Symbol 561 MovieClip Frame 3
tellTarget ("/") {
slopedir = 9;
};
Symbol 561 MovieClip Frame 6
tellTarget ("/") {
slopedir = 3;
};
Symbol 563 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 581 Button
on (press) {
if (thru == 1) {
tellTarget ("/scorecard") {
total = hole1;
total = Number(total) - 4;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 2) {
tellTarget ("/scorecard") {
total = hole1 + hole2;
total = Number(total) - 7;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 3) {
tellTarget ("/scorecard") {
total = (hole1 + hole2) + hole3;
total = Number(total) - 11;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 4) {
tellTarget ("/scorecard") {
total = ((hole1 + hole2) + hole3) + hole4;
total = Number(total) - 16;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 5) {
tellTarget ("/scorecard") {
total = (((hole1 + hole2) + hole3) + hole4) + hole5;
total = Number(total) - 20;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 6) {
tellTarget ("/scorecard") {
total = ((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6;
total = Number(total) - 23;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 7) {
tellTarget ("/scorecard") {
total = (((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7;
total = Number(total) - 27;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 8) {
tellTarget ("/scorecard") {
total = ((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8;
total = Number(total) - 31;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
gotoAndStop (2);
}
Symbol 582 Button
on (press) {
gotoAndStop (1);
}
Symbol 583 MovieClip Frame 1
stop();
setProperty("/scorecard", _visible , false);
Symbol 583 MovieClip Frame 2
stop();
setProperty("/scorecard", _visible , true);
Symbol 589 MovieClip Frame 1
stop();
shot = 0;
tellTarget ("/") {
fwfactor = 1;
};
Symbol 589 MovieClip Frame 2
stop();
Symbol 590 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
}
Symbol 591 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 591 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 591 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 591 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 591 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 591 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 591 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 591 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 591 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 591 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 591 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 591 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 591 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 591 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 591 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 591 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 591 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 591 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 591 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 591 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 591 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 591 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 591 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 591 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 591 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 591 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 591 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 591 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 591 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 591 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 591 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 591 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 591 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
} else {
play();
}
Symbol 591 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init_a");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 592 Button
on (keyPress "q") {
tellTarget ("/") {
gotoAndPlay ("next_a");
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 10;
}
};
}
Symbol 593 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 2
stop();
Symbol 596 Button
on (press) {
gotoAndStop (2);
}
Symbol 598 Button
on (press) {
gotoAndStop (1);
}
Symbol 600 Button
on (press) {
startDrag ("/jamesbond");
}
on (release) {
stopDrag();
}
Symbol 601 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 2
stop();
Symbol 602 Button
on (press) {
gotoAndStop (2);
}
Symbol 604 Button
on (press) {
gotoAndStop (1);
}
Symbol 606 Button
on (press) {
startDrag ("/jamesbond18");
}
on (release) {
stopDrag();
}
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
stop();
Symbol 614 Button
on (press) {
gotoAndStop (2);
}
Symbol 616 Button
on (press) {
gotoAndStop (1);
}
Symbol 618 Button
on (press) {
startDrag ("/lhw");
}
on (release) {
stopDrag();
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 2
course = "ALISON";
stop();
Symbol 636 MovieClip Frame 26
stop();
Symbol 637 Button
on (press) {
tellTarget ("/") {
gotoAndPlay ("alison");
};
}
Symbol 638 Button
on (press) {
tellTarget ("/scorecard") {
gotoAndStop (2);
};
play();
}
Symbol 639 MovieClip Frame 25
stop();
Symbol 639 MovieClip Frame 26
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 1;
};
stop();
setProperty("/bjd", _visible , false);
Symbol 669 MovieClip Frame 2
tellTarget ("/scbutton") {
thru = 1;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 2;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 642);
setProperty("/ball", _y , 400);
setProperty("/ball", _rotation , -152);
setProperty("/hole", _x , 220);
setProperty("/hole", _y , 200);
setProperty("/powerbar", _x , 100);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
setProperty("/lobsterinfo", _visible , false);
setProperty("/potatoes", _visible , false);
};
Symbol 669 MovieClip Frame 3
tellTarget ("/scbutton") {
thru = 2;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 3;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 270);
setProperty("/ball", _y , 340);
setProperty("/ball", _rotation , -30);
setProperty("/hole", _x , 503);
setProperty("/hole", _y , 227);
setProperty("/powerbar", _x , 720);
};
Symbol 669 MovieClip Frame 4
tellTarget ("/scbutton") {
thru = 3;
};
tellTarget ("/holeinfo") {
par = 5;
};
tellTarget ("/scorecard") {
hole = 4;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 765);
setProperty("/ball", _y , 460);
setProperty("/ball", _rotation , -162);
setProperty("/hole", _x , 100);
setProperty("/hole", _y , 120);
setProperty("/powerbar", _x , 100);
setProperty("/bjd", _visible , true);
};
Symbol 669 MovieClip Frame 5
tellTarget ("/scbutton") {
thru = 4;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 5;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 200);
setProperty("/ball", _y , 410);
setProperty("/ball", _rotation , -25);
setProperty("/hole", _x , 640);
setProperty("/hole", _y , 155);
setProperty("/powerbar", _x , 720);
setProperty("/distance_info", _x , 130);
setProperty("/distance_info", _y , 120);
setProperty("/bjd", _visible , false);
};
Symbol 669 MovieClip Frame 6
tellTarget ("/scbutton") {
thru = 5;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 6;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 726);
setProperty("/ball", _y , 378);
setProperty("/ball", _rotation , -175);
setProperty("/hole", _x , 184);
setProperty("/hole", _y , 150);
setProperty("/powerbar", _x , 100);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
};
Symbol 669 MovieClip Frame 7
tellTarget ("/scbutton") {
thru = 6;
};
tellTarget ("/holeinfo") {
par = 3;
};
tellTarget ("/scorecard") {
hole = 7;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 262);
setProperty("/ball", _y , 300);
setProperty("/ball", _rotation , -17);
setProperty("/hole", _x , 530);
setProperty("/hole", _y , 200);
setProperty("/powerbar", _x , 720);
};
Symbol 669 MovieClip Frame 8
tellTarget ("/scbutton") {
thru = 7;
};
tellTarget ("/holeinfo") {
par = 5;
};
tellTarget ("/scorecard") {
hole = 8;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 760);
setProperty("/ball", _y , 455);
setProperty("/ball", _rotation , -170);
setProperty("/hole", _x , 110);
setProperty("/hole", _y , 90);
setProperty("/powerbar", _x , 100);
};
Symbol 669 MovieClip Frame 9
tellTarget ("/scbutton") {
thru = 8;
};
tellTarget ("/holeinfo") {
par = 4;
};
tellTarget ("/scorecard") {
hole = 9;
};
tellTarget ("/holeinfo") {
gotoAndStop (1);
};
tellTarget ("/") {
setProperty("/ball", _x , 150);
setProperty("/ball", _y , 400);
setProperty("/ball", _rotation , -20);
setProperty("/hole", _x , 568);
setProperty("/hole", _y , 240);
setProperty("/powerbar", _x , 720);
setProperty("/distance_info", _x , 690);
setProperty("/distance_info", _y , 60);
};
tellTarget ("/nexthole") {
gotoAndStop (2);
};
Symbol 669 MovieClip Frame 10
tellTarget ("/") {
gotoAndStop ("end_j");
};
Symbol 673 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 2
tellTarget ("/") {
slopedir = 1;
};
Symbol 677 MovieClip Frame 4
tellTarget ("/") {
slopedir = 1;
};
Symbol 677 MovieClip Frame 6
tellTarget ("/") {
slopedir = 5;
};
Symbol 677 MovieClip Frame 7
tellTarget ("/") {
slopedir = 7;
};
Symbol 678 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
stop();
Symbol 682 Button
on (press) {
if (thru == 1) {
tellTarget ("/scorecard") {
total = hole1;
total = Number(total) - 4;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 2) {
tellTarget ("/scorecard") {
total = hole1 + hole2;
total = Number(total) - 8;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 3) {
tellTarget ("/scorecard") {
total = (hole1 + hole2) + hole3;
total = Number(total) - 11;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 4) {
tellTarget ("/scorecard") {
total = ((hole1 + hole2) + hole3) + hole4;
total = Number(total) - 16;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 5) {
tellTarget ("/scorecard") {
total = (((hole1 + hole2) + hole3) + hole4) + hole5;
total = Number(total) - 20;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 6) {
tellTarget ("/scorecard") {
total = ((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6;
total = Number(total) - 24;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 7) {
tellTarget ("/scorecard") {
total = (((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7;
total = Number(total) - 27;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
if (thru == 8) {
tellTarget ("/scorecard") {
total = ((((((hole1 + hole2) + hole3) + hole4) + hole5) + hole6) + hole7) + hole8;
total = Number(total) - 32;
if (0 < total) {
total = "+" add total;
}
if (total == 0) {
total = " E";
}
};
}
gotoAndStop (2);
}
Symbol 683 Button
on (press) {
gotoAndStop (1);
}
Symbol 684 MovieClip Frame 1
stop();
setProperty("/scorecard", _visible , false);
Symbol 684 MovieClip Frame 2
stop();
setProperty("/scorecard", _visible , true);
Symbol 689 MovieClip Frame 1
stop();
shot = 0;
tellTarget ("/") {
fwfactor = 1;
};
Symbol 689 MovieClip Frame 2
stop();
Symbol 690 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
}
Symbol 691 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 691 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 691 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 691 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 691 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 691 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 691 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 691 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 691 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 691 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 691 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 691 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 691 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 691 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 691 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 691 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 691 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 691 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 691 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 691 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 691 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 691 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 691 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 691 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 691 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 691 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 691 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 691 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 691 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 691 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 691 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 691 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 691 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
} else {
play();
}
Symbol 691 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init_j");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("/holeinfo") {
gotoAndStop (2);
shot = Number(shot) + 1;
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 1;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 1;
}
};
Symbol 692 Button
on (keyPress "q") {
tellTarget ("/") {
gotoAndPlay ("next_j");
};
tellTarget ("/scorecard") {
if (hole == 1) {
hole1 = hole1 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 2) {
hole2 = hole2 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 3) {
hole3 = hole3 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 4) {
hole4 = hole4 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 5) {
hole5 = hole5 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 6) {
hole6 = hole6 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 7) {
hole7 = hole7 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 8) {
hole8 = hole8 + 10;
}
};
tellTarget ("/scorecard") {
if (hole == 9) {
hole9 = hole9 + 10;
}
};
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Symbol 702 Button
on (press) {
gotoAndStop (2);
}
Symbol 704 Button
on (press) {
gotoAndStop (1);
}
Symbol 706 Button
on (press) {
startDrag ("/bjd");
}
on (release) {
stopDrag();
}
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
stop();
Symbol 711 Button
on (press) {
gotoAndStop (2);
}
Symbol 713 Button
on (press) {
gotoAndStop (1);
}
Symbol 715 Button
on (press) {
startDrag ("/potatoes");
}
on (release) {
stopDrag();
}
Symbol 716 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 2
stop();
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 2
course = "JACKSON";
stop();
Symbol 733 MovieClip Frame 26
stop();
Symbol 734 Button
on (press) {
tellTarget ("/") {
gotoAndPlay ("jackson");
};
}
Symbol 735 Button
on (press) {
tellTarget ("/scorecard") {
gotoAndStop (2);
};
play();
}
Symbol 736 MovieClip Frame 25
stop();
Symbol 736 MovieClip Frame 26
stop();