Frame 3
flash4 = "yes";
Frame 5
if (flash4 eq "yes") {
gotoAndPlay (11);
}
Frame 12
ifFrameLoaded (28) {
gotoAndStop (15);
}
Frame 14
gotoAndPlay (11);
Frame 15
stop();
Frame 20
stop();
Frame 22
gotoAndPlay (21);
Frame 23
tellTarget ("/Controller") {
gotoAndPlay ("bootup");
};
gotoAndPlay (21);
Frame 24
gotoAndPlay (11);
Frame 26
gotoAndPlay (25);
Frame 27
tellTarget ("/Controller") {
gotoAndPlay ("bootup");
};
gotoAndPlay (25);
Frame 28
gotoAndPlay (11);
Symbol 9 Button
on (release, keyPress "1") {
stopAllSounds();
gotoAndPlay (25);
}
Symbol 10 Button
on (release, keyPress "2") {
stopAllSounds();
gotoAndPlay (21);
}
Symbol 11 Button
on (release, keyPress "i") {
gotoAndPlay (20);
}
Symbol 15 Button
on (release, keyPress "b") {
gotoAndStop (17);
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 5
xAccel = "1";
Symbol 43 MovieClip Frame 7
xAccel = "5";
Symbol 43 MovieClip Frame 8
tellTarget ("../Controller") {
firepower = "2.5";
}
Symbol 43 MovieClip Frame 10
xAccel = "2";
Symbol 43 MovieClip Frame 12
tellTarget ("../Controller") {
firepower = "2";
}
Symbol 43 MovieClip Frame 14
xAccel = "1";
gotoAndStop (1);
Symbol 43 MovieClip Frame 18
gotoAndStop (1);
Symbol 43 MovieClip Frame 22
gotoAndStop (1);
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
Set("../totalscore", "0");
multiball = "0";
Symbol 59 MovieClip Frame 5
stop();
Symbol 59 MovieClip Frame 6
stop();
Symbol 59 MovieClip Frame 7
gotoAndStop (1);
Symbol 59 MovieClip Frame 36
stop();
Symbol 65 Button
on (keyPress "<Down>") {
Bmove = "0";
tellTarget ("/bpad") {
gotoAndPlay ("flap");
}
}
on (keyPress "<Left>") {
Bmove = -"10";
tellTarget ("/bpad") {
gotoAndPlay ("left");
}
}
on (keyPress "<Right>") {
Bmove = "10";
tellTarget ("/bpad") {
gotoAndPlay ("right");
}
}
Symbol 66 Button
on (keyPress "x") {
Tmove = "0";
tellTarget ("/tpad") {
gotoAndPlay ("flap");
}
}
on (keyPress "z") {
Tmove = -"10";
tellTarget ("/tpad") {
gotoAndPlay ("left");
}
}
on (keyPress "c") {
Tmove = "10";
tellTarget ("/tpad") {
gotoAndPlay ("right");
}
}
Symbol 68 Button
on (release, keyPress "<Enter>") {
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);
}
Symbol 69 Button
on (release, keyPress "q") {
tellTarget ("../") {
gotoAndPlay ("reset");
}
}
Symbol 71 MovieClip Frame 1
firepower = "2";
stopAllSounds();
tscore = "9999";
bscore = "9999";
Symbol 71 MovieClip Frame 2
totalscore = "0";
multiball = "0";
xStep = random("5") + "6";
yStep = random("5") + "3";
xModifier = random("10");
yModifier = random("10");
if ("5" < xModifier) {
xStep = xStep - (xStep * "2");
}
if ("5" < yModifier) {
yStep = yStep - (yStep * "2");
}
if ("999" < tscore) {
gotoAndStop (48);
}
if ("999" < bscore) {
gotoAndStop (48);
}
setProperty("/bpad", _y , "321");
setProperty("/tpad", _y , "25");
setProperty("/Ball", _y , "175");
setProperty("/Ball", _x , "150");
setProperty("/Ball2", _y , "1750");
setProperty("/Ball2", _x , "1500");
firepower = "2";
tellTarget ("sound") {
play();
}
Symbol 71 MovieClip Frame 42
BpadTop = getProperty("/bpad", _y) - "10";
BpadBot = getProperty("/bpad", _y) + "10";
BallX = getProperty("/Ball", _x);
BallY = getProperty("/Ball", _y);
setProperty("/Ball", _x , BallX + int(xStep));
setProperty("/Ball", _y , BallY + int(yStep));
BpadX = getProperty("/bpad", _x);
if (multiball == "1") {
BallX2 = getProperty("/Ball2", _x);
BallY2 = getProperty("/Ball2", _y);
setProperty("/Ball2", _x , BallX2 + int(xStep2));
setProperty("/Ball2", _y , BallY2 + int(yStep2));
}
if (BpadX < "39") {
Bmove = "0";
BpadX = "40";
}
if ("256" < BpadX) {
Bmove = "0";
BpadX = "255";
}
setProperty("/bpad", _x , BpadX + Bmove);
BpadLeft = getProperty("/bpad", _x) - "50";
BpadRight = getProperty("/bpad", _x) + "50";
TpadTop = getProperty("/tpad", _y) - "10";
TpadBot = getProperty("/tpad", _y) + "10";
TpadX = getProperty("/tpad", _x);
if (TpadX < "39") {
Tmove = "0";
TpadX = "40";
}
if ("256" < TpadX) {
Tmove = "0";
TpadX = "255";
}
setProperty("/tpad", _x , TpadX + Tmove);
TpadLeft = getProperty("/tpad", _x) - "50";
TpadRight = getProperty("/tpad", _x) + "50";
Symbol 71 MovieClip Frame 43
if (getProperty("/Ball", _y) < "10") {
bscore = bscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep = yStep - (yStep * "2");
xStep = int(xStep - ("0.15" * xAccel));
gotoAndPlay (2);
}
ys2 = yStep - (yStep * "2");
if ("340" < getProperty("/Ball", _y)) {
tscore = tscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep = yStep - (yStep * "2");
xStep = int(xStep - ("0.15" * xAccel));
gotoAndPlay (2);
}
if (("290" < getProperty("/Ball", _x)) or (getProperty("/Ball", _x) < "10")) {
xStep = xStep - (xStep * "2");
yStep = int(yStep - ("0.15" * yAccel));
}
if (("20" < yStep) or ("20" < ys2)) {
tellTarget ("/Ball") {
gotoAndPlay ("flame");
};
} else if (("13" < yStep) or ("13" < ys2)) {
tellTarget ("/Ball") {
gotoAndPlay ("warm");
};
} else {
tellTarget ("/Ball") {
gotoAndPlay ("ball");
};
}
if ((BpadTop < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < BpadBot)) {
if ((BpadLeft < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < BpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep = yStep - (yStep * firepower);
xStep = int(xStep - ("0.15" * xAccel));
setProperty("/Ball", _y , BpadTop - "1");
}
}
if ((TpadTop < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < TpadBot)) {
if ((TpadLeft < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < TpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep = yStep - (yStep * firepower);
xStep = int(xStep - ("0.15" * xAccel));
setProperty("/Ball", _y , TpadBot + "1");
}
}
if ("2" < totalscore) {
tellTarget ("/multi") {
gotoAndStop ("on");
};
if (("130" < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < "170")) {
if (("155" < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < "195")) {
totalscore = "0";
multiball = "1";
tellTarget ("sound") {
gotoAndPlay ("multiball");
};
xStep2 = random("5") + "6";
yStep2 = random("5") + "3";
xModifier2 = random("10");
yModifier2 = random("10");
if ("5" < xModifier2) {
xStep2 = xStep2 - (xStep * "2");
}
if ("5" < yModifier2) {
yStep2 = yStep2 - (yStep2 * "2");
}
setProperty("/Ball2", _y , "175");
setProperty("/Ball2", _x , "150");
}
}
} else {
tellTarget ("/multi") {
gotoAndStop ("off");
};
}
if (multiball == "1") {
totalscore = "0";
if (getProperty("/Ball2", _y) < "10") {
bscore = bscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep2 = yStep2 - (yStep2 * "2");
xStep2 = int(xStep2 - ("0.15" * xAccel));
gotoAndPlay (2);
}
ys22 = yStep2 - (yStep2 * "2");
if ("340" < getProperty("/Ball2", _y)) {
tscore = tscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep2 = yStep2 - (yStep2 * "2");
xStep2 = int(xStep2 - ("0.15" * xAccel));
gotoAndPlay (2);
}
if (("290" < getProperty("/Ball2", _x)) or (getProperty("/Ball2", _x) < "10")) {
xStep2 = xStep2 - (xStep2 * "2");
yStep2 = int(yStep2 - ("0.15" * yAccel));
}
if (("20" < yStep2) or ("20" < ys22)) {
tellTarget ("/Ball2") {
gotoAndPlay ("flame");
};
} else if (("13" < yStep2) or ("13" < ys22)) {
tellTarget ("/Ball2") {
gotoAndPlay ("warm");
};
} else {
tellTarget ("/Ball2") {
gotoAndPlay ("ball");
};
}
if ((BpadTop < getProperty("/Ball2", _y)) and (getProperty("/Ball2", _y) < BpadBot)) {
if ((BpadLeft < getProperty("/Ball2", _x)) and (getProperty("/Ball2", _x) < BpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep2 = yStep2 - (yStep2 * firepower);
xStep2 = int(xStep2 - ("0.15" * xAccel));
setProperty("/Ball2", _y , BpadTop - "1");
}
}
if ((TpadTop < getProperty("/Ball2", _y)) and (getProperty("/Ball2", _y) < TpadBot)) {
if ((TpadLeft < getProperty("/Ball2", _x)) and (getProperty("/Ball2", _x) < TpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep2 = yStep2 - (yStep2 * firepower);
xStep2 = int(xStep2 - ("0.15" * xAccel));
setProperty("/Ball2", _y , TpadBot + "1");
}
}
}
gotoAndPlay (42);
Symbol 71 MovieClip Frame 48
if (tscore == "9999") {
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);
}
if (bscore < tscore) {
message = "Player 1 Wins!";
} else if (tscore < bscore) {
message = "Player 2 Wins!";
} else {
message = "Tie Game!";
}
stopAllSounds();
Symbol 71 MovieClip Frame 49
stop();
Symbol 71 MovieClip Frame 50
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 5
stop();
Symbol 73 MovieClip Frame 13
gotoAndPlay (8);
Symbol 76 MovieClip Frame 1
counter = "120";
stop();
Symbol 76 MovieClip Frame 2
if (counter == "0") {
tellTarget ("../Controller") {
gotoAndPlay ("newgame");
};
gotoAndStop (1);
}
counter = counter - "1";
play();
Symbol 76 MovieClip Frame 24
gotoAndPlay (2);
Symbol 77 MovieClip Frame 1
stop();
stop();
Symbol 77 MovieClip Frame 5
stop();
Symbol 81 Button
on (keyPress "<Down>") {
Bmove = "0";
tellTarget ("/bpad") {
gotoAndPlay ("flap");
}
}
on (keyPress "<Left>") {
Bmove = -"10";
tellTarget ("/bpad") {
gotoAndPlay ("left");
}
}
on (keyPress "<Right>") {
Bmove = "10";
tellTarget ("/bpad") {
gotoAndPlay ("right");
}
}
Symbol 83 Button
on (release, keyPress "<Enter>") {
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);
}
Symbol 84 Button
on (release, keyPress "q") {
tellTarget ("../") {
gotoAndPlay ("reset");
}
}
Symbol 85 MovieClip Frame 1
firepower = "2";
tscore = "9999";
bscore = "9999";
stopAllSounds();
Symbol 85 MovieClip Frame 2
totalscore = "0";
multiball = "0";
xStep = random("5") + "6";
yStep = random("5") + "3";
xModifier = random("10");
yModifier = random("10");
if ("5" < xModifier) {
xStep = xStep - (xStep * "2");
}
if ("5" < yModifier) {
yStep = yStep - (yStep * "2");
}
if ("999" < tscore) {
gotoAndStop (48);
}
if ("999" < bscore) {
gotoAndStop (48);
}
setProperty("/bpad", _y , "321");
setProperty("/tpad", _y , "25");
setProperty("/Ball", _y , "175");
setProperty("/Ball", _x , "150");
setProperty("/Ball2", _y , "1750");
setProperty("/Ball2", _x , "1500");
firepower = "2";
tellTarget ("sound") {
play();
}
Symbol 85 MovieClip Frame 42
if (multiball == "1") {
if (Ball2Y < BallY) {
if (BallX2 < TpadLeft2) {
Tmove = -"10";
xAccel = -"3";
} else if (TpadRight2 < BallX2) {
Tmove = "10";
xAccel = "3";
} else if (BallY < Ball2Y) {
swing = "0";
swing = random("60");
if (swing == "15") {
Tmove = "0";
xAccel = "0";
tellTarget ("/tpad") {
gotoAndPlay ("flap");
};
}
}
} else if (BallX < TpadLeft2) {
Tmove = -"10";
xAccel = -"3";
tellTarget ("/tpad") {
};
} else if (TpadRight2 < BallX) {
Tmove = "10";
xAccel = "3";
} else {
swing = "0";
swing = random("50");
if (swing == "15") {
Tmove = "0";
xAccel = "0";
tellTarget ("/tpad") {
gotoAndPlay ("flap");
};
}
}
} else if (BallX < TpadLeft2) {
Tmove = -"10";
xAccel = -"3";
} else if (TpadRight2 < BallX) {
Tmove = "10";
xAccel = "3";
tellTarget ("/tpad") {
};
} else {
swing = "0";
swing = random("30");
if (swing == "15") {
Tmove = "0";
xAccel = "0";
tellTarget ("/tpad") {
gotoAndPlay ("flap");
};
}
}
BpadTop = getProperty("/bpad", _y) - "10";
BpadBot = getProperty("/bpad", _y) + "10";
BallX = getProperty("/Ball", _x);
BallY = getProperty("/Ball", _y);
setProperty("/Ball", _x , BallX + int(xStep));
setProperty("/Ball", _y , BallY + int(yStep));
BpadX = getProperty("/bpad", _x);
if (multiball == "1") {
BallX2 = getProperty("/Ball2", _x);
BallY2 = getProperty("/Ball2", _y);
setProperty("/Ball2", _x , BallX2 + int(xStep2));
setProperty("/Ball2", _y , BallY2 + int(yStep2));
}
if (BpadX < "39") {
Bmove = "0";
BpadX = "40";
}
if ("256" < BpadX) {
Bmove = "0";
BpadX = "255";
}
setProperty("/bpad", _x , BpadX + Bmove);
BpadLeft = getProperty("/bpad", _x) - "50";
BpadRight = getProperty("/bpad", _x) + "50";
TpadTop = getProperty("/tpad", _y) - "10";
TpadBot = getProperty("/tpad", _y) + "10";
TpadX = getProperty("/tpad", _x);
if (TpadX < "39") {
Tmove = "0";
TpadX = "40";
}
if ("256" < TpadX) {
Tmove = "0";
TpadX = "255";
}
setProperty("/tpad", _x , TpadX + Tmove);
TpadLeft = getProperty("/tpad", _x) - "50";
TpadRight = getProperty("/tpad", _x) + "50";
TpadLeft2 = getProperty("/tpad", _x) - "35";
TpadRight2 = getProperty("/tpad", _x) + "35";
Symbol 85 MovieClip Frame 43
if (getProperty("/Ball", _y) < "10") {
bscore = bscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep = yStep - (yStep * "2");
xStep = int(xStep - ("0.15" * xAccel));
gotoAndPlay (2);
}
ys2 = yStep - (yStep * "2");
if ("340" < getProperty("/Ball", _y)) {
tscore = tscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep = yStep - (yStep * "2");
xStep = int(xStep - ("0.15" * xAccel));
gotoAndPlay (2);
}
if (("290" < getProperty("/Ball", _x)) or (getProperty("/Ball", _x) < "10")) {
xStep = xStep - (xStep * "2");
yStep = int(yStep - ("0.15" * yAccel));
}
if (("20" < yStep) or ("20" < ys2)) {
tellTarget ("/Ball") {
gotoAndPlay ("flame");
};
} else if (("13" < yStep) or ("13" < ys2)) {
tellTarget ("/Ball") {
gotoAndPlay ("warm");
};
} else {
tellTarget ("/Ball") {
gotoAndPlay ("ball");
};
}
if ((BpadTop < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < BpadBot)) {
if ((BpadLeft < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < BpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep = yStep - (yStep * firepower);
xStep = int(xStep - ("0.15" * xAccel));
setProperty("/Ball", _y , BpadTop - "1");
}
}
if ((TpadTop < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < TpadBot)) {
if ((TpadLeft < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < TpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep = yStep - (yStep * firepower);
xStep = int(xStep - ("0.15" * xAccel));
setProperty("/Ball", _y , TpadBot + "1");
}
}
if ("6" < totalscore) {
tellTarget ("/multi") {
gotoAndStop ("on");
};
if (("130" < getProperty("/Ball", _x)) and (getProperty("/Ball", _x) < "170")) {
if (("155" < getProperty("/Ball", _y)) and (getProperty("/Ball", _y) < "195")) {
totalscore = "0";
multiball = "1";
tellTarget ("sound") {
gotoAndPlay ("multiball");
};
xStep2 = random("5") + "6";
yStep2 = random("5") + "3";
xModifier2 = random("10");
yModifier2 = random("10");
if ("5" < xModifier2) {
xStep2 = xStep2 - (xStep * "2");
}
if ("5" < yModifier2) {
yStep2 = yStep2 - (yStep2 * "2");
}
setProperty("/Ball2", _y , "175");
setProperty("/Ball2", _x , "150");
}
}
} else {
tellTarget ("/multi") {
gotoAndStop ("off");
};
}
if (multiball == "1") {
totalscore = "0";
if (getProperty("/Ball2", _y) < "10") {
bscore = bscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep2 = yStep2 - (yStep2 * "2");
xStep2 = int(xStep2 - ("0.15" * xAccel));
gotoAndPlay (2);
}
ys22 = yStep2 - (yStep2 * "2");
if ("340" < getProperty("/Ball2", _y)) {
tscore = tscore + "1";
totalscore = "0";
multiball = "0";
tellTarget ("sound") {
gotoAndPlay ("score");
};
yStep2 = yStep2 - (yStep2 * "2");
xStep2 = int(xStep2 - ("0.15" * xAccel));
gotoAndPlay (2);
}
if (("290" < getProperty("/Ball2", _x)) or (getProperty("/Ball2", _x) < "10")) {
xStep2 = xStep2 - (xStep2 * "2");
yStep2 = int(yStep2 - ("0.15" * yAccel));
}
if (("20" < yStep2) or ("20" < ys22)) {
tellTarget ("/Ball2") {
gotoAndPlay ("flame");
};
} else if (("13" < yStep2) or ("13" < ys22)) {
tellTarget ("/Ball2") {
gotoAndPlay ("warm");
};
} else {
tellTarget ("/Ball2") {
gotoAndPlay ("ball");
};
}
if ((BpadTop < getProperty("/Ball2", _y)) and (getProperty("/Ball2", _y) < BpadBot)) {
if ((BpadLeft < getProperty("/Ball2", _x)) and (getProperty("/Ball2", _x) < BpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep2 = yStep2 - (yStep2 * firepower);
xStep2 = int(xStep2 - ("0.15" * xAccel));
setProperty("/Ball2", _y , BpadTop - "1");
}
}
if ((TpadTop < getProperty("/Ball2", _y)) and (getProperty("/Ball2", _y) < TpadBot)) {
if ((TpadLeft < getProperty("/Ball2", _x)) and (getProperty("/Ball2", _x) < TpadRight)) {
totalscore = totalscore + "1";
tellTarget ("sound") {
gotoAndPlay ("clunk");
};
yStep2 = yStep2 - (yStep2 * firepower);
xStep2 = int(xStep2 - ("0.15" * xAccel));
setProperty("/Ball2", _y , TpadBot + "1");
}
}
}
gotoAndPlay (42);
Symbol 85 MovieClip Frame 48
if (tscore == "9999") {
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);
}
if (bscore < tscore) {
message = "You Lose!";
} else if (tscore < bscore) {
message = "You Win!";
} else {
message = "Tie Game!";
}
stopAllSounds();
Symbol 85 MovieClip Frame 49
stop();
Symbol 85 MovieClip Frame 50
tscore = "0";
bscore = "0";
tellTarget ("../clock") {
play();
};
gotoAndPlay (2);