Frame 1
ifFrameLoaded (1158) {
gotoAndStop (13);
}
Frame 2
ifFrameLoaded (13) {
tellTarget ("progress") {
gotoAndStop (2);
};
}
ifFrameLoaded (38) {
tellTarget ("progress") {
gotoAndStop (3);
};
}
ifFrameLoaded (64) {
tellTarget ("progress") {
gotoAndStop (4);
};
}
ifFrameLoaded (77) {
tellTarget ("progress") {
gotoAndStop (5);
};
}
ifFrameLoaded (197) {
tellTarget ("progress") {
gotoAndStop (6);
};
}
ifFrameLoaded (318) {
tellTarget ("progress") {
gotoAndStop (7);
};
}
ifFrameLoaded (438) {
tellTarget ("progress") {
gotoAndStop (8);
};
}
ifFrameLoaded (558) {
tellTarget ("progress") {
gotoAndStop (9);
};
}
ifFrameLoaded (678) {
tellTarget ("progress") {
gotoAndStop (10);
};
}
ifFrameLoaded (798) {
tellTarget ("progress") {
gotoAndStop (11);
};
}
ifFrameLoaded (918) {
tellTarget ("progress") {
gotoAndStop (12);
};
}
ifFrameLoaded (1038) {
tellTarget ("progress") {
gotoAndStop (13);
};
}
ifFrameLoaded (1158) {
tellTarget ("progress") {
gotoAndStop (14);
};
}
ifFrameLoaded (1154) {
tellTarget ("progress") {
gotoAndStop (15);
};
}
Frame 4
ifFrameLoaded (13) {
tellTarget ("progress") {
gotoAndStop (2);
};
}
ifFrameLoaded (38) {
tellTarget ("progress") {
gotoAndStop (3);
};
}
ifFrameLoaded (64) {
tellTarget ("progress") {
gotoAndStop (4);
};
}
ifFrameLoaded (77) {
tellTarget ("progress") {
gotoAndStop (5);
};
}
ifFrameLoaded (197) {
tellTarget ("progress") {
gotoAndStop (6);
};
}
ifFrameLoaded (318) {
tellTarget ("progress") {
gotoAndStop (7);
};
}
ifFrameLoaded (438) {
tellTarget ("progress") {
gotoAndStop (8);
};
}
ifFrameLoaded (558) {
tellTarget ("progress") {
gotoAndStop (9);
};
}
ifFrameLoaded (678) {
tellTarget ("progress") {
gotoAndStop (10);
};
}
ifFrameLoaded (798) {
tellTarget ("progress") {
gotoAndStop (11);
};
}
ifFrameLoaded (918) {
tellTarget ("progress") {
gotoAndStop (12);
};
}
ifFrameLoaded (1038) {
tellTarget ("progress") {
gotoAndStop (13);
};
}
ifFrameLoaded (1158) {
tellTarget ("progress") {
gotoAndStop (14);
};
}
ifFrameLoaded (1154) {
tellTarget ("progress") {
gotoAndStop (15);
};
}
Frame 6
gotoAndPlay (1);
Frame 13
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Frame 14
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Instance of Symbol 51 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 28
gotoAndStop (14);
tellTarget ("/powerbardemo") {
gotoAndStop (1);
};
Frame 29
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Frame 64
stop();
Frame 65
loadMovieNum ("bgsounds.swf", 1);
loadMovieNum ("scorecard3.swf", 2);
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Frame 76
stop();
Frame 77
setProperty("_level2", _visible , false);
Frame 78
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 78
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 84
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
Frame 85
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 86
gotoAndPlay (85);
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 (78);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 89
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 96
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 106
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.08;
}
Frame 116
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 128
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 135
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 142
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 (152);
}
Frame 152
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 ("_level2.scorecard") {
hole1 = hole1 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 160
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (152);
}
Frame 163
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (174);
}
Frame 174
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 197
gotoAndStop (199);
Frame 199
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 199
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 205
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 206
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale2");
call("yscale2");
call("slopecheck2");
call("zheight2");
call("watercheck2");
call("holecheck2");
call("surfacecheck2");
call("bunkercheck2");
call("b2");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 207
gotoAndPlay (206);
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 (199);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 210
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 217
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 227
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed - 0.08;
}
Frame 237
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 249
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 256
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 263
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 (273);
}
Frame 273
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 ("_level2.scorecard") {
hole2 = hole2 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 282
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (273);
}
Frame 284
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (295);
}
Frame 295
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 318
gotoAndStop (319);
Frame 319
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 319
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 325
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 326
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale3");
call("yscale3");
call("zheight3");
call("watercheck3");
call("holecheck3");
call("surfacecheck3");
call("bunkercheck3");
call("slopecheck3");
call("b3");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 327
gotoAndPlay (326);
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 (319);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 330
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 337
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 352
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.1;
yspeed = yspeed + 0.08;
}
Frame 357
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 369
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 376
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 383
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 (393);
}
Frame 393
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 ("_level2.scorecard") {
hole3 = hole3 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 402
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (393);
}
Frame 404
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (415);
}
Frame 415
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 438
gotoAndStop (439);
Frame 439
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 439
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 445
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 446
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale4");
call("yscale4");
call("slopecheck4");
call("zheight4");
call("watercheck4");
call("holecheck4");
call("surfacecheck4");
call("bunkercheck4");
call("b4");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 447
gotoAndPlay (446);
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 (439);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 450
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 458
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 467
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed + 0.1;
yspeed = yspeed + 0.1;
}
Frame 477
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 489
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 496
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 503
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 (513);
}
Frame 513
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 ("_level2.scorecard") {
hole4 = hole4 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 522
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (513);
}
Frame 524
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (535);
}
Frame 535
tellTarget ("/holeinfo") {
if (shot == 1) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 558
gotoAndStop (559);
Frame 559
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 559
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 565
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 566
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale5");
call("yscale5");
call("slopecheck5");
call("zheight5");
call("watercheck5");
call("holecheck5");
call("surfacecheck5");
call("bunkercheck5");
call("b5");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 567
gotoAndPlay (566);
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 (559);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 572
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 579
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 587
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.12;
yspeed = yspeed + 0.1;
}
Frame 597
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 609
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 616
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 623
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 (633);
}
Frame 633
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 ("_level2.scorecard") {
hole5 = hole5 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 642
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (633);
}
Frame 644
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (655);
}
Frame 655
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 678
gotoAndStop (679);
Frame 679
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 679
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 685
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 686
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale6");
call("yscale6");
call("slopecheck6");
call("zheight6");
call("watercheck6");
call("holecheck6");
call("surfacecheck6");
call("bunkercheck6");
call("b6");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 687
gotoAndPlay (686);
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 (679);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 692
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 699
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 707
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.12;
yspeed = yspeed + 0.1;
}
Frame 717
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 729
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 736
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 743
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 (753);
}
Frame 753
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 ("_level2.scorecard") {
hole6 = hole6 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 762
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (753);
}
Frame 764
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (775);
}
Frame 775
stop();
tellTarget ("/holeinfo") {
if (shot == 1) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 798
gotoAndStop (799);
Frame 799
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 799
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 805
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
Frame 806
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale7");
call("yscale7");
call("zheight7");
call("holecheck7");
call("surfacecheck7");
call("bunkercheck7");
call("b7");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 807
gotoAndPlay (806);
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 (799);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 812
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 819
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 837
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 849
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 856
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";
};
}
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 < 7)) {
tellTarget ("/ball") {
gotoAndStop ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
if ((intrees == true) and (7 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
if (((intrees == true) and (4 < zheight)) and (zheight < 7)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 873
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 ("_level2.scorecard") {
hole6 = hole6 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 882
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (873);
}
Frame 884
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (895);
}
Frame 895
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 918
gotoAndStop (919);
Frame 919
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
Instance of Symbol 51 MovieClip "ball" in Frame 919
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 925
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 926
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale8");
call("yscale8");
call("slopecheck8");
call("zheight8");
call("watercheck8");
call("holecheck8");
call("surfacecheck8");
call("bunkercheck8");
call("b8");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 927
gotoAndPlay (926);
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 (919);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 932
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 939
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 947
onslope = slope8.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed + 0.12;
yspeed = yspeed + 0.1;
}
Frame 957
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 969
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 976
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
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 (7 < zheight)) and (zheight < 10)) {
tellTarget ("/woodsounds") {
gotoAndPlay ("wood");
};
}
Frame 983
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 (993);
}
Frame 993
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 ("_level2.scorecard") {
hole8 = hole8 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 1002
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (993);
}
Frame 1004
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (1015);
}
Frame 1015
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 1038
gotoAndStop (1039);
Frame 1039
stop();
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.6);
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) {
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 = 760;
lmax = 0;
tmax = 0;
bmax = 450;
if ((rmax < xpos) or (xpos < lmax)) {
xspeed = xspeed * -0.5;
}
if ((bmax < ypos) or (ypos < tmax)) {
yspeed = yspeed * -0.5;
}
Instance of Symbol 51 MovieClip "ball" in Frame 1039
onClipEvent (load) {
dorot = false;
}
onClipEvent (enterFrame) {
if (dorot) {
_rotation = (_rotation + Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI));
}
}
Frame 1045
degrees = getProperty("/ball", _rotation);
zheight = 0.2;
angle = (degrees * 3.142) / 180;
z_angle = (z_degrees * 3.142) / 180;
vel = (power * clubfactor) * 0.22;
velz = power * 0.12;
xspeed = vel * Math.cos(angle);
yspeed = vel * Math.sin(angle);
zspeed = velz * Math.sin(z_angle);
friction = 0.96;
tellTarget ("/ball") {
gotoAndStop (2);
};
loopnumber = 1;
Frame 1046
xpos = getProperty("/ball", _x);
ypos = getProperty("/ball", _y);
xpos = xpos + xspeed;
ypos = ypos + yspeed;
call("xscale9");
call("yscale9");
call("slopecheck9");
call("zheight9");
call("watercheck9");
call("holecheck9");
call("surfacecheck9");
call("bunkercheck9");
call("b9");
setProperty("/ball", _xscale , xscale);
setProperty("/ball", _yscale , yscale);
setProperty("/ball", _x , xpos);
setProperty("/ball", _y , ypos);
totalspeed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed));
Frame 1047
gotoAndPlay (1046);
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 (1039);
}
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 (ongreen == false) {
tellTarget ("/club") {
gotoAndStop (2);
};
}
Frame 1052
xscale = getProperty("/ball", _xscale);
xscale = 100 + (zheight * 5);
setProperty("/ball", _xscale , xscale);
Frame 1059
yscale = getProperty("/ball", _yscale);
yscale = 100 + (zheight * 5);
setProperty("/ball", _yscale , yscale);
Frame 1067
onslope = slope.hitTest(xpos, ypos, true);
if ((onslope == true) and (zheight < 3)) {
xspeed = xspeed - 0.12;
yspeed = yspeed + 0.1;
}
Frame 1077
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 1089
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 1096
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";
};
}
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 ("dropball");
};
friction = 0.85;
gravity = 0.7;
tellTarget ("/distance_info") {
status = "trees";
};
}
if ((intrees == true) and (10 < zheight)) {
tellTarget ("/ball") {
gotoAndStop (2);
};
}
if ((intrees == false) and (0.5 < zheight)) {
friction = 0.96;
gravity = 0.295;
}
Frame 1103
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 (1113);
}
Frame 1113
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 ("_level2.scorecard") {
hole9 = hole9 + 1;
total = total + 1;
};
tellTarget ("holeinfo") {
shot = shot + 1;
};
Frame 1122
if ((((xpos < lmax) or (rmax < xpos)) or (ypos < tmax)) or (bmax < ypos)) {
tellTarget ("/out") {
gotoAndPlay (2);
};
gotoAndStop (1113);
}
Frame 1124
if (((distance < 4.6) and (totalspeed < 2)) and (zheight < 0.22)) {
tellTarget ("/ball") {
gotoAndStop ("inhole");
};
gotoAndStop (1135);
}
Frame 1135
tellTarget ("/holeinfo") {
if (shot == 2) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("ace");
};
}
if (shot == 4) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("birdie");
};
}
if (shot == 5) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot == 3) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("clap");
};
}
if (shot >= 6) {
tellTarget ("/crowdsounds") {
gotoAndPlay ("crap");
};
}
};
Frame 1153
tellTarget ("/scbutton") {
gotoAndStop (2);
};
Frame 1154
stop();
Frame 1156
stop();
Frame 1165
stop();
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 2
stop();
Symbol 5 MovieClip Frame 3
stop();
Symbol 5 MovieClip Frame 4
stop();
Symbol 5 MovieClip Frame 5
stop();
Symbol 5 MovieClip Frame 6
stop();
Symbol 5 MovieClip Frame 7
stop();
Symbol 5 MovieClip Frame 8
stop();
Symbol 5 MovieClip Frame 9
stop();
Symbol 5 MovieClip Frame 10
stop();
Symbol 5 MovieClip Frame 11
stop();
Symbol 5 MovieClip Frame 12
stop();
Symbol 5 MovieClip Frame 13
stop();
Symbol 5 MovieClip Frame 14
stop();
Symbol 5 MovieClip Frame 15
stop();
Symbol 20 Button
on (press) {
gotoAndStop (14);
}
Symbol 22 Button
on (press) {
gotoAndPlay (65);
}
Symbol 24 Button
on (press) {
gotoAndPlay (39);
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 44 Button
on (press) {
dorot = !dorot;
tellTarget ("pointer") {
play();
};
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 49 Button
on (press) {
dorot = !dorot;
tellTarget ("pointer_outline") {
play();
};
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 5
stop();
Symbol 51 MovieClip Frame 71
gotoAndStop (1);
Symbol 58 Button
on (press) {
powerset = 1;
play();
}
on (release) {
powerset = 2;
}
Symbol 59 Button
on (press) {
aimset = 2;
}
Symbol 60 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 60 MovieClip Frame 2
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 60 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 60 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 60 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 60 MovieClip Frame 6
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 60 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 60 MovieClip Frame 8
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 60 MovieClip Frame 9
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 60 MovieClip Frame 10
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 60 MovieClip Frame 11
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 60 MovieClip Frame 12
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 60 MovieClip Frame 13
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 60 MovieClip Frame 14
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 60 MovieClip Frame 15
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 60 MovieClip Frame 16
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 60 MovieClip Frame 17
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 60 MovieClip Frame 18
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 60 MovieClip Frame 19
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 60 MovieClip Frame 20
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 60 MovieClip Frame 21
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 60 MovieClip Frame 22
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 60 MovieClip Frame 23
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 60 MovieClip Frame 24
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 60 MovieClip Frame 25
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 60 MovieClip Frame 26
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 60 MovieClip Frame 27
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 60 MovieClip Frame 28
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 60 MovieClip Frame 29
gotoAndPlay (80);
Symbol 60 MovieClip Frame 40
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 64
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 65
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 66
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 67
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 69
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 70
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 71
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 72
stop();
tellTarget ("/") {
play();
};
Symbol 60 MovieClip Frame 80
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 98
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 99
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 100
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 102
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 103
if (aimset == 2) {
stop();
tellTarget ("/") {
play();
};
} else {
play();
}
Symbol 60 MovieClip Frame 104
stop();
tellTarget ("/") {
play();
};
Symbol 65 Button
on (press) {
gotoAndStop (13);
}
Symbol 69 Button
on (press) {
gotoAndStop (14);
}
Symbol 72 Button
on (press) {
gotoAndStop (29);
}
Symbol 91 Button
on (press) {
startDrag ("/holeinfo");
}
on (release) {
stopDrag();
}
Symbol 100 Button
on (release) {
getURL ("mailto:simon@nitrovortex.com");
}
Symbol 106 Button
on (release) {
getURL ("http://www.nitrovortex.com", "_blank");
}
Symbol 109 Button
on (keyPress "<Space>") {
play();
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 8
stop();
Symbol 118 MovieClip Frame 18
gotoAndStop (8);
Symbol 118 MovieClip Frame 24
stop();
Symbol 118 MovieClip Frame 33
gotoAndStop (24);
Symbol 118 MovieClip Frame 36
stop();
Symbol 118 MovieClip Frame 42
gotoAndStop (36);
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 15
gotoAndStop (1);
Symbol 123 MovieClip Frame 26
gotoAndStop (1);
Symbol 123 MovieClip Frame 29
stop();
Symbol 123 MovieClip Frame 30
stop();
Symbol 123 MovieClip Frame 38
gotoAndStop (29);
Symbol 123 MovieClip Frame 52
gotoAndStop (1);
Symbol 136 MovieClip Frame 31
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 163 Button
on (press) {
gotoAndStop (2);
}
Symbol 165 Button
on (press) {
startDrag ("/scbutton");
}
on (release) {
stopDrag();
}
Symbol 166 Button
on (press) {
gotoAndStop (1);
}
Symbol 168 MovieClip Frame 1
stop();
setProperty("_level2", _visible , false);
Symbol 168 MovieClip Frame 2
stop();
setProperty("_level2", _visible , true);
Symbol 172 Button
on (press) {
gotoAndStop (3);
}
Symbol 174 Button
on (press) {
startDrag ("/club");
}
on (release) {
stopDrag();
}
Symbol 175 Button
on (rollOver, dragOver) {
gotoAndStop (1);
}
Symbol 180 Button
on (rollOver, dragOver) {
gotoAndStop (3);
}
on (press) {
gotoAndStop (2);
box = "Driver";
tellTarget ("/") {
clubfactor = 0.75;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
}
Symbol 181 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 182 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 183 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 184 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 185 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 186 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 187 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 188 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 189 Button
on (rollOver, dragOver) {
gotoAndStop (12);
}
on (press) {
gotoAndStop (2);
box = "PW";
tellTarget ("/") {
clubfactor = 0.3;
z_degrees = 55;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 190 Button
on (rollOver, dragOver) {
gotoAndStop (13);
}
on (press) {
gotoAndStop (2);
box = "SW";
tellTarget ("/") {
clubfactor = 0.28;
z_degrees = 60;
};
tellTarget ("/sounds") {
gotoAndStop ("iron");
};
}
Symbol 191 Button
on (rollOver, dragOver) {
gotoAndStop (14);
}
on (press) {
gotoAndStop (2);
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
}
Symbol 193 MovieClip Frame 1
stop();
box = "Driver";
tellTarget ("/") {
clubfactor = 0.75;
z_degrees = 22;
};
tellTarget ("/sounds") {
gotoAndStop ("metalwood");
};
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 15
box = "Putter";
tellTarget ("/") {
clubfactor = 0.23;
z_degrees = 0;
};
tellTarget ("/sounds") {
gotoAndStop ("putt");
};
Symbol 196 MovieClip Frame 1
stop();
Symbol 208 Button
on (press) {
startDrag ("/distance_info");
}
on (release) {
stopDrag();
}
Symbol 214 Button
on (press) {
startDrag ("/powerbar");
}
on (release) {
stopDrag();
}
Symbol 215 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole1 = hole1 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 216 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 216 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 216 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 216 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 216 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 216 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 216 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 216 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 216 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 216 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 216 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 216 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 216 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 216 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 216 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 216 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 216 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 216 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 216 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 216 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 216 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 216 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 216 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 216 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 216 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 216 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 216 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 216 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 216 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 216 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 216 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole1 = hole1 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 216 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 216 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init");
};
} else {
play();
}
Symbol 216 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole1 = hole1 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 218 Button
on (keyPress "q") {
gotoAndStop (199);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 18
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 224 MovieClip Frame 29
gotoAndStop (1);
Symbol 224 MovieClip Frame 46
gotoAndStop (1);
Symbol 224 MovieClip Frame 68
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 224 MovieClip Frame 190
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 224 MovieClip Frame 244
tellTarget ("/") {
play();
};
gotoAndStop (1);
Symbol 228 Button
on (rollOver) {
over = 1;
}
on (press) {
press = 1;
}
on (release) {
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 1);
press = 0;
}
on (rollOut, dragOut, releaseOutside) {
over = 0;
press = 0;
}
Symbol 229 Button
on (rollOver) {
over = 2;
}
on (press) {
press = 2;
}
on (release) {
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 1);
press = 0;
}
on (rollOut, dragOut, releaseOutside) {
over = 0;
press = 0;
}
Symbol 230 MovieClip Frame 1
if ((Number(over) == 1) and (Number(press) == 1)) {
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 5);
}
if ((Number(over) == 2) and (Number(press) == 2)) {
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 5);
}
Symbol 230 MovieClip Frame 2
gotoAndPlay (1);
Symbol 245 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole2 = hole2 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 246 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 246 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 246 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 246 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 246 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 246 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 246 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 246 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 246 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 246 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 246 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 246 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 246 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 246 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 246 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 246 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 246 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 246 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 246 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 246 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 246 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 246 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 246 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 246 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 246 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 246 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 246 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 246 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 246 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 246 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init2");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 246 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init2");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole2 = hole2 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 246 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init2");
};
tellTarget ("/sounds") {
play();
};
} else {
play();
}
Symbol 246 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init2");
};
} else {
play();
}
Symbol 246 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init2");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole2 = hole2 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 247 Button
on (keyPress "q") {
gotoAndStop (319);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 259 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole3 = hole3 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 260 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 260 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 260 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 260 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 260 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 260 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 260 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 260 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 260 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 260 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 260 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 260 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 260 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 260 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 260 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 260 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 260 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 260 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 260 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 260 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 260 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 260 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 260 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 260 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 260 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 260 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 260 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 260 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 260 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 260 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init3");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole3 = hole3 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 260 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 260 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init3");
};
} else {
play();
}
Symbol 260 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init3");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole3 = hole3 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 261 Button
on (keyPress "q") {
gotoAndStop (439);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 272 Button
on (keyPress "q") {
gotoAndStop (559);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 278 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole4 = hole4 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 279 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 279 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 279 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 279 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 279 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 279 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 279 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 279 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 279 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 279 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 279 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 279 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 279 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 279 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 279 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 279 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 279 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 279 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 279 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 279 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 279 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 279 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 279 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 279 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 279 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 279 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 279 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 279 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 279 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 279 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init4");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole4 = hole4 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 279 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 279 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init4");
};
} else {
play();
}
Symbol 279 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init4");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole4 = hole4 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 293 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole5 = hole5 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 294 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 294 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 294 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 294 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 294 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 294 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 294 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 294 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 294 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 294 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 294 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 294 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 294 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 294 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 294 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 294 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 294 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 294 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 294 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 294 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 294 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 294 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 294 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 294 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 294 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 294 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 294 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 294 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 294 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 294 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init5");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole5 = hole5 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 294 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 294 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init5");
};
} else {
play();
}
Symbol 294 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init5");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole5 = hole5 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 300 Button
on (keyPress "q") {
gotoAndStop (679);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 309 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole6 = hole6 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 310 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 310 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 310 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 310 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 310 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 310 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 310 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 310 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 310 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 310 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 310 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 310 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 310 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 310 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 310 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 310 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 310 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 310 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 310 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 310 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 310 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 310 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 310 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 310 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 310 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 310 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 310 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 310 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 310 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 310 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init6");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole6 = hole6 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 310 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 310 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init6");
};
} else {
play();
}
Symbol 310 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init6");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole6 = hole6 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 315 Button
on (keyPress "q") {
gotoAndStop (799);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 322 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole7 = hole7 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 323 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 323 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 323 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 323 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 323 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 323 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 323 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 323 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 323 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 323 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 323 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 323 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 323 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 323 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 323 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 323 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 323 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 323 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 323 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 323 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 323 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 323 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 323 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 323 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 323 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 323 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 323 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 323 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 323 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 323 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init7");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole7 = hole7 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 323 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 323 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init7");
};
} else {
play();
}
Symbol 323 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init7");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole7 = hole7 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 328 Button
on (keyPress "q") {
gotoAndStop (919);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 337 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole8 = hole8 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 338 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 338 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 338 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 338 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 338 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 338 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 338 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 338 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 338 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 338 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 338 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 338 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 338 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 338 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 338 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 338 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 338 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 338 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 338 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 338 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 338 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 338 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 338 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 338 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 338 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 338 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 338 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 338 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 338 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 338 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init8");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole8 = hole8 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 338 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 338 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init8");
};
} else {
play();
}
Symbol 338 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init8");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole8 = hole8 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 343 Button
on (keyPress "q") {
gotoAndStop (1039);
tellTarget ("_level2.scorecard") {
total = total + 15;
};
}
Symbol 352 Button
on (press) {
aimset = 2;
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole9 = hole9 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
}
Symbol 353 MovieClip Frame 1
stop();
powerset = 1;
aimset = 1;
Symbol 353 MovieClip Frame 2
tellTarget ("/") {
power = 5;
};
stop();
if (powerset == 2) {
gotoAndPlay (67);
} else {
play();
}
Symbol 353 MovieClip Frame 3
if (powerset == 2) {
gotoAndPlay (66);
} else {
play();
}
Symbol 353 MovieClip Frame 4
if (powerset == 2) {
gotoAndPlay (65);
} else {
play();
}
Symbol 353 MovieClip Frame 5
if (powerset == 2) {
gotoAndPlay (64);
} else {
play();
}
Symbol 353 MovieClip Frame 6
tellTarget ("/") {
power = 10;
};
if (powerset == 2) {
gotoAndPlay (63);
} else {
play();
}
Symbol 353 MovieClip Frame 7
if (powerset == 2) {
gotoAndPlay (62);
} else {
play();
}
Symbol 353 MovieClip Frame 8
tellTarget ("/") {
power = 15;
};
if (powerset == 2) {
gotoAndPlay (61);
} else {
play();
}
Symbol 353 MovieClip Frame 9
tellTarget ("/") {
power = 20;
};
if (powerset == 2) {
gotoAndPlay (60);
} else {
play();
}
Symbol 353 MovieClip Frame 10
tellTarget ("/") {
power = 25;
};
if (powerset == 2) {
gotoAndPlay (59);
} else {
play();
}
Symbol 353 MovieClip Frame 11
tellTarget ("/") {
power = 30;
};
if (powerset == 2) {
gotoAndPlay (58);
} else {
play();
}
Symbol 353 MovieClip Frame 12
tellTarget ("/") {
power = 35;
};
if (powerset == 2) {
gotoAndPlay (57);
} else {
play();
}
Symbol 353 MovieClip Frame 13
tellTarget ("/") {
power = 40;
};
if (powerset == 2) {
gotoAndPlay (56);
} else {
play();
}
Symbol 353 MovieClip Frame 14
tellTarget ("/") {
power = 45;
};
if (powerset == 2) {
gotoAndPlay (55);
} else {
play();
}
Symbol 353 MovieClip Frame 15
tellTarget ("/") {
power = 50;
};
if (powerset == 2) {
gotoAndPlay (54);
} else {
play();
}
Symbol 353 MovieClip Frame 16
tellTarget ("/") {
power = 55;
};
if (powerset == 2) {
gotoAndPlay (53);
} else {
play();
}
Symbol 353 MovieClip Frame 17
tellTarget ("/") {
power = 60;
};
if (powerset == 2) {
gotoAndPlay (52);
} else {
play();
}
Symbol 353 MovieClip Frame 18
tellTarget ("/") {
power = 65;
};
if (powerset == 2) {
gotoAndPlay (51);
} else {
play();
}
Symbol 353 MovieClip Frame 19
tellTarget ("/") {
power = 70;
};
if (powerset == 2) {
gotoAndPlay (50);
} else {
play();
}
Symbol 353 MovieClip Frame 20
tellTarget ("/") {
power = 75;
};
if (powerset == 2) {
gotoAndPlay (49);
} else {
play();
}
Symbol 353 MovieClip Frame 21
tellTarget ("/") {
power = 80;
};
if (powerset == 2) {
gotoAndPlay (48);
} else {
play();
}
Symbol 353 MovieClip Frame 22
tellTarget ("/") {
power = 85;
};
if (powerset == 2) {
gotoAndPlay (47);
} else {
play();
}
Symbol 353 MovieClip Frame 23
tellTarget ("/") {
power = 90;
};
if (powerset == 2) {
gotoAndPlay (46);
} else {
play();
}
Symbol 353 MovieClip Frame 24
tellTarget ("/") {
power = 95;
};
if (powerset == 2) {
gotoAndPlay (45);
} else {
play();
}
Symbol 353 MovieClip Frame 25
tellTarget ("/") {
power = 100;
};
if (powerset == 2) {
gotoAndPlay (44);
} else {
play();
}
Symbol 353 MovieClip Frame 26
tellTarget ("/") {
power = 105;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 353 MovieClip Frame 27
tellTarget ("/") {
power = 110;
};
if (powerset == 2) {
gotoAndPlay (82);
} else {
play();
}
Symbol 353 MovieClip Frame 28
tellTarget ("/") {
power = 115;
};
if (powerset == 2) {
gotoAndPlay (81);
} else {
play();
}
Symbol 353 MovieClip Frame 29
tellTarget ("/") {
power = 120;
};
gotoAndPlay (80);
Symbol 353 MovieClip Frame 40
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 64
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 15);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 65
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 13);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 66
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 10);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 67
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 8);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 68
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 69
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 8);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 70
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 10);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 71
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 72
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 15);
tellTarget ("/") {
gotoAndPlay ("init9");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole9 = hole9 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 353 MovieClip Frame 80
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
} else {
play();
}
Symbol 353 MovieClip Frame 98
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 25);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 99
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 18);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 100
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) - 12);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 101
if (aimset == 2) {
stop();
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 102
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 12);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 103
if (aimset == 2) {
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 18);
tellTarget ("/") {
gotoAndPlay ("init9");
};
} else {
play();
}
Symbol 353 MovieClip Frame 104
stop();
setProperty("/ball", _rotation , getProperty("/ball", _rotation) + 25);
tellTarget ("/") {
gotoAndPlay ("init9");
};
tellTarget ("/sounds") {
play();
};
tellTarget ("_level2.scorecard") {
hole9 = hole9 + 1;
total = total + 1;
};
tellTarget ("/holeinfo") {
shot = shot + 1;
};
Symbol 362 Button
on (press) {
tellTarget ("_level2") {
gotoAndStop (2);
};
gotoAndStop (1155);
}
Symbol 365 Button
on (press) {
gotoAndStop (1156);
}
Symbol 366 Button
on (press) {
unloadMovieNum (2);
gotoAndStop (13);
}
Symbol 368 Button
on (press) {
gotoAndPlay (65);
unloadMovieNum (2);
}
Symbol 370 Button
on (release) {
fscommand ("quit", "true");
}