Frame 1 (770 B)
_root.gVersionNum = "1.0";
fscommand ("showmenu", "false");
pLoadInit = false;
pTrackLoadCalled = false;
if (/:gGameID eq "") {
Set("/:gGameID", "lt_daffy_volleyball");
}
if (/:gHSRoot_swf eq "") {
Set("/:gHSRoot_swf", "/games/med/");
}
if (/:gHSRoot_jsp eq "") {
Set("/:gHSRoot_jsp", "/web/load_variables/games/");
}
if (/:gHSRoot_top100 eq "") {
Set("/:gHSRoot_top100", "/web/games/");
}
function cTimer() {
this.startTime = getTimer();
}
cTimer.prototype.restartTimer = function () {
this.startTime = getTimer();
};
cTimer.prototype.milliseconds = function () {
return(getTimer() - this.startTime);
};
cTimer.prototype.seconds = function () {
return(int((getTimer() - this.startTime) / 1000));
};
iLevelPauseTimer = new cTimer();
Frame 4 (843 B)
Set("_level0:gWTE_FL", _framesloaded);
Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * 100));
Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%");
bytesTotal = this.getBytesTotal();
bytesLoaded = this.getBytesLoaded();
percent = Math.floor((bytesLoaded * 100) / bytesTotal);
trace(percent);
MC_LoadingBar.gotoAndStop(percent);
if (percent >= 99) {
if (true || (truetrue)) {
gotoAndPlay (9);
}
}
if (pLoadInit != true) {
Set("/:gGameState", "LOADING");
pLoadStartTime = int(getTimer() / 1000);
tellTarget ("/hs_scripts") {
call("mLoading");
};
pLoadInit = true;
}
if (/:gHSTrackLoad && (pTrackLoadCalled != true)) {
(((("/tracking.html?game=" add /:gGameID) add "&stage=0&timer=") add pLoadStartTime) add "&random_id=") add pLoadStartTime;
pTrackLoadCalled = true;
}
Frame 6 (17 B)
gotoAndPlay (4);
Frame 9 (52 B)
tellTarget ("/hs_scripts") {
call("mLoaded");
};
Frame 15 (104 B)
IntroMusic = new Sound();
IntroMusic.attachSound("MUSIC_Intro");
IntroMusic.start(0, 99999);
stop();
Instance of Symbol 88 MovieClip in Frame 15 (109 B)
onClipEvent (keyDown) {
_parent.keyPressed(Key.getCode());
}
onClipEvent (keyUp) {
_parent.keyReleased();
}
Frame 38 (2.37 KiB) ●
stop();
function setupSound() {
MUSIC_Beach = new Sound();
MUSIC_Gym = new Sound();
MUSIC_Park = new Sound();
AMB_Beach = new Sound();
AMB_Gym = new Sound();
AMB_Park = new Sound();
BALL_Serve = new Sound();
BALL_Volley1 = new Sound();
BALL_Volley2 = new Sound();
BALL_Volley3 = new Sound();
BALL_Volley4 = new Sound();
CROWD_Yeah = new Sound();
GE_Icon_Change = new Sound();
GE_LostThatGame = new Sound();
GE_WonThatGame = new Sound();
POWER_Spike = new Sound();
POWER_Text = new Sound();
POWER_WindUp = new Sound();
OutOfBounds = new Sound();
MUSIC_Beach.attachSound("MUSIC_Beach");
MUSIC_Gym.attachSound("MUSIC_Gym");
MUSIC_Park.attachSound("MUSIC_Park");
AMB_Beach.attachSound("AMB_Beach");
AMB_Gym.attachSound("AMB_Gym");
AMB_Park.attachSound("AMB_Park");
BALL_Serve.attachSound("BALL_Serve");
BALL_Volley1.attachSound("BALL_Volley1");
BALL_Volley2.attachSound("BALL_Volley2");
BALL_Volley3.attachSound("BALL_Volley3");
BALL_Volley4.attachSound("BALL_Volley4");
CROWD_Yeah.attachSound("CROWD_Yeah");
GE_Icon_Change.attachSound("GE_Icon_Change");
GE_LostThatGame.attachSound("GE_LostThatGame");
GE_WonThatGame.attachSound("GE_WonThatGame");
POWER_Spike.attachSound("POWER_Spike");
POWER_Text.attachSound("POWER_Text");
POWER_WindUp.attachSound("POWER_WindUp");
OutOfBounds.attachSound("OutOfBounds");
}
var num_DaffyServingPos = 185;
var num_DaffyVForce = -10;
var num_DaffyHForce = -8;
var num_DaffyStep = 12;
var num_daffyHits = 0;
var num_daffyPowerHits = 0;
var num_TrickyPoints = 0;
var num_StonecoldServingPos = -230;
var num_StoneVForce = -10;
var num_StoneHForce = 8;
var num_stoneHits = 0;
var num_stonePowerHits = 0;
var bln_Serve = true;
var num_Side = -1;
var num_NetCenter = 250;
var num_DCurrGameScore = 0;
var num_SCurrGameScore = 0;
var num_DaffyScore = 0;
var num_StoneScore = 0;
var num_DaffySetWon = 0;
var num_StoneSetWon = 0;
var num_DaffyGameWon = 0;
var num_StoneGameWon = 0;
var num_DaffyCurrGameWon = 0;
var num_StoneCurrGameWon = 0;
var num_MaxPointsInGame = 15;
var num_CurrSet = 1;
var num_CurrGame = 1;
var lastSetWin = "daffy";
var arr_DTricky = [0, 0, 0, 0, 0];
var arr_STricky = [0, 0, 0, 0, 0];
var arr_DTrickyUsed = [0, 0, 0, 0, 0];
var arr_STrickyUsed = [0, 0, 0, 0, 0];
var num_Bg = 3;
var num_Blocks = 0;
var num_Aces = 0;
var numTrickyPoints = 0;
setupSound();
play();
Instance of Symbol 169 MovieClip "Cr_clip" in Frame 38 (809 B)
onClipEvent (load) {
function mKeyStroke() {
var i;
var key_down = -1;
if (400 < (getTimer() - pCrTimer)) {
i = 1;
while (i < 91) {
if (Key.isDown(i)) {
key_down = i;
if (2 < i) {
trace("Code: " + i);
}
}
i++;
}
if (key_down >= 48) {
pCrCheck = (pCrCheck + key_down) + ":";
trace("CrCheck: " + pCrCheck);
pCrTimer = getTimer();
if (pCrCheck == "87:66:67:72:48:50:") {
trace("OK");
pCrCheck = "";
pCrOn = true;
mCr();
}
} else if ((key_down == 13) || (key_down == 32)) {
pCrCheck = "";
pCrTimer = getTimer();
}
}
}
function mCr() {
trace("mCr");
this.gotoAndPlay("show");
_root.debug_clip._visible = true;
_root.debug_clip._x = 50;
}
}
onClipEvent (enterFrame) {
mKeyStroke();
}
Frame 40 (50 B)
tellTarget ("/hs_scripts") {
call("mPlay");
};
Frame 43 (30.86 KiB) ● ● ● ●
stop();
function addTotalScore(value) {
num_DaffyScore = num_DaffyScore + value;
_level0.gScore = num_DaffyScore;
}
function addTrickyScore(value) {
num_TrickyPoints = num_TrickyPoints + value;
addTotalScore(value);
}
function initializeSet() {
if (3 < num_CurrGame) {
num_CurrSet++;
num_CurrGame = 1;
changeBg();
}
MC_Daffy.gotoAndStop("idle");
MC_Stonecold.gotoAndPlay("idle1");
MC_Interface.MC_DaffyTrickyMeter.gotoAndStop("start");
MC_Interface.MC_StoneTrickyMeter.gotoAndStop("start");
MC_WinText.gotoAndStop(1);
num_StoneCurrGameWon = 0;
num_DaffyCurrGameWon = 0;
initializeGame();
}
function initializeGame() {
if (gameType == 1) {
changeBg();
}
num_Side = num_Side * -1;
placeTeams();
MC_GameSet.play();
showServeIcon("DServe");
bln_EndGame = false;
bln_HitNet = false;
num_stonePowerHits = 0;
num_daffyPowerHits = 0;
resetDTricky();
resetSTricky();
}
function startGame() {
resetGameScore();
MC_GameSet.gotoAndStop(1);
if (lastSetWin == "daffy") {
bln_Serve = true;
setDaffyServing();
} else {
bln_Serve = false;
setStonecoldServing();
}
bln_play = true;
}
function resetGameScore() {
str_SCurrGameScore = "00";
str_DCurrGameScore = "00";
num_SCurrGameScore = 0;
num_DCurrGameScore = 0;
}
function showSetWonIcons(depths, startX, space, num) {
var i = 0;
while (i < num) {
duplicateMovieClip (MC_SetIcon, "SIcon" + depths, depths);
eval ("SIcon" + depths)._x = startX + (space * i);
eval ("SIcon" + depths)._y = 52;
depths++;
i++;
}
}
function deleteSetWonIcons() {
var i = 10;
while (i < 30) {
eval ("SIcon" + i).removeMovieClip();
i++;
}
}
function placeTeams() {
MC_Daffy._xscale = 32.4 * num_Side;
MC_Stonecold._xscale = 44.4 * num_Side;
MC_Daffy._x = num_NetCenter + (num_DaffyServingPos * num_Side);
MC_Stonecold._x = num_NetCenter + (num_StonecoldServingPos * num_Side);
if (num_Side == 1) {
MC_Interface.gotoAndStop("right");
} else {
MC_Interface.gotoAndStop("left");
}
}
function changeBg() {
num_Bg = random(3) + 1;
MC_bg.gotoAndStop(num_Bg);
}
function showServeIcon(label) {
MC_Interface.MC_ServeIcon.gotoAndStop(label);
}
function addDaffyScore() {
num_DCurrGameScore++;
if (num_DCurrGameScore < 10) {
str_DCurrGameScore = "0" + num_DCurrGameScore;
} else {
str_DCurrGameScore = num_DCurrGameScore;
}
if (num_DCurrGameScore == num_MaxPointsInGame) {
currentWinner = 1;
endCurrentGame();
} else {
setDaffyServing();
}
}
function addStonecoldScore() {
num_SCurrGameScore++;
if (num_SCurrGameScore < 10) {
str_SCurrGameScore = "0" + num_SCurrGameScore;
} else {
str_SCurrGameScore = num_SCurrGameScore;
}
if (num_SCurrGameScore == num_MaxPointsInGame) {
currentWinner = -1;
endCurrentGame();
} else {
setStonecoldServing();
}
}
function addDaffyTricky() {
var i;
addTrickyScore(25);
MC_Interface.MC_D25.play();
i = 1;
while (5 >= i) {
if (arr_DTricky[i - 1] == 0) {
MC_Interface["MC_DIcon" + i].gotoAndPlay("on");
arr_DTricky[i - 1] = 1;
MC_Interface.MC_DPowerUp.play();
return(undefined);
}
i++;
}
}
function nextDTricky() {
i = 1;
while (5 >= i) {
if (arr_DTricky[i - 1] == 0) {
MC_DaffyTrickyMeter.gotoAndStop("tricky" + i);
}
i++;
}
}
function resetDTricky() {
var i = 1;
while (5 >= i) {
if (arr_DTricky[i - 1] == 1) {
MC_Interface["MC_DIcon" + i].gotoAndPlay("off");
arr_DTricky[i - 1] = 0;
}
i++;
}
MC_Interface.MC_DaffyTrickyMeter.gotoAndStop("start");
}
function addStoneTricky() {
num_StoneScore = num_StoneScore + 25;
MC_Interface.MC_S25.play();
var i;
i = 1;
while (5 >= i) {
if (arr_STricky[i - 1] == 0) {
MC_Interface["MC_SIcon" + i].gotoAndPlay("on");
arr_STricky[i - 1] = 1;
MC_Interface.MC_SPowerUp.play();
return(undefined);
}
i++;
}
}
function nextSTricky() {
i = 1;
while (5 >= i) {
if (arr_STricky[i - 1] == 0) {
MC_StoneTrickyMeter.gotoAndStop("tricky" + i);
}
i++;
}
}
function resetSTricky() {
var i = 1;
while (5 >= i) {
if (arr_STricky[i - 1] == 1) {
MC_Interface["MC_SIcon" + i].gotoAndPlay("off");
arr_STricky[i - 1] = 0;
}
i++;
}
MC_Interface.MC_StoneTrickyMeter.gotoAndStop("start");
}
function nextServe() {
MC_ball.bln_fly = false;
MC_ball._x = 1000;
if (num_Serve == 1) {
checkDTrickyUsed();
addDaffyScore();
resetSTricky();
num_stonePowerHits = 0;
} else {
checkSTrickyUsed();
addStonecoldScore();
num_daffyPowerHits = 0;
resetDTricky();
}
bln_HitNet = false;
bln_LongEvent = false;
bln_CheckDTricky = false;
bln_play = true;
}
function endCurrentGame() {
bln_EndGame = true;
num_CurrGame++;
if (currentWinner == 1) {
lastSetWin = "daffy";
num_DaffyGameWon++;
num_DaffyCurrGameWon++;
MC_Interface.MC_DGames.nextFrame();
if ((num_CurrGame == 3) && (num_DaffyCurrGameWon == 2)) {
daffyWin();
MC_WinText.lastGame = true;
showWinText("match");
return(undefined);
}
} else {
lastSetWin = "stone";
num_StoneGameWon++;
num_StoneCurrGameWon++;
MC_Interface.MC_SGames.nextFrame();
if ((num_CurrGame == 3) && (num_StoneCurrGameWon == 2)) {
stoneWin();
MC_WinText.lastGame = true;
showWinText("match");
return(undefined);
}
}
if (3 < num_CurrGame) {
if (num_StoneCurrGameWon < num_DaffyCurrGameWon) {
daffyWin();
} else {
stoneWin();
}
MC_WinText.lastGame = true;
showWinText("");
} else {
MC_WinText.lastGame = false;
showWinText("");
}
}
function daffyWin() {
num_CurrGame = 4;
num_SetWinner = 1;
addTotalScore(200);
num_DaffySetWon++;
CROWD_Yeah.start();
}
function stoneWin() {
num_CurrGame = 4;
num_SetWinner = -1;
num_StoneScore = num_StoneScore + 200;
num_StoneSetWon++;
}
function showWinText(value) {
if (currentWinner == 1) {
if (value == "match") {
MC_WinText.gotoAndPlay("daffyMatch");
} else {
MC_WinText.gotoAndPlay("daffyWin");
}
addTotalScore(100);
MC_Interface.MC_D100.play();
} else {
if (value == "match") {
MC_WinText.gotoAndPlay("stoneMatch");
} else {
MC_WinText.gotoAndPlay("stoneWin");
}
num_StoneScore = num_StoneScore + 100;
MC_Interface.MC_S100.play();
}
}
function checkDTrickyUsed() {
if (arr_DTrickyUsed[0] == 1) {
addTrickyScore(25);
MC_Interface.MC_D25.play();
var t = 1;
}
if (arr_DTrickyUsed[1] == 1) {
addTrickyScore(75);
MC_Interface.MC_D75.play();
var t = 1;
}
if (arr_DTrickyUsed[2] == 1) {
addTrickyScore(75);
MC_Interface.MC_D75.play();
var t = 1;
}
if (arr_DTrickyUsed[3] == 1) {
addTrickyScore(100);
MC_Interface.MC_D100.play();
var t = 1;
}
if (arr_DTrickyUsed[4] == 1) {
addTrickyScore(100);
MC_Interface.MC_D100.play();
var t = 1;
}
if (t == 1) {
CROWD_Yeah.start();
}
arr_DTrickyUsed = [0, 0, 0, 0, 0];
arr_STrickyUsed = [0, 0, 0, 0, 0];
}
function checkSTrickyUsed() {
if (arr_STrickyUsed[0] == 1) {
num_StoneScore = num_StoneScore + 25;
MC_Interface.MC_S25.play();
}
if (arr_STrickyUsed[1] == 1) {
num_StoneScore = num_StoneScore + 75;
MC_Interface.MC_S75.play();
}
if (arr_STrickyUsed[2] == 1) {
num_StoneScore = num_StoneScore + 75;
MC_Interface.MC_S75.play();
}
if (arr_STrickyUsed[3] == 1) {
num_StoneScore = num_StoneScore + 100;
MC_Interface.MC_S100.play();
}
if (arr_STrickyUsed[4] == 1) {
num_StoneScore = num_StoneScore + 100;
MC_Interface.MC_S100.play();
}
arr_DTrickyUsed = [0, 0, 0, 0, 0];
arr_STrickyUsed = [0, 0, 0, 0, 0];
}
function showCutScene() {
numScene = random(3) + 2;
if (num_SetWinner == 1) {
gotoAndStop (50);
} else {
gotoAndStop (55);
}
}
function endCutScene() {
if (num_CurrSet == gameType) {
gotoAndStop (85);
} else {
gotoAndStop (43);
}
}
function playHitSound() {
var t = (random(4) + 1);
eval ("BALL_Volley" + t).start();
}
function hitAgain() {
var x = MC_ball._x;
var y = MC_ball._y;
var vForce = MC_ball.vForce;
var hForce = MC_ball.hForce;
var gravity = MC_ball.gravity;
var gotIt = false;
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
if (280 < y) {
if (((num_Side == 1) && (x >= 240)) || ((num_Side == -1) && (240 >= x))) {
return(true);
}
return(false);
}
}
}
stop();
initializeSet();
function defineProperties() {
MC_ball.gravity = 0.5;
MC_ball.bounceW = false;
MC_ball.bounceF = true;
MC_ball.bounceC = false;
MC_ball.bounceLoss = 0.2;
MC_ball.w = 500;
MC_ball.h = 280;
MC_ball.bln_fly = false;
MC_ball.stop();
}
function checkCollisions() {
with (MC_ball) {
vForce = vForce + gravity;
if (bounceW && ((x + hForce) >= w)) {
hForce = (-hForce) + (bounceLoss * hForce);
} else if (bounceW && ((x + hForce) < 0)) {
hForce = (-hForce) - (bounceLoss * hForce);
} else if (bounceF && (h < (y + vForce))) {
speedUp = false;
speedSUp = false;
lastBallPos = _x;
_parent.bln_play = false;
_parent.checkNextServe(lastBallPos);
vForce = (-vForce) + (bounceLoss * vForce);
_parent.playHitSound();
} else if (bounceC && (0 >= (y + vForce))) {
vForce = (-vForce) + (bounceLoss * vForce);
}
x = x + hForce;
y = y + vForce;
_x = x;
_y = y;
}
if (bln_play) {
checkC();
checkD();
}
checkNet();
}
function checkD() {
if (!bln_play) {
return(undefined);
}
if (bln_DaffyTricky) {
doDaffyTricky();
return(undefined);
}
if (!Daffy_hit) {
return(undefined);
}
if (((num_Side == 1) && (240 >= MC_ball._x)) || ((num_Side == -1) && (MC_ball._x >= 240))) {
return(undefined);
}
var x = MC_daffy._x;
var y = MC_daffy._y;
var x1 = MC_ball._x;
var y1 = MC_ball._y;
var x2 = (x + deltaX);
var y2 = (y + deltaY);
var xd = (x2 - x1);
var yd = (y2 - y1);
var yf = MC_ball.vForce;
var xf = MC_ball.hForce;
var c = Math.sqrt((xf * xf) + (yf * yf));
if (MC_ball.hitTest(MC_Daffy.MC_Hit)) {
if (Math.abs(xd) < 5) {
var n = ((n = 70 + random(20)));
} else {
var n = 70;
}
var v = (c * Math.sin(n * (Math.PI/180)));
var h = (c * Math.cos(n * (Math.PI/180)));
MC_ball.vForce = -Math.abs(v * 1.05);
MC_ball.hForce = (-Math.abs(h * 1.05)) * num_Side;
daffyHitsTheBall();
}
}
function doDaffyTricky() {
if (!bln_play) {
return(undefined);
}
var x = MC_daffy._x;
var y = MC_daffy._y;
blnJustTricky = true;
if (DEvent == 4) {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false) && (y < MC_ball._y)) {
speedUp = true;
var t = (Math.abs(x - 240) / 20);
if (t < 5) {
t = 5;
}
MC_ball.vForce = -12;
MC_ball.hForce = (-t) * num_Side;
daffyHitsTheBall();
arr_DTricky[3] = 0;
arr_DTrickyUsed[3] = 1;
MC_Interface.MC_DIcon4.gotoAndPlay("off");
bln_DaffyTricky = false;
MC_daffy.gotoAndStop("spin");
POWER_Spike.start();
}
} else if (DEvent == 3) {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false) && (y < MC_ball._y)) {
speedUp = true;
var t = (Math.abs(x - 240) / 20);
if (t < 5) {
t = 5;
}
MC_ball.vForce = -12;
MC_ball.hForce = (-t) * num_Side;
daffyHitsTheBall();
arr_DTricky[2] = 0;
arr_DTrickyUsed[2] = 1;
MC_Interface.MC_DIcon3.gotoAndPlay("off");
bln_DaffyTricky = false;
MC_daffy.gotoAndStop("flip");
POWER_Spike.start();
}
} else if (DEvent == 1) {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false) && ((y - 80) < MC_ball._y)) {
speedUp = true;
var t = (Math.abs(x - 240) / 15);
if (t < 5) {
t = 5;
}
MC_ball.vForce = -5;
MC_ball.hForce = (-t) * num_Side;
daffyHitsTheBall();
arr_DTricky[0] = 0;
arr_DTrickyUsed[0] = 1;
MC_Interface.MC_DIcon1.gotoAndPlay("off");
bln_DaffyTricky = false;
MC_daffy.gotoAndStop("spike");
POWER_Spike.start();
}
} else if (DEvent == 2) {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false) && ((y - 90) < MC_ball._y)) {
speedUp = true;
var t = (Math.abs(x - 240) / 15);
if (t < 5) {
t = 5;
}
MC_ball.vForce = -5;
MC_ball.hForce = (-t) * num_Side;
daffyHitsTheBall();
arr_DTricky[1] = 0;
arr_DTrickyUsed[1] = 1;
MC_Interface.MC_DIcon2.gotoAndPlay("off");
bln_DaffyTricky = false;
MC_daffy.gotoAndStop("block");
POWER_Spike.start();
}
}
}
function daffyHitsTheBall() {
lastHit = "daffy";
calculateStonecoldPos();
bln_HitNet = false;
if (!hitDaffy) {
return(undefined);
}
hitDaffy = false;
speedSUp = false;
bln_DaffyTricky = false;
bln_CheckDTricky = false;
playHitSound();
if (3 < num_daffyHits) {
bln_play = false;
return(undefined);
}
num_daffyPowerHits++;
MC_Interface.MC_DaffyTrickyMeter.play();
if (num_daffyPowerHits >= 3) {
addDaffyTricky();
num_daffyPowerHits = 0;
}
num_daffyHits++;
num_stoneHits = 0;
if (hitAgain()) {
hitDaffy = true;
return(undefined);
}
hitStone = true;
}
function stoneHitsTheBall() {
lastHit = "stone";
blnJustTricky = false;
bln_HitNet = false;
bln_LongEvent = false;
num_daffyHits = 0;
if (!hitStone) {
return(undefined);
}
hitStone = false;
playHitSound();
speedUp = false;
SEvent = -1;
num_stonePowerHits++;
MC_Interface.MC_StoneTrickyMeter.play();
if (num_stonePowerHits >= 3) {
addStoneTricky();
num_stonePowerHits = 0;
}
num_stoneHits++;
if (bln_CheckDTricky) {
bln_CheckDTricky = false;
checkDTricky();
}
hitDaffy = true;
}
function checkNet() {
if (MC_ball._y < 160) {
return(undefined);
}
if (bln_HitNet) {
return(undefined);
}
if (MC_ball.hitTest(240, MC_ball._y, false)) {
MC_ball.hForce = (-MC_ball.hForce) + (MC_ball.bounceLoss * MC_ball.hForce);
bln_HitNet = true;
}
}
function checkC() {
if (!bln_play) {
return(undefined);
}
var x = MC_Stonecold._x;
var y = MC_Stonecold._y;
if (SEvent == 0) {
if (MC_ball.hitTest(MC_Stonecold.MC_Hit1)) {
MC_Stonecold.gotoAndPlay("set");
MC_ball.vForce = -(random(4) + 7);
MC_ball.hForce = (random(3) + 3) * num_Side;
stoneHitsTheBall();
}
} else if (SEvent == 1) {
if (MC_ball.hitTest(MC_Stonecold.MC_Hit2)) {
MC_Stonecold.gotoAndPlay("dig");
MC_ball.vForce = -(random(3) + 9);
MC_ball.hForce = (random(3) + 4) * num_Side;
stoneHitsTheBall();
}
} else if (SEvent == 2) {
if (MC_ball.hitTest(MC_Stonecold.MC_Hit3)) {
MC_Stonecold.gotoAndPlay("jump");
MC_ball.vForce = -random(6);
MC_ball.hForce = (random(3) + 5) * num_Side;
stoneHitsTheBall();
}
} else if (SEvent == "spin") {
if (MC_ball.hitTest(x + (23 * num_Side), MC_ball._y, false)) {
MC_Stonecold.gotoAndPlay("spin");
}
} else if (SEvent == "flip") {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false)) {
MC_Stonecold.gotoAndPlay("flip");
}
} else if (SEvent == "spike") {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false)) {
MC_Stonecold.gotoAndPlay("spike");
}
} else if (SEvent == "block") {
if (MC_ball.hitTest(x + (20 * num_Side), MC_ball._y, false) && (120 < MC_ball._y)) {
MC_Stonecold.gotoAndPlay("block");
}
}
}
function checkNextServe(x) {
if (3 < num_daffyHits) {
num_Serve = -1;
} else if ((lastHit == "daffy") && (num_Side == 1)) {
if ((x < 240) && (50 < x)) {
num_Serve = 1;
} else {
num_Serve = -1;
}
} else if ((lastHit == "daffy") && (num_Side == -1)) {
if ((240 < x) && (x < 435)) {
num_Serve = 1;
} else {
num_Serve = -1;
}
} else if ((lastHit == "stone") && (num_Side == 1)) {
if ((240 < x) && (x < 435)) {
num_Serve = -1;
} else {
num_Serve = 1;
}
} else if ((lastHit == "stone") && (num_Side == -1)) {
if ((x < 240) && (50 < x)) {
num_Serve = -1;
} else {
num_Serve = 1;
}
} else {
trace("----------AAAAAAAAAAAAAAAAAAAAAAAAA------------------");
num_Serve = 1;
}
if ((x < 50) || (435 < x)) {
OutOfBounds.start();
}
if (MC_serving._currentframe == 1) {
MC_serving.gotoAndPlay(2);
}
}
function doStoneSpin() {
var x = MC_Stonecold._x;
var t = (Math.abs(240 - x) / 17);
MC_ball.vForce = -12;
MC_ball.hForce = t * num_Side;
speedSUp = true;
arr_STricky[3] = 0;
arr_STrickyUsed[3] = 1;
MC_Interface.MC_Interface.MC_SIcon4.gotoAndPlay("off");
stoneHitsTheBall();
MC_Stonecold.gotoAndPlay("flip");
POWER_Spike.start();
}
function doStoneFlip() {
var x = MC_Stonecold._x;
var t = (Math.abs(240 - x) / 17);
MC_ball.vForce = -12;
MC_ball.hForce = t * num_Side;
speedSUp = true;
arr_STricky[2] = 0;
arr_STrickyUsed[2] = 1;
MC_Interface.MC_SIcon3.gotoAndPlay("off");
stoneHitsTheBall();
MC_Stonecold.gotoAndPlay("flip");
POWER_Spike.start();
}
function doStoneSpike() {
var x = MC_Stonecold._x;
var t = (Math.abs(240 - x) / 20);
MC_ball.vForce = -5;
MC_ball.hForce = t * num_Side;
speedSUp = true;
arr_STricky[0] = 0;
arr_STrickyUsed[0] = 1;
MC_Interface.MC_SIcon1.gotoAndPlay("off");
stoneHitsTheBall();
MC_Stonecold.gotoAndPlay("spike");
POWER_Spike.start();
}
function doStoneBlock() {
var x = MC_Stonecold._x;
var t = (Math.abs(240 - x) / 20);
MC_ball.vForce = -5;
MC_ball.hForce = t * num_Side;
speedSUp = true;
arr_STricky[1] = 0;
arr_STrickyUsed[1] = 1;
MC_Interface.MC_SIcon2.gotoAndPlay("off");
stoneHitsTheBall();
MC_Stonecold.gotoAndPlay("block");
POWER_Spike.start();
}
defineProperties();
function daffyRunLeft() {
if (key_isDown) {
return(undefined);
}
if (bln_Serve) {
return(undefined);
}
if (num_Side == 1) {
MC_daffy.gotoAndStop("runF");
} else {
MC_daffy.gotoAndStop("runB");
}
num_Step = num_DaffyStep * -1;
bln_run = true;
}
function daffyRunRight() {
if (bln_isDown) {
return(undefined);
}
if (bln_Serve) {
return(undefined);
}
if (num_Side == 1) {
MC_daffy.gotoAndStop("runB");
} else {
MC_daffy.gotoAndStop("runF");
}
num_Step = num_DaffyStep;
bln_run = true;
}
function stopDaffy() {
if (bln_Serve) {
return(undefined);
}
if (bln_LongEvent) {
return(undefined);
}
MC_daffy.gotoAndStop("idle");
Daffy_hit = false;
bln_run = false;
}
function moveDaffy() {
if (!bln_run) {
return(undefined);
}
if (((MC_daffy._x < 260) && (num_Side == 1)) && (num_Step < 0)) {
return(undefined);
}
if (((220 < MC_daffy._x) && (num_Side == -1)) && (0 < num_Step)) {
return(undefined);
}
MC_daffy._x = MC_daffy._x + num_Step;
}
function setDaffyServing() {
if (bln_EndGame) {
return(undefined);
}
resetSTricky();
MC_Daffy._x = num_NetCenter + (num_DaffyServingPos * num_Side);
MC_Stonecold._x = num_NetCenter + (num_StonecoldServingPos * num_Side);
Daffy_hit = false;
bln_run = false;
MC_Daffy.gotoAndStop("serving");
showServeIcon("DServe");
bln_Serve = true;
bln_LongEvent = false;
bln_DaffyTricky = false;
speedUp = false;
speedSUp = false;
hitDaffy = false;
hitStone = true;
bln_play = true;
}
function daffyServing() {
MC_Daffy.server.play();
}
function showDaffyServing() {
MC_ball._x = MC_daffy._x + (39 * num_Side);
MC_ball._y = MC_daffy._y - 26;
MC_ball.x = MC_ball._x;
MC_ball.y = MC_ball._y;
MC_ball.vForce = num_DaffyVForce;
MC_ball.hForce = num_DaffyHForce * num_Side;
MC_ball.bln_fly = true;
MC_ball.play();
BALL_Serve.start();
num_stoneHits = 0;
num_daffyHits = 0;
lastHit = "daffy";
calculateStonecoldPos();
}
function hitTheBall() {
var x = MC_ball._x;
var y = MC_ball._y;
var x1 = (MC_daffy._x + (20 * num_Side));
var y1 = MC_daffy._y;
if (Math.abs(x1 - x) < 20) {
if (y < (y1 - 44)) {
bln_LongEvent = true;
MC_daffy.gotoAndStop("jump");
deltaX = 20 * num_Side;
deltaY = -44;
} else {
bln_LongEvent = true;
MC_daffy.gotoAndStop("set");
deltaX = 20 * num_Side;
deltaY = -30;
}
} else {
bln_LongEvent = true;
MC_daffy.gotoAndStop("dig");
deltaX = 5 * num_Side;
deltaY = 17;
}
}
function endLongEvent() {
bln_LongEvent = false;
speedUp = false;
stopDaffy();
}
function setTrickyMove(num) {
DEvent = num;
checkDTricky();
bln_CheckDTricky = true;
bln_LongEvent = true;
}
function spinDaffy() {
if (bln_Serve) {
return(undefined);
}
if (arr_DTricky[3] == 0) {
return(undefined);
}
setTrickyMove(4);
}
function flipDaffy() {
if (bln_Serve) {
return(undefined);
}
if (arr_DTricky[2] == 0) {
return(undefined);
}
setTrickyMove(3);
}
function spikeDaffy() {
if (bln_Serve) {
return(undefined);
}
if (arr_DTricky[0] == 0) {
return(undefined);
}
setTrickyMove(1);
}
function blockDaffy() {
if (bln_Serve) {
return(undefined);
}
if (arr_DTricky[1] == 0) {
return(undefined);
}
setTrickyMove(2);
}
function checkDTricky() {
var x = MC_ball._x;
var y = MC_ball._y;
var y1 = MC_daffy._y;
var vForce = MC_ball.vForce;
var hForce = MC_ball.hForce;
var gravity = MC_ball.gravity;
var gotIt = false;
var t = 0;
if (DEvent == 4) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (250 < x)) && ((y1 + 20) < y)) || (((num_Side == -1) && (x < 230)) && ((y1 + 20) < y))) {
gotIt = true;
superDaffy(MC_daffy._x, x - (20 * num_Side));
MC_daffy._x = x - (20 * num_Side);
bln_DaffyTricky = true;
return(undefined);
}
if (100 < t) {
return(undefined);
}
}
}
if (DEvent == 3) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (250 < x)) && ((y1 + 10) < y)) || (((num_Side == -1) && (x < 230)) && ((y1 + 10) < y))) {
gotIt = true;
superDaffy(MC_daffy._x, x - (20 * num_Side));
MC_daffy._x = x - (20 * num_Side);
bln_DaffyTricky = true;
return(undefined);
}
if (100 < t) {
return(undefined);
}
}
}
if (DEvent == 2) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (250 < x)) && ((y1 - 70) < y)) || (((num_Side == -1) && (x < 230)) && ((y1 - 70) < y))) {
gotIt = true;
superDaffy(MC_daffy._x, x - (20 * num_Side));
MC_daffy._x = x - (20 * num_Side);
bln_DaffyTricky = true;
return(undefined);
}
if (100 < t) {
return(undefined);
}
}
}
if (DEvent == 1) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (250 < x)) && ((y1 - 80) < y)) || (((num_Side == -1) && (x < 230)) && ((y1 - 80) < y))) {
gotIt = true;
superDaffy(MC_daffy._x, x - (20 * num_Side));
MC_daffy._x = x - (20 * num_Side);
bln_DaffyTricky = true;
return(undefined);
}
if (100 < t) {
return(undefined);
}
}
}
}
function superDaffy(oldX, newX) {
if (num_Side == 1) {
if (newX < oldX) {
MC_Daffy.gotoAndStop("superF");
} else {
MC_Daffy.gotoAndStop("superB");
}
} else if (newX < oldX) {
MC_Daffy.gotoAndStop("superB");
} else {
MC_Daffy.gotoAndStop("superF");
}
}
function setStonecoldServing() {
if (bln_EndGame) {
return(undefined);
}
resetDTricky();
SEvent = -1;
MC_Stonecold._x = num_NetCenter + (num_StonecoldServingPos * num_Side);
MC_Stonecold.gotoAndPlay("serving");
showServeIcon("SServe");
speedUp = false;
speedSUp = false;
hitDaffy = true;
hitStone = false;
bln_LongEvent = false;
bln_play = true;
}
function showStoneServing() {
MC_ball._x = MC_Stonecold._x + (10 * num_Side);
MC_ball._y = MC_Stonecold._y - 74;
MC_ball.x = MC_ball._x;
MC_ball.y = MC_ball._y;
MC_ball.vForce = num_StoneVForce;
MC_ball.hForce = num_StoneHForce * num_Side;
MC_ball.bln_fly = true;
BALL_Serve.start();
MC_ball.play();
lastHit = "stone";
num_stoneHits = 0;
num_daffyHits = 0;
}
function calculateStonecoldPos() {
if (!bln_play) {
return(undefined);
}
if (bln_smove) {
return(undefined);
}
MC_Stonecold.gotoAndStop("idle1");
SEvent = random(4);
if (SEvent == 3) {
if (checkTricky() && (!blnJustTricky)) {
return(false);
}
SEvent = random(3);
}
var x = MC_ball._x;
var y = MC_ball._y;
var vForce = MC_ball.vForce;
var hForce = MC_ball.hForce;
var gravity = MC_ball.gravity;
var gotIt = false;
var t = 0;
do {
if (gotIt) {
break;
}
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if (SEvent == 0) {
if ((num_Side == 1) && ((x < 240) && (154 < y))) {
if (210 < (x - (32 * num_Side))) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (32 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
if ((num_Side == -1) && ((240 < x) && (154 < y))) {
if ((x - (32 * num_Side)) < 280) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (32 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
} else if (SEvent == 1) {
if ((num_Side == 1) && ((x < 240) && (209 < y))) {
if (210 < (x - (63 * num_Side))) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (63 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
if ((num_Side == -1) && ((240 < x) && (209 < y))) {
if ((x - (63 * num_Side)) < 270) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (63 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
} else if (SEvent == 2) {
if ((num_Side == 1) && ((x < 240) && (125 < y))) {
if (210 < (x - (12 * num_Side))) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (12 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
if ((num_Side == -1) && ((240 < x) && (125 < y))) {
if ((x - (12 * num_Side)) < 290) {
calculateStonecoldPos();
} else {
MC_Stonecold.x = x - (12 * num_Side);
gotIt = true;
showRunAnimation();
}
return;
}
}
} while (100 >= t);
}
function checkTricky() {
var x = MC_ball._x;
var y = MC_ball._y;
var y1 = MC_Stonecold._y;
var vForce = MC_ball.vForce;
var hForce = MC_ball.hForce;
var gravity = MC_ball.gravity;
var gotIt = false;
var t = 0;
if (arr_STricky[3] == 1) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (x < 240)) && ((y1 - 10) < y)) || (((num_Side == -1) && (240 < x)) && ((y1 - 10) < y))) {
gotIt = true;
lightStone(MC_Stonecold._x, x - (23 * num_Side));
MC_Stonecold._x = x - (23 * num_Side);
SEvent = "spin";
return(true);
}
}
}
if (arr_STricky[2] == 1) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (x < 240)) && ((y1 - 30) < y)) || (((num_Side == -1) && (240 < x)) && ((y1 - 30) < y))) {
gotIt = true;
lightStone(MC_Stonecold._x, x - (20 * num_Side));
MC_Stonecold._x = x - (20 * num_Side);
SEvent = "flip";
return(true);
}
}
}
if (arr_STricky[1] == 1) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (x < 240)) && ((y1 - 140) < y)) || (((num_Side == -1) && (240 < x)) && ((y1 - 140) < y))) {
gotIt = true;
lightStone(MC_Stonecold._x, x - (20 * num_Side));
MC_Stonecold._x = x - (20 * num_Side);
SEvent = "block";
return(true);
}
}
}
if (arr_STricky[0] == 1) {
while (!gotIt) {
vForce = vForce + gravity;
x = x + hForce;
y = y + vForce;
t++;
if ((((num_Side == 1) && (x < 240)) && ((y1 - 130) < y)) || (((num_Side == -1) && (240 < x)) && ((y1 - 130) < y))) {
gotIt = true;
lightStone(MC_Stonecold._x, x - (20 * num_Side));
MC_Stonecold._x = x - (20 * num_Side);
SEvent = "spike";
return(true);
}
}
}
return(false);
}
function lightStone(oldX, newX) {
if (num_Side == 1) {
if (oldX < newX) {
MC_Stonecold.gotoAndPlay("SuperRunFwd");
} else {
MC_Stonecold.gotoAndPlay("SuperRunBwd");
}
} else if (oldX < newX) {
MC_Stonecold.gotoAndPlay("SuperRunBwd");
} else {
MC_Stonecold.gotoAndPlay("SuperRunFwd");
}
}
function stopStonecold() {
MC_Stonecold.stop();
SEvent = -1;
}
function showRunAnimation() {
var x = MC_Stonecold._x;
var x1 = MC_Stonecold.x;
if (x < x1) {
if (num_Side == 1) {
MC_Stonecold.gotoAndStop("runF");
} else {
MC_Stonecold.gotoAndStop("runB");
}
} else if (num_Side == 1) {
MC_Stonecold.gotoAndStop("runB");
} else {
MC_Stonecold.gotoAndStop("runF");
}
}
function moveMe() {
if (!bln_smove) {
return(undefined);
}
if (12 >= Math.abs(MC_Stonecold._x - MC_Stonecold.x)) {
MC_Stonecold._x = MC_Stonecold.x;
bln_smove = false;
MC_Stonecold.gotoAndStop("idle1");
} else if (MC_Stonecold._x < MC_Stonecold.x) {
MC_Stonecold._x = MC_Stonecold._x + 12;
} else {
MC_Stonecold._x = MC_Stonecold._x - 12;
}
}
function keyPressed(keyCode) {
if (bln_LongEvent) {
return(undefined);
}
var _local1 = 32;
switch (keyCode) {
case _local1 :
if (bln_Serve) {
daffyServing();
} else {
hitTheBall();
}
break;
case _local1 = 37 :
if (key_isDown) {
return(undefined);
}
daffyRunLeft();
break;
case _local1 = 39 :
if (key_isDown) {
return(undefined);
}
daffyRunRight();
break;
case _local1 = 90 :
if (key_isDown) {
return(undefined);
}
if (!bln_play) {
return(undefined);
}
spikeDaffy();
break;
case _local1 = 88 :
if (key_isDown) {
return(undefined);
}
if (!bln_play) {
return(undefined);
}
blockDaffy();
break;
case _local1 = 67 :
if (key_isDown) {
return(undefined);
}
if (!bln_play) {
return(undefined);
}
flipDaffy();
break;
case _local1 = 86 :
if (key_isDown) {
return(undefined);
}
if (!bln_play) {
return(undefined);
}
spinDaffy();
}
key_isDown = true;
}
function keyReleased() {
key_isDown = false;
stopDaffy();
}
tellTarget ("/hs_scripts") {
call("mLevelStart");
};
Instance of Symbol 336 MovieClip "MC_daffy" in Frame 43 (50 B)
onClipEvent (enterFrame) {
_parent.moveDaffy();
}
Instance of Symbol 423 MovieClip "MC_stonecold" in Frame 43 (47 B)
onClipEvent (enterFrame) {
_parent.moveMe();
}
Instance of Symbol 432 MovieClip "MC_ball" in Frame 43 (246 B)
onClipEvent (enterFrame) {
if (!bln_fly) {
_x = 1000;
return(undefined);
}
_parent.checkCollisions();
_parent.checkCollisions();
if (_parent.speedUp || (_parent.speedSUp)) {
_parent.checkCollisions();
_parent.checkCollisions();
}
}
Frame 50 (48 B)
stop();
MC_DaffyScenes.gotoAndStop(numScene);
Frame 55 (48 B)
stop();
MC_StoneScenes.gotoAndStop(numScene);
Frame 69 (58 B)
if (Key.isDown(81)) {
_root.gotoAndPlay("GameOver");
}
Frame 70 (32 B)
gotoAndPlay(_currentframe - 1);
Frame 76 (39 B)
_root.iLevelPauseTimer.restartTimer();
Frame 77 (119 B)
if (3 < _root.iLevelPauseTimer.seconds()) {
_root.gLevel = _root.gLevel + 1;
_root.gotoAndPlay("NextLevel");
}
Frame 78 (38 B)
_root.gotoAndPlay(_currentframe - 1);
Frame 85 (349 B)
stop();
str_GamesWon = num_DaffyGameWon + " x 100";
str_SetsWon = num_DaffySetWon + " x 200";
if (5000 < num_DaffyScore) {
endAnimation = "Good";
} else if (num_DaffyScore < 1000) {
endAnimation = "Bad";
} else {
endAnimation = "Medium";
}
_level0.gScore = num_DaffyScore;
tellTarget ("/hs_scripts") {
call("mGameOver");
};
Frame 106 (8 B)
stop();
Symbol 3 MovieClip Frame 1 (35 B)
/:gHSRoot_swf add "HSScripts.swf";
Symbol 3 MovieClip Frame 4 (8 B)
stop();
Symbol 23 MovieClip Frame 1 (52 B)
_visible = 0;
/:gHSRoot_swf add "HSMinScore.swf";
Symbol 23 MovieClip Frame 4 (8 B)
stop();
Symbol 62 Button (50 B)
on (release) {
_parent.gotoAndStop("gameType");
}
Symbol 63 Button (54 B)
on (release) {
_parent.gotoAndStop("instructions");
}
Symbol 64 MovieClip Frame 34 (8 B)
stop();
Symbol 84 MovieClip Frame 1 (8 B)
stop();
Symbol 86 MovieClip Frame 1 (8 B)
stop();
Symbol 86 MovieClip Frame 2 (8 B)
play();
Symbol 86 MovieClip Frame 15 (21 B)
_parent.nextServe();
Symbol 122 Button (35 B)
on (release) {
gotoAndStop (40);
}
Symbol 123 Button (121 B)
on (release) {
if (!_parent.gameType) {
_parent.gotoAndStop("gameType");
} else {
_parent.gotoAndStop("play");
}
}
Symbol 140 Button (35 B)
on (release) {
gotoAndStop (20);
}
Symbol 141 MovieClip Frame 20 (8 B)
stop();
Symbol 141 MovieClip Frame 40 (8 B)
stop();
Symbol 151 Button (69 B)
on (release) {
_parent.gameType = 1;
_parent.gotoAndStop("play");
}
Symbol 156 Button (69 B)
on (release) {
_parent.gameType = 3;
_parent.gotoAndStop("play");
}
Symbol 160 Button (69 B)
on (release) {
_parent.gameType = 5;
_parent.gotoAndStop("play");
}
Symbol 161 MovieClip Frame 60 (8 B)
stop();
Symbol 169 MovieClip Frame 4 (8 B)
stop();
Symbol 169 MovieClip Frame 9 (8 B)
stop();
Symbol 230 MovieClip Frame 1 (60 B)
stop();
stopAllSounds();
gotoAndStop(_parent.num_Bg + 1);
Symbol 267 MovieClip Frame 7 (36 B)
_parent._parent.showDaffyServing();
Symbol 267 MovieClip Frame 13 (77 B)
stop();
_parent._parent.endLongEvent();
_parent._parent.bln_Serve = false;
Symbol 273 MovieClip Frame 6 (77 B)
stop();
_parent._parent.Daffy_hit = false;
_parent._parent.endLongEvent();
Symbol 282 MovieClip Frame 7 (77 B)
stop();
_parent._parent.Daffy_hit = false;
_parent._parent.endLongEvent();
Symbol 289 MovieClip Frame 7 (77 B)
stop();
_parent._parent.Daffy_hit = false;
_parent._parent.endLongEvent();
Symbol 301 MovieClip Frame 11 (8 B)
stop();
Symbol 302 MovieClip Frame 16 (41 B)
stop();
_parent._parent.endLongEvent();
Symbol 314 MovieClip Frame 11 (8 B)
stop();
Symbol 315 MovieClip Frame 16 (41 B)
stop();
_parent._parent.endLongEvent();
Symbol 322 MovieClip Frame 10 (8 B)
stop();
Symbol 323 MovieClip Frame 15 (41 B)
stop();
_parent._parent.endLongEvent();
Symbol 330 MovieClip Frame 11 (8 B)
stop();
Symbol 331 MovieClip Frame 16 (41 B)
stop();
_parent._parent.endLongEvent();
Symbol 333 MovieClip Frame 6 (8 B)
stop();
Symbol 335 MovieClip Frame 6 (8 B)
stop();
Symbol 336 MovieClip Frame 15 (15 B)
server.stop();
Symbol 336 MovieClip Frame 20 (26 B)
_parent.Daffy_hit = true;
Symbol 336 MovieClip Frame 25 (26 B)
_parent.Daffy_hit = true;
Symbol 336 MovieClip Frame 30 (26 B)
_parent.Daffy_hit = true;
Symbol 423 MovieClip Frame 5 (17 B)
gotoAndPlay (1);
Symbol 423 MovieClip Frame 6 (27 B)
_parent.bln_smove = false;
Symbol 423 MovieClip Frame 12 (17 B)
gotoAndPlay (6);
Symbol 423 MovieClip Frame 21 (18 B)
gotoAndPlay (13);
Symbol 423 MovieClip Frame 28 (28 B)
_parent.showStoneServing();
Symbol 423 MovieClip Frame 33 (25 B)
_parent.stopStonecold();
Symbol 423 MovieClip Frame 34 (35 B)
_parent.bln_smove = true;
stop();
Symbol 423 MovieClip Frame 41 (35 B)
_parent.bln_smove = true;
stop();
Symbol 423 MovieClip Frame 55 (25 B)
_parent.stopStonecold();
Symbol 423 MovieClip Frame 64 (25 B)
_parent.stopStonecold();
Symbol 423 MovieClip Frame 76 (25 B)
_parent.stopStonecold();
Symbol 423 MovieClip Frame 96 (25 B)
_parent.stopStonecold();
Symbol 423 MovieClip Frame 102 (32 B)
play();
_parent.doStoneSpin();
Symbol 423 MovieClip Frame 112 (43 B)
_parent.stopStonecold();
gotoAndStop (6);
Symbol 423 MovieClip Frame 121 (32 B)
play();
_parent.doStoneFlip();
Symbol 423 MovieClip Frame 129 (43 B)
_parent.stopStonecold();
gotoAndStop (6);
Symbol 423 MovieClip Frame 139 (33 B)
play();
_parent.doStoneSpike();
Symbol 423 MovieClip Frame 148 (43 B)
_parent.stopStonecold();
gotoAndStop (6);
Symbol 423 MovieClip Frame 158 (33 B)
play();
_parent.doStoneBlock();
Symbol 423 MovieClip Frame 167 (43 B)
_parent.stopStonecold();
gotoAndStop (6);
Symbol 423 MovieClip Frame 174 (17 B)
gotoAndPlay (6);
Symbol 423 MovieClip Frame 182 (17 B)
gotoAndPlay (6);
Symbol 452 MovieClip Frame 1 (8 B)
stop();
Symbol 452 MovieClip Frame 5 (8 B)
stop();
Symbol 452 MovieClip Frame 9 (8 B)
stop();
Symbol 452 MovieClip Frame 13 (30 B)
_root.GE_Icon_Change.start();
Symbol 452 MovieClip Frame 18 (8 B)
stop();
Symbol 452 MovieClip Frame 22 (8 B)
stop();
Symbol 452 MovieClip Frame 26 (8 B)
stop();
Symbol 452 MovieClip Frame 31 (30 B)
_root.GE_Icon_Change.start();
Symbol 452 MovieClip Frame 35 (8 B)
stop();
Symbol 452 MovieClip Frame 39 (8 B)
stop();
Symbol 452 MovieClip Frame 43 (8 B)
stop();
Symbol 452 MovieClip Frame 47 (30 B)
_root.GE_Icon_Change.start();
Symbol 452 MovieClip Frame 51 (8 B)
stop();
Symbol 452 MovieClip Frame 55 (8 B)
stop();
Symbol 452 MovieClip Frame 59 (8 B)
stop();
Symbol 452 MovieClip Frame 63 (30 B)
_root.GE_Icon_Change.start();
Symbol 461 MovieClip Frame 1 (41 B)
_parent._parent.powerValue = 0;
stop();
Symbol 461 MovieClip Frame 5 (41 B)
_parent._parent.powerValue = 1;
stop();
Symbol 461 MovieClip Frame 9 (41 B)
_parent._parent.powerValue = 2;
stop();
Symbol 461 MovieClip Frame 14 (30 B)
_root.GE_Icon_Change.start();
Symbol 461 MovieClip Frame 18 (41 B)
_parent._parent.powerValue = 0;
stop();
Symbol 461 MovieClip Frame 22 (41 B)
_parent._parent.powerValue = 1;
stop();
Symbol 461 MovieClip Frame 26 (41 B)
_parent._parent.powerValue = 2;
stop();
Symbol 461 MovieClip Frame 31 (30 B)
_root.GE_Icon_Change.start();
Symbol 461 MovieClip Frame 35 (41 B)
_parent._parent.powerValue = 0;
stop();
Symbol 461 MovieClip Frame 39 (41 B)
_parent._parent.powerValue = 1;
stop();
Symbol 461 MovieClip Frame 43 (41 B)
_parent._parent.powerValue = 2;
stop();
Symbol 461 MovieClip Frame 48 (30 B)
_root.GE_Icon_Change.start();
Symbol 461 MovieClip Frame 52 (41 B)
_parent._parent.powerValue = 0;
stop();
Symbol 461 MovieClip Frame 56 (41 B)
_parent._parent.powerValue = 1;
stop();
Symbol 461 MovieClip Frame 60 (41 B)
_parent._parent.powerValue = 2;
stop();
Symbol 461 MovieClip Frame 65 (30 B)
_root.GE_Icon_Change.start();
Symbol 463 MovieClip Frame 5 (8 B)
stop();
Symbol 463 MovieClip Frame 14 (8 B)
stop();
Symbol 466 MovieClip Frame 1 (8 B)
stop();
Symbol 472 MovieClip Frame 1 (8 B)
stop();
Symbol 477 MovieClip Frame 1 (8 B)
stop();
Symbol 480 MovieClip Frame 1 (8 B)
stop();
Symbol 483 MovieClip Frame 1 (8 B)
stop();
Symbol 486 MovieClip Frame 1 (8 B)
stop();
Symbol 488 MovieClip Frame 1 (8 B)
stop();
Symbol 493 MovieClip Frame 1 (8 B)
stop();
Symbol 499 MovieClip Frame 1 (8 B)
stop();
Symbol 500 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 499 MovieClip in Symbol 500 MovieClip Frame 3 (51 B)
onClipEvent (load) {
gotoAndStop(random(4) + 2);
}
Symbol 502 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 499 MovieClip in Symbol 502 MovieClip Frame 3 (51 B)
onClipEvent (load) {
gotoAndStop(random(4) + 2);
}
Symbol 506 MovieClip Frame 1 (8 B)
stop();
Symbol 506 MovieClip Frame 16 (8 B)
stop();
Symbol 510 MovieClip Frame 1 (8 B)
stop();
Symbol 510 MovieClip Frame 16 (8 B)
stop();
Symbol 514 MovieClip Frame 1 (8 B)
stop();
Symbol 514 MovieClip Frame 16 (8 B)
stop();
Symbol 518 MovieClip Frame 1 (8 B)
stop();
Symbol 518 MovieClip Frame 16 (8 B)
stop();
Symbol 521 MovieClip Frame 1 (8 B)
stop();
Symbol 521 MovieClip Frame 16 (8 B)
stop();
Symbol 524 MovieClip Frame 1 (8 B)
stop();
Symbol 524 MovieClip Frame 16 (8 B)
stop();
Symbol 527 MovieClip Frame 1 (8 B)
stop();
Symbol 527 MovieClip Frame 16 (8 B)
stop();
Symbol 530 MovieClip Frame 1 (8 B)
stop();
Symbol 530 MovieClip Frame 16 (8 B)
stop();
Symbol 571 MovieClip Frame 1 (224 B)
MC_SIcon1.gotoAndStop(1);
MC_SIcon2.gotoAndStop(1);
MC_SIcon3.gotoAndStop(1);
MC_SIcon4.gotoAndStop(1);
MC_DIcon1.gotoAndStop(1);
MC_DIcon2.gotoAndStop(1);
MC_DIcon3.gotoAndStop(1);
MC_DIcon4.gotoAndStop(1);
stop();
Instance of Symbol 466 MovieClip "MC_DGames" in Symbol 571 MovieClip Frame 1 (78 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_DaffyCurrGameWon + 1);
}
Instance of Symbol 489 MovieClip in Symbol 571 MovieClip Frame 1 (73 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_StoneSetWon + 1);
}
Instance of Symbol 490 MovieClip in Symbol 571 MovieClip Frame 1 (73 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_DaffySetWon + 1);
}
Instance of Symbol 493 MovieClip "MC_SGames" in Symbol 571 MovieClip Frame 1 (78 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_StoneCurrGameWon + 1);
}
Symbol 571 MovieClip Frame 5 (224 B)
MC_SIcon1.gotoAndStop(1);
MC_SIcon2.gotoAndStop(1);
MC_SIcon3.gotoAndStop(1);
MC_SIcon4.gotoAndStop(1);
MC_DIcon1.gotoAndStop(1);
MC_DIcon2.gotoAndStop(1);
MC_DIcon3.gotoAndStop(1);
MC_DIcon4.gotoAndStop(1);
stop();
Instance of Symbol 466 MovieClip "MC_DGames" in Symbol 571 MovieClip Frame 5 (78 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_DaffyCurrGameWon + 1);
}
Instance of Symbol 490 MovieClip in Symbol 571 MovieClip Frame 5 (73 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_DaffySetWon + 1);
}
Instance of Symbol 493 MovieClip "MC_SGames" in Symbol 571 MovieClip Frame 5 (78 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_StoneCurrGameWon + 1);
}
Instance of Symbol 489 MovieClip in Symbol 571 MovieClip Frame 5 (73 B)
onClipEvent (load) {
gotoAndStop(_parent._parent.num_StoneSetWon + 1);
}
Symbol 576 MovieClip Frame 33 (92 B)
if (lastGame) {
_parent.showCutScene();
} else {
_parent.initializeGame();
}
stop();
Symbol 576 MovieClip Frame 73 (33 B)
_parent.showCutScene();
stop();
Symbol 576 MovieClip Frame 106 (92 B)
if (lastGame) {
_parent.showCutScene();
} else {
_parent.initializeGame();
}
stop();
Symbol 576 MovieClip Frame 145 (33 B)
_parent.showCutScene();
stop();
Symbol 590 MovieClip Frame 1 (17 B)
MC_table.stop();
Symbol 590 MovieClip Frame 2 (25 B)
MC_table.gotoAndPlay(1);
Symbol 590 MovieClip Frame 35 (21 B)
_parent.startGame();
Symbol 591 MovieClip Frame 1 (29 B)
gotoAndStop(_parent.num_Bg);
Symbol 607 MovieClip Frame 94 (31 B)
_parent._parent.endCutScene();
Symbol 629 MovieClip Frame 104 (31 B)
_parent._parent.endCutScene();
Symbol 644 MovieClip Frame 55 (31 B)
_parent._parent.endCutScene();
Symbol 645 MovieClip Frame 1 (8 B)
stop();
Symbol 647 MovieClip Frame 85 (31 B)
_parent._parent.endCutScene();
Symbol 673 MovieClip Frame 76 (31 B)
_parent._parent.endCutScene();
Symbol 693 MovieClip Frame 86 (31 B)
_parent._parent.endCutScene();
Symbol 694 MovieClip Frame 1 (8 B)
stop();
Symbol 698 Button (284 B)
on (release) {
if (_parent.num_DaffyScore == 0) {
_parent.num_DaffyScore = 1;
}
sendscore = new LoadVars();
sendscore.gname = "trickyduckvolleyball";
sendscore.gscore = _parent.num_DaffyScore;
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
stop();
}
Symbol 729 MovieClip Frame 43 (43 B)
gotoAndPlay(_parent._parent.endAnimation);
Symbol 729 MovieClip Frame 75 (8 B)
stop();
Symbol 729 MovieClip Frame 110 (8 B)
stop();
Symbol 729 MovieClip Frame 182 (8 B)
stop();
Symbol 748 MovieClip Frame 1 (17 B)
stopAllSounds();
Symbol 748 MovieClip Frame 60 (8 B)
stop();
Symbol 751 MovieClip Frame 1 (15 B)
_visible = 0;
Symbol 751 MovieClip Frame 5 (8 B)
stop();