Frame 2
flag.removeMovieClip();
rocket.removeMovieClip();
fireworks.removeMovieClip();
trumpets.stop();
stop();
arrow.startDrag(true);
Mouse.hide();
currentplayer = 1;
winners = 0;
clicksound = new Sound();
clicksound.attachSound("click");
hit = new Sound();
hit.attachSound("hit");
jumpsound = new Sound();
jumpsound.attachSound("jump");
trumpets = new Sound();
trumpets.attachSound("trumpets");
whistle = new Sound();
whistle.attachSound("whistle");
boom = new Sound();
boom.attachSound("boom");
oomf = new Sound();
oomf.attachSound("oomf");
music = new Sound();
music.attachSound("music");
hit2 = new Sound();
hit2.attachSound("hit2");
music.start(0, 9999);
teams = [["Australia", ["Kewell", 5, 1, 1, 7, 4, 4], ["Cahill", 6, 1, 2, 4, 3, 8], ["Bresciano", 3, 1, 2, 5, 7, 3]], ["Brazil", ["Ronaldo", 3, 2, 3, 9, 3, 3], ["Ronaldinho", 7, 2, 3, 3, 7, 5], ["Emerson", 8, 2, 3, 4, 5, 6]], ["England", ["Beckham", 9, 3, 1, 5, 5, 5], ["Gerrard", 10, 3, 2, 5, 8, 2], ["Rooney", 11, 3, 1, 3, 3, 9]], ["France", ["Zidane", 12, 4, 2, 6, 4, 5], ["Wiltord", 3, 4, 4, 3, 9, 3], ["Chimbonda", 13, 4, 4, 3, 5, 7]], ["Germany", ["Klose", 16, 5, 1, 8, 4, 3], ["Lahm", 17, 5, 1, 3, 6, 6], ["Frings", 18, 5, 2, 4, 6, 5]], ["Holland", ["Kromkamp", 14, 6, 1, 3, 6, 6], ["Landzaat", 8, 6, 2, 8, 5, 2], ["Cocu", 4, 6, 1, 5, 7, 3]], ["Italy", ["Grosso", 15, 7, 1, 7, 3, 5], ["Cannavaro", 3, 7, 2, 6, 6, 3], ["Gillardino", 2, 7, 1, 3, 7, 5]], ["Portugal", ["Figo", 6, 8, 2, 6, 3, 6], ["Carvalho", 19, 8, 1, 3, 4, 8], ["Gomes", 18, 8, 2, 6, 6, 3]]];
if (gamestarted != 1) {
guy2hair = teams[1][1][1];
guy2team = teams[1][1][2];
guy2face = teams[1][1][3];
guy1hair = teams[0][1][1];
guy1team = teams[0][1][2];
guy1face = teams[0][1][3];
playernum2 = 1;
teamnum2 = 1;
playernum1 = 1;
teamnum1 = 0;
gamestarted = 1;
computer = 0;
key1right = 39;
key1left = 37;
key1up = 38;
key2right = 68;
key2left = 65;
key2up = 87;
difficulty = 2;
gamelength = 2;
sound = 1;
beachball = false;
tennisball = false;
bowlingball = false;
lowgrav = false;
speedmode = false;
allowsame = false;
floatingball = false;
flyingmode = false;
thebeatles = false;
thestones = false;
}
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
fscommand ("trapallkeys", true);
Frame 3
music.stop();
whistle.start();
yspeed = 0;
if (lowgrav == true) {
grav = 0.5;
} else {
grav = 1;
}
if (speedmode == true) {
speedcheat = 2;
} else {
speedcheat = 1;
}
xspeed = 0;
handicap = difficulty - 3;
guy1hitpower = 15 + _root.teams[_root.teamnum1][_root.playernum1][4];
guy1speed = (2 + (_root.teams[_root.teamnum1][_root.playernum1][5] / 5)) * speedcheat;
guy1jump = 12 + (_root.teams[_root.teamnum1][_root.playernum1][6] / 1.5);
guy1xspeed = 0;
guy1yspeed = 0;
if (computer == 1) {
guy2hitpower = (15 + _root.teams[_root.teamnum2][_root.playernum2][4]) + handicap;
guy2speed = ((2 + (_root.teams[_root.teamnum2][_root.playernum2][5] / 5)) + (handicap / 5)) * speedcheat;
guy2jump = (12 + (_root.teams[_root.teamnum2][_root.playernum2][6] / 1.5)) + handicap;
} else {
guy2hitpower = 15 + _root.teams[_root.teamnum2][_root.playernum2][4];
guy2speed = (2 + (_root.teams[_root.teamnum2][_root.playernum2][5] / 5)) * speedcheat;
guy2jump = 12 + (_root.teams[_root.teamnum2][_root.playernum2][6] / 1.5);
}
guy2xspeed = 0;
guy2yspeed = 0;
guy1wacked = 0;
guy2wacked = 0;
guy1time = 0;
guy2time = 0;
timer = 10;
goalgot = 0;
compside = 1;
ballx = ball._x;
bally = ball._y;
guy1x = guy1._x;
guy1y = guy1._y;
guy2x = guy2._x;
guy2y = guy2._y;
backx = back.back._x;
score1 = 0;
score2 = 0;
jump = 0;
onEnterFrame = function () {
if (floatingball == true) {
yspeed = yspeed - grav;
if (ball._y < 10) {
yspeed = yspeed * -1;
}
}
if (flyingmode == true) {
if (Key.isDown(key1up)) {
guy1yspeed = guy1yspeed - (grav * 2);
}
if (computer == 0) {
if (Key.isDown(key2up)) {
guy2yspeed = guy2yspeed - (grav * 2);
}
} else if (ball._y < guy2._y) {
if (ball._x < guy2._x) {
guy2yspeed = guy2yspeed - (grav * 2);
}
}
if (guy1._y < 10) {
guy1._y = 10;
guy1yspeed = guy1yspeed * -1;
}
if (guy2._y < 10) {
guy2._y = 10;
guy2yspeed = guy2yspeed * -1;
}
}
scorebox1.text = (_root.teams[_root.teamnum1][0] + ": ") + score1;
scorebox2.text = (_root.teams[_root.teamnum2][0] + ": ") + score2;
back.back._x = back.back._x - xspeed;
guy1._x = guy1._x - xspeed;
guy2._x = guy2._x - xspeed;
xspeed = xspeed * 0.99;
yspeed = yspeed + grav;
ball._y = ball._y + yspeed;
ball._rotation = ball._rotation + xspeed;
if (ball._y > (298.5 - ballsize)) {
ball._y = 298.5 - ballsize;
if (yspeed > 5) {
hit2.start();
}
yspeed = (-((yspeed = yspeed * 0.9))) * cheat;
}
shadow._xscale = 100 + (Math.sqrt((280 - ball._y) * (280 - ball._y)) / 2);
shadow._yscale = 100 + (Math.sqrt((280 - ball._y) * (280 - ball._y)) / 2);
shadow2._xscale = 100 + (Math.sqrt((280 - guy1._y) * (280 - guy1._y)) / 2);
shadow2._yscale = 100 + (Math.sqrt((280 - guy1._y) * (280 - guy1._y)) / 2);
shadow3._xscale = 100 + (Math.sqrt((280 - guy2._y) * (280 - guy2._y)) / 2);
shadow3._yscale = 100 + (Math.sqrt((280 - guy2._y) * (280 - guy2._y)) / 2);
shadow2._x = guy1._x;
shadow3._x = guy2._x;
guy1._x = guy1._x + guy1xspeed;
guy1._y = guy1._y + guy1yspeed;
guy2._x = guy2._x + guy2xspeed;
guy2._y = guy2._y + guy2yspeed;
guy1yspeed = guy1yspeed + grav;
guy1xspeed = guy1xspeed * 0.8;
guy2yspeed = guy2yspeed + grav;
guy2xspeed = guy2xspeed * 0.8;
if (guy1wacked == 0) {
if (Key.isDown(key1right)) {
guy1xspeed = guy1xspeed + guy1speed;
guy1.gotoAndStop(1);
guy1.guy.foot1.play();
guy1.guy.foot2.play();
} else if (Key.isDown(key1left)) {
guy1xspeed = guy1xspeed - guy1speed;
guy1.gotoAndStop(2);
guy1.guy.foot1.play();
guy1.guy.foot2.play();
} else {
guy1.guy.foot1.gotoAndStop(1);
guy1.guy.foot2.gotoAndStop(1);
}
} else {
guy1.guy.gotoAndStop(2);
guy1time++;
if (guy1time > timer) {
guy1.guy.gotoAndStop(1);
guy1time = 0;
guy1wacked = 0;
}
}
if (computer == 0) {
if (guy2wacked == 0) {
if (Key.isDown(key2right)) {
guy2xspeed = guy2xspeed + guy2speed;
guy2.gotoAndStop(2);
guy2.guy.foot1.play();
guy2.guy.foot2.play();
} else if (Key.isDown(key2left)) {
guy2xspeed = guy2xspeed - guy2speed;
guy2.gotoAndStop(1);
guy2.guy.foot1.play();
guy2.guy.foot2.play();
} else {
guy2.guy.foot1.gotoAndStop(1);
guy2.guy.foot2.gotoAndStop(1);
}
} else {
guy2.guy.gotoAndStop(2);
guy2time++;
if (guy2time > timer) {
guy2.guy.gotoAndStop(1);
guy2time = 0;
guy2wacked = 0;
}
}
} else if (guy2wacked == 0) {
if (guy2._x < (ball._x + 20)) {
compside = 1;
guy2xspeed = guy2xspeed + guy2speed;
guy2.gotoAndStop(2);
guy2.guy.foot1.play();
guy2.guy.foot2.play();
} else if (guy2._x > (ball._x + 20)) {
compside = 2;
guy2xspeed = guy2xspeed - guy2speed;
guy2.gotoAndStop(1);
guy2.guy.foot1.play();
guy2.guy.foot2.play();
} else {
guy2.guy.foot1.gotoAndStop(1);
guy2.guy.foot2.gotoAndStop(1);
}
} else {
guy2.guy.gotoAndStop(2);
guy2time++;
if (guy2time > timer) {
guy2.guy.gotoAndStop(1);
guy2time = 0;
guy2wacked = 0;
}
}
if (guy1.hitTest(guy2)) {
if (computer == 1) {
if (compside == 1) {
jump = 1;
}
}
if (guy1.hitTest(guy2._x, guy2._y + 20)) {
guy1wacked = 1;
guy2yspeed = -5;
guy1yspeed = 5;
guy1time = 0;
oomf.start();
} else if (guy2.hitTest(guy1._x, guy1._y + 20)) {
guy2wacked = 1;
guy1yspeed = -5;
guy2yspeed = 5;
guy2time = 0;
oomf.start();
} else if (guy1._x > guy2._x) {
guy2xspeed = -3;
guy1xspeed = 3;
} else {
guy2xspeed = 3;
guy1xspeed = -3;
}
}
if (guy1._y > 273) {
guy1._y = 273;
guy1yspeed = 0;
if (guy1wacked == 0) {
if (Key.isDown(key1up)) {
guy1yspeed = -guy1jump;
jumpsound.start();
}
}
}
if (computer == 0) {
if (guy2._y > 273) {
guy2._y = 273;
guy2yspeed = 0;
if (guy2wacked == 0) {
if (Key.isDown(key2up)) {
guy2yspeed = -guy2jump;
jumpsound.start();
}
}
}
} else if (guy2._y > 273) {
guy2._y = 273;
guy2yspeed = 0;
if (guy2wacked == 0) {
if (compside == 1) {
if (ball._x < (guy2._x + 100)) {
guy2yspeed = -guy2jump;
jumpsound.start();
}
} else if (jump == 1) {
guy2yspeed = -guy2jump;
jumpsound.start();
jump = 0;
}
}
}
if (goal1.hitTest(guy1._x - 20, guy1._y)) {
guy1xspeed = 3;
}
if (goal2.hitTest(guy1._x + 20, guy1._y)) {
guy1xspeed = -3;
}
if (goal1.hitTest(guy2._x - 20, guy2._y)) {
guy2xspeed = 3;
}
if (goal2.hitTest(guy2._x + 20, guy2._y)) {
guy2xspeed = -3;
}
if (goalgot == 0) {
if (ball._x < (goal1._x + 102.4)) {
if (ball._y < 200) {
attachMovie("out", "goalmsg", 1);
goalmsg._x = 275;
goalmsg._y = 200;
goalgot = 1;
} else {
attachMovie("goal2", "goalmsg", 1);
goalmsg._x = 275;
goalmsg._y = 200;
goalgot = 1;
score2++;
}
}
if (ball._x > (goal2._x - 102.4)) {
if (ball._y < 200) {
attachMovie("out2", "goalmsg", 1);
goalmsg._x = 275;
goalmsg._y = 200;
goalgot = 1;
} else {
attachMovie("goal", "goalmsg", 1);
goalmsg._x = 275;
goalmsg._y = 200;
goalgot = 1;
score1++;
}
}
}
goal1._x = back.back._x - 1060;
goal2._x = back.back._x + 1610;
};
stop();
Frame 4
_root.whistle.start();
stop();
attachMovie("flag", "flag", 3);
flag._x = 220.5;
flag._y = 250.3;
flag.flag.gotoAndStop(_root["teamnum" + _root.winners] + 2);
trumpets.start(0, 999);
attachMovie("rocket", "rocket", 1);
Frame 5
flag.removeMovieClip();
rocket.removeMovieClip();
fireworks.removeMovieClip();
stop();
trumpets.stop();
cheatnumber = int(random(10)) + 1;
if (cheatnumber == 1) {
cheatbox.text = "New Cheat Unlocked!\nbeSaChbAll\n\nPlay with a Beach Ball";
} else if (cheatnumber == 2) {
cheatbox.text = "New Cheat Unlocked!\nteNniSbaLl\n\nPlay with a Tennis Ball";
} else if (cheatnumber == 3) {
cheatbox.text = "New Cheat Unlocked!\nbOwliSbaLl\n\nPlay with a Bowling Ball";
} else if (cheatnumber == 4) {
cheatbox.text = "New Cheat Unlocked!\nloWgraSiTy\n\nPlay with Low Gravity";
} else if (cheatnumber == 5) {
cheatbox.text = "New Cheat Unlocked!\nsPeSedmodE\n\nAll Characters Speed is increased";
} else if (cheatnumber == 6) {
cheatbox.text = "New Cheat Unlocked!\nAllSowsAme\n\nBoth Players can be the same team,\nand even the same player";
} else if (cheatnumber == 7) {
cheatbox.text = "New Cheat Unlocked!\nfloSATball\n\nGravity does not affect the ball";
} else if (cheatnumber == 8) {
cheatbox.text = "New Cheat Unlocked!\nflyiSgmoDE\n\nPlayers can fly";
} else if (cheatnumber == 9) {
cheatbox.text = "New Cheat Unlocked!\nthEbeAtleS\n\nUnlock a new team: The Beatles";
} else if (cheatnumber == 10) {
cheatbox.text = "New Cheat Unlocked!\nthERStoNes\n\nUnlock a new team: The Rolling Stones";
}
Symbol 14 MovieClip [sparkle] Frame 1
onEnterFrame = function () {
this._x = this._x + xspeed;
this._y = this._y + yspeed;
this._alpha = this._alpha - 5;
if (this._alpha < 5) {
_parent.number--;
this.removeMovieClip();
}
};
Symbol 16 MovieClip [rocket] Frame 1
this._y = 400;
this._x = random(550);
onEnterFrame = function () {
this._y = this._y - 10;
if (this._y < (random(200) + 10)) {
_root.boom.start(0.1);
_root.attachMovie("fire", "fireworks", 2);
_root.fireworks._x = this._x;
_root.fireworks._y = this._y;
this.removeMovieClip();
}
};
Symbol 17 MovieClip [fire] Frame 1
number = 200;
colour = int(random(4)) + 1;
i = 1;
while (i <= 200) {
this.attachMovie("sparkle", "sparkle" + i, i);
this["sparkle" + i].gotoAndStop(colour);
rot = random(360);
speed = random(6) + 1;
this["sparkle" + i].xspeed = (-Math.cos((rot - 90) * (Math.PI/180))) * speed;
this["sparkle" + i].yspeed = (-Math.sin((rot - 90) * (Math.PI/180))) * speed;
size = random(100);
this["sparkle" + i]._xscale = size;
this["sparkle" + i]._yscale = size;
i++;
}
onEnterFrame = function () {
if (number == 0) {
_root.attachMovie("rocket", "rocket", 1);
this.removeMovieClip();
}
};
Symbol 27 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 18
gotoAndPlay (2);
Symbol 35 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 18
gotoAndPlay (2);
Symbol 79 MovieClip Frame 1
stop();
Instance of Symbol 35 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
_parent.foot1.hand.gotoAndStop(_root.guy1face);
_parent.foot2.hand.gotoAndStop(_root.guy1face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1team);
}
Instance of Symbol 76 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1hair);
}
Instance of Symbol 47 MovieClip "body" in Symbol 79 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy1team);
}
Instance of Symbol 35 MovieClip in Symbol 79 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Instance of Symbol 27 MovieClip in Symbol 79 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 85 MovieClip [goal] Frame 1
back.back._x = -1000;
speed = 15;
skid = 0;
distance = 0;
onEnterFrame = function () {
back.back._x = back.back._x + speed;
if (skid == 1) {
speed = speed * 0.9;
distance = distance + speed;
this.createEmptyMovieClip("skidmark", 1);
with (skidmark) {
lineStyle(3, 13083150, 100);
moveTo(5, 67);
lineTo(5 + distance, 67);
}
}
};
Instance of Symbol 80 MovieClip in Symbol 85 MovieClip [goal] Frame 1
onClipEvent (enterFrame) {
this.guy.foot1.play();
this.guy.foot2.play();
}
Symbol 85 MovieClip [goal] Frame 41
skid = 1;
Instance of Symbol 35 MovieClip in Symbol 85 MovieClip [goal] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Instance of Symbol 27 MovieClip in Symbol 85 MovieClip [goal] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 85 MovieClip [goal] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy1team);
}
Instance of Symbol 76 MovieClip in Symbol 85 MovieClip [goal] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy1hair);
}
Symbol 85 MovieClip [goal] Frame 71
_root.ball._x = _root.ballx;
_root.ball._y = _root.bally;
_root.guy1._x = _root.guy1x;
_root.guy1._y = _root.guy1y;
_root.guy1.gotoAndStop(1);
_root.guy2._x = _root.guy2x;
_root.guy2._y = _root.guy2y;
_root.guy2.gotoAndStop(1);
_root.back.back._x = _root.backx;
_root.xspeed = 0;
_root.guy1xspeed = 0;
_root.guy2xspeed = 0;
_root.yspeed = 0;
_root.guy1yspeed = 0;
_root.guy2yspeed = 0;
skid = 0;
skidmark.removeMovieClip();
Instance of Symbol 80 MovieClip in Symbol 85 MovieClip [goal] Frame 71
onClipEvent (enterFrame) {
this.guy.foot1.play();
this.guy.foot2.play();
}
Symbol 85 MovieClip [goal] Frame 87
_root.goalgot = 0;
this.removeMovieClip();
Symbol 87 MovieClip Frame 1
stop();
Instance of Symbol 35 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
_parent.foot1.hand.gotoAndStop(_root.guy2face);
_parent.foot2.hand.gotoAndStop(_root.guy2face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2team);
}
Instance of Symbol 76 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2hair);
}
Instance of Symbol 47 MovieClip "body" in Symbol 87 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy2team);
}
Instance of Symbol 35 MovieClip in Symbol 87 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Instance of Symbol 27 MovieClip in Symbol 87 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 90 MovieClip [goal2] Frame 1
back.back._x = 900;
speed = -15;
skid = 0;
distance = 0;
onEnterFrame = function () {
back.back._x = back.back._x + speed;
if (skid == 1) {
speed = speed * 0.9;
distance = distance + speed;
this.createEmptyMovieClip("skidmark", 1);
with (skidmark) {
lineStyle(3, 13083150, 100);
moveTo(-5, 67);
lineTo(-5 + distance, 67);
}
}
};
Instance of Symbol 88 MovieClip in Symbol 90 MovieClip [goal2] Frame 1
onClipEvent (enterFrame) {
this.guy.foot1.play();
this.guy.foot2.play();
}
Symbol 90 MovieClip [goal2] Frame 41
skid = 1;
Instance of Symbol 35 MovieClip in Symbol 90 MovieClip [goal2] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Instance of Symbol 27 MovieClip in Symbol 90 MovieClip [goal2] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 90 MovieClip [goal2] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy2team);
}
Instance of Symbol 76 MovieClip in Symbol 90 MovieClip [goal2] Frame 41
onClipEvent (load) {
this.gotoAndStop(_root.guy2hair);
}
Symbol 90 MovieClip [goal2] Frame 71
_root.ball._x = _root.ballx;
_root.ball._y = _root.bally;
_root.guy1._x = _root.guy1x;
_root.guy1._y = _root.guy1y;
_root.guy1.gotoAndStop(1);
_root.guy2._x = _root.guy2x;
_root.guy2._y = _root.guy2y;
_root.guy2.gotoAndStop(1);
_root.back.back._x = _root.backx;
_root.xspeed = 0;
_root.guy1xspeed = 0;
_root.guy2xspeed = 0;
_root.yspeed = 0;
_root.guy1yspeed = 0;
_root.guy2yspeed = 0;
skid = 0;
skidmark.removeMovieClip();
Instance of Symbol 88 MovieClip in Symbol 90 MovieClip [goal2] Frame 71
onClipEvent (enterFrame) {
this.guy.foot1.play();
this.guy.foot2.play();
}
Symbol 90 MovieClip [goal2] Frame 87
_root.goalgot = 0;
this.removeMovieClip();
Symbol 98 MovieClip [out2] Frame 1
back.back._x = -900;
Instance of Symbol 35 MovieClip in Symbol 98 MovieClip [out2] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 98 MovieClip [out2] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1team);
}
Instance of Symbol 76 MovieClip in Symbol 98 MovieClip [out2] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1hair);
}
Instance of Symbol 27 MovieClip in Symbol 98 MovieClip [out2] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy1face);
}
Symbol 98 MovieClip [out2] Frame 82
_root.ball._x = _root.ballx;
_root.ball._y = _root.bally;
_root.guy1._x = -750;
_root.guy1._y = _root.guy1y;
_root.guy2._x = _root.guy2x;
_root.guy2._y = _root.guy2y;
_root.back.back._x = -990;
_root.xspeed = 0;
_root.guy1xspeed = 0;
_root.guy2xspeed = 0;
_root.yspeed = 0;
_root.guy1yspeed = 0;
_root.guy2yspeed = 0;
_root.guy1.gotoAndStop(1);
_root.guy2.gotoAndStop(1);
Symbol 98 MovieClip [out2] Frame 98
_root.goalgot = 0;
this.removeMovieClip();
Symbol 101 MovieClip [out] Frame 1
back.back._x = 900;
Instance of Symbol 35 MovieClip in Symbol 101 MovieClip [out] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Instance of Symbol 47 MovieClip "body" in Symbol 101 MovieClip [out] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2team);
}
Instance of Symbol 76 MovieClip in Symbol 101 MovieClip [out] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2hair);
}
Instance of Symbol 27 MovieClip in Symbol 101 MovieClip [out] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guy2face);
}
Symbol 101 MovieClip [out] Frame 82
_root.ball._x = _root.ballx;
_root.ball._y = _root.bally;
_root.guy1._x = _root.guy1x;
_root.guy1._y = _root.guy1y;
_root.guy2._x = 1250;
_root.guy2._y = _root.guy2y;
_root.back.back._x = 1000;
_root.xspeed = 0;
_root.guy1xspeed = 0;
_root.guy2xspeed = 0;
_root.yspeed = 0;
_root.guy1yspeed = 0;
_root.guy2yspeed = 0;
_root.guy1.gotoAndStop(1);
_root.guy2.gotoAndStop(1);
Symbol 101 MovieClip [out] Frame 98
_root.goalgot = 0;
this.removeMovieClip();
Symbol 120 MovieClip Frame 1
stop();
white._alpha = 0;
framewanted = 0;
fadespeed = 10;
onEnterFrame = function () {
if (framewanted > 0) {
white._alpha = white._alpha + fadespeed;
} else if (white._alpha > 0) {
white._alpha = white._alpha - fadespeed;
}
if (white._alpha > (100 - fadespeed)) {
this.gotoAndStop(framewanted);
framewanted = 0;
}
};
Symbol 127 Button
on (keyPress "<Enter>") {
if (((((((((((((_root.difficulty == 4) and (_root.beachball == false)) and (_root.tennisball == false)) and (_root.bowlingball == false)) and (_root.lowgrav == false)) and (_root.speedmode == false)) and (_root.allowsame == false)) and (_root.floatingball == false)) and (_root.flyingmode == false)) and (_root.thebeatles == false)) and (_root.thestones == false)) and (_root.winners == 1)) and (_root.computer == 1)) {
_root.gotoAndStop("cheatframe");
_root.clicksound.start();
} else {
_root.gotoAndStop("menuframe");
_root.clicksound.start();
}
}
Symbol 128 MovieClip [flag] Frame 150
stop();
Symbol 133 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 133 MovieClip Frame 2
gotoAndPlay (1);
Symbol 133 MovieClip Frame 3
_root.gotoAndStop("menuframe");
Symbol 139 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 2;
}
Symbol 144 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 6;
}
Symbol 149 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 5;
}
Symbol 154 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 7;
}
Symbol 161 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
play();
_root.teamnum1--;
if (_root.teamnum1 == _root.teamnum2) {
if (_root.allowsame == true) {
} else {
_root.teamnum1--;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum1 == 8) {
_root.teamnum1--;
}
}
if (_root.teamnum1 < 0) {
_root.teamnum1 = _root.teams.length - 1;
}
if (_root.teamnum1 == _root.teamnum2) {
if (_root.allowsame == true) {
} else {
_root.teamnum1--;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum1 == 8) {
_root.teamnum1--;
}
}
_parent.player.play();
_root.playernum1 = 1;
}
Symbol 162 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
gotoAndPlay (11);
_root.teamnum1++;
if (_root.teamnum1 == _root.teamnum2) {
if (_root.allowsame == true) {
} else {
_root.teamnum1++;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum1 == 8) {
_root.teamnum1++;
}
if (_root.teamnum1 > (_root.teams.length - 2)) {
_root.teamnum1 = 0;
}
} else if (_root.teamnum1 > (_root.teams.length - 1)) {
_root.teamnum1 = 0;
}
if (_root.teamnum1 == _root.teamnum2) {
if (_root.allowsame == true) {
} else {
_root.teamnum1++;
}
}
_parent.player.gotoAndPlay(11);
_root.playernum1 = 1;
}
Symbol 181 MovieClip Frame 1
stop();
team.text = _root.teams[_root.teamnum1][0];
Symbol 181 MovieClip Frame 10
gotoAndStop (1);
Symbol 181 MovieClip Frame 19
gotoAndStop (1);
Symbol 183 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
play();
_root.teamnum2--;
if (_root.teamnum2 == _root.teamnum1) {
if (_root.allowsame == true) {
} else {
_root.teamnum2--;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum2 == 8) {
_root.teamnum2--;
}
}
if (_root.teamnum2 < 0) {
_root.teamnum2 = _root.teams.length - 1;
}
if (_root.teamnum2 == _root.teamnum1) {
if (_root.allowsame == true) {
} else {
_root.teamnum2--;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum2 == 8) {
_root.teamnum2--;
}
}
_parent.player.play();
_root.playernum2 = 1;
}
Symbol 184 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
gotoAndPlay (11);
_root.teamnum2++;
if (_root.teamnum2 == _root.teamnum1) {
if (_root.allowsame == true) {
} else {
_root.teamnum2++;
}
}
if ((_root.thebeatles == true) and (_root.thestones == false)) {
if (_root.teamnum2 == 8) {
_root.teamnum2++;
}
if (_root.teamnum2 > (_root.teams.length - 2)) {
_root.teamnum2 = 0;
}
} else if (_root.teamnum2 > (_root.teams.length - 1)) {
_root.teamnum2 = 0;
}
if (_root.teamnum2 == _root.teamnum1) {
if (_root.allowsame == true) {
} else {
_root.teamnum2++;
}
}
_parent.player.gotoAndPlay(11);
_root.playernum2 = 1;
}
Symbol 196 MovieClip Frame 1
stop();
team.text = _root.teams[_root.teamnum2][0];
Symbol 196 MovieClip Frame 10
gotoAndStop (1);
Symbol 196 MovieClip Frame 19
gotoAndStop (1);
Symbol 201 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 1;
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 209 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.currentplayer = 1;
_root.framewanted = 3;
}
Symbol 210 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.currentplayer = 2;
_root.framewanted = 3;
}
Symbol 215 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
if (_root.computer == 1) {
_root.playernum2 = 1 + int(random(3));
}
_root.guy2hair = _root.teams[_root.teamnum2][_root.playernum2][1];
_root.guy2team = _root.teams[_root.teamnum2][_root.playernum2][2];
_root.guy2face = _root.teams[_root.teamnum2][_root.playernum2][3];
_root.guy1hair = _root.teams[_root.teamnum1][_root.playernum1][1];
_root.guy1team = _root.teams[_root.teamnum1][_root.playernum1][2];
_root.guy1face = _root.teams[_root.teamnum1][_root.playernum1][3];
_root.gotoAndStop("gameframe");
}
Symbol 217 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 2;
}
Symbol 218 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
play();
_root.hit.start();
_root["playernum" + _root.currentplayer]--;
if (_root["playernum" + _root.currentplayer] < 1) {
_root["playernum" + _root.currentplayer] = _root.teams[_root["teamnum" + _root.currentplayer]].length - 1;
}
}
Symbol 219 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
gotoAndPlay (11);
_root["playernum" + _root.currentplayer]++;
if (_root["playernum" + _root.currentplayer] > (_root.teams[_root["teamnum" + _root.currentplayer]].length - 1)) {
_root["playernum" + _root.currentplayer] = 1;
}
}
Symbol 232 MovieClip Frame 1
stop();
player.text = _root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][0];
Symbol 232 MovieClip Frame 2
_parent.picture.play();
Symbol 232 MovieClip Frame 10
gotoAndStop (1);
Symbol 232 MovieClip Frame 11
_parent.picture.play();
Symbol 232 MovieClip Frame 19
gotoAndStop (1);
Symbol 234 MovieClip Frame 1
stop();
Instance of Symbol 79 MovieClip "guy" in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
this.foot1.play();
this.foot2.play();
}
Instance of Symbol 87 MovieClip in Symbol 234 MovieClip Frame 2
onClipEvent (enterFrame) {
this.foot1.play();
this.foot2.play();
}
Symbol 240 MovieClip Frame 1
stop();
display.gotoAndStop(_root.currentplayer);
Symbol 240 MovieClip Frame 5
_root[("guy" + _root.currentplayer) + "hair"] = _root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][1];
_root[("guy" + _root.currentplayer) + "team"] = _root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][2];
_root[("guy" + _root.currentplayer) + "face"] = _root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][3];
Symbol 240 MovieClip Frame 6
display.gotoAndStop(_root.currentplayer);
Symbol 249 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
_root.framewanted = 4;
}
Symbol 251 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (release) {
if (locked == 0) {
_root.framewanted = 3;
}
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 297 Button
on (rollOver) {
_root.clicksound.start();
}
on (press) {
_root.hit.start();
}
on (keyPress "<Enter>") {
if (codebox.text == "beSaChbAll") {
_root.hit.start();
_root.beachball = true;
_root.tennisball = false;
_root.bowlingball = false;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "teNniSbaLl") {
_root.beachball = false;
_root.tennisball = true;
_root.bowlingball = false;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "bOwliSbaLl") {
_root.beachball = false;
_root.tennisball = false;
_root.bowlingball = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "loWgraSiTy") {
_root.lowgrav = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "sPeSedmodE") {
_root.lowgrav = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "AllSowsAme") {
_root.allowsame = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "floSATball") {
_root.floatingball = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "flyiSgmoDE") {
_root.flyingmode = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "thEbeAtleS") {
_root.thebeatles = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else if (codebox.text == "thERStoNes") {
_root.thestones = true;
successbox.text = "Code Entered Successfully";
_root.hit.start();
} else {
successbox.text = "Incorrect Code";
_root.clicksound.start();
}
codebox.text = "";
}
on (release) {
_root.beachball = false;
_root.tennisball = false;
_root.bowlingball = false;
_root.lowgrav = false;
_root.speedmode = false;
_root.allowsame = false;
_root.floatingball = false;
_root.flyingmode = false;
_root.thebeatles = false;
_root.thestones = false;
codebox.text = "";
}
Symbol 299 MovieClip Frame 1
stop();
onEnterFrame = function () {
fadespeed = 10;
if (_root.framewanted > 0) {
_root.white._alpha = _root.white._alpha + fadespeed;
} else if (_root.white._alpha > 0) {
_root.white._alpha = _root.white._alpha - fadespeed;
}
if (_root.white._alpha >= 100) {
gotoAndStop(_root.framewanted);
_root.framewanted = 0;
}
if (_currentframe == 4) {
if (locked == 1) {
_root.arrow._visible = false;
_root[("key" + _root.currentplayer) + key] = Key.getCode();
if (Key.isDown(_root[("key" + _root.currentplayer) + key])) {
locked = 0;
}
} else {
_root.arrow._visible = true;
}
}
};
Symbol 299 MovieClip Frame 2
if ((_root.thestones == true) and (_root.thebeatles == true)) {
_root.teams = [["Australia", ["Kewell", 5, 1, 1, 7, 4, 4], ["Cahill", 6, 1, 2, 4, 3, 8], ["Bresciano", 3, 1, 2, 5, 7, 3]], ["Brazil", ["Ronaldo", 3, 2, 3, 9, 3, 3], ["Ronaldinho", 7, 2, 3, 3, 7, 5], ["Emerson", 8, 2, 3, 4, 5, 6]], ["England", ["Beckham", 9, 3, 1, 5, 5, 5], ["Gerrard", 10, 3, 2, 5, 8, 2], ["Rooney", 11, 3, 1, 3, 3, 9]], ["France", ["Zidane", 12, 4, 2, 6, 4, 5], ["Wiltord", 3, 4, 4, 3, 9, 3], ["Chimbonda", 13, 4, 4, 3, 5, 7]], ["Germany", ["Klose", 16, 5, 1, 8, 4, 3], ["Lahm", 17, 5, 1, 3, 6, 6], ["Frings", 18, 5, 2, 4, 6, 5]], ["Holland", ["Kromkamp", 14, 6, 1, 3, 6, 6], ["Landzaat", 8, 6, 2, 8, 5, 2], ["Cocu", 4, 6, 1, 5, 7, 3]], ["Italy", ["Grosso", 15, 7, 1, 7, 3, 5], ["Cannavaro", 3, 7, 2, 6, 6, 3], ["Gillardino", 2, 7, 1, 3, 7, 5]], ["Portugal", ["Figo", 6, 8, 2, 6, 3, 6], ["Carvalho", 19, 8, 1, 3, 4, 8], ["Gomes", 18, 8, 2, 6, 6, 3]], ["The Stones", ["Jagger", 20, 9, 1, 8, 8, 8], ["Richards", 21, 9, 2, 7, 9, 8], ["Watts", 22, 9, 1, 7, 8, 9], ["Wood", 23, 9, 1, 9, 7, 8]], ["The Beatles", ["Harrison", 24, 10, 1, 8, 9, 7], ["Lennon", 25, 10, 1, 8, 8, 8], ["McCartney", 26, 10, 1, 8, 7, 9], ["Starr", 27, 10, 1, 9, 8, 7]]];
} else if (_root.thestones == true) {
_root.teams = [["Australia", ["Kewell", 5, 1, 1, 7, 4, 4], ["Cahill", 6, 1, 2, 4, 3, 8], ["Bresciano", 3, 1, 2, 5, 7, 3]], ["Brazil", ["Ronaldo", 3, 2, 3, 9, 3, 3], ["Ronaldinho", 7, 2, 3, 3, 7, 5], ["Emerson", 8, 2, 3, 4, 5, 6]], ["England", ["Beckham", 9, 3, 1, 5, 5, 5], ["Gerrard", 10, 3, 2, 5, 8, 2], ["Rooney", 11, 3, 1, 3, 3, 9]], ["France", ["Zidane", 12, 4, 2, 6, 4, 5], ["Wiltord", 3, 4, 4, 3, 9, 3], ["Chimbonda", 13, 4, 4, 3, 5, 7]], ["Germany", ["Klose", 16, 5, 1, 8, 4, 3], ["Lahm", 17, 5, 1, 3, 6, 6], ["Frings", 18, 5, 2, 4, 6, 5]], ["Holland", ["Kromkamp", 14, 6, 1, 3, 6, 6], ["Landzaat", 8, 6, 2, 8, 5, 2], ["Cocu", 4, 6, 1, 5, 7, 3]], ["Italy", ["Grosso", 15, 7, 1, 7, 3, 5], ["Cannavaro", 3, 7, 2, 6, 6, 3], ["Gillardino", 2, 7, 1, 3, 7, 5]], ["Portugal", ["Figo", 6, 8, 2, 6, 3, 6], ["Carvalho", 19, 8, 1, 3, 4, 8], ["Gomes", 18, 8, 2, 6, 6, 3]], ["The Stones", ["Jagger", 20, 9, 1, 8, 8, 8], ["Richards", 21, 9, 2, 7, 9, 8], ["Watts", 22, 9, 1, 7, 8, 9], ["Wood", 23, 9, 1, 9, 7, 8]]];
} else if (_root.thebeatles == true) {
_root.teams = [["Australia", ["Kewell", 5, 1, 1, 7, 4, 4], ["Cahill", 6, 1, 2, 4, 3, 8], ["Bresciano", 3, 1, 2, 5, 7, 3]], ["Brazil", ["Ronaldo", 3, 2, 3, 9, 3, 3], ["Ronaldinho", 7, 2, 3, 3, 7, 5], ["Emerson", 8, 2, 3, 4, 5, 6]], ["England", ["Beckham", 9, 3, 1, 5, 5, 5], ["Gerrard", 10, 3, 2, 5, 8, 2], ["Rooney", 11, 3, 1, 3, 3, 9]], ["France", ["Zidane", 12, 4, 2, 6, 4, 5], ["Wiltord", 3, 4, 4, 3, 9, 3], ["Chimbonda", 13, 4, 4, 3, 5, 7]], ["Germany", ["Klose", 16, 5, 1, 8, 4, 3], ["Lahm", 17, 5, 1, 3, 6, 6], ["Frings", 18, 5, 2, 4, 6, 5]], ["Holland", ["Kromkamp", 14, 6, 1, 3, 6, 6], ["Landzaat", 8, 6, 2, 8, 5, 2], ["Cocu", 4, 6, 1, 5, 7, 3]], ["Italy", ["Grosso", 15, 7, 1, 7, 3, 5], ["Cannavaro", 3, 7, 2, 6, 6, 3], ["Gillardino", 2, 7, 1, 3, 7, 5]], ["Portugal", ["Figo", 6, 8, 2, 6, 3, 6], ["Carvalho", 19, 8, 1, 3, 4, 8], ["Gomes", 18, 8, 2, 6, 6, 3]], [], ["The Beatles", ["Harrison", 24, 10, 1, 8, 9, 7], ["Lennon", 25, 10, 1, 8, 8, 8], ["McCartney", 26, 10, 1, 8, 7, 9], ["Starr", 27, 10, 1, 9, 8, 7]]];
}
Instance of Symbol 120 MovieClip "flag1" in Symbol 299 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._currentframe != (_root.teamnum1 + 2)) {
framewanted = _root.teamnum1 + 2;
}
}
Instance of Symbol 120 MovieClip "flag2" in Symbol 299 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._currentframe != (_root.teamnum2 + 2)) {
framewanted = _root.teamnum2 + 2;
}
}
Instance of Symbol 204 MovieClip in Symbol 299 MovieClip Frame 2
onClipEvent (load) {
if (_root.computer == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
_parent.playermenu2._visible = false;
}
}
on (press) {
_root.hit.start();
if (_root.computer == 0) {
_root.computer = 1;
this.gotoAndStop(2);
_parent.playermenu2._visible = false;
} else {
_root.computer = 0;
this.gotoAndStop(1);
_parent.playermenu2._visible = true;
}
}
Symbol 299 MovieClip Frame 3
_root.guy2hair = _root.teams[_root.teamnum2][_root.playernum2][1];
_root.guy2team = _root.teams[_root.teamnum2][_root.playernum2][2];
_root.guy2face = _root.teams[_root.teamnum2][_root.playernum2][3];
_root.guy1hair = _root.teams[_root.teamnum1][_root.playernum1][1];
_root.guy1team = _root.teams[_root.teamnum1][_root.playernum1][2];
_root.guy1face = _root.teams[_root.teamnum1][_root.playernum1][3];
Instance of Symbol 244 MovieClip "stats" in Symbol 299 MovieClip Frame 3
onClipEvent (enterFrame) {
power._xscale = power._xscale + (((_root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][4] * 10) - power._xscale) / 10);
speed._xscale = speed._xscale + (((_root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][5] * 10) - speed._xscale) / 10);
jump._xscale = jump._xscale + (((_root.teams[_root["teamnum" + _root.currentplayer]][_root["playernum" + _root.currentplayer]][6] * 10) - jump._xscale) / 10);
}
Symbol 299 MovieClip Frame 4
locked = 0;
Instance of Symbol 254 MovieClip in Symbol 299 MovieClip Frame 4
on (press) {
if (_parent.locked == 0) {
gotoAndStop (2);
_parent.locked = 1;
_parent.key = "up";
_root.hit.start();
}
}
onClipEvent (enterFrame) {
if (_parent.locked == 0) {
this.gotoAndStop(1);
}
}
Instance of Symbol 257 MovieClip in Symbol 299 MovieClip Frame 4
on (press) {
if (_parent.locked == 0) {
gotoAndStop (2);
_parent.locked = 1;
_parent.key = "right";
_root.hit.start();
}
}
onClipEvent (enterFrame) {
if (_parent.locked == 0) {
this.gotoAndStop(1);
}
}
Instance of Symbol 260 MovieClip in Symbol 299 MovieClip Frame 4
on (press) {
if (_parent.locked == 0) {
gotoAndStop (2);
_parent.locked = 1;
_parent.key = "left";
_root.hit.start();
}
}
onClipEvent (enterFrame) {
if (_parent.locked == 0) {
this.gotoAndStop(1);
}
}
Symbol 299 MovieClip Frame 5
this[_root._quality].gotoAndStop(2);
if (_root.difficulty == 1) {
AILOW.gotoAndStop(2);
} else if (_root.difficulty == 2) {
AIMEDIUM.gotoAndStop(2);
} else if (_root.difficulty == 3) {
AIHIGH.gotoAndStop(2);
} else if (_root.difficulty == 4) {
AIBEST.gotoAndStop(2);
}
if (_root.gamelength == 1) {
onemin.gotoAndStop(2);
} else if (_root.gamelength == 2) {
twomin.gotoAndStop(2);
} else if (_root.gamelength == 3) {
threemin.gotoAndStop(2);
} else if (_root.gamelength == 5) {
fivemin.gotoAndStop(2);
}
Instance of Symbol 264 MovieClip "LOW" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.MEDIUM.gotoAndStop(1);
_parent.HIGH.gotoAndStop(1);
_parent.BEST.gotoAndStop(1);
this.gotoAndStop(2);
_root._quality = "LOW";
_root.hit.start();
}
Instance of Symbol 267 MovieClip "MEDIUM" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.LOW.gotoAndStop(1);
_parent.HIGH.gotoAndStop(1);
_parent.BEST.gotoAndStop(1);
this.gotoAndStop(2);
_root._quality = "MEDIUM";
_root.hit.start();
}
Instance of Symbol 270 MovieClip "HIGH" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.LOW.gotoAndStop(1);
_parent.MEDIUM.gotoAndStop(1);
_parent.BEST.gotoAndStop(1);
this.gotoAndStop(2);
_root._quality = "HIGH";
_root.hit.start();
}
Instance of Symbol 273 MovieClip "BEST" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.LOW.gotoAndStop(1);
_parent.MEDIUM.gotoAndStop(1);
_parent.HIGH.gotoAndStop(1);
this.gotoAndStop(2);
_root._quality = "BEST";
_root.hit.start();
}
Instance of Symbol 264 MovieClip "AILOW" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.AIMEDIUM.gotoAndStop(1);
_parent.AIHIGH.gotoAndStop(1);
_parent.AIBEST.gotoAndStop(1);
this.gotoAndStop(2);
_root.difficulty = 1;
_root.hit.start();
}
Instance of Symbol 267 MovieClip "AIMEDIUM" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.AILOW.gotoAndStop(1);
_parent.AIHIGH.gotoAndStop(1);
_parent.AIBEST.gotoAndStop(1);
this.gotoAndStop(2);
_root.difficulty = 2;
_root.hit.start();
}
Instance of Symbol 270 MovieClip "AIHIGH" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.AILOW.gotoAndStop(1);
_parent.AIMEDIUM.gotoAndStop(1);
_parent.AIBEST.gotoAndStop(1);
this.gotoAndStop(2);
_root.difficulty = 3;
_root.hit.start();
}
Instance of Symbol 273 MovieClip "AIBEST" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.AILOW.gotoAndStop(1);
_parent.AIMEDIUM.gotoAndStop(1);
_parent.AIHIGH.gotoAndStop(1);
this.gotoAndStop(2);
_root.difficulty = 4;
_root.hit.start();
}
Instance of Symbol 276 MovieClip "onemin" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.twomin.gotoAndStop(1);
_parent.threemin.gotoAndStop(1);
_parent.fivemin.gotoAndStop(1);
this.gotoAndStop(2);
_root.gamelength = 1;
_root.hit.start();
}
Instance of Symbol 279 MovieClip "twomin" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.onemin.gotoAndStop(1);
_parent.threemin.gotoAndStop(1);
_parent.fivemin.gotoAndStop(1);
this.gotoAndStop(2);
_root.gamelength = 2;
_root.hit.start();
}
Instance of Symbol 282 MovieClip "threemin" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.onemin.gotoAndStop(1);
_parent.twomin.gotoAndStop(1);
_parent.fivemin.gotoAndStop(1);
this.gotoAndStop(2);
_root.gamelength = 3;
_root.hit.start();
}
Instance of Symbol 285 MovieClip "fivemin" in Symbol 299 MovieClip Frame 5
on (press) {
_parent.onemin.gotoAndStop(1);
_parent.twomin.gotoAndStop(1);
_parent.threemin.gotoAndStop(1);
this.gotoAndStop(2);
_root.gamelength = 5;
_root.hit.start();
}
Instance of Symbol 288 MovieClip in Symbol 299 MovieClip Frame 5
onClipEvent (load) {
if (_root.sound == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_root.hit.start();
if (_root.sound == 0) {
_root.sound = 1;
this.gotoAndStop(2);
_root.clicksound.setVolume(100);
} else {
_root.sound = 0;
this.gotoAndStop(1);
_root.clicksound.setVolume(0);
}
}
Symbol 302 MovieClip Frame 2
stop();
this._alpha = 0;
Symbol 307 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
hitspeed = 20;
if (_root.bowlingball == true) {
_root.ballsize = 18.5;
_root.cheat = 0.3;
ball.gotoAndStop(2);
} else if (_root.tennisball == true) {
_root.ballsize = 8;
_root.cheat = 1;
ball.gotoAndStop(3);
} else if (_root.beachball == true) {
_root.ballsize = 50;
_root.cheat = 1;
ball.gotoAndStop(4);
} else {
_root.ballsize = 18.5;
_root.cheat = 1;
}
onEnterFrame = function () {
if (_root.guy1.hitTest(this)) {
i = 0;
while (i >= -36) {
if (_root.guy1.hitTest(this._x + (Math.sin(((i * 10) * Math.PI) / 180) * _root.ballsize), (this._y + 0) - (Math.cos(((i * 10) * Math.PI) / 180) * _root.ballsize), true)) {
_root.xspeed = (-Math.sin(((i * 10) * Math.PI) / 180)) * (_root.guy1hitpower * _root.cheat);
_root.yspeed = Math.cos(((i * 10) * Math.PI) / 180) * (_root.guy1hitpower * _root.cheat);
_root.guy1xspeed = Math.sin(((i * 10) * Math.PI) / 180) * 5;
_root.guy1yspeed = -(Math.cos(((i * 10) * Math.PI) / 180) * 5);
_root.hit2.start();
break;
}
i--;
}
}
if (_root.guy2.hitTest(this)) {
i = 0;
while (i <= 36) {
if (_root.guy2.hitTest(this._x + (Math.sin(((i * 10) * Math.PI) / 180) * _root.ballsize), (this._y + 0) - (Math.cos(((i * 10) * Math.PI) / 180) * _root.ballsize), true)) {
_root.xspeed = (-Math.sin(((i * 10) * Math.PI) / 180)) * (_root.guy2hitpower * _root.cheat);
_root.yspeed = Math.cos(((i * 10) * Math.PI) / 180) * (_root.guy2hitpower * _root.cheat);
_root.guy2xspeed = Math.sin(((i * 10) * Math.PI) / 180) * 5;
_root.guy2yspeed = -(Math.cos(((i * 10) * Math.PI) / 180) * 5);
_root.hit2.start();
break;
}
i++;
}
}
};
Symbol 314 MovieClip Frame 1
diff = 0;
unit1 = 0;
unit2 = 0;
unit3 = 0;
unit4 = _root.gamelength;
timepassed = getTimer();
onEnterFrame = function () {
if (((getTimer() - timepassed) / 100) > 1) {
diff = 0;
unit1--;
timepassed = getTimer();
}
if (unit1 < 0) {
unit1 = 9;
unit2--;
}
if (unit2 < 0) {
unit2 = 9;
unit3--;
}
if (unit3 < 0) {
unit3 = 5;
unit4--;
}
time.text = (((((unit4 + ":") + unit3) + "") + unit2) + ":") + unit1;
if (time.text == "0:00:0") {
if (_root.score1 > _root.score2) {
_root.winners = 1;
_root.gotoAndStop("winnerframe");
} else if (_root.score1 < _root.score2) {
_root.winners = 2;
_root.gotoAndStop("winnerframe");
} else {
unit3 = unit3 + 3;
}
}
};
Symbol 317 Button
on (keyPress "<Enter>") {
_root.gotoAndStop("menuframe");
_root.clicksound.start();
}