Frame 1
fscommand ("allowscale", "false");
Frame 5
ifFrameLoaded (13) {
gotoAndStop (10);
}
Frame 6
gotoAndPlay (3);
Frame 11
frame = "1";
turn = "1";
Set("/:score", "0");
Set("/:totalScore", "0");
Set("/:extra", "0");
stopAllSounds();
Frame 12
n = "1";
while ("10" >= n) {
tellTarget ("/p" add n) {
gotoAndPlay (1);
};
n = n + "1";
}
resetPins = "0";
Set("/:soundvar", "laugh1");
call("/sounds:playsound");
end = "1";
Frame 13
sensitivity = "10";
sensitivityG = "0";
Set("/motor:gutter", "0");
gutterallow = "1";
setProperty("/left", _visible , "0");
setProperty("/right", _visible , "0");
startDrag ("ball_proxy", true, "0", "380", "350", "380");
stop();
Frame 41
Set("/:soundvar", "ballbounce");
call("/sounds:playsound");
Frame 81
stop();
Symbol 17 Button
on (release) {
play();
}
Symbol 31 MovieClip Frame 1
myname = _name;
myx = getProperty("/" add myname, _x);
myy = getProperty("/" add myname, _y);
Symbol 31 MovieClip Frame 4
if (((((/motor:currentx < (myx + /:sensitivityG)) and ((myx - /:sensitivityG) < /motor:currentx)) and (/motor:currenty < (myy + /:sensitivityG))) and ((myy - /:sensitivityG) < /motor:currenty)) and (/motor:gutter <> "1")) {
Set("/:score", /:score + "1");
Set("/:gutterallow", "0");
} else {
gotoAndPlay (3);
}
Symbol 31 MovieClip Frame 5
x = random("5") + "1";
Symbol 31 MovieClip Frame 7
if (x == "5") {
play();
n = random("3") + "1";
Set("/:soundvar", "pin" add n);
call("/sounds:playsound");
} else {
x = x + "1";
gotoAndPlay (6);
}
Symbol 31 MovieClip Frame 18
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 185
tellTarget ("/endshot") {
play();
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 185
tellTarget ("/endshot") {
play();
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 5
tellTarget (/:soundVar) {
play();
}
Symbol 96 Button
on (release) {
gotoAndStop (12);
}
Symbol 98 MovieClip Frame 1
if (gutter == "0") {
currentY = getProperty("/ball", _y);
setProperty("/ball", _y , currentY - /data:power);
setProperty("/ball", _xscale , currenty / "4.35");
setProperty("/ball", _yscale , currenty / "4.35");
currentX = getProperty("/ball", _x);
setProperty("/ball", _x , currentX + (/data:curve / "3"));
if (currentY < "70") {
tellTarget ("/endshot") {
play();
};
setProperty("/ball", _visible , "0");
}
if (currentY < "30") {
stop();
}
} else if (gutter == "1") {
Set("/:soundvar", "gutter");
call("/sounds:playsound");
Set("/:soundvar", "laugh02");
call("/sounds:playsound");
call("collision");
} else if (gutter == "3") {
currentframe = "";
}
Symbol 98 MovieClip Frame 2
call("action");
gotoAndPlay (1);
Symbol 98 MovieClip Frame 10
setProperty("/" add side, _visible , "1");
frame = "500" - int(currenty);
frame = int(frame / "2.275");
tellTarget ("/" add side) {
gotoAndPlay(/motor:frame);
};
gutter = "2";
setProperty("/ball", _visible , "0");
setProperty("/ball", _x , "175");
setProperty("/ball", _y , "400");
setProperty("/ball", _name , "ball_old");
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
Set("/data:x", getProperty("/ball_proxy", _x));
Set("/data:x", int(/data:x));
tellTarget ("/") {
gotoAndStop ("power");
};
stopDrag();
Symbol 100 MovieClip Frame 3
Set("/data:power", /meterPower:power);
Set("/:sensitivityG", ("5" + (/data:power * "2")) + random("15"));
tellTarget ("/") {
gotoAndStop ("curve");
}
Symbol 100 MovieClip Frame 4
Set("/data:curve", /meterCurve:curve);
tellTarget ("/") {
gotoAndStop ("playBall");
};
setProperty("/ball", _x , /data:x);
tellTarget ("/motor") {
play();
};
gotoAndStop (1);
Symbol 103 Button
on (release) {
tellTarget ("/sequence") {
nextFrame();
}
}
Symbol 105 MovieClip Frame 1
frame_disp = "Frame " add /:frame;
if (/:turn == "1") {
play();
} else {
stop();
}
Set("/:soundvar", "groan1");
call("/sounds:playsound");
Symbol 105 MovieClip Frame 21
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 5
stop();
tellTarget ("/sequence") {
nextFrame();
}
Symbol 113 MovieClip Frame 1
power = "2";
Symbol 113 MovieClip Frame 2
power = "2";
Symbol 113 MovieClip Frame 3
power = "3";
Symbol 113 MovieClip Frame 4
power = "4";
Symbol 113 MovieClip Frame 5
power = "5";
Symbol 113 MovieClip Frame 6
power = "6";
Symbol 113 MovieClip Frame 7
power = "7";
Symbol 113 MovieClip Frame 8
power = "8";
Symbol 113 MovieClip Frame 9
power = "9";
Symbol 113 MovieClip Frame 10
power = "10";
Symbol 113 MovieClip Frame 11
power = "9";
Symbol 113 MovieClip Frame 12
power = "8";
Symbol 113 MovieClip Frame 13
power = "7";
Symbol 113 MovieClip Frame 14
power = "6";
Symbol 113 MovieClip Frame 15
power = "5";
Symbol 113 MovieClip Frame 16
power = "4";
Symbol 113 MovieClip Frame 17
power = "3";
Symbol 113 MovieClip Frame 18
power = "2";
Symbol 113 MovieClip Frame 19
power = "2";
Symbol 114 Button
on (press) {
tellTarget ("/meterPower") {
stop();
};
tellTarget ("/sequence") {
nextFrame();
}
}
Symbol 117 MovieClip Frame 1
curve = "10";
Symbol 117 MovieClip Frame 2
curve = "9";
Symbol 117 MovieClip Frame 3
curve = "8";
Symbol 117 MovieClip Frame 4
curve = "7";
Symbol 117 MovieClip Frame 5
curve = "6";
Symbol 117 MovieClip Frame 6
curve = "5";
Symbol 117 MovieClip Frame 7
curve = "4";
Symbol 117 MovieClip Frame 8
curve = "3";
Symbol 117 MovieClip Frame 9
curve = "2";
Symbol 117 MovieClip Frame 10
curve = "1";
Symbol 117 MovieClip Frame 11
curve = "0";
Symbol 117 MovieClip Frame 12
curve = "-1";
Symbol 117 MovieClip Frame 13
curve = "-2";
Symbol 117 MovieClip Frame 14
curve = "-3";
Symbol 117 MovieClip Frame 15
curve = "-4";
Symbol 117 MovieClip Frame 16
curve = "-5";
Symbol 117 MovieClip Frame 17
curve = "-6";
Symbol 117 MovieClip Frame 18
curve = "-7";
Symbol 117 MovieClip Frame 19
curve = "-8";
Symbol 117 MovieClip Frame 20
curve = "-9";
Symbol 117 MovieClip Frame 21
curve = "-10";
Symbol 117 MovieClip Frame 22
curve = "-9";
Symbol 117 MovieClip Frame 23
curve = "-8";
Symbol 117 MovieClip Frame 24
curve = "-7";
Symbol 117 MovieClip Frame 25
curve = "-6";
Symbol 117 MovieClip Frame 26
curve = "-5";
Symbol 117 MovieClip Frame 27
curve = "-4";
Symbol 117 MovieClip Frame 28
curve = "-3";
Symbol 117 MovieClip Frame 29
curve = "-2";
Symbol 117 MovieClip Frame 30
curve = "-1";
Symbol 117 MovieClip Frame 31
curve = "0";
Symbol 117 MovieClip Frame 32
curve = "1";
Symbol 117 MovieClip Frame 33
curve = "2";
Symbol 117 MovieClip Frame 34
curve = "3";
Symbol 117 MovieClip Frame 35
curve = "4";
Symbol 117 MovieClip Frame 36
curve = "5";
Symbol 117 MovieClip Frame 37
curve = "6";
Symbol 117 MovieClip Frame 38
curve = "7";
Symbol 117 MovieClip Frame 39
curve = "8";
Symbol 117 MovieClip Frame 40
curve = "9";
Symbol 117 MovieClip Frame 41
curve = "10";
Symbol 118 Button
on (press) {
tellTarget ("/meterCurve") {
stop();
};
tellTarget ("/ball_proxy") {
play();
}
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
if (/:turn == "3") {
Set(("/s" add /:frame) add ":s4", /:Score);
Set("/:totalScore", /:Score + /:totalscore);
Set("/:frame", "11");
}
if (/:frame == "10") {
if (/:turn == "1") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "/") {
Set(("/s" add (/:frame - "1")) add ":s3", /:totalScore + /:score);
}
if ((eval (("/s" add (/:frame - "1")) add ":s2") eq "X") and (/:score <> "10")) {
Set(temp, /:totalScore + /:score);
}
Set("/:turn", "2");
if (/:score == "10") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "X") {
Set(/:totalScore, /:totalScore + /:score);
}
Set("/:soundVar", "strike");
call("/sounds:playsound");
Set("/:soundVar", "strike07");
call("/sounds:playsound");
Set(("/s" add /:frame) add ":s1", "X");
Set("/:totalScore", /:totalScore + /:score);
Set("/:frame", /:frame + "1");
resetPins = "1";
Set("/:turn", "2");
Set("/:score", "0");
} else {
Set(("/s" add /:frame) add ":s1", /:score);
}
} else if (/:turn == "2") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "X") {
Set(("/s" add (/:frame - "1")) add ":s3", (/:totalScore + /:score) + temp);
}
if (/:score == "10") {
Set("/:soundVar", "strike08");
call("/sounds:playsound");
Set(("/s" add /:frame) add ":s2", "/");
Set("/:totalScore", /:score + eval (("/s" add (/:frame - "1")) add ":s3"));
resetPins = "1";
Set("/:turn", "3");
} else {
Set(("/s" add /:frame) add ":s2", /:score - eval (("/s" add /:frame) add ":s1"));
Set("/:totalScore", (eval (("/s" add /:frame) add ":s1") + eval (("/s" add /:frame) add ":s2")) + eval (("/s" add (/:frame - "1")) add ":s3"));
Set(("/s" add /:frame) add ":s3", /:totalScore);
Set("/:frame", "11");
}
Set("/:score", "0");
}
}
Symbol 119 MovieClip Frame 3
if (/:frame < "10") {
if (/:turn == "1") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "/") {
Set(("/s" add (/:frame - "1")) add ":s3", /:totalScore + /:score);
}
if ((eval (("/s" add (/:frame - "1")) add ":s2") eq "X") and (/:score <> "10")) {
Set(temp, /:totalScore + /:score);
}
Set("/:turn", "2");
if (/:score == "10") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "X") {
Set(/:totalScore, /:totalScore + /:score);
}
Set("/:soundVar", "strike");
call("/sounds:playsound");
Set("/:soundVar", "strike07");
call("/sounds:playsound");
Set(("/s" add /:frame) add ":s2", "X");
Set("/:totalScore", /:totalScore + /:score);
Set("/:frame", /:frame + "1");
resetPins = "1";
Set("/:turn", "1");
Set("/:score", "0");
} else {
Set(("/s" add /:frame) add ":s1", /:score);
}
} else if (/:turn == "2") {
if (eval (("/s" add (/:frame - "1")) add ":s2") eq "X") {
Set(("/s" add (/:frame - "1")) add ":s3", (/:totalScore + /:score) + temp);
}
if (/:score == "10") {
Set("/:soundVar", "strike07");
call("/sounds:playsound");
Set(("/s" add /:frame) add ":s2", "/");
Set("/:totalScore", /:score + eval (("/s" add (/:frame - "1")) add ":s3"));
} else {
Set(("/s" add /:frame) add ":s2", /:score - eval (("/s" add /:frame) add ":s1"));
Set("/:totalScore", (eval (("/s" add /:frame) add ":s1") + eval (("/s" add /:frame) add ":s2")) + eval (("/s" add (/:frame - "1")) add ":s3"));
Set(("/s" add /:frame) add ":s3", /:totalScore);
}
Set("/:turn", "1");
Set("/:frame", /:frame + "1");
resetPins = "1";
Set("/:score", "0");
}
}
Symbol 119 MovieClip Frame 79
if (/:frame == "11") {
stop();
tellTarget ("/") {
gotoAndStop ("end");
};
Set("/:endtext", (((("Wow!" add "\r") add " Your final score was ") add "\r") add /:totalScore) add "!");
n = "1";
while ("10" >= n) {
Set(("/s" add n) add ":s1", "");
Set(("/s" add n) add ":s2", "");
Set(("/s" add n) add ":s3", "");
n = n + "1";
}
}
Symbol 119 MovieClip Frame 80
if (/:frame < "11") {
if (resetPins == "1") {
n = "1";
while ("10" >= n) {
tellTarget ("/p" add n) {
gotoAndPlay (1);
};
n = n + "1";
}
resetPins = "0";
}
tellTarget ("/") {
gotoAndPlay ("aim");
};
gotoAndStop (1);
}
Symbol 120 MovieClip Frame 1
myname = _name;
myx = getProperty("/" add myname, _x);
myy = getProperty("/" add myname, _y);
Symbol 120 MovieClip Frame 2
Set("/debug:new", (myx add ",") add myy);
call("/debug:compile");
Symbol 120 MovieClip Frame 4
if (((((/motor:currentx < (myx + /:sensitivity)) and ((myx - /:sensitivity) < /motor:currentx)) and (/motor:currenty < (myy + /:sensitivity))) and ((myy - /:sensitivity) < /motor:currenty)) and (/:gutterallow == "1")) {
Set("/motor:gutter", "1");
if (myx < "175") {
Set("/motor:side", "left");
} else {
Set("/motor:side", "right");
}
play();
} else {
gotoAndPlay (3);
}
Symbol 120 MovieClip Frame 13
stop();
Symbol 127 Button
on (release) {
gotoAndStop (10);
}