Frame 12
stop();
Instance of Symbol 19 MovieClip in Frame 12
/* no clip actions */
Frame 13
play();
Instance of Symbol 205 MovieClip in Frame 13
onClipEvent (load) {
function phaseAlert() {
trace("phase: " + phase);
}
function infoAnimation(frame) {
if ((frame == "strike") or (frame == "spare")) {
ApeFace.gotoAndStop("smile");
}
if (frame == "fallout") {
ApeFace.gotoAndStop("angry");
}
infoScreen.gotoAndPlay(frame);
phase = "off";
phaseAlert();
}
function hit3Dpins(x) {
directionArry = ["L", "R"];
if (((pinThrow == true) and (4 >= visibleCount)) and (percStrike == 1)) {
pinThrow = false;
if (0 < x) {
pins3D["p" + p].gotoAndPlay("L5");
} else {
pins3D["p" + p].gotoAndPlay("R5");
}
trace("pinthrow");
} else {
randomDirection = directionArry[random(2)];
randomAnimation = randomDirection + (random(5) + 1);
if (pins3D["p" + p]._visible == 1) {
pins3D["p" + p].gotoAndPlay(randomAnimation);
}
}
}
phase = 0;
phaseAlert(phase);
phaseReady = "ready";
laneW = lane._width;
laneH = lane._height;
laneX = lane._x;
laneY = lane._y;
ballXstart = ball._x;
ballYstart = ball._y;
frameStart = "true";
aimSpeed = 8;
moveNode = "left";
showScore = 0;
fade = false;
replay = true;
roll = new Sound("roll_mc");
roll.attachSound("roll");
}
onClipEvent (enterFrame) {
function posBall(x) {
ballW = ball._width;
ballX = ball._x;
ballY = ball._y;
if ((laneX - (laneW / 2)) < (ballX - (ballW / 2))) {
if (x == "left") {
ball._x--;
}
}
if ((ballX + (ballW / 2)) < (laneX + (laneW / 2))) {
if (x == "right") {
ball._x++;
}
}
}
function spinFunction(spinDir) {
if (spinMc.spinWheel._rotation == 0) {
spinMc.spinWheel._alpha = 0;
} else {
spinMc.spinWheel._alpha = 100;
}
if (spinDir == "right") {
spinDir == null;
if (spinMc.spinWheel._rotation < 110) {
spinMc.spinWheel._rotation = spinMc.spinWheel._rotation + 10;
}
}
if (spinDir == "left") {
spinDir == null;
if (-110 < spinMc.spinWheel._rotation) {
spinMc.spinWheel._rotation = spinMc.spinWheel._rotation - 10;
}
}
if (spinMc.spinWheel._rotation >= 0) {
spinMc.spinWheel._xscale = 100;
} else {
spinMc.spinWheel._xscale = -100;
}
spin = (spinMc.spinWheel._rotation / 99) / 80;
}
ballW = ball._width;
ballX = ball._x;
ballY = ball._y;
if (phase == 0) {
phaseReady = "ready";
infoAnimation("start");
}
if (phase == 1) {
phaseReady = "ready";
shrink = false;
if (replay == true) {
replay = false;
showScore = 0;
showScoreAdd = 0;
frame = ["1", "a"];
frameStart = "true";
totalPinsDown = 0;
pinsDownA = 0;
pinsDownB = 0;
i = 1;
while (10 >= i) {
this["p" + i]._visible = 1;
scoreBoard[("frame" + i) + "a"].score = undefined;
scoreBoard[("frame" + i) + "b"].score = undefined;
scoreBoard[("frame" + i) + "a"].gotoAndStop(1);
scoreBoard[("frame" + i) + "b"].gotoAndStop(1);
scoreBoard["score" + i] = "";
i++;
}
}
if (frameStart == "true") {
framestart = "false";
ball._x = ballXstart;
ball._y = ballYstart;
aiai._rotation = 0;
aiai.gotoAndStop("start");
aiai.aiai.gotoAndStop(1);
fade = false;
p = 1;
while (10 >= p) {
aimPins["p" + p]._visible = this["p" + p]._visible;
if ((frame[1] == "a") and (5 >= frame[0])) {
pins3D["p" + p].gotoAndStop(1);
}
if (((frame[0] == 5) and (frame[1] == "b")) and (scoreBoard.frame5a._currentframe == 3)) {
pins3D["p" + p].gotoAndStop(1);
}
if (((frame[0] == 6) and (frame[1] == "a")) and (scoreBoard.frame5b._currentframe == 3)) {
pins3D["p" + p].gotoAndStop(1);
}
if (((frame[0] == 6) and (frame[1] == "a")) and (scoreBoard.frame5b._currentframe == 2)) {
pins3D["p" + p].gotoAndStop(1);
}
p++;
}
if ((frame[0] == 6) and (frame[1] == "b")) {
infoAnimation("gameOver");
} else {
infoAnimation("ready");
}
}
spinMc.spinWheel._rotation = 0;
spin = 0;
}
if (phase == 2) {
phaseReady = "ready";
i = 1;
while (7 >= i) {
this["aimNode" + i]._visible = 1;
i++;
}
if (aimNode7._x < (laneX - (laneW / 1.2))) {
moveNode = "right";
if (_root.soundOn == true) {
sounds_mc.gotoAndStop("tick");
}
}
if ((laneX + (laneW / 1.2)) < aimNode7._x) {
moveNode = "left";
if (_root.soundOn == true) {
sounds_mc.gotoAndStop("tock");
}
}
if (moveNode == "right") {
aimNode7._x = aimNode7._x + aimSpeed;
}
if (moveNode == "left") {
aimNode7._x = aimNode7._x - aimSpeed;
}
sideA = ballY - aimNode7._y;
if (aimNode7._x < ballX) {
sideB = ballX - aimNode7._x;
}
if (ballX < aimNode7._x) {
sideB = aimNode7._x - ballX;
}
sideC = Math.sqrt((sideA * sideA) + (sideB * sideB));
angle = ((sideB / sideC) * 180) / Math.PI;
i = 1;
while (6 >= i) {
if (aimNode7._x < ballX) {
nodePos = (ballX - aimNode7._x) / 7;
this["aimNode" + i]._x = ballX + (nodePos * (-i));
}
if (ballX < aimNode7._x) {
nodePos = (aimNode7._x - ballX) / 7;
this["aimNode" + i]._x = ballX - (nodePos * (-i));
}
if (ballX == aimNode7._x) {
this["aimNode" + i]._x = ballX;
}
i++;
}
} else {
i = 1;
while (7 >= i) {
this["aimNode" + i]._visible = 0;
i++;
}
}
if (phase == 3) {
phaseReady = "ready";
pwrMeter._visible = 1;
if (pwrMeter._currentframe == 1) {
pwrDirection = "right";
}
if (pwrMeter._currentframe == 14) {
pwrDirection = "left";
}
if (pwrDirection == "right") {
pwrMeter.nextFrame();
}
if (pwrDirection == "left") {
pwrMeter.prevFrame();
}
speed = (pwrMeter._currentframe / 2) + 2;
} else {
pwrMeter._visible = 0;
}
if (phase == 4) {
phaseReady = "ready";
spinMc._visible = 1;
spinFunction();
spinMc.spinMonkey._rotation = spinMc.spinWheel._rotation;
ballInit = "no";
} else {
spinMc._visible = 0;
}
if (phase == 5) {
if (ballInit == "no") {
ballInit = "yes";
if (_root.soundOn == true) {
roll.start(0, 200);
sounds_mc.gotoAndStop("throw");
}
ballYmoves = (aimNode7._y - ballY) / speed;
if (aimNode7._x < ballX) {
addPos = (ballX - aimNode7._x) / ballYmoves;
}
if (ballX < aimNode7._x) {
addPos = (aimNode7._x - ballX) / (-ballYmoves);
}
}
if (aimNode7._y < ballY) {
ball._y = ball._y - speed;
addPos = addPos + spin;
ball._x = ball._x + addPos;
} else {
phase = 6;
phaseAlert();
}
shrink = false;
if ((ballX < (laneX - (laneW / 2))) or ((laneX + (laneW / 2)) < ballX)) {
fallout = "true";
roll.stop("roll");
shrink = true;
infoAnimation("fallout");
fade = true;
} else {
fallout = "false";
}
if (spin != 0) {
percStrike = random(2);
} else {
percStrike = random(4);
}
}
if ((getTimer() - 800) < crashDuration) {
crash.setVolume(100);
} else {
crash.setVolume(0);
}
if (phase == 6) {
fade = true;
if ((fallout == "false") & ((laneY - laneH) < ball._y)) {
ball._y = ball._y - speed;
addPos = addPos + spin;
ball._x = ball._x + addPos;
p = 1;
while (10 >= p) {
if (ball.hitTest(this["p" + p])) {
this["p" + p]._visible = 0;
hit3Dpins();
}
p++;
}
if ((p1._visible == 0) and (percStrike == 1)) {
p = 1;
while (10 >= p) {
this["p" + p]._visible = 0;
hit3Dpins();
p++;
}
}
visibleCount = 0;
pinThrow = true;
p = 1;
while (10 >= p) {
if (this["p" + p]._visible == 1) {
visibleCount++;
}
p++;
}
if ((4 >= visibleCount) and (percStrike == 1)) {
p = 1;
while (10 >= p) {
this["p" + p]._visible = 0;
x = this["p" + p]._x;
hit3Dpins(x);
p++;
}
}
} else {
checkScore = "true";
}
if (checkScore == "true") {
checkScore = "false";
roll.stop("roll");
p = 1;
while (10 >= p) {
if (this["p" + p]._visible == 0) {
if (frame[1] == "a") {
pinsDownA = pinsDownA + 1;
}
if (frame[1] == "b") {
pinsDownB = pinsDownB + 1;
}
} else {
pinsDownA = pinsDownA + 0;
pinsDownB = pinsDownB + 0;
}
p++;
}
if (frame[1] == "b") {
pinsDownB = pinsDownB - pinsDownA;
if (_root.soundOn == true) {
if (3 < pinsDownB) {
pinsSound = random(3) + 4;
} else {
pinsSound = pinsDownB;
}
crash = new Sound("crash_mc");
crash.attachSound("crash" + pinsSound);
crash.start();
crashDuration = getTimer();
}
} else if (_root.soundOn == true) {
if (3 < pinsDownA) {
pinsSound = random(3) + 4;
} else {
pinsSound = pinsDownA;
}
crash = new Sound("crash_mc");
crash.attachSound("crash" + pinsSound);
crash.start();
crashDuration = getTimer();
}
frameName = frame[0] + frame[1];
if ((frameName == "6a") and (scoreBoard.frame5b._currentframe == 1)) {
pinsDownA = pinsDownA - scoreBoard.frame5b.score;
totalPinsDown = pinsDownA + scoreBoard.frame5b.score;
} else {
totalPinsDown = pinsDownA + pinsDownB;
}
if (frame[1] == "a") {
if (totalPinsDown < 10) {
scoreBoard["frame" + frameName].score = pinsDownA;
if (showScore == 1) {
showScore = 2;
}
if (showScore == 0) {
showScore = 1;
}
showScoreAdd = 0;
infoAnimation("regular");
}
if ((totalPinsDown == 10) and (5 >= frame[0])) {
scoreBoard["frame" + frameName].gotoAndStop(3);
scoreBoard["frame" + frameName].score = pinsDownA;
if (showScore == 1) {
showScore = 2;
showScoreAdd = 0;
}
if (showScore == 0) {
showScore = 1;
showScoreAdd = 1;
}
infoAnimation("strike");
}
if ((((totalPinsDown == 10) and (frame[0] == 6)) and (scoreBoard.frame5b._currentframe == 2)) or (((scoreBoard.frame5b._currentframe == 3) and (totalPinsDown == 10)) and (frame[0] == 6))) {
scoreBoard["frame" + frameName].gotoAndStop(3);
scoreBoard["frame" + frameName].score = pinsDownA;
showScore = 0;
showScoreAdd = 0;
infoAnimation("strike");
}
if (((totalPinsDown == 10) and (frame[0] == 6)) and (scoreBoard.frame5b._currentframe == 1)) {
scoreBoard["frame" + frameName].gotoAndStop(2);
showScore = 0;
showScoreAdd = 0;
infoAnimation("spare");
}
}
if (frame[1] == "b") {
if (totalPinsDown < 10) {
scoreBoard["frame" + frameName].score = pinsDownB;
showScore = 0;
showScoreAdd = 0;
infoAnimation("regular");
}
if (totalPinsDown == 10) {
if (frame[0] != 5) {
scoreBoard["frame" + frameName].gotoAndStop(2);
infoAnimation("spare");
} else if (scoreBoard.frame5a._currentframe == 1) {
scoreBoard["frame" + frameName].gotoAndStop(2);
infoAnimation("spare");
} else {
scoreBoard["frame" + frameName].gotoAndStop(3);
infoAnimation("strike");
}
scoreBoard["frame" + frameName].score = pinsDownB;
showScore = 1;
showScoreAdd = 0;
}
}
if (frameName == "6a") {
showScore = 0;
}
frameNum = Number(frame[0] - showScore);
f = 1;
while (frameNum >= f) {
currentScore = scoreBoard[("frame" + f) + "a"].score + scoreBoard[("frame" + f) + "b"].score;
if (scoreBoard[("frame" + f) + "a"]._currentframe == 1) {
scoreBoard["score" + f] = currentScore;
}
if (scoreBoard[("frame" + f) + "b"]._currentframe == 1) {
scoreBoard["score" + f] = currentScore;
}
if (scoreBoard[("frame" + f) + "b"]._currentframe == 2) {
scoreBoard["score" + f] = currentScore + scoreBoard[("frame" + (f + 1)) + "a"].score;
}
if (scoreBoard[("frame" + f) + "a"]._currentframe == 3) {
if (scoreBoard[("frame" + (f + 1)) + "a"]._currentframe == 1) {
scoreBoard["score" + f] = (currentScore + scoreBoard[("frame" + (f + 1)) + "a"].score) + scoreBoard[("frame" + (f + 1)) + "b"].score;
}
if (scoreBoard[("frame" + (f + 1)) + "a"]._currentframe == 3) {
scoreBoard["score" + f] = (currentScore + 10) + scoreBoard[("frame" + (f + 2)) + "a"].score;
}
}
preScore = scoreBoard["score" + (f - 1)];
scoreBoard["score" + f] = scoreBoard["score" + f] + preScore;
f++;
}
if (((frameName == "6a") and (scoreBoard.frame5b._currentframe == 1)) and (scoreBoard.frame6a._currentframe == 2)) {
scoreBoard.score5 = scoreBoard.score5 + pinsDownA;
trace(pinsDownA);
}
if (5 < frameNum) {
_parent._parent.scoreBowling = scoreBoard.score5;
} else {
_parent._parent.scoreBowling = scoreBoard["score" + frameNum];
}
if (0 < showScore) {
showScore--;
showScore = showScore + showScoreAdd;
}
if ((frame[1] == "a") & (totalPinsDown < 10)) {
frame[1] = "b";
} else {
if (frameName == "5a") {
frame[1] = "b";
if (totalPinsDown == 10) {
p = 1;
while (10 >= p) {
this["p" + p]._visible = 1;
p++;
}
}
} else {
if ((frame[0] < 5) or ((frameName == "5b") and (totalPinsDown == 10))) {
p = 1;
while (10 >= p) {
this["p" + p]._visible = 1;
p++;
}
}
if (frame[0] < 6) {
frame[0] = Number(frame[0]) + 1;
frame[1] = "a";
}
}
totalPinsDown = 0;
pinsDownA = 0;
pinsDownB = 0;
}
frameStart = "true";
}
}
}
Frame 17
stop();
_root.soundOn = true;
loadVariablesNum ("PHPbowlingStart.php?ran=" + random(999), 0);
_root.song = "bowling_song.swf";
if (_root.soundOn == true) {
loadMovieNum ("bowling_song.swf", 100);
}
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip [load_mc] Frame 1
onClipEvent (enterFrame) {
bytesLoaded = _parent._parent.getBytesLoaded();
bytesTotal = _parent._parent.getBytesTotal();
if (bytesLoaded == bytesTotal) {
_parent._parent.gotoAndPlay("start");
} else {
percentLoaded = Math.round(((bytesLoaded * _totalframes) + 2) / bytesTotal);
gotoAndStop(percentLoaded);
}
}
Symbol 15 Button
on (release) {
_root.soundOn = false;
_parent.soundFrame = _level100._currentframe;
_parent.soundSong = _parent.song;
_level100.stop();
stopAllSounds();
gotoAndStop (2);
}
Symbol 18 Button
on (release) {
_root.soundOn = true;
if (_parent.soundSong != _parent.song) {
_parent.soundFrame = 0;
}
if (_root.song == "interface_song.swf") {
loadMovieNum ("interface_song.swf", 100);
}
if (_root.song == "baseball_song.swf") {
loadMovieNum ("baseball_song.swf", 100);
}
if (_root.song == "bowling_song.swf") {
loadMovieNum ("bowling_song.swf", 100);
}
if (_root.song == "target_song.swf") {
_parent.gameWindow.topDown.windSound.start(0, 5000);
loadMovieNum ("target_song.swf", 100);
}
gotoAndStop (1);
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
this._visible = 1;
stop();
Symbol 31 MovieClip Frame 6
this._visible = 0;
stop();
Symbol 31 MovieClip Frame 34
gotoAndStop (6);
Symbol 31 MovieClip Frame 58
gotoAndStop (6);
Symbol 31 MovieClip Frame 69
gotoAndStop (6);
Symbol 31 MovieClip Frame 80
gotoAndStop (6);
Symbol 31 MovieClip Frame 91
gotoAndStop (6);
Symbol 31 MovieClip Frame 102
gotoAndStop (6);
Symbol 31 MovieClip Frame 110
gotoAndStop (6);
Symbol 31 MovieClip Frame 118
gotoAndStop (6);
Symbol 31 MovieClip Frame 127
gotoAndStop (6);
Symbol 31 MovieClip Frame 128
Symbol 31 MovieClip Frame 136
gotoAndStop (6);
Symbol 39 Button
on (keyPress "<Right>") {
if (phase == 1) {
posBall("right");
}
if (phase == 4) {
spinFunction("right");
}
}
on (keyPress "<Left>") {
if (phase == 1) {
posBall("left");
}
if (phase == 4) {
spinFunction("left");
}
}
on (keyPress "<Space>") {
if (4 >= phase) {
if (phaseReady == "ready") {
phaseReady = "waiting";
if (_root.soundOn == true) {
sounds_mc.gotoAndStop("decision");
}
phase++;
phaseAlert();
}
}
}
Instance of Symbol 48 MovieClip "aiai" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 129
gotoAndPlay (1);
Symbol 129 MovieClip Frame 150
gotoAndPlay (1);
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
gotoAndStop (1);
Symbol 154 MovieClip Frame 7
gotoAndStop (1);
Symbol 154 MovieClip Frame 12
gotoAndStop (1);
Symbol 154 MovieClip Frame 17
gotoAndStop (1);
Symbol 154 MovieClip Frame 23
gotoAndStop (1);
Symbol 154 MovieClip Frame 31
gotoAndStop (1);
Symbol 154 MovieClip Frame 39
gotoAndStop (1);
Symbol 154 MovieClip Frame 47
gotoAndStop (1);
Symbol 154 MovieClip Frame 55
gotoAndStop (1);
Symbol 162 Button
on (release) {
play();
}
Symbol 165 Button
on (rollOver) {
gotoAndStop (18);
}
on (rollOut, releaseOutside) {
gotoAndPlay (1);
}
Symbol 169 MovieClip Frame 17
gotoAndPlay (1);
Symbol 169 MovieClip Frame 18
stop();
Symbol 174 Button
on (release) {
getURL ("http://www.sega.com/smb2", "_blank");
}
Symbol 180 Button
on (release) {
loadVariablesNum ("PHPbowlingStart.php?ran=" + random(999), 0);
play();
}
Symbol 197 MovieClip Frame 1
count = 0;
countLimit = 35;
stop();
Symbol 197 MovieClip Frame 9
stop();
Symbol 197 MovieClip Frame 27
_parent.phase = 1;
_parent.phaseAlert();
gotoAndStop (1);
Symbol 197 MovieClip Frame 32
if (_root.soundOn == true) {
_parent.sounds_mc.gotoAndStop("gameover");
}
play();
Symbol 197 MovieClip Frame 37
loadVariablesNum ("PHPbowlingFinish.php?ran=" + random(999), 0);
Symbol 197 MovieClip Frame 38
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 39
prevFrame();
Symbol 197 MovieClip Frame 40
if (_root.gameStyle == 3) {
this.gotoAndPlay("nextGame");
}
Symbol 197 MovieClip Frame 56
if (5 >= _parent.frame[0]) {
f = _parent.frame[0];
} else {
f = 5;
}
score1 = _parent.scoreBoard["score" + f];
score2 = _parent.scoreBoard["score" + f];
Symbol 197 MovieClip Frame 61
stop();
Symbol 197 MovieClip Frame 68
_parent.phase = 1;
_parent.phaseAlert();
_parent.replay = true;
this.gotoAndStop(1);
Symbol 197 MovieClip Frame 69
if (5 >= _parent.frame[0]) {
f = _parent.frame[0];
} else {
f = 5;
}
score1 = _parent.scoreBoard["score" + f];
score2 = _parent.scoreBoard["score" + f];
Symbol 197 MovieClip Frame 74
loadVariablesNum ("PHPbowlingFinish?ran=" + random(999), 0);
Symbol 197 MovieClip Frame 75
if ((countLimit * 2) < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 76
prevFrame();
Symbol 197 MovieClip Frame 82
stop();
loadVariablesNum ("PHPall3Finish.php?ran=" + random(999), 0);
_root.gotoAndPlay("start");
Symbol 197 MovieClip Frame 87
if (_root.soundOn == true) {
_parent.sounds_mc.gotoAndStop("start");
}
play();
Symbol 197 MovieClip Frame 98
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 99
prevFrame();
Symbol 197 MovieClip Frame 105
_parent.phase = 1;
_parent.phaseAlert();
gotoAndStop (1);
Symbol 197 MovieClip Frame 111
play();
Symbol 197 MovieClip Frame 117
if ((countLimit / 2) < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 118
prevFrame();
Symbol 197 MovieClip Frame 122
if ((_parent.frameName == "6a") or ((_parent.frameName == "5b") and (_parent.scoreBoard.frame5a._currentframe == 1))) {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
} else {
_parent.phase = 1;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 197 MovieClip Frame 127
if (_root.soundOn == true) {
_parent.sounds_mc.gotoAndStop("fallout");
}
play();
Symbol 197 MovieClip Frame 133
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 134
prevFrame();
Symbol 197 MovieClip Frame 154
if (_parent.frameName == "6a") {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
}
if ((_parent.frameName == "5b") and (_parent.scoreBoard.frame5a._currentframe == 1)) {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
} else {
_parent.phase = 6;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 197 MovieClip Frame 160
if (_root.soundOn == true) {
_parent.sounds_mc.gotoAndStop("strike");
}
play();
Symbol 197 MovieClip Frame 166
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 167
prevFrame();
Symbol 197 MovieClip Frame 188
if (_parent.frameName == "6a") {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
} else {
_parent.phase = 1;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 197 MovieClip Frame 193
if (_root.soundOn == true) {
_parent.sounds_mc.gotoAndStop("spare");
}
play();
Symbol 197 MovieClip Frame 199
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 200
prevFrame();
Symbol 197 MovieClip Frame 221
if (_parent.frameName == "6a") {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
} else {
_parent.phase = 1;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 197 MovieClip Frame 225
play();
Symbol 197 MovieClip Frame 231
if (countLimit < count) {
count = 0;
gotoAndPlay(_currentframe + 2);
} else {
count++;
play();
}
Symbol 197 MovieClip Frame 232
prevFrame();
Symbol 197 MovieClip Frame 253
if (_parent.frameName == "6a") {
_parent.phase = off;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
_parent.infoAnimation("gameOver");
} else {
_parent.phase = 1;
_parent.phaseAlert();
_parent.ApeFace.gotoAndPlay(1);
gotoAndStop (1);
}
Instance of Symbol 88 MovieClip "aiai" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("start");
xPos = this._x;
}
onClipEvent (enterFrame) {
fl = 220;
zNew = 2.5 * _parent.ball._y;
xNew = _parent.ball._x;
if (_parent.shrink == true) {
this._y = this._y + 1.5;
this._xscale = (this._yscale = this._yscale - 1);
if (xPos < this._x) {
this._x = this._x + 1.5;
} else {
this._x = this._x - 1.5;
}
} else {
this._xscale = (this._yscale = (280 * fl) / ((-zNew) + fl));
this._y = ((this._xscale / 100) * 95) + -260;
this._x = ((this._xscale / 60) * xNew) + xPos;
}
if (_parent.phase == 5) {
frameSpeedBall = _parent.speed + this._currentframe;
if (81 < frameSpeedBall) {
frameSpeedBall = frameSpeedBall - 80;
}
this.gotoAndStop(Math.round(frameSpeedBall));
frameSpeedMonk = _parent.speed + this.aiai._currentframe;
if (41 < frameSpeedMonk) {
frameSpeedMonk = frameSpeedMonk - 40;
}
this.aiai.gotoAndStop(Math.round(frameSpeedMonk));
this._rotation = this._rotation + (_parent.spin * 800);
}
if (_parent.fade == true) {
if (0 < this._alpha) {
this._alpha = this._alpha - 5;
}
} else {
this._alpha = 100;
}
}
Instance of Symbol 105 MovieClip "scoreBoard" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 119 MovieClip "spinMc" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 136 MovieClip "pinTriangle" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
i = 1;
while (10 >= i) {
this["p" + i].gotoAndStop(i);
this["p" + i]._visible = 1;
i++;
}
}
onClipEvent (enterFrame) {
i = 1;
while (10 >= i) {
this["p" + i]._visible = _parent.pins3D["p" + i]._visible;
i++;
}
}
Instance of Symbol 204 MovieClip "aimPins" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_parent.phase == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
fl = 100;
nodes._xscale = (nodes._yscale = 600);
nodes._y = 1300;
i = 1;
while (7 >= i) {
nodes["node" + i]._visible = _parent["aimNode" + i]._visible;
zNewNode = 2.5 * _parent["aimNode" + i]._y;
xNewNode = _parent["aimNode" + i]._x;
nodes["node" + i]._xscale = (nodes["node" + i]._yscale = (280 * fl) / ((-zNewNode) + fl));
nodes["node" + i]._y = ((nodes["node" + i]._xscale / 250) * 200) + -260;
nodes["node" + i]._x = ((nodes["node" + i]._xscale / 32) * xNewNode) + xPos;
i++;
}
}