Frame 1
Lstage = 0;
bytesLoaded = 0;
bytesTotal = getBytesTotal();
fscommand ("allowscale", false);
fscommand ("showmenu", false);
Frame 2
percent = (getBytesLoaded() / getBytesTotal()) * 100;
percent = Math.floor(percent);
loader.play();
if (percent >= 50) {
gotoAndPlay ("play");
}
percentDisplay = percent * 2;
Frame 18
gotoAndPlay ("loading");
Frame 25
_quality = "HIGH";
_root.music = 1;
scoresent = 0;
scoreset = 0;
sess = random(9999999);
loadVariablesNum ("GetLadder.cfm?sess=" + sess, 0);
dropdown1 = "AUSTRALIA";
dropbox1 = 2;
teamrandom = random(18) + 1;
if (teamrandom <= 2) {
dropdown2 = "ARGENTINA";
dropbox2 = 1;
difficulty = 1.65;
}
if (teamrandom == 3) {
dropdown2 = "CANADA";
dropbox2 = 3;
difficulty = 1.35;
}
if (teamrandom == 4) {
dropdown2 = "ENGLAND";
dropbox2 = 4;
difficulty = 1.95;
}
if (teamrandom == 5) {
dropdown2 = "FIJI";
dropbox2 = 5;
difficulty = 1.5;
}
if (teamrandom == 6) {
dropdown2 = "FRANCE";
dropbox2 = 6;
difficulty = 1.8;
}
if (teamrandom == 7) {
dropdown2 = "IRELAND";
dropbox2 = 7;
difficulty = 1.75;
}
if (teamrandom == 8) {
dropdown2 = "ITALY";
dropbox2 = 8;
difficulty = 1.45;
}
if (teamrandom == 9) {
dropdown2 = "JAPAN";
dropbox2 = 9;
difficulty = 1.2;
}
if (teamrandom == 10) {
dropdown2 = "NEW ZEALAND";
dropbox2 = 10;
difficulty = 2;
}
if (teamrandom == 11) {
dropdown2 = "ROMANIA";
dropbox2 = 11;
difficulty = 1.3;
}
if (teamrandom == 12) {
dropdown2 = "SAMOA";
dropbox2 = 12;
difficulty = 1.55;
}
if (teamrandom == 13) {
dropdown2 = "SCOTLAND";
dropbox2 = 13;
difficulty = 1.85;
}
if (teamrandom == 14) {
dropdown2 = "SOUTH AFRICA";
dropbox2 = 14;
difficulty = 1.9;
}
if (teamrandom == 15) {
dropdown2 = "SPAIN";
dropbox2 = 15;
difficulty = 1.4;
}
if (teamrandom == 16) {
dropdown2 = "TONGA";
dropbox2 = 16;
difficulty = 1.6;
}
if (teamrandom == 17) {
dropdown2 = "USA";
dropbox2 = 17;
difficulty = 1.25;
}
if (teamrandom >= 18) {
dropdown2 = "WALES";
dropbox2 = 18;
difficulty = 1.7;
}
Frame 120
if (_root.music == 0) {
stop();
musiclabel.gotoAndStop(2);
}
if (_root.music == 1) {
play();
stopAllSounds();
musiclabel.gotoAndStop(1);
}
Frame 122
sess = random(9999999);
loadVariablesNum ("GetLadder.cfm?sess=" + sess, 0);
Frame 124
stop();
Frame 126
gotoAndPlay (204);
stopAllSounds();
Frame 135
gotoAndPlay (187);
stopAllSounds();
Frame 144
gotoAndPlay (156);
stopAllSounds();
Frame 157
if (_root.music == 0) {
gotoAndPlay ("nosound");
musiclabel.gotoAndStop(2);
}
if (_root.music == 1) {
play();
musiclabel.gotoAndStop(1);
}
Frame 164
scoreSetString = 0;
scoreSetArray = 0;
timer = 0;
scoreset = 0;
sess = random(99999999);
Frame 165
loadVariablesNum ("GetLadder.cfm?sess=" + sess, 0);
Frame 166
((undefined <= b) > "c") || (0(false));
if (scoreset != 0) {
scoreSetString = new String();
scoreSetString = scoreset;
scoreSetArray = scoreSetString.split("|");
tPos = 1;
arrayPos = 1;
teamarray = new Array("ARGENTINA", "AUSTRALIA", "CANADA", "ENGLAND", "FIJI", "FRANCE", "IRELAND", "ITALY", "JAPAN", "NEW ZEALAND", "ROMANIA", "SAMOA", "SCOTLAND", "SOUTH AFRICA", "SPAIN", "TONGA", "USA", "WALES");
XString = "";
i = 1;
while (i <= 18) {
XString = XString + ((((((((((((((((((("team" + i) + "|") + teamarray[scoreSetArray[arrayPos] - 1]) + "|") + "wins") + i) + "|") + scoreSetArray[arrayPos + 1]) + "|") + "losses") + i) + "|") + scoreSetArray[arrayPos + 2]) + "|") + "ratio") + i) + "|") + Math.round((Number(scoreSetArray[arrayPos + 1]) / Number(Number(scoreSetArray[arrayPos + 1]) + Number(scoreSetArray[arrayPos + 2]))) * 100)) + "|");
StringArray = XString.split("|");
eval ("_root.mainboard.flags" + i).gotoAndStop(scoreSetArray[arrayPos]);
arrayPos = arrayPos + 3;
i++;
}
gotoAndPlay ("looptable");
}
Frame 167
gotoAndPlay ("loopIt");
Frame 168
((undefined <= b) > "c") || (0(false));
timer++;
if (timer >= 1200) {
gotoAndPlay (160);
}
team1 = StringArray[1];
wins1 = StringArray[3];
losses1 = StringArray[5];
ratio1 = StringArray[7];
team2 = StringArray[9];
wins2 = StringArray[11];
losses2 = StringArray[13];
ratio2 = StringArray[15];
team3 = StringArray[17];
wins3 = StringArray[19];
losses3 = StringArray[21];
ratio3 = StringArray[23];
team4 = StringArray[25];
wins4 = StringArray[27];
losses4 = StringArray[29];
ratio4 = StringArray[31];
team5 = StringArray[33];
wins5 = StringArray[35];
losses5 = StringArray[37];
ratio5 = StringArray[39];
team6 = StringArray[41];
wins6 = StringArray[43];
losses6 = StringArray[45];
ratio6 = StringArray[47];
team7 = StringArray[49];
wins7 = StringArray[51];
losses7 = StringArray[53];
ratio7 = StringArray[55];
team8 = StringArray[57];
wins8 = StringArray[59];
losses8 = StringArray[61];
ratio8 = StringArray[63];
team9 = StringArray[65];
wins9 = StringArray[67];
losses9 = StringArray[69];
ratio9 = StringArray[71];
team10 = StringArray[73];
wins10 = StringArray[75];
losses10 = StringArray[77];
ratio10 = StringArray[79];
team11 = StringArray[81];
wins11 = StringArray[83];
losses11 = StringArray[85];
ratio11 = StringArray[87];
team12 = StringArray[89];
wins12 = StringArray[91];
losses12 = StringArray[93];
ratio12 = StringArray[95];
team13 = StringArray[97];
wins13 = StringArray[99];
losses13 = StringArray[101];
ratio13 = StringArray[103];
team14 = StringArray[105];
wins14 = StringArray[107];
losses14 = StringArray[109];
ratio14 = StringArray[111];
team15 = StringArray[113];
wins15 = StringArray[115];
losses15 = StringArray[117];
ratio15 = StringArray[119];
team16 = StringArray[121];
wins16 = StringArray[123];
losses16 = StringArray[125];
ratio16 = StringArray[127];
team17 = StringArray[129];
wins17 = StringArray[131];
losses17 = StringArray[133];
ratio17 = StringArray[135];
team18 = StringArray[137];
wins18 = StringArray[139];
losses18 = StringArray[141];
ratio18 = StringArray[143];
Frame 169
gotoAndPlay ("looptable");
Frame 173
gotoAndPlay (204);
stopAllSounds();
Frame 179
gotoAndPlay (187);
stopAllSounds();
Frame 187
_quality = "HIGH";
Frame 188
if (_root.music == 0) {
stop();
musiclabel.gotoAndStop(2);
} else {
play();
musiclabel.gotoAndStop(1);
}
Frame 190
stop();
Frame 192
gotoAndPlay (204);
stopAllSounds();
Frame 195
gotoAndPlay (156);
stopAllSounds();
Frame 205
if (_root.music == 0) {
stop();
musiclabel.gotoAndStop(2);
} else {
play();
musiclabel.gotoAndStop(1);
}
Frame 208
stop();
Frame 210
gotoAndPlay (234);
stopAllSounds();
Frame 219
gotoAndPlay (187);
stopAllSounds();
Frame 226
gotoAndPlay (156);
stopAllSounds();
Frame 234
scoreboard.flags1.gotoAndStop(dropbox1);
scoreboard.flags2.gotoAndStop(dropbox2);
score = 0;
scoreteam1 = random(40);
scoreteam2 = scoreteam1 + 6;
_root.tryscored = 0;
_root.winner = 0;
_root.loser = 0;
_root.clock.hundreds = 0;
_root.clock.minutes = 3;
_root.clock.seconds = "00";
_root.timereduced = 0;
_quality = "LOW";
Instance of Symbol 833 MovieClip "clock" in Frame 234
onClipEvent (load) {
seconds = "00";
hundreds = 0;
minutes = 3;
}
Frame 236
stop();
titles.gotoAndPlay("getready");
Frame 237
_root.clock.hundreds = 0;
_root.clock.minutes = 3;
_root.clock.seconds = 0;
scoreboard.flags1.gotoAndStop(dropbox1);
scoreboard.flags2.gotoAndStop(dropbox2);
tryscored = 0;
score = 0;
palmscorebonus = 500;
dodgescorebonus = 250;
runbackbonus = -25;
runforwardbonus = 10;
energybonus = 200;
passbonus = -200;
tackledbonus = -20;
passSpeed = 8;
balleasing = passSpeed;
segmentNo = 84;
ballCarrier = 1;
speedStart = 30;
sprintfactor = speedStart * 1.5;
sprintlimit = 300 / sprintfactor;
sprintacceleration = 0.5;
steplimit = 11;
energytimer = 35;
sprintEnergy1 = energytimer;
sprintEnergy2 = energytimer;
sprintEnergy3 = energytimer;
energyregain = 0;
speed = speedStart;
playerspeedY = 300 / speed;
playerspeedX = 300 / speed;
playeracceleration = 0.5;
passno = 0;
spacingX = 450;
spacingY = 60;
lag = 5;
shortestdistance = 200;
sprintdistance = 200;
sidestepdistance = 70;
palmingdistance = 40;
tacklemindist = 15;
timerlimit = 10;
palmoff = 0;
sidestep = 0;
tackle = 0;
speedFactor = 5.5 * difficulty;
accelerationFactor = 0.55 * difficulty;
easing = 40;
bounce = 0.5;
bouncelimit = 2;
bargetimer = 25;
_root.opno1 = new Array(140 * difficulty, accelerationFactor * 0.5, speedFactor * 0.7, easing * 0.7, 0);
_root.opno2 = new Array(190 * difficulty, accelerationFactor * 0.45, speedFactor * 0.65, easing * 0.8, 1);
_root.opno3 = new Array(280 * difficulty, accelerationFactor * 0.3, speedFactor * 0.55, easing * 0.6, 0);
_root.opno4 = new Array(170 * difficulty, accelerationFactor * 0.35, speedFactor * 0.4, easing * 0.9, 0);
_root.opno5 = new Array(260 * difficulty, accelerationFactor * 0.4, speedFactor * 0.45, easing * 1, 1);
_root.opno6 = new Array(150 * difficulty, accelerationFactor * 0.35, speedFactor * 0.5, easing * 1.25, 0);
_root.opno7 = new Array(240 * difficulty, accelerationFactor * 0.3, speedFactor * 0.45, easing * 1.2, 0);
_root.opno8 = new Array(330 * difficulty, accelerationFactor * 0.4, speedFactor * 0.38, easing * 1.05, 1);
_root.opno9 = new Array(320 * difficulty, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.1, 0);
_root.opno10 = new Array(310 * difficulty, accelerationFactor * 0.35, speedFactor * 0.25, easing * 1.25, 0);
_root.opno11 = new Array(300 * difficulty, accelerationFactor * 0.3, speedFactor * 0.2, easing * 1.5, 1);
_root.opno12 = new Array(190 * difficulty, accelerationFactor * 0.25, speedFactor * 0.4, easing * 1.05, 1);
_root.opno13 = new Array(480 * difficulty, accelerationFactor * 0.2, speedFactor * 0.35, easing * 1.1, 0);
_root.opno14 = new Array(470 * difficulty, accelerationFactor * 0.15, speedFactor * 0.3, easing * 1.15, 0);
_root.opno15 = new Array(460 * difficulty, accelerationFactor * 0.1, speedFactor * 0.15, easing * 1.1, 1);
_root.opno16 = new Array(600, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.3, 0);
_root.opno17 = new Array(600, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.3, 1);
_root.opno18 = new Array(600, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.3, 1);
_root.opno19 = new Array(600, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.3, 1);
_root.opno20 = new Array(600, accelerationFactor * 0.4, speedFactor * 0.4, easing * 1.3, 1);
Instance of Symbol 833 MovieClip "clock" in Frame 237
onClipEvent (load) {
seconds = 0;
hundreds = 0;
minutes = 3;
}
onClipEvent (enterFrame) {
if (_root.tryscored == 0) {
if (_root.timereduced == 1) {
if (seconds >= 5) {
seconds = seconds - 5;
} else {
seconds = 0;
}
_root.timereduced = 0;
}
if (_root.tackle == 1) {
if (_root.playedtitles == 0) {
_root.titles.gotoAndPlay("tackle");
_root.playedtitles = 1;
}
}
if (_root.intouch == 1) {
if (_root.playedtitles == 0) {
_root.titles.gotoAndPlay("tryagain");
_root.playedtitles = 1;
}
}
if ((_root.tackle == 0) and (_root.intouch == 0)) {
if (_root.tryscored == 0) {
hundreds = hundreds - 5;
if (hundreds <= 0) {
hundreds = 99;
if (minutes == 0) {
if (seconds <= 0) {
seconds = "00";
hundreds = "00";
minutes = "0";
_root.seconds = "00";
_root.hundreds = "00";
_root.minutes = "0";
_root.gotoAndPlay("timesup");
}
}
if (minutes >= 1) {
if (seconds <= 0) {
seconds = seconds + 60;
minutes--;
}
}
if (seconds >= 1) {
seconds--;
}
}
}
}
}
if (_root.tryscored == 1) {
_root.seconds = seconds;
_root.hundreds = hundreds;
_root.minutes = minutes;
}
if (seconds <= 9) {
_root.timeleft = (minutes + ":0") + seconds;
secondsdisplayed = "0" + seconds;
} else {
_root.timeleft = (minutes + ":") + seconds;
secondsdisplayed = seconds;
}
}
Instance of Symbol 890 MovieClip "radar" in Frame 237
onClipEvent (load) {
positionY = position._height;
position._yscale = 100 - (100 * Math.abs(_root.ground._y / (_root.ground._height - _root.players.stage._height)));
totalArea = _root.ground._width + _root.players.stage._width;
target._x = (position._x - (position._width / 2)) + ((((Math.abs(_root.ground._x / _root.ground._width) * (_root.ground._width / totalArea)) * position._width) + (((eval ("_root.players.player" + _root.ballCarrier)._x / _root.players.stage._width) * (_root.players.stage._width / totalArea)) * position._width)) * (totalArea / _root.ground._width));
target._y = position._y - position._height;
target.playerno = "P1";
}
onClipEvent (enterFrame) {
position._yscale = 100 - (100 * Math.abs(_root.ground._y / (_root.ground._height - _root.players.stage._height)));
totalArea = _root.ground._width + _root.players.stage._width;
target._x = (position._x - (position._width / 2)) + ((((Math.abs(_root.ground._x / _root.ground._width) * (_root.ground._width / totalArea)) * position._width) + (((eval ("_root.players.player" + _root.ballCarrier)._x / _root.players.stage._width) * (_root.players.stage._width / totalArea)) * position._width)) * (totalArea / _root.ground._width));
if (_root.tryscored == 1) {
_root.scoreX = 5 + ((target._x * position._width) / _root.players.stage._width);
_root.scoreX = _root.scoreX * (_root.players.stage._width / 10);
}
target._y = position._y - position._height;
if (_root.ballCarrier == 1) {
target.playerno = "P1";
}
if (_root.ballCarrier == 2) {
target.playerno = "P2";
}
if (_root.ballCarrier == 3) {
target.playerno = "P3";
}
}
Frame 240
stop();
Frame 242
stop();
stopAllSounds();
_root.tryscored = 1;
scoreteam1 = scoreteam1 + 5;
_root.gamepoints = 5;
kick._x = _root.scoreX;
possy._x = _root.scoreX;
Instance of Symbol 833 MovieClip "clock" in Frame 242
onClipEvent (load) {
seconds = _root.seconds;
hundreds = _root.hundreds;
minutes = _root.minutes;
}
Instance of Symbol 584 MovieClip "stage" in Frame 242
onClipEvent (load) {
_root.kicktheball = 0;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (!(Key.getCode() === 32)) {
} else {
_root.possy.play();
}
};
Key.addListener(keyListener);
}
onClipEvent (mouseDown) {
_root.possy.play();
}
Instance of Symbol 895 MovieClip "kick" in Frame 242
onClipEvent (load) {
_root.kickpoints = 4999;
ballrising = 1;
checkKick = 1;
rise = 2.5;
_root.madekick = 0;
_root.kicking = 0;
distY = _root.kick._y - _root.posts1._y;
parallaxX = _root.posts1._x - _root.kick._x;
rate = 1.5;
kickingspeed = 10;
side = random(10);
if (side <= 5) {
arrow._rotation = 60;
}
if (side > 5) {
arrow._rotation = -60;
}
anglechange = 7;
}
onClipEvent (enterFrame) {
if (_root.kicking == 0) {
if (_root.kickpoints > 0) {
_root.kickpoints = _root.kickpoints - 30;
}
if (_root.kickpoints < 0) {
_root.kickpoints = 0;
}
r = arrow._rotation;
if (r < 0) {
anglechange = anglechange + rate;
}
if (r > 0) {
anglechange = anglechange - rate;
}
if (_root.kicktheball == 0) {
r = r + anglechange;
}
}
if (r < -80) {
r = -80;
}
if (r > 80) {
r = 80;
}
if (r <= 0) {
if (r >= -90) {
vx = r / 90;
vy = (90 + r) / 90;
} else {
vx = (-(180 + r)) / 90;
vy = (r + 90) / 90;
}
} else if (r <= 90) {
vx = r / 90;
vy = (90 - r) / 90;
} else {
vx = (180 - r) / 90;
vy = (-(r - 90)) / 90;
}
kickingspeedY = (-vy) * kickingspeed;
kickingspeedX = vx * kickingspeed;
if (_root.kicktheball == 1) {
if (rise >= 0) {
rise = rise - 0.05;
kickingball._y = kickingball._y + kickingspeedY;
kickingball._x = kickingball._x + kickingspeedX;
ball._y = ball._y + (kickingspeedY * rise);
ball._x = ball._x + kickingspeedX;
ball._yscale = ball._yscale + (rise / 2);
ball._xscale = ball._xscale + (rise / 2);
}
if (rise < 0) {
rise = rise - 0.02;
kickingball._y = kickingball._y + kickingspeedY;
kickingball._x = kickingball._x + kickingspeedX;
ball._y = ball._y + (kickingspeedY * rise);
ball._x = ball._x + kickingspeedX;
ball._yscale = ball._yscale + (rise * 2);
ball._xscale = ball._xscale + (rise * 2);
}
if (kickingball._y <= (ball._y + 10)) {
rise = 1.5;
}
kickingball.play();
ball.play();
if (kickingball._y <= (-distY)) {
if (checkKick == 1) {
if (((kickingball._x - parallaxX) >= ((-(_root.posts1._width / 2)) + 5)) and ((kickingball._x - parallaxX) <= ((_root.posts1._width / 2) - 5))) {
accuracyX = Math.abs(kickingball._x - parallaxX);
if (accuracyX <= 1) {
_root.accuracy = 50000;
} else {
_root.accuracy = Math.round(50000 - (1000 * accuracyX));
if (_root.accuracy <= 0) {
_root.accuracy = 0;
}
}
_root.madekick = 1;
_root.linesmen.gotoAndStop("scored");
checkKick = 0;
} else {
_root.madekick = 0;
checkKick = 0;
}
}
}
if (kickingball._y <= ((-distY) - 200)) {
if (_root.madekick == 1) {
_root.gotoAndPlay("youwin");
} else {
_root.gotoAndPlay("youlose");
}
_root.kicktheball = 0;
gotoAndStop (235);
}
}
if (_root.kicktheball == 1) {
if (((kickingball._x - parallaxX) <= -1000) or ((kickingball._x - parallaxX) >= 1000)) {
_root.gotoAndPlay("youlose");
_root.kicktheball = 0;
gotoAndStop (235);
}
}
arrow._rotation = r;
}
Frame 253
titles.gotoAndPlay("missed");
_root.tryscored = 1;
_root.winner = _root.dropbox2;
_root.loser = _root.dropbox1;
Frame 264
_root.secondsleft = Number(_root.minutes * 60) + Number(_root.seconds);
_root.visual = ((((((((((((("(" + _root.score) + "+") + _root.secondsleft) + "+") + _root.energyleft) + ")") + "x") + _root.gamepoints) + "x") + _root.difficulty) + "x") + _root.difficulty) + "x") + _root.difficulty;
_root.totalscore = Math.round(((((_root.score + _root.secondsleft) + _root.energyleft) * _root.gamepoints) * _root.difficulty) * _root.difficulty) + _root.kickpoints;
Frame 368
gotoAndPlay (551);
Frame 369
_root.scoreteam1 = _root.scoreteam1 + 2;
_root.gamepoints = 7;
titles.gotoAndPlay("goal");
_root.tryscored = 2;
_root.winner = _root.dropbox1;
_root.loser = _root.dropbox2;
Frame 374
_root.secondsleft = Number(_root.minutes * 60) + Number(_root.seconds);
_root.visual = ((((((((((((("(" + _root.score) + "+") + _root.secondsleft) + "+") + _root.energyleft) + ")") + "x") + _root.gamepoints) + "x") + _root.difficulty) + "x") + _root.difficulty) + "x") + _root.difficulty;
_root.totalscore = (Math.round(((((_root.score + _root.secondsleft) + _root.energyleft) * _root.gamepoints) * _root.difficulty) * _root.difficulty) + _root.kickpoints) + _root.accuracy;
Frame 461
gotoAndPlay (551);
Frame 462
_root.gamepoints = 1;
_root.visual = ((((((((((((("(" + _root.score) + "+") + _root.secondsleft) + "+") + _root.energyleft) + ")") + "x") + _root.gamepoints) + "x") + _root.difficulty) + "x") + _root.difficulty) + "x") + _root.difficulty;
_root.totalscore = Math.round((((_root.score + _root.secondsleft) + _root.energyleft) * _root.difficulty) * _root.difficulty);
titles.gotoAndPlay("timesup");
_root.tryscored = 0;
_root.winner = _root.dropbox2;
_root.loser = _root.dropbox1;
Frame 550
stop();
gotoAndPlay (551);
Frame 551
stopAllSounds();
_quality = "HIGH";
Frame 553
dummyName = "No Name";
dummyEmail = "No Email";
teamarray = new Array("ARGENTINA", "AUSTRALIA", "CANADA", "ENGLAND", "FIJI", "FRANCE", "IRELAND", "ITALY", "JAPAN", "NEW ZEALAND", "ROMANIA", "SAMOA", "SCOTLAND", "SOUTH AFRICA", "SPAIN", "TONGA", "USA", "WALES");
_root.teamwin = teamarray[_root.winner - 1];
if (_root.totalScore <= 50000) {
_root.rating = "LOSER. What the hell was that! Did you not hear the whistle.";
}
if ((_root.totalScore > 50000) and (_root.totalScore <= 100000)) {
_root.rating = "USELESS. Namibia would turn you down.";
}
if ((_root.totalScore > 100000) and (_root.totalScore <= 150000)) {
_root.rating = "You played well - Got potential.";
}
if ((_root.totalScore > 150000) and (_root.totalScore <= 250000)) {
_root.rating = "You played like a professional, almost up with the best";
}
if (_root.totalScore >= 250000) {
_root.rating = "Congratulations, you played like a Legend. - the Captaincy is yours.";
}
if (_root.music == 0) {
stop();
musiclabel.gotoAndStop(2);
} else {
play();
musiclabel.gotoAndStop(1);
}
Frame 558
stop();
Frame 562
gotoAndPlay (204);
sess = random(9999999);
stopAllSounds();
if (_root.scoresent == 0) {
loadVariablesNum ((((((((((((((((("EnterScore.cfm?&score=" + _root.totalScore) + "&name=") + dummyName) + "&email=") + dummyEmail) + "&YourTeam=") + _root.dropbox1) + "&OppTeam=") + _root.dropbox2) + "&Try=") + _root.tryscored) + "&Winner=") + _root.winner) + "&Looser=") + _root.loser) + "&sess=") + sess, 0);
}
stop();
Frame 574
stop();
sess = random(9999999);
stopAllSounds();
if (_root.scoresent == 0) {
loadVariablesNum ((((((((((((((((("EnterScore.cfm?&score=" + _root.totalScore) + "&name=") + dummyName) + "&email=") + dummyEmail) + "&YourTeam=") + _root.dropbox1) + "&OppTeam=") + _root.dropbox2) + "&Try=") + _root.tryscored) + "&Winner=") + _root.winner) + "&Looser=") + _root.loser) + "&sess=") + sess, 0);
}
gotoAndPlay (156);
Frame 619
stop();
Frame 623
gotoAndPlay (551);
stopAllSounds();
Symbol 27 MovieClip Frame 1
_root.Lstage = 1;
stop();
Symbol 27 MovieClip Frame 26
_root.Lstage = 2;
stop();
Symbol 27 MovieClip Frame 51
_root.Lstage = 3;
stop();
Symbol 27 MovieClip Frame 72
_root.Lstage = 4;
stop();
Symbol 27 MovieClip Frame 92
_root.Lstage = 5;
stop();
Symbol 27 MovieClip Frame 114
_root.Lstage = 6;
stop();
Symbol 27 MovieClip Frame 132
_root.Lstage = 7;
stop();
Symbol 27 MovieClip Frame 179
stop();
_root.Lstage = 8;
Symbol 56 MovieClip Frame 71
gotoAndPlay (1);
Symbol 68 MovieClip Frame 326
stop();
Symbol 118 MovieClip Frame 257
stop();
Symbol 124 Button
on (release) {
_root.gotoAndPlay("leaderboard");
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 3
stop();
Symbol 202 MovieClip Frame 4
stop();
Symbol 202 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 6
stop();
Symbol 202 MovieClip Frame 7
stop();
Symbol 202 MovieClip Frame 8
stop();
Symbol 202 MovieClip Frame 9
stop();
Symbol 202 MovieClip Frame 10
stop();
Symbol 202 MovieClip Frame 11
stop();
Symbol 202 MovieClip Frame 12
stop();
Symbol 202 MovieClip Frame 13
stop();
Symbol 202 MovieClip Frame 14
stop();
Symbol 202 MovieClip Frame 15
stop();
Symbol 202 MovieClip Frame 16
stop();
Symbol 202 MovieClip Frame 17
stop();
Symbol 202 MovieClip Frame 18
stop();
Symbol 219 MovieClip Frame 1
frameHeight = frame._height;
frameWidth = frame._width;
contentHeight = content._height;
contentWidth = content._width;
frameTop = frame._y;
frameBottom = frameTop + frameHeight;
frameLeft = frame._x;
frameRight = frame._x + frameWidth;
upperContentLimit = frame._y - 15;
lowerContentLimit = ((upperContentLimit - contentHeight) + frameHeight) + frame._y;
content._x = frame._x;
content._y = frame._y - 15;
timer = 0;
Symbol 219 MovieClip Frame 8
((undefined <= b) > "c") || (0(false));
if (_root.scoreset != 0) {
scoreSetString = new String();
scoreSetString = _root.scoreset;
scoreSetArray = scoreSetString.split("|");
tPos = 1;
XString = "";
arrayPos = 1;
teamarray = new Array("ARGENTINA", "AUSTRALIA", "CANADA", "ENGLAND", "FIJI", "FRANCE", "IRELAND", "ITALY", "JAPAN", "NEW ZEALAND", "ROMANIA", "SAMOA", "SCOTLAND", "SOUTH AFRICA", "SPAIN", "TONGA", "USA", "WALES");
i = 1;
while (i <= 18) {
XString = XString + ((((((((((((((((((("team" + i) + "|") + teamarray[scoreSetArray[arrayPos] - 1]) + "|") + "wins") + i) + "|") + scoreSetArray[arrayPos + 1]) + "|") + "losses") + i) + "|") + scoreSetArray[arrayPos + 2]) + "|") + "ratio") + i) + "|") + Math.round((Number(scoreSetArray[arrayPos + 1]) / Number(Number(scoreSetArray[arrayPos + 1]) + Number(scoreSetArray[arrayPos + 2]))) * 100)) + "|");
StringArray = XString.split("|");
eval ("content.flags" + i).gotoAndStop(scoreSetArray[arrayPos]);
arrayPos = arrayPos + 3;
i++;
}
gotoAndPlay ("done");
}
Symbol 219 MovieClip Frame 9
gotoAndPlay ("loopStart1");
Symbol 219 MovieClip Frame 10
((undefined <= b) > "c") || (0(false));
_root.team1 = StringArray[1];
_root.wins1 = StringArray[3];
_root.losses1 = StringArray[5];
_root.ratio1 = StringArray[7];
_root.team2 = StringArray[9];
_root.wins2 = StringArray[11];
_root.losses2 = StringArray[13];
_root.ratio2 = StringArray[15];
_root.team3 = StringArray[17];
_root.wins3 = StringArray[19];
_root.losses3 = StringArray[21];
_root.ratio3 = StringArray[23];
_root.team4 = StringArray[25];
_root.wins4 = StringArray[27];
_root.losses4 = StringArray[29];
_root.ratio4 = StringArray[31];
_root.team5 = StringArray[33];
_root.wins5 = StringArray[35];
_root.losses5 = StringArray[37];
_root.ratio5 = StringArray[39];
_root.team6 = StringArray[41];
_root.wins6 = StringArray[43];
_root.losses6 = StringArray[45];
_root.ratio6 = StringArray[47];
_root.team7 = StringArray[49];
_root.wins7 = StringArray[51];
_root.losses7 = StringArray[53];
_root.ratio7 = StringArray[55];
_root.team8 = StringArray[57];
_root.wins8 = StringArray[59];
_root.losses8 = StringArray[61];
_root.ratio8 = StringArray[63];
_root.team9 = StringArray[65];
_root.wins9 = StringArray[67];
_root.losses9 = StringArray[69];
_root.ratio9 = StringArray[71];
_root.team10 = StringArray[73];
_root.wins10 = StringArray[75];
_root.losses10 = StringArray[77];
_root.ratio10 = StringArray[79];
_root.team11 = StringArray[81];
_root.wins11 = StringArray[83];
_root.losses11 = StringArray[85];
_root.ratio11 = StringArray[87];
_root.team12 = StringArray[89];
_root.wins12 = StringArray[91];
_root.losses12 = StringArray[93];
_root.ratio12 = StringArray[95];
_root.team13 = StringArray[97];
_root.wins13 = StringArray[99];
_root.losses13 = StringArray[101];
_root.ratio13 = StringArray[103];
_root.team14 = StringArray[105];
_root.wins14 = StringArray[107];
_root.losses14 = StringArray[109];
_root.ratio14 = StringArray[111];
_root.team15 = StringArray[113];
_root.wins15 = StringArray[115];
_root.losses15 = StringArray[117];
_root.ratio15 = StringArray[119];
_root.team16 = StringArray[121];
_root.wins16 = StringArray[123];
_root.losses16 = StringArray[125];
_root.ratio16 = StringArray[127];
_root.team17 = StringArray[129];
_root.wins17 = StringArray[131];
_root.losses17 = StringArray[133];
_root.ratio17 = StringArray[135];
_root.team18 = StringArray[137];
_root.wins18 = StringArray[139];
_root.losses18 = StringArray[141];
_root.ratio18 = StringArray[143];
Symbol 219 MovieClip Frame 14
currentContentY = content._y;
currentMouseX = _xmouse;
currentMouseY = _ymouse;
timer++;
if (timer >= 1200) {
_root.gotoAndPlay("resetscores");
gotoAndPlay (1);
_root.scoreset = 0;
timer = 0;
}
if ((((currentMouseY >= frameTop) and (currentMouseY <= frameBottom)) and (currentMouseX >= frameLeft)) and (currentMouseX <= frameRight)) {
newContentY = (-((currentMouseY - frameTop) / frameHeight)) * (contentHeight - frameHeight);
content._y = newContentY;
if (content._y <= lowerContentLimit) {
content._y = lowerContentLimit - 10;
}
if (content._y >= (upperContentLimit - 10)) {
content._y = upperContentLimit;
}
}
Symbol 219 MovieClip Frame 15
gotoAndPlay ("loopStart");
Symbol 223 Button
on (release) {
getURL ("http://www.amnesia.com.au/?gameof3halves", "_blank");
}
Symbol 246 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 247 Button
on (release) {
with (_root) {
gotoAndPlay("setup");
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 7
stop();
Symbol 254 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 255 Button
on (release) {
with (_root) {
gotoAndPlay("free");
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 6
stop();
Symbol 264 Button
on (release) {
getURL ("http://www.blur.co.uk", "_blur");
}
Symbol 270 Button
on (release) {
_root.music = 0;
stopAllSounds();
gotoAndStop (2);
}
Symbol 273 Button
on (release) {
_root.gotoAndPlay("soundstart");
_root.music = 1;
gotoAndStop (1);
}
Symbol 274 MovieClip Frame 1
stop();
if (_root.music == 0) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 274 MovieClip Frame 2
stop();
Symbol 360 MovieClip Frame 162
stop();
Symbol 381 Button
on (release) {
gotoAndPlay ("play");
stopAllSounds();
}
Symbol 382 Button
on (release) {
_root.music = 0;
stopAllSounds();
gotoAndStop (2);
}
Symbol 383 Button
on (release) {
_root.music = 1;
_root.gotoAndPlay("soundStart2");
gotoAndStop (1);
}
Symbol 384 MovieClip Frame 1
stop();
if (_root.music == 0) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 384 MovieClip Frame 2
stop();
Symbol 390 Button
on (release) {
getURL ("http://three.com.au/index.cfm?section=Personal&pid=2140&pageid=2151", "_blank");
}
Symbol 419 Button
on (release) {
getURL ("http://www.three.com.au/index.cfm?pid=2360&pageid=2360&gameof3halves", "_blank");
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 436 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 437 Button
on (release) {
with (_root) {
gotoAndPlay("leader");
}
stopAllSounds();
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 6
stop();
Symbol 462 Button
on (release) {
if ((_root.Yname != "") and (_root.Yemail != "")) {
sess = random(9999999);
loadVariablesNum ((((((((((((((((((("SendToFriend.cfm?&Yname=" + _root.Yname) + "&Yemail=") + _root.Yemail) + "&F1name=") + _root.F1name) + "&F1email=") + _root.F1email) + "&F2name=") + _root.F2name) + "&F2email=") + _root.F2email) + "&F3name=") + _root.F3name) + "&F3email=") + _root.F3email) + "&message=") + _root.challengeM) + "&sess=") + sess, 0);
}
gotoAndPlay ("sent");
}
Symbol 472 Button
on (release) {
gotoAndPlay (1);
_root.F1name = undefined;
_root.F1email = undefined;
_root.F2name = undefined;
_root.F2email = undefined;
_root.F3name = undefined;
_root.F3email = undefined;
}
Symbol 473 MovieClip Frame 1
panel._visible = false;
Symbol 473 MovieClip Frame 2
if ((_root.Yname != undefined) and (_root.Yemail != undefined)) {
gotoAndPlay ("first");
}
Symbol 473 MovieClip Frame 3
gotoAndPlay (2);
Symbol 473 MovieClip Frame 4
if ((_root.F1name != undefined) and (_root.F1email != undefined)) {
gotoAndPlay ("second");
}
Symbol 473 MovieClip Frame 5
gotoAndPlay ("first");
Symbol 473 MovieClip Frame 6
if ((_root.F2name != undefined) and (_root.F2email != undefined)) {
gotoAndPlay ("third");
}
Symbol 473 MovieClip Frame 7
gotoAndPlay ("second");
Symbol 473 MovieClip Frame 8
if ((_root.F3name != undefined) and (_root.F3email != undefined)) {
gotoAndStop ("ready");
}
Symbol 473 MovieClip Frame 9
gotoAndPlay ("third");
Instance of Symbol 468 MovieClip in Symbol 473 MovieClip Frame 11
/* no clip actions */
Symbol 473 MovieClip Frame 19
stop();
Symbol 475 Button
on (release) {
_root.music = 0;
stopAllSounds();
gotoAndStop (2);
}
Symbol 476 Button
on (release) {
_root.gotoAndPlay("soundstart3");
_root.music = 1;
gotoAndStop (1);
}
Symbol 477 MovieClip Frame 1
stop();
if (_root.music == 0) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 477 MovieClip Frame 2
stop();
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
stop();
Symbol 491 MovieClip Frame 3
stop();
Symbol 491 MovieClip Frame 4
stop();
Symbol 491 MovieClip Frame 5
stop();
Symbol 491 MovieClip Frame 6
stop();
Symbol 491 MovieClip Frame 7
stop();
Symbol 491 MovieClip Frame 8
stop();
Symbol 491 MovieClip Frame 9
stop();
Symbol 491 MovieClip Frame 10
stop();
Symbol 491 MovieClip Frame 11
stop();
Symbol 491 MovieClip Frame 12
stop();
Symbol 491 MovieClip Frame 13
stop();
Symbol 491 MovieClip Frame 14
stop();
Symbol 491 MovieClip Frame 15
stop();
Symbol 491 MovieClip Frame 16
stop();
Symbol 491 MovieClip Frame 17
stop();
Symbol 491 MovieClip Frame 18
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 2
this._yscale = 100;
this._xscale = 100;
this._rotation = 0;
Symbol 494 MovieClip Frame 18
gotoAndPlay (3);
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 2
stop();
Symbol 517 MovieClip Frame 3
stop();
Symbol 517 MovieClip Frame 4
stop();
Symbol 517 MovieClip Frame 5
stop();
Symbol 517 MovieClip Frame 6
stop();
Symbol 517 MovieClip Frame 7
stop();
Symbol 517 MovieClip Frame 8
stop();
Symbol 517 MovieClip Frame 9
stop();
Symbol 517 MovieClip Frame 10
stop();
Symbol 517 MovieClip Frame 11
stop();
Symbol 517 MovieClip Frame 12
stop();
Symbol 517 MovieClip Frame 13
stop();
Symbol 517 MovieClip Frame 14
stop();
Symbol 517 MovieClip Frame 15
stop();
Symbol 517 MovieClip Frame 16
stop();
Symbol 517 MovieClip Frame 17
stop();
Symbol 517 MovieClip Frame 18
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 3
stop();
Symbol 526 MovieClip Frame 4
stop();
Symbol 526 MovieClip Frame 5
stop();
Symbol 526 MovieClip Frame 6
stop();
Symbol 526 MovieClip Frame 7
stop();
Symbol 526 MovieClip Frame 8
stop();
Symbol 526 MovieClip Frame 9
stop();
Symbol 526 MovieClip Frame 10
stop();
Symbol 526 MovieClip Frame 11
stop();
Symbol 526 MovieClip Frame 12
stop();
Symbol 526 MovieClip Frame 13
stop();
Symbol 526 MovieClip Frame 14
stop();
Symbol 526 MovieClip Frame 15
stop();
Symbol 526 MovieClip Frame 16
stop();
Symbol 526 MovieClip Frame 17
stop();
Symbol 526 MovieClip Frame 18
stop();
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 2
stop();
Symbol 531 MovieClip Frame 3
stop();
Symbol 531 MovieClip Frame 4
stop();
Symbol 531 MovieClip Frame 5
stop();
Symbol 531 MovieClip Frame 6
stop();
Symbol 531 MovieClip Frame 7
stop();
Symbol 531 MovieClip Frame 8
stop();
Symbol 531 MovieClip Frame 9
stop();
Symbol 531 MovieClip Frame 10
stop();
Symbol 531 MovieClip Frame 11
stop();
Symbol 531 MovieClip Frame 12
stop();
Symbol 531 MovieClip Frame 13
stop();
Symbol 531 MovieClip Frame 14
stop();
Symbol 531 MovieClip Frame 15
stop();
Symbol 531 MovieClip Frame 16
stop();
Symbol 531 MovieClip Frame 17
stop();
Symbol 531 MovieClip Frame 18
stop();
Symbol 532 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 532 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 532 MovieClip Frame 7
gotoAndPlay (1);
Symbol 532 MovieClip Frame 8
team.gotoAndStop(_root.dropbox1);
Symbol 532 MovieClip Frame 24
gotoAndPlay ("try");
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
stop();
Symbol 539 MovieClip Frame 3
stop();
Symbol 539 MovieClip Frame 4
stop();
Symbol 539 MovieClip Frame 5
stop();
Symbol 539 MovieClip Frame 6
stop();
Symbol 539 MovieClip Frame 7
stop();
Symbol 539 MovieClip Frame 8
stop();
Symbol 539 MovieClip Frame 9
stop();
Symbol 539 MovieClip Frame 10
stop();
Symbol 539 MovieClip Frame 11
stop();
Symbol 539 MovieClip Frame 12
stop();
Symbol 539 MovieClip Frame 13
stop();
Symbol 539 MovieClip Frame 14
stop();
Symbol 539 MovieClip Frame 15
stop();
Symbol 539 MovieClip Frame 16
stop();
Symbol 539 MovieClip Frame 17
stop();
Symbol 539 MovieClip Frame 18
stop();
Symbol 540 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 540 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 540 MovieClip Frame 7
gotoAndPlay (1);
Symbol 540 MovieClip Frame 8
team.gotoAndStop(_root.dropbox1);
Symbol 540 MovieClip Frame 24
gotoAndPlay ("try");
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
stop();
Symbol 547 MovieClip Frame 3
stop();
Symbol 547 MovieClip Frame 4
stop();
Symbol 547 MovieClip Frame 5
stop();
Symbol 547 MovieClip Frame 6
stop();
Symbol 547 MovieClip Frame 7
stop();
Symbol 547 MovieClip Frame 8
stop();
Symbol 547 MovieClip Frame 9
stop();
Symbol 547 MovieClip Frame 10
stop();
Symbol 547 MovieClip Frame 11
stop();
Symbol 547 MovieClip Frame 12
stop();
Symbol 547 MovieClip Frame 13
stop();
Symbol 547 MovieClip Frame 14
stop();
Symbol 547 MovieClip Frame 15
stop();
Symbol 547 MovieClip Frame 16
stop();
Symbol 547 MovieClip Frame 17
stop();
Symbol 547 MovieClip Frame 18
stop();
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Symbol 550 MovieClip Frame 3
stop();
Symbol 550 MovieClip Frame 4
stop();
Symbol 550 MovieClip Frame 5
stop();
Symbol 550 MovieClip Frame 6
stop();
Symbol 550 MovieClip Frame 7
stop();
Symbol 550 MovieClip Frame 8
stop();
Symbol 550 MovieClip Frame 9
stop();
Symbol 550 MovieClip Frame 10
stop();
Symbol 550 MovieClip Frame 11
stop();
Symbol 550 MovieClip Frame 12
stop();
Symbol 550 MovieClip Frame 13
stop();
Symbol 550 MovieClip Frame 14
stop();
Symbol 550 MovieClip Frame 15
stop();
Symbol 550 MovieClip Frame 16
stop();
Symbol 550 MovieClip Frame 17
stop();
Symbol 550 MovieClip Frame 18
stop();
Symbol 551 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 551 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 551 MovieClip Frame 7
gotoAndPlay (1);
Symbol 551 MovieClip Frame 8
team.gotoAndStop(_root.dropbox1);
Symbol 551 MovieClip Frame 24
gotoAndPlay ("try");
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 2
stop();
Symbol 558 MovieClip Frame 3
stop();
Symbol 558 MovieClip Frame 4
stop();
Symbol 558 MovieClip Frame 5
stop();
Symbol 558 MovieClip Frame 6
stop();
Symbol 558 MovieClip Frame 7
stop();
Symbol 558 MovieClip Frame 8
stop();
Symbol 558 MovieClip Frame 9
stop();
Symbol 558 MovieClip Frame 10
stop();
Symbol 558 MovieClip Frame 11
stop();
Symbol 558 MovieClip Frame 12
stop();
Symbol 558 MovieClip Frame 13
stop();
Symbol 558 MovieClip Frame 14
stop();
Symbol 558 MovieClip Frame 15
stop();
Symbol 558 MovieClip Frame 16
stop();
Symbol 558 MovieClip Frame 17
stop();
Symbol 558 MovieClip Frame 18
stop();
Symbol 559 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 559 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 559 MovieClip Frame 7
gotoAndPlay (1);
Symbol 559 MovieClip Frame 8
team.gotoAndStop(_root.dropbox1);
Symbol 559 MovieClip Frame 24
gotoAndPlay ("try");
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 2
stop();
Symbol 561 MovieClip Frame 3
stop();
Symbol 561 MovieClip Frame 4
stop();
Symbol 561 MovieClip Frame 5
stop();
Symbol 561 MovieClip Frame 6
stop();
Symbol 561 MovieClip Frame 7
stop();
Symbol 561 MovieClip Frame 8
stop();
Symbol 561 MovieClip Frame 9
stop();
Symbol 561 MovieClip Frame 10
stop();
Symbol 561 MovieClip Frame 11
stop();
Symbol 561 MovieClip Frame 12
stop();
Symbol 561 MovieClip Frame 13
stop();
Symbol 561 MovieClip Frame 14
stop();
Symbol 561 MovieClip Frame 15
stop();
Symbol 561 MovieClip Frame 16
stop();
Symbol 561 MovieClip Frame 17
stop();
Symbol 561 MovieClip Frame 18
stop();
Symbol 562 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 562 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 562 MovieClip Frame 7
gotoAndPlay (1);
Symbol 562 MovieClip Frame 8
team.gotoAndStop(_root.dropbox1);
Symbol 562 MovieClip Frame 24
gotoAndPlay ("try");
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 2
stop();
Symbol 564 MovieClip Frame 3
stop();
Symbol 564 MovieClip Frame 4
stop();
Symbol 564 MovieClip Frame 5
stop();
Symbol 564 MovieClip Frame 6
stop();
Symbol 564 MovieClip Frame 7
stop();
Symbol 564 MovieClip Frame 8
stop();
Symbol 564 MovieClip Frame 9
stop();
team.gotoAndStop(_root.dropbox1);
Symbol 569 MovieClip Frame 8
stop();
Symbol 569 MovieClip Frame 15
gotoAndPlay ("sprint");
Symbol 569 MovieClip Frame 32
gotoAndPlay ("sidestep");
Symbol 569 MovieClip Frame 48
gotoAndPlay ("palm");
Symbol 569 MovieClip Frame 49
stop();
Symbol 572 MovieClip Frame 1
play();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 2
stop();
Symbol 580 MovieClip Frame 3
stop();
Symbol 580 MovieClip Frame 4
stop();
Symbol 580 MovieClip Frame 5
stop();
Symbol 580 MovieClip Frame 6
stop();
Symbol 580 MovieClip Frame 7
stop();
Symbol 580 MovieClip Frame 8
stop();
Symbol 580 MovieClip Frame 9
stop();
Symbol 580 MovieClip Frame 10
stop();
Symbol 580 MovieClip Frame 11
stop();
Symbol 580 MovieClip Frame 12
stop();
Symbol 580 MovieClip Frame 13
stop();
Symbol 580 MovieClip Frame 14
stop();
Symbol 580 MovieClip Frame 15
stop();
Symbol 580 MovieClip Frame 16
stop();
Symbol 580 MovieClip Frame 17
stop();
Symbol 580 MovieClip Frame 18
stop();
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
stop();
passtheball.play();
Symbol 582 MovieClip Frame 3
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 4
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 5
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 6
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 7
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 8
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 9
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 10
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 11
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 12
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 13
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 14
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 15
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 16
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 17
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 18
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 19
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 20
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 21
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 22
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 23
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 24
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 25
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 26
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 27
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 28
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 29
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 30
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 31
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 32
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 33
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 34
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 35
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 36
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 37
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 38
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 39
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 40
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 41
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 42
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 43
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 44
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 45
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 46
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 47
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 48
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 49
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 50
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 51
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 52
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 53
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 54
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 55
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 56
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 57
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 58
_root.gotoAndPlay("kick");
gotoAndStop (1);
p1.gotoAndStop(9);
p1.team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 59
team.gotoAndStop(_root.dropbox1);
Symbol 582 MovieClip Frame 78
stop();
Symbol 590 Button
on (rollOver) {
gotoAndPlay (2);
startDrag (drag2, true, stage._x, stage._y, stage._width + stage._x, stage._height + stage._y);
}
Symbol 591 MovieClip Frame 1
stop();
mindis = 200;
acceleration = 0.1;
maxSpeed = 1;
easing = 30;
Symbol 591 MovieClip Frame 4
DragPosX = player1._x;
DragPosY = player1._y;
DragdiffX = (-DragPosX) + drag2._x;
DragdiffY = (-DragPosY) + drag2._y;
if (DragdiffX <= 0) {
r = (Math.atan(DragdiffY / DragdiffX) * 57.3248407643312) - 90;
}
if (DragdiffX > 0) {
r = (Math.atan(DragdiffY / DragdiffX) * 57.3248407643312) + 90;
}
drag2._rotation = r;
playersX = drag2._x - player1._x;
playersY = drag2._y - player1._y;
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
player1.p1.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
player1.p1.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
player1.p1.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
player1.p1.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
player1.p1.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
player1.p1.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
player1.p1.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
player1.p1.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
player1._x = player1._x + ((playersX / easing) + Xacceleration);
player1._y = player1._y + ((playersY / easing) + Yacceleration);
if ((((drag2._x <= -107) or (drag2._x >= 123)) or (drag2._y <= -35)) or (drag2._y >= 67)) {
stopDrag();
gotoAndStop (1);
}
Symbol 591 MovieClip Frame 5
gotoAndPlay ("loop");
Symbol 598 MovieClip Frame 30
stop();
Symbol 599 MovieClip Frame 53
stop();
Symbol 605 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 606 Button
on (release) {
with (_root) {
gotoAndPlay("goplay");
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 7
stop();
Symbol 610 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 611 Button
on (release) {
with (_root) {
gotoAndPlay("free");
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 6
stop();
Symbol 615 Button
on (release) {
gotoAndPlay (2);
}
Symbol 621 Button
on (release) {
if (_root.dropbox2 != 15) {
_root.dropdown1 = "SPAIN";
_root.dropbox1 = 15;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ITALY";
_root.dropbox2 = 8;
_root.dropdown1 = "SPAIN";
_root.dropbox1 = 15;
_parent.gotoAndStop(1);
}
}
Symbol 622 Button
on (release) {
if (_root.dropbox2 != 2) {
_root.dropdown1 = "AUSTRALIA";
_root.dropbox1 = 2;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "AUSTRALIA";
_root.dropbox1 = 2;
_root.dropdown2 = "NEWZEALAND";
_root.dropbox2 = 10;
_parent.gotoAndStop(1);
}
}
Symbol 623 Button
on (release) {
if (_root.dropbox2 != 3) {
_root.dropdown1 = "CANADA";
_root.dropbox1 = 3;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "CANADA";
_root.dropbox1 = 3;
_root.dropdown2 = "ROMANIA";
_root.dropbox2 = 11;
_parent.gotoAndStop(1);
}
}
Symbol 624 Button
on (release) {
if (_root.dropbox2 != 4) {
_root.dropdown1 = "ENGLAND";
_root.dropbox1 = 4;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ENGLAND";
_root.dropbox1 = 4;
_root.dropdown2 = "SOUTH AFRICA";
_root.dropbox2 = 14;
_parent.gotoAndStop(1);
}
}
Symbol 625 Button
on (release) {
if (_root.dropbox2 != 5) {
_root.dropdown1 = "FIJI";
_root.dropbox1 = 5;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "SAMOA";
_root.dropbox2 = 12;
_root.dropdown1 = "FIJI";
_root.dropbox1 = 5;
_parent.gotoAndStop(1);
}
}
Symbol 626 Button
on (release) {
if (_root.dropbox2 != 6) {
_root.dropdown1 = "FRANCE";
_root.dropbox1 = 6;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "SCOTLAND";
_root.dropbox2 = 13;
_root.dropdown1 = "FRANCE";
_root.dropbox1 = 6;
_parent.gotoAndStop(1);
}
}
Symbol 627 Button
on (release) {
if (_root.dropbox2 != 7) {
_root.dropdown1 = "IRELAND";
_root.dropbox1 = 7;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "IRELAND";
_root.dropbox1 = 7;
_root.dropdown2 = "WALES";
_root.dropbox2 = 18;
_parent.gotoAndStop(1);
}
}
Symbol 628 Button
on (release) {
if (_root.dropbox2 != 8) {
_root.dropdown1 = "ITALY";
_root.dropbox1 = 8;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ITALY";
_root.dropbox1 = 8;
_root.dropdown2 = "SPAIN";
_root.dropbox2 = 15;
_parent.gotoAndStop(1);
}
}
Symbol 629 Button
on (release) {
if (_root.dropbox2 != 9) {
_root.dropdown1 = "JAPAN";
_root.dropbox1 = 9;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "USA";
_root.dropbox2 = 17;
_root.dropdown1 = "JAPAN";
_root.dropbox1 = 9;
_parent.gotoAndStop(1);
}
}
Symbol 630 Button
on (release) {
if (_root.dropbox2 != 10) {
_root.dropdown1 = "NEW ZEALAND";
_root.dropbox1 = 10;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "NEW ZEALAND";
_root.dropbox1 = 10;
_root.dropdown2 = "AUSTRALIA";
_root.dropbox2 = 2;
_parent.gotoAndStop(1);
}
}
Symbol 631 Button
on (release) {
if (_root.dropbox2 != 11) {
_root.dropdown1 = "ROMANIA";
_root.dropbox1 = 11;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "CANADA";
_root.dropbox2 = 3;
_root.dropdown1 = "ROMANIA";
_root.dropbox1 = 11;
_parent.gotoAndStop(1);
}
}
Symbol 632 Button
on (release) {
if (_root.dropbox2 != 12) {
_root.dropdown1 = "SAMOA";
_root.dropbox1 = 12;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "SAMOA";
_root.dropbox1 = 12;
_root.dropdown2 = "FIJI";
_root.dropbox2 = 5;
_parent.gotoAndStop(1);
}
}
Symbol 633 Button
on (release) {
if (_root.dropbox2 != 13) {
_root.dropdown1 = "SCOTLAND";
_root.dropbox1 = 13;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "SCOTLAND";
_root.dropbox1 = 13;
_root.dropdown2 = "FRANCE";
_root.dropbox2 = 6;
_parent.gotoAndStop(1);
}
}
Symbol 634 Button
on (release) {
if (_root.dropbox2 != 14) {
_root.dropdown1 = "SOUTH AFRICA";
_root.dropbox1 = 14;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ENGLAND";
_root.dropbox2 = 4;
_root.dropdown1 = "SOUTH AFRICA";
_root.dropbox1 = 14;
_parent.gotoAndStop(1);
}
}
Symbol 635 Button
on (release) {
if (_root.dropbox2 != 1) {
_root.dropdown1 = "ARGENTINA";
_root.dropbox1 = 1;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ARGENTINA";
_root.dropbox1 = 1;
_root.dropdown2 = "TONGA";
_root.dropbox2 = 16;
_parent.gotoAndStop(1);
}
}
Symbol 636 Button
on (release) {
if (_root.dropbox2 != 18) {
_root.dropdown1 = "WALES";
_root.dropbox1 = 18;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "IRELAND";
_root.dropbox2 = 7;
_root.dropdown1 = "WALES";
_root.dropbox1 = 18;
_parent.gotoAndStop(1);
}
}
Symbol 637 Button
on (release) {
if (_root.dropbox2 != 16) {
_root.dropdown1 = "TONGA";
_root.dropbox1 = 16;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ARGENTINA";
_root.dropbox2 = 1;
_root.dropdown1 = "TONGA";
_root.dropbox1 = 16;
_parent.gotoAndStop(1);
}
}
Symbol 638 Button
on (release) {
if (_root.dropbox2 != 17) {
_root.dropdown1 = "USA";
_root.dropbox1 = 17;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "USA";
_root.dropbox1 = 17;
_root.dropdown2 = "JAPAN";
_root.dropbox2 = 9;
_parent.gotoAndStop(1);
}
}
Symbol 659 Button
on (release) {
gotoAndStop (1);
}
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 2
frameHeight = frame._height;
frameWidth = frame._width;
contentHeight = content._height;
contentWidth = content._width;
frameTop = frame._y;
frameBottom = frameTop + frameHeight;
frameLeft = frame._x;
frameRight = frame._x + frameWidth;
upperContentLimit = frame._y - 15;
lowerContentLimit = ((upperContentLimit - contentHeight) + frameHeight) + frame._y;
content._x = frame._x;
content._y = frame._y - 15;
Symbol 660 MovieClip Frame 4
currentContentY = content._y;
currentMouseX = _xmouse;
currentMouseY = _ymouse;
if ((((currentMouseY >= frameTop) and (currentMouseY <= frameBottom)) and (currentMouseX >= frameLeft)) and (currentMouseX <= frameRight)) {
newContentY = (-((currentMouseY - frameTop) / frameHeight)) * (contentHeight - frameHeight);
content._y = newContentY;
if (content._y <= lowerContentLimit) {
content._y = lowerContentLimit;
}
if (content._y >= (upperContentLimit - 10)) {
content._y = upperContentLimit;
}
}
Symbol 660 MovieClip Frame 5
gotoAndPlay ("loopStart");
Symbol 662 Button
on (release) {
gotoAndPlay (2);
}
Symbol 663 Button
on (release) {
_root.difficulty = 1.4;
if (_root.dropbox1 != 15) {
_root.dropdown2 = "SPAIN";
_root.dropbox2 = 15;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ITALY";
_root.dropbox1 = 8;
_root.dropdown2 = "SPAIN";
_root.dropbox2 = 15;
_parent.gotoAndStop(1);
}
}
Symbol 664 Button
on (release) {
_root.difficulty = 2;
if (_root.dropbox1 != 2) {
_root.dropdown2 = "AUSTRALIA";
_root.dropbox2 = 2;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "AUSTRALIA";
_root.dropbox2 = 2;
_root.dropdown1 = "NEWZEALAND";
_root.dropbox1 = 10;
_parent.gotoAndStop(1);
}
}
Symbol 665 Button
on (release) {
_root.difficulty = 1.35;
if (_root.dropbox1 != 3) {
_root.dropdown2 = "CANADA";
_root.dropbox2 = 3;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "CANADA";
_root.dropbox2 = 3;
_root.dropdown1 = "ROMANIA";
_root.dropbox1 = 11;
_parent.gotoAndStop(1);
}
}
Symbol 666 Button
on (release) {
_root.difficulty = 1.95;
if (_root.dropbox1 != 4) {
_root.dropdown2 = "ENGLAND";
_root.dropbox2 = 4;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ENGLAND";
_root.dropbox2 = 4;
_root.dropdown1 = "SOUTH AFRICA";
_root.dropbox1 = 14;
_parent.gotoAndStop(1);
}
}
Symbol 667 Button
on (release) {
_root.difficulty = 1.5;
if (_root.dropbox1 != 5) {
_root.dropdown2 = "FIJI";
_root.dropbox2 = 5;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "SAMOA";
_root.dropbox1 = 12;
_root.dropdown2 = "FIJI";
_root.dropbox2 = 5;
_parent.gotoAndStop(1);
}
}
Symbol 668 Button
on (release) {
_root.difficulty = 1.8;
if (_root.dropbox1 != 6) {
_root.dropdown2 = "FRANCE";
_root.dropbox2 = 6;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "SCOTLAND";
_root.dropbox1 = 13;
_root.dropdown2 = "FRANCE";
_root.dropbox2 = 6;
_parent.gotoAndStop(1);
}
}
Symbol 669 Button
on (release) {
_root.difficulty = 1.75;
if (_root.dropbox1 != 7) {
_root.dropdown2 = "IRELAND";
_root.dropbox2 = 7;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "IRELAND";
_root.dropbox2 = 7;
_root.dropdown1 = "WALES";
_root.dropbox1 = 18;
_parent.gotoAndStop(1);
}
}
Symbol 670 Button
on (release) {
_root.difficulty = 1.45;
if (_root.dropbox1 != 8) {
_root.dropdown2 = "ITALY";
_root.dropbox2 = 8;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ITALY";
_root.dropbox2 = 8;
_root.dropdown1 = "SPAIN";
_root.dropbox1 = 15;
_parent.gotoAndStop(1);
}
}
Symbol 671 Button
on (release) {
_root.difficulty = 1.2;
if (_root.dropbox1 != 9) {
_root.dropdown2 = "JAPAN";
_root.dropbox2 = 9;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "USA";
_root.dropbox1 = 17;
_root.dropdown2 = "JAPAN";
_root.dropbox2 = 9;
_parent.gotoAndStop(1);
}
}
Symbol 672 Button
on (release) {
_root.difficulty = 2;
if (_root.dropbox1 != 10) {
_root.dropdown2 = "NEW ZEALAND";
_root.dropbox2 = 10;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "NEW ZEALAND";
_root.dropbox2 = 10;
_root.dropdown1 = "AUSTRALIA";
_root.dropbox1 = 2;
_parent.gotoAndStop(1);
}
}
Symbol 673 Button
on (release) {
_root.difficulty = 1.3;
if (_root.dropbox1 != 11) {
_root.dropdown2 = "ROMANIA";
_root.dropbox2 = 11;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "CANADA";
_root.dropbox1 = 3;
_root.dropdown2 = "ROMANIA";
_root.dropbox2 = 11;
_parent.gotoAndStop(1);
}
}
Symbol 674 Button
on (release) {
_root.difficulty = 1.55;
if (_root.dropbox1 != 12) {
_root.dropdown2 = "SAMOA";
_root.dropbox2 = 12;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "SAMOA";
_root.dropbox2 = 12;
_root.dropdown1 = "FIJI";
_root.dropbox1 = 5;
_parent.gotoAndStop(1);
}
}
Symbol 675 Button
on (release) {
_root.difficulty = 1.85;
if (_root.dropbox1 != 13) {
_root.dropdown2 = "SCOTLAND";
_root.dropbox2 = 13;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "SCOTLAND";
_root.dropbox2 = 13;
_root.dropdown1 = "FRANCE";
_root.dropbox1 = 6;
_parent.gotoAndStop(1);
}
}
Symbol 676 Button
on (release) {
_root.difficulty = 1.9;
if (_root.dropbox1 != 14) {
_root.dropdown2 = "SOUTH AFRICA";
_root.dropbox2 = 14;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ENGLAND";
_root.dropbox1 = 4;
_root.dropdown2 = "SOUTH AFRICA";
_root.dropbox2 = 14;
_parent.gotoAndStop(1);
}
}
Symbol 677 Button
on (release) {
_root.difficulty = 1.65;
if (_root.dropbox1 != 1) {
_root.dropdown2 = "ARGENTINA";
_root.dropbox2 = 1;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "ARGENTINA";
_root.dropbox2 = 1;
_root.dropdown1 = "TONGA";
_root.dropbox1 = 16;
_parent.gotoAndStop(1);
}
}
Symbol 678 Button
on (release) {
_root.difficulty = 1.7;
if (_root.dropbox1 != 18) {
_root.dropdown2 = "WALES";
_root.dropbox2 = 18;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "IRELAND";
_root.dropbox1 = 7;
_root.dropdown2 = "WALES";
_root.dropbox2 = 18;
_parent.gotoAndStop(1);
}
}
Symbol 679 Button
on (release) {
_root.difficulty = 1.6;
if (_root.dropbox1 != 16) {
_root.dropdown2 = "TONGA";
_root.dropbox2 = 16;
_parent.gotoAndStop(1);
} else {
_root.dropdown1 = "ARGENTINA";
_root.dropbox1 = 1;
_root.dropdown2 = "TONGA";
_root.dropbox2 = 16;
_parent.gotoAndStop(1);
}
}
Symbol 680 Button
on (release) {
_root.difficulty = 1.25;
if (_root.dropbox1 != 17) {
_root.dropdown2 = "USA";
_root.dropbox2 = 17;
_parent.gotoAndStop(1);
} else {
_root.dropdown2 = "USA";
_root.dropbox2 = 17;
_root.dropdown1 = "JAPAN";
_root.dropbox1 = 9;
_parent.gotoAndStop(1);
}
}
Symbol 685 Button
on (release) {
gotoAndStop (1);
}
Symbol 686 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 2
frameHeight = frame._height;
frameWidth = frame._width;
contentHeight = content._height;
contentWidth = content._width;
frameTop = frame._y;
frameBottom = frameTop + frameHeight;
frameLeft = frame._x;
frameRight = frame._x + frameWidth;
upperContentLimit = frame._y - 15;
lowerContentLimit = ((upperContentLimit - contentHeight) + frameHeight) + frame._y;
content._x = frame._x;
content._y = frame._y - 15;
Symbol 686 MovieClip Frame 4
currentContentY = content._y;
currentMouseX = _xmouse;
currentMouseY = _ymouse;
if ((((currentMouseY >= frameTop) and (currentMouseY <= frameBottom)) and (currentMouseX >= frameLeft)) and (currentMouseX <= frameRight)) {
newContentY = (-((currentMouseY - frameTop) / frameHeight)) * (contentHeight - frameHeight);
content._y = newContentY;
if (content._y <= lowerContentLimit) {
content._y = lowerContentLimit;
}
if (content._y >= (upperContentLimit - 10)) {
content._y = upperContentLimit;
}
}
Symbol 686 MovieClip Frame 5
gotoAndPlay ("loopStart");
Symbol 690 Button
on (release) {
_root.music = 0;
stopAllSounds();
gotoAndStop (2);
}
Symbol 691 Button
on (release) {
_root.gotoAndPlay("soundstart4");
_root.music = 1;
gotoAndStop (1);
}
Symbol 692 MovieClip Frame 1
stop();
if (_root.music == 0) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 692 MovieClip Frame 2
stop();
Symbol 776 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 776 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 776 MovieClip Frame 7
gotoAndPlay (1);
Symbol 776 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 776 MovieClip Frame 109
gotoAndPlay (1);
Symbol 776 MovieClip Frame 110
team.gotoAndStop(_root.dropbox2);
Symbol 776 MovieClip Frame 114
stop();
Symbol 779 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 2
stop();
Symbol 779 MovieClip Frame 3
stop();
Symbol 779 MovieClip Frame 4
stop();
Symbol 779 MovieClip Frame 5
stop();
Symbol 779 MovieClip Frame 6
stop();
Symbol 779 MovieClip Frame 7
stop();
Symbol 779 MovieClip Frame 8
stop();
Symbol 779 MovieClip Frame 9
stop();
Symbol 779 MovieClip Frame 10
stop();
Symbol 779 MovieClip Frame 11
stop();
Symbol 779 MovieClip Frame 12
stop();
Symbol 779 MovieClip Frame 13
stop();
Symbol 779 MovieClip Frame 14
stop();
Symbol 779 MovieClip Frame 15
stop();
Symbol 779 MovieClip Frame 16
stop();
Symbol 779 MovieClip Frame 17
stop();
Symbol 779 MovieClip Frame 18
stop();
Symbol 780 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 780 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 780 MovieClip Frame 7
gotoAndPlay (1);
Symbol 780 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 780 MovieClip Frame 105
gotoAndPlay (1);
Symbol 780 MovieClip Frame 106
team.gotoAndStop(_root.dropbox2);
Symbol 780 MovieClip Frame 110
stop();
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 2
stop();
Symbol 783 MovieClip Frame 3
stop();
Symbol 783 MovieClip Frame 4
stop();
Symbol 783 MovieClip Frame 5
stop();
Symbol 783 MovieClip Frame 6
stop();
Symbol 783 MovieClip Frame 7
stop();
Symbol 783 MovieClip Frame 8
stop();
Symbol 783 MovieClip Frame 9
stop();
Symbol 783 MovieClip Frame 10
stop();
Symbol 783 MovieClip Frame 11
stop();
Symbol 783 MovieClip Frame 12
stop();
Symbol 783 MovieClip Frame 13
stop();
Symbol 783 MovieClip Frame 14
stop();
Symbol 783 MovieClip Frame 15
stop();
Symbol 783 MovieClip Frame 16
stop();
Symbol 783 MovieClip Frame 17
stop();
Symbol 783 MovieClip Frame 18
stop();
Symbol 784 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 784 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 784 MovieClip Frame 7
gotoAndPlay (1);
Symbol 784 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 784 MovieClip Frame 109
gotoAndPlay (1);
Symbol 784 MovieClip Frame 110
team.gotoAndStop(_root.dropbox2);
Symbol 784 MovieClip Frame 114
stop();
Symbol 785 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 785 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 785 MovieClip Frame 7
gotoAndPlay (1);
Symbol 785 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 785 MovieClip Frame 109
gotoAndPlay (1);
Symbol 785 MovieClip Frame 110
team.gotoAndStop(_root.dropbox2);
Symbol 785 MovieClip Frame 114
stop();
Symbol 786 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 786 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 786 MovieClip Frame 7
gotoAndPlay (1);
Symbol 786 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 786 MovieClip Frame 109
gotoAndPlay (1);
Symbol 786 MovieClip Frame 110
team.gotoAndStop(_root.dropbox2);
Symbol 786 MovieClip Frame 114
stop();
Symbol 787 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 2
stop();
Symbol 787 MovieClip Frame 3
stop();
Symbol 787 MovieClip Frame 4
stop();
Symbol 787 MovieClip Frame 5
stop();
Symbol 787 MovieClip Frame 6
stop();
Symbol 787 MovieClip Frame 7
stop();
Symbol 787 MovieClip Frame 8
stop();
Symbol 791 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 4
gotoAndPlay (2);
Symbol 801 MovieClip Frame 7
gotoAndPlay (1);
Symbol 801 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 806 MovieClip Frame 1
team.gotoAndStop(_root.dropbox2);
Symbol 806 MovieClip Frame 4
team.gotoAndStop(_root.dropbox2);
Symbol 806 MovieClip Frame 7
gotoAndPlay (1);
Symbol 806 MovieClip Frame 8
team.gotoAndStop(_root.dropbox2);
Symbol 809 MovieClip Frame 7
gotoAndPlay (1);
Symbol 814 MovieClip Frame 7
gotoAndPlay (1);
Symbol 818 MovieClip Frame 7
gotoAndPlay (1);
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 2
stop();
Symbol 819 MovieClip Frame 3
stop();
Symbol 819 MovieClip Frame 4
stop();
Symbol 819 MovieClip Frame 5
stop();
Symbol 819 MovieClip Frame 6
stop();
Symbol 819 MovieClip Frame 7
stop();
Symbol 819 MovieClip Frame 8
stop();
Symbol 820 MovieClip Frame 1
stop();
player1.gotoAndStop(2);
player1.p1.gotoAndStop(5);
player1.p1.possy.gotoAndStop(1);
player2.gotoAndStop(2);
player2.p1.gotoAndStop(5);
player2.p1.possy.gotoAndStop(1);
player3.gotoAndStop(2);
player3.p1.gotoAndStop(5);
player3.p1.possy.gotoAndStop(1);
op15.possy.gotoAndStop(1);
ref.possy.gotoAndStop(1);
Instance of Symbol 791 MovieClip "ballshadow" in Symbol 820 MovieClip Frame 1
onClipEvent (enterFrame) {
playersX = eval ("_root.players.player" + _root.ballCarrier)._x - this._x;
playersY = eval ("_root.players.player" + _root.ballCarrier)._y - this._y;
this._x = this._x + ((playersX / _root.balleasing) + _root.groundMoveX);
this._y = this._y + ((playersY / _root.balleasing) - _root.groundMoveY);
if (_root.balleasing > 1) {
this._y = this._y + 3;
play();
} else {
gotoAndStop (1);
}
}
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 89
gotoAndStop (1);
_root.play();
Symbol 857 MovieClip Frame 202
gotoAndStop (1);
_root.gotoAndPlay("submitscreen");
Symbol 857 MovieClip Frame 330
gotoAndStop (1);
_root.gotoAndPlay("submitscreen");
Symbol 857 MovieClip Frame 458
gotoAndStop (1);
_root.gotoAndPlay("submitscreen");
Symbol 857 MovieClip Frame 528
gotoAndStop (1);
Symbol 857 MovieClip Frame 598
gotoAndStop (1);
Symbol 861 Button
on (release) {
gotoAndPlay (204);
_quality = "HIGH";
stopAllSounds();
}
Symbol 874 MovieClip Frame 9
gotoAndPlay (1);
Symbol 875 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 3
stop();
Symbol 875 MovieClip Frame 4
stop();
Symbol 875 MovieClip Frame 5
stop();
Symbol 875 MovieClip Frame 6
stop();
Symbol 875 MovieClip Frame 7
stop();
Symbol 875 MovieClip Frame 8
stop();
Symbol 881 MovieClip Frame 7
gotoAndPlay (1);
Symbol 882 MovieClip Frame 1
stop();
Symbol 882 MovieClip Frame 2
stop();
Symbol 882 MovieClip Frame 3
stop();
Symbol 882 MovieClip Frame 4
stop();
Symbol 882 MovieClip Frame 5
stop();
Symbol 882 MovieClip Frame 6
stop();
Symbol 882 MovieClip Frame 7
stop();
Symbol 882 MovieClip Frame 8
stop();
Symbol 883 MovieClip Frame 1
stop();
Instance of Symbol 584 MovieClip "stage" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function eventOff() {
sprint = 0;
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
}
function eventOn() {
var _local1 = _root;
if (timer == 0) {
timergo = 1;
timer = 1;
if (_local1.shortestdistance <= _local1.palmingdistance) {
if (_local1.palmoff == 0) {
_local1.palmoff = 1;
}
}
if ((_local1.shortestdistance >= _local1.palmingdistance) and (_local1.shortestdistance <= _local1.sidestepdistance)) {
if (_local1.sidestep == 0) {
_local1.sidestep = 1;
if (_local1.diffX <= 0) {
stepdist = 1;
_local1.score = _local1.score + _local1.dodgescorebonus;
}
if (_local1.diffX > 0) {
stepdist = -1;
_local1.score = _local1.score + _local1.dodgescorebonus;
}
}
}
if (sprint == 0) {
sprint = 1;
}
}
}
function passtheball() {
var _local1 = _root;
if (((_local1.tackle == 0) and (_local1.tackled == 0)) and (_local1.intouch == 0)) {
if (_local1.tryallowed == 0) {
_local1.passno++;
passed++;
i = 1;
while (i <= ownplayers) {
if (passed == 1) {
if (_local1.ballCarrier == 1) {
if (_local1.players.player1._y < (_local1.players.player2._y - 10)) {
_local1.ballCarrier = 2;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
} else if (_local1.players.player1._y < (_local1.players.player3._y - 10)) {
_local1.ballCarrier = 3;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
}
}
}
if (passed == 1) {
if (_local1.ballCarrier == 3) {
if (_local1.players.player3._y < (_local1.players.player2._y - 10)) {
_local1.ballCarrier = 2;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
} else if (_local1.players.player3._y < (_local1.players.player1._y - 10)) {
_local1.ballCarrier = 1;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
}
}
}
if (passed == 1) {
if (_local1.diffX > 0) {
if (_local1.ballCarrier == 2) {
if (_local1.players.player2._y < (_local1.players.player3._y - 10)) {
_local1.ballCarrier = 3;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
} else if (_local1.players.player2._y < (_local1.players.player1._y - 10)) {
_local1.ballCarrier = 1;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
}
}
}
}
if (passed == 1) {
if (_local1.diffX <= 0) {
if (_local1.ballCarrier == 2) {
if (_local1.players.player2._y < (_local1.players.player1._y - 10)) {
_local1.ballCarrier = 1;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
} else if (_local1.players.player2._y < (_local1.players.player3._y - 10)) {
_local1.ballCarrier = 3;
passed = 2;
_local1.passed = 2;
_local1.timereduced = 1;
_local1.balleasing = _local1.passSpeed;
_local1.score = _local1.score + _local1.passbonus;
}
}
}
}
i++;
}
}
}
}
startDrag (_root.players.drag2, true);
_root.playedtitles = 0;
_root.intouch = 0;
touchtimer = 0;
ownplayers = 3;
_root.passed = 0;
tackletimer = 0;
_root.tackled = 0;
_root.tackle = 0;
tactimer = 0;
_root.tryallowed = 0;
passed = 2;
startGroundPosX = _root.ground._x;
startGroundPosY = _root.ground._y;
keyListener = new Object();
keyListener.onKeyUp = function () {
if (_root.tryallowed == 0) {
if (!(Key.getCode() === 90)) {
} else {
eventOff();
}
}
};
keyListener.onKeyDown = function () {
if (_root.tryallowed == 0) {
switch (Key.getCode()) {
case 32 :
passtheball();
return;
case 90 :
eventOn();
}
}
};
Key.addListener(keyListener);
easing = 50;
timer = 0;
timergo = 0;
sprint = 0;
stageX = this._width;
stageY = this._height;
frameHeight = stageY;
frameWidth = stageX;
groundHeight = _root.ground._height;
groundWidth = _root.ground._width;
frameCentreY = this._y + (frameHeight / 2);
frameCentreX = this._x + (frameWidth / 2);
frameTop = this._y;
frameBottom = frameTop + frameHeight;
frameLeft = this._x;
frameRight = frameLeft + frameWidth;
upperContentLimit = 0;
lowerContentLimit = ((upperContentLimit - groundHeight) + frameHeight) + frameTop;
leftContentLimit = 0;
rightContentLimit = ((-groundWidth) + frameWidth) + frameleft;
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
sprintspeedY = 0;
sprintspeedX = 0;
deadZoneSizeY = 100;
deadZoneSizeX = 200;
deadZoneTop = frameCentreY - deadZoneSizeY;
deadZoneBottom = frameCentreY + deadZoneSizeY;
deadZoneLeft = frameCentreX - deadZoneSizeX;
deadZoneRight = frameCentreX + deadZoneSizeX;
newContentY = _root.ground._y;
newContentX = _root.ground._x;
}
onClipEvent (mouseDown) {
if (_root.tryallowed == 0) {
eventOn();
}
}
onClipEvent (mouseUp) {
if (_root.tryallowed == 0) {
eventOff();
}
}
onClipEvent (enterFrame) {
if (_root.tryallowed == 1) {
if (_root.tryscored == 0) {
_root.tryscored = 1;
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i).gotoAndPlay("try");
} else if (_root.ballCarrier != i) {
eval (("_root.players.player" + i) + ".p1.possy").gotoAndPlay("try");
}
i++;
}
}
}
if (_root.tryscored == 0) {
if (((_root.tackle == 0) and (_root.tackled == 0)) and (_root.intouch == 0)) {
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
if (timergo == 1) {
timer++;
if (timer >= _root.timerlimit) {
timer = 0;
timergo = 0;
}
}
_root.shortestdistance = _root.shortestdistance + 2;
_root.players.drag._x = _root.players.drag._x + ((_root.players._xmouse - _root.players.drag._x) / _root.lag);
_root.players.drag._y = _root.players.drag._y + ((_root.players._ymouse - _root.players.drag._y) / _root.lag);
if (_root.players.drag._x >= (_root.players.ball._x + 50)) {
_root.players.drag._x = _root.players.ball._x + 50;
}
if (_root.players.drag._x <= (_root.players.ball._x - 50)) {
_root.players.drag._x = _root.players.ball._x - 50;
}
if (_root.players.drag._y >= (_root.players.ball._y + 50)) {
_root.players.drag._y = _root.players.ball._y + 50;
}
if (_root.players.drag._y <= (_root.players.ball._y - 50)) {
_root.players.drag._y = _root.players.ball._y - 50;
}
_root.currentContentY = _root.ground._y;
_root.currentContentX = _root.ground._x;
_root.currentMouseX = _root.players.drag._x;
_root.currentMouseY = _root.players.drag._y;
_root.diffY = _root.currentMouseY - _root.players.ball._y;
_root.diffX = _root.currentMouseX - _root.players.ball._x;
if (passed >= 2) {
if (_root.balleasing > 1) {
_root.balleasing--;
}
if (_root.balleasing <= 1) {
_root.balleasing = 1;
passed = 0;
_root.passed = 0;
}
}
if (_root.sidestep == 0) {
stepdist = 0;
}
if (_root.sidestep == 1) {
if (stepdist > 0) {
stepdist++;
}
if (stepdist < 0) {
stepdist--;
}
if (stepdist >= _root.steplimit) {
stepdist = 0;
_root.sidestep = 0;
}
if (stepdist <= (-_root.steplimit)) {
stepdist = 0;
_root.sidestep = 0;
}
}
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i).gotoAndStop(1);
} else {
eval ("_root.players.player" + i).gotoAndStop(2);
}
i++;
}
if (sprint == 1) {
if (_root.ballCarrier == 1) {
_root.sprintEnergy1--;
speedY = _root.sprintlimit;
speedX = _root.sprintlimit;
if (_root.sprintEnergy1 <= 0) {
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
sprint = 0;
_root.sprintEnergy1 = 0;
}
}
if (_root.ballCarrier == 2) {
_root.sprintEnergy2--;
speedY = _root.sprintlimit;
speedX = _root.sprintlimit;
if (_root.sprintEnergy2 <= 0) {
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
sprint = 0;
_root.sprintEnergy2 = 0;
}
}
if (_root.ballCarrier == 3) {
_root.sprintEnergy3--;
speedY = _root.sprintlimit;
speedX = _root.sprintlimit;
if (_root.sprintEnergy3 <= 0) {
speedY = _root.playerspeedY;
speedX = _root.playerspeedX;
sprint = 0;
_root.sprintEnergy3 = 0;
}
}
}
_root.players.player1.energybar._xscale = (100 * _root.sprintEnergy1) / _root.energytimer;
_root.players.player2.energybar._xscale = (100 * _root.sprintEnergy2) / _root.energytimer;
_root.players.player3.energybar._xscale = (100 * _root.sprintEnergy3) / _root.energytimer;
_root.energyleft = (_root.sprintEnergy1 + _root.sprintEnergy2) + _root.sprintEnergy3;
if (_root.sprintEnergy1 < _root.energytimer) {
_root.sprintEnergy1 = _root.sprintEnergy1 + _root.energyregain;
}
if (_root.sprintEnergy1 >= _root.energytimer) {
_root.sprintEnergy1 = _root.energytimer;
}
if (_root.sprintEnergy2 < _root.energytimer) {
_root.sprintEnergy2 = _root.sprintEnergy2 + _root.energyregain;
}
if (_root.sprintEnergy2 >= _root.energytimer) {
_root.sprintEnergy2 = _root.energytimer;
}
if (_root.sprintEnergy3 < _root.energytimer) {
_root.sprintEnergy3 = _root.sprintEnergy3 + _root.energyregain;
}
if (_root.sprintEnergy3 >= _root.energytimer) {
_root.sprintEnergy3 = _root.energytimer;
}
weirdfollow++;
if (weirdfollow >= 10) {
weirdfollow = 0;
}
if (weirdfollow == 0) {
weirdPoint1 = random(100);
weirdPoint2 = random(100);
weirdPoint3 = random(100);
}
if (newContentX <= rightContentLimit) {
newContentX = rightContentLimit;
_root.groundMoveX = 0;
}
if (newContentX >= leftContentLimit) {
newContentX = leftContentLimit;
_root.groundMoveX = 0;
}
if ((newContentY <= lowerContentLimit) or (newContentY >= upperContentLimit)) {
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i)._y = eval ("_root.players.player" + i)._y + (_root.diffY / speedY);
if (eval ("_root.players.player" + i)._y >= frameBottom) {
eval ("_root.players.player" + i)._y = frameBottom;
} else if (eval ("_root.players.player" + i)._y <= frameTop) {
eval ("_root.players.player" + i)._y = frameTop;
}
if ((eval ("_root.players.player" + i)._y >= deadZoneTop) and (eval ("_root.players.player" + i)._y <= deadZoneBottom)) {
newContentY = _root.currentContentY - (_root.diffY / speedY);
_root.groundMoveY = -(_root.diffY / speedY);
}
playerholdingY = eval ("_root.players.player" + i)._y;
} else {
eval ("_root.players.player" + i)._y = eval ("_root.players.player" + i)._y + ((((playerholdingY + (i * 15)) + eval ("weirdPoint" + i)) - eval ("_root.players.player" + i)._y) / easing);
}
i++;
}
} else {
newContentY = _root.currentContentY - (_root.diffY / speedY);
_root.groundMoveY = -(_root.diffY / speedY);
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
playerholdingY = eval ("_root.players.player" + i)._y;
eval ("_root.players.player" + i)._y = eval ("_root.players.player" + i)._y + ((frameCentreY - eval ("_root.players.player" + i)._y) / easing);
} else {
eval ("_root.players.player" + i)._y = eval ("_root.players.player" + i)._y + ((((playerholdingY + (i * 15)) + eval ("weirdPoint" + i)) - eval ("_root.players.player" + i)._y) / easing);
}
i++;
}
}
if (newContentY <= lowerContentLimit) {
newContentY = lowerContentLimit;
_root.groundMoveY = 0;
}
if (newContentY >= upperContentLimit) {
newContentY = upperContentLimit;
_root.groundMoveY = 0;
}
if ((newContentX <= rightContentLimit) or (newContentX >= leftContentLimit)) {
if (newContentX <= rightContentLimit) {
if (_root.players.ball._x >= (frameRight - 210)) {
_root.intouch = 1;
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i)._x = frameRight - 210;
}
i++;
}
}
}
if (newContentX >= leftContentLimit) {
if (_root.players.ball._x <= (frameLeft + 210)) {
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i)._x = frameLeft + 210;
}
i++;
}
_root.intouch = 1;
}
}
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i)._x = eval ("_root.players.player" + i)._x + (_root.diffX / speedX);
if (eval ("_root.players.player" + i)._x >= frameRight) {
eval ("_root.players.player" + i)._x = frameRight;
} else if (eval ("_root.players.player" + i)._x <= frameLeft) {
eval ("_root.players.player" + i)._x = frameLeft;
}
if (newContentX <= rightContentLimit) {
if (eval ("_root.players.player" + i)._x <= deadZoneLeft) {
newContentX = (_root.currentContentX - (_root.diffX / speedX)) + stepdist;
_root.groundMoveX = (-(_root.diffX / speedX)) + stepdist;
}
}
if (newContentX >= leftContentLimit) {
if (eval ("_root.players.player" + i)._x >= deadZoneRight) {
newContentX = (_root.currentContentX - (_root.diffX / speedX)) + stepdist;
_root.groundMoveX = (-(_root.diffX / speedX)) + stepdist;
}
}
playerholdingX = eval ("_root.players.player" + i)._x;
} else {
eval ("_root.players.player" + i)._x = eval ("_root.players.player" + i)._x + (((((i * 150) + eval ("weirdPoint" + i)) - 50) - eval ("_root.players.player" + i)._x) / easing);
if (eval ("_root.players.player" + i)._x <= (frameLeft + 250)) {
eval ("_root.players.player" + i)._x = frameLeft + 250;
}
if (eval ("_root.players.player" + i)._x >= (frameRight - 250)) {
eval ("_root.players.player" + i)._x = frameRight - 250;
}
}
i++;
}
} else {
newContentX = (_root.currentContentX - (_root.diffX / speedX)) + stepdist;
_root.groundMoveX = (-(_root.diffX / speedX)) + stepdist;
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
playerholdingX = eval ("_root.players.player" + i)._x;
} else {
eval ("_root.players.player" + i)._x = eval ("_root.players.player" + i)._x + (((((i * 150) + eval ("weirdPoint" + i)) - 50) - eval ("_root.players.player" + i)._x) / easing);
if (eval ("_root.players.player" + i)._x <= (frameLeft + 250)) {
eval ("_root.players.player" + i)._x = frameLeft + 250;
}
if (eval ("_root.players.player" + i)._x >= (frameRight - 250)) {
eval ("_root.players.player" + i)._x = frameRight - 250;
}
}
i++;
}
}
_root.ground._y = newContentY;
_root.ground._x = newContentX;
_root.players.posts1._x = _root.players.posts1._x + _root.groundMoveX;
_root.players.posts2._x = _root.players.posts2._x + _root.groundMoveX;
_root.players.posts1._y = _root.players.posts1._y + _root.groundMoveY;
_root.players.posts2._y = _root.players.posts2._y + _root.groundMoveY;
if (timer == 0) {
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
if (_root.shortestdistance <= _root.palmingdistance) {
if (_root.palmoff == 0) {
eval (("_root.players.player" + i) + ".eventsignals").gotoAndPlay("palm");
}
}
if ((_root.shortestdistance >= _root.palmingdistance) and (_root.shortestdistance <= _root.sidestepdistance)) {
if (_root.sidestep == 0) {
eval (("_root.players.player" + i) + ".eventsignals").gotoAndPlay("sidestep");
}
}
if (_root.shortestdistance > _root.sidestepdistance) {
if (_root.shortestdistance < (_root.sidestepdistance + _root.sprintdistance)) {
if (sprint == 0) {
eval (("_root.players.player" + i) + ".eventsignals").gotoAndPlay("sprint");
}
}
}
if (_root.shortestdistance >= (_root.sidestepdistance + _root.sprintdistance)) {
eval (("_root.players.player" + i) + ".eventsignals").gotoAndPlay("nothing");
}
}
i++;
}
}
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
if (eval ("_root.players.player" + i)._y < _root.players.posts2._y) {
_root.tryallowed = 1;
}
}
i++;
}
if (speedY <= _root.playerspeedY) {
if (_root.diffY > 5) {
_root.score = _root.score + _root.runbackbonus;
}
if (_root.diffY < -40) {
_root.score = _root.score + _root.runforwardbonus;
}
}
if (_root.score <= 0) {
_root.score = 0;
}
}
if (_root.intouch == 1) {
touchtimer++;
_root.groundMoveX = 0;
_root.groundMoveY = 0;
if (touchtimer >= 60) {
_root.score = 0;
_root.tackled = 1;
touchtimer = 0;
}
}
if (_root.tryallowed == 0) {
if (_root.tackle == 1) {
_root.groundMoveX = 0;
_root.groundMoveY = 0;
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i).gotoAndStop("tackled");
}
i++;
}
tackletimer++;
if (tackletimer >= 60) {
_root.score = 0;
_root.tackled = 1;
tackletimer = 0;
}
}
}
if (_root.tackled == 1) {
_root.ground._x = startGroundPosX;
_root.ground._y = startGroundPosY;
tactimer++;
if (tactimer >= 5) {
i = 1;
while (i <= ownplayers) {
if (_root.ballCarrier == i) {
eval ("_root.players.player" + i).gotoAndStop(1);
}
i++;
}
_root.playedtitles = 0;
_root.tackled = 0;
tactimer = 0;
_root.tackle = 0;
_root.groundMoveX = 0;
_root.groundMoveY = 0;
_root.diffX = 0;
_root.diffY = 0;
_root.currentContentX = _root.ground._x;
_root.currentContentY = _root.ground._y;
newContentX = _root.ground._x;
newContentY = _root.ground._y;
_root.intouch = 0;
_root.sprintEnergy1 = _root.energytimer;
_root.sprintEnergy2 = _root.energytimer;
_root.sprintEnergy3 = _root.energytimer;
}
}
}
}
Instance of Symbol 582 MovieClip "player1" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
StartX = this._x;
StartY = this._y;
easing = _root.easing;
acceleration = _root.playeracceleration;
maxSpeed = _root.speed;
spacingX = _root.spacingX;
spacingY = _root.spacingY;
}
onClipEvent (enterFrame) {
playersX = _root.players.drag._x - this._x;
playersY = _root.players.drag._y - this._y;
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
if (_root.tackled == 0) {
this.swapDepths(Math.round(this._y));
}
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.p1.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.p1.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.p1.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.p1.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
}
Instance of Symbol 787 MovieClip "op14" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno14[0];
acceleration = _root.opno14[1];
maxSpeed = _root.opno14[2];
easing = _root.opno14[3];
restriction = _root.opno14[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op12" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno12[0];
acceleration = _root.opno12[1];
maxSpeed = _root.opno12[2];
easing = _root.opno12[3];
restriction = _root.opno12[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op10" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno10[0];
acceleration = _root.opno10[1];
maxSpeed = _root.opno10[2];
easing = _root.opno10[3];
restriction = _root.opno10[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op9" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno9[0];
acceleration = _root.opno9[1];
maxSpeed = _root.opno9[2];
easing = _root.opno9[3];
restriction = _root.opno9[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op13" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno13[0];
acceleration = _root.opno13[1];
maxSpeed = _root.opno13[2];
easing = _root.opno13[3];
restriction = _root.opno13[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op15" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno15[0];
acceleration = _root.opno15[1];
maxSpeed = _root.opno15[2];
easing = _root.opno15[3];
restriction = _root.opno15[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op11" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno7[0];
acceleration = _root.opno7[1];
maxSpeed = _root.opno7[2];
easing = _root.opno7[3];
restriction = _root.opno7[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno8[0];
acceleration = _root.opno8[1];
maxSpeed = _root.opno8[2];
easing = _root.opno8[3];
restriction = _root.opno8[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno11[0];
acceleration = _root.opno11[1];
maxSpeed = _root.opno11[2];
easing = _root.opno11[3];
restriction = _root.opno11[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 582 MovieClip "player2" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
StartX = this._x;
StartY = this._y;
easing = _root.easing;
acceleration = _root.playeracceleration;
maxSpeed = _root.speed;
spacingX = _root.spacingX;
spacingY = _root.spacingY;
}
onClipEvent (enterFrame) {
playersX = _root.players.drag._x - this._x;
playersY = _root.players.drag._y - this._y;
if (_root.tackled == 0) {
this.swapDepths(Math.round(this._y));
}
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.p1.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.p1.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.p1.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.p1.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
}
Instance of Symbol 582 MovieClip "player3" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
StartX = this._x;
StartY = this._y;
easing = _root.easing;
acceleration = _root.playeracceleration;
maxSpeed = _root.speed;
spacingX = _root.spacingX;
spacingY = _root.spacingY;
}
onClipEvent (enterFrame) {
playersX = _root.players.drag._x - this._x;
playersY = _root.players.drag._y - this._y;
if (_root.tackled == 0) {
this.swapDepths(Math.round(this._y));
}
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.p1.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.p1.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.p1.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.p1.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.p1.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.p1.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
}
Instance of Symbol 791 MovieClip "ball" in Symbol 883 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tryscored == 0) {
playersX = eval ("_root.players.player" + _root.ballCarrier)._x - this._x;
playersY = (eval ("_root.players.player" + _root.ballCarrier)._y - this._y) - 16;
}
if (_root.tryscored == 1) {
playersX = eval ("_root.players.player" + _root.ballCarrier)._x - this._x;
playersY = eval ("_root.players.player" + _root.ballCarrier)._y - this._y;
}
this._x = this._x + ((playersX / _root.balleasing) + _root.groundMoveX);
this._y = this._y + ((playersY / _root.balleasing) - _root.groundMoveY);
if (_root.tackled == 0) {
if (_root.runup == 1) {
this.swapDepths(Math.round(this._y));
}
if (_root.runup == 0) {
this.swapDepths(Math.round(this._y) + 60);
}
}
if (_root.balleasing > 1) {
this._y = this._y - 3;
this._xscale = 100;
this._yscale = 100;
play();
} else {
this._xscale = 70;
this._yscale = 70;
gotoAndStop (1);
}
}
Instance of Symbol 794 MovieClip "posts1" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
StartX = this._x;
StartY = this._y;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
this.swapDepths(Math.round(this._y));
}
Instance of Symbol 866 MovieClip "posts2" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
StartX = this._x;
StartY = this._y;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
}
Instance of Symbol 791 MovieClip "ballshadow" in Symbol 883 MovieClip Frame 1
onClipEvent (enterFrame) {
playersX = eval ("_root.players.player" + _root.ballCarrier)._x - this._x;
playersY = eval ("_root.players.player" + _root.ballCarrier)._y - this._y;
this._x = this._x + ((playersX / _root.balleasing) + _root.groundMoveX);
this._y = this._y + ((playersY / _root.balleasing) - _root.groundMoveY);
if (_root.balleasing > 1) {
this._y = this._y + 3;
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno6[0];
acceleration = _root.opno6[1];
maxSpeed = _root.opno6[2];
easing = _root.opno6[3];
restriction = _root.opno6[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno5[0];
acceleration = _root.opno5[1];
maxSpeed = _root.opno5[2];
easing = _root.opno5[3];
restriction = _root.opno5[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno3[0];
acceleration = _root.opno3[1];
maxSpeed = _root.opno3[2];
easing = _root.opno3[3];
restriction = _root.opno3[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
StartX = this._x;
StartY = this._y;
mindis = _root.opno4[0];
acceleration = _root.opno4[1];
maxSpeed = _root.opno4[2];
easing = _root.opno4[3];
restriction = _root.opno4[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno2[0];
acceleration = _root.opno2[1];
maxSpeed = _root.opno2[2];
easing = _root.opno2[3];
restriction = _root.opno2[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 787 MovieClip "op8" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 2;
this.possy.gotoAndPlay("palmed");
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno1[0];
acceleration = _root.opno1[1];
maxSpeed = _root.opno1[2];
easing = _root.opno1[3];
restriction = _root.opno1[4];
die = 0;
bounceX = 0;
bounceY = 0;
}
onClipEvent (enterFrame) {
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (die != 2) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
if (die == 2) {
dietimer++;
if (dietimer >= _root.bargetimer) {
dietimer = 0;
die = 0;
this.possy.gotoAndPlay(1);
}
playersX = 0;
playersY = 0;
Xacceleration = 0;
Yacceleration = 0;
bounceX = 0;
bounceY = 0;
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 819 MovieClip "ref" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno16[0];
acceleration = _root.opno16[1];
maxSpeed = _root.opno16[2];
easing = _root.opno16[3];
restriction = _root.opno16[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
this.possy.gotoAndPlay(1);
die = 0;
}
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 875 MovieClip "ref2" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno17[0];
acceleration = _root.opno17[1];
maxSpeed = _root.opno17[2];
easing = _root.opno17[3];
restriction = _root.opno17[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 882 MovieClip "ref3" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
function dienow() {
var _local1 = _root;
if (die == 1) {
Xacceleration = 0;
Yacceleration = 0;
if ((playersX < 0) && (playersY > 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if ((playersX < 0) && (playersY < 0)) {
bounceX = bounceX + _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY < 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY + _local1.bounce;
}
if ((playersX > 0) && (playersY > 0)) {
bounceX = bounceX - _local1.bounce;
bounceY = bounceY - _local1.bounce;
}
if (bounceX <= (-_local1.bouncelimit)) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
if (bounceX >= _local1.bouncelimit) {
_local1.score = _local1.score + _local1.palmscorebonus;
die = 0;
bounceX = 0;
bounceY = 0;
}
}
}
startX = this._x;
startY = this._y;
mindis = _root.opno18[0];
acceleration = _root.opno18[1];
maxSpeed = _root.opno18[2];
easing = _root.opno18[3];
restriction = _root.opno18[4];
die = 0;
bounceX = 0;
bounceY = 0;
tackle = 0;
}
onClipEvent (enterFrame) {
playersX = ((_root.players._x + eval ("_root.players.player" + _root.ballCarrier)._x) - this._x) + _root.groundMoveX;
playersY = ((_root.players._y + eval ("_root.players.player" + _root.ballCarrier)._y) - this._y) + _root.groundMoveY;
if (_root.tackled == 1) {
this._x = StartX;
this._y = StartY;
}
if (_root.tackle == 0) {
this.swapDepths(Math.round(this._y));
tackle = 0;
}
if (tackle == 1) {
tackle = 2;
this.possy.gotoAndPlay("tackle");
}
distance = Math.sqrt((playersX * playersX) + (playersY * playersY));
if (distance < _root.shortestdistance) {
_root.shortestdistance = distance;
}
if (distance < _root.palmingdistance) {
if (_root.palmoff == 1) {
if (tackle == 0) {
die = 1;
_root.palmoff = 0;
}
}
}
dienow();
if ((((playersY / playersX) < -0.2) and ((playersY / playersX) > -2)) or (((playersY / playersX) > 0.2) and ((playersY / playersX) < 2))) {
if ((playersX < 0) && (playersY > 0)) {
quad = Number(1);
this.gotoAndStop(8);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration + acceleration;
}
if ((playersX < 0) && (playersY < 0)) {
quad = Number(2);
this.gotoAndStop(6);
Xacceleration = Xacceleration - acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY < 0)) {
quad = Number(3);
this.gotoAndStop(4);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration - acceleration;
}
if ((playersX > 0) && (playersY > 0)) {
quad = Number(4);
this.gotoAndStop(2);
Xacceleration = Xacceleration + acceleration;
Yacceleration = Yacceleration + acceleration;
}
}
if (playersX < 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(7);
Xacceleration = Xacceleration - acceleration;
}
}
if (playersX > 0) {
if (((playersY / playersX) > -0.2) and ((playersY / playersX) < 0.2)) {
this.gotoAndStop(3);
Xacceleration = Xacceleration + acceleration;
}
}
if (playersY > 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(1);
Yacceleration = Yacceleration + acceleration;
}
}
if (playersY < 0) {
if (((playersY / playersX) < -2) or ((playersY / playersX) > 2)) {
this.gotoAndStop(5);
Yacceleration = Yacceleration - acceleration;
}
}
if (Yacceleration >= maxSpeed) {
Yacceleration = maxSpeed;
}
if (Yacceleration <= (-maxSpeed)) {
Yacceleration = -maxSpeed;
}
if (Xacceleration >= maxSpeed) {
Xacceleration = maxSpeed;
}
if (Xacceleration <= (-maxSpeed)) {
Xacceleration = -maxSpeed;
}
if (distance <= mindis) {
if (distance >= _root.tacklemindist) {
this._x = this._x + ((((playersX / easing) + Xacceleration) + _root.groundMoveX) + bounceX);
if (restriction == 0) {
this._y = this._y + ((((playersY / easing) + Yacceleration) + _root.groundMoveY) + bounceY);
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
if (_root.passed == 0) {
if (distance < _root.tacklemindist) {
if (die == 0) {
if (tackle == 0) {
tackle = 1;
_root.tackle = 1;
}
}
}
}
} else {
this._x = this._x + _root.groundMoveX;
if (restriction == 0) {
this._y = this._y + _root.groundMoveY;
}
if (restriction == 1) {
this._y = this._y + (_root.groundMoveY + bounceY);
}
}
}
Instance of Symbol 586 MovieClip "drag" in Symbol 883 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = 0;
DragPosX = eval ("_root.players.player" + _root.ballCarrier)._x;
DragPosY = eval ("_root.players.player" + _root.ballCarrier)._y;
diffX = (-DragPosX) + _x;
diffY = (-DragPosY) + _y;
if (diffX <= 0) {
r = (Math.atan(diffY / diffX) * 57.3248407643312) - 90;
}
if (diffX > 0) {
r = (Math.atan(diffY / diffX) * 57.3248407643312) + 90;
}
_rotation = r;
if ((r < 90) and (r > -90)) {
_root.runup = 1;
} else {
_root.runup = 0;
}
}
Instance of Symbol 586 MovieClip "drag2" in Symbol 883 MovieClip Frame 1
onClipEvent (enterFrame) {
DragPosX = eval ("_root.players.player" + _root.ballCarrier)._x;
DragPosY = eval ("_root.players.player" + _root.ballCarrier)._y;
diffX = (-DragPosX) + _x;
diffY = (-DragPosY) + _y;
if (diffX <= 0) {
r = (Math.atan(diffY / diffX) * 57.3248407643312) - 90;
}
if (diffX > 0) {
r = (Math.atan(diffY / diffX) * 57.3248407643312) + 90;
}
_rotation = r;
}
Symbol 894 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 16
gotoAndPlay (2);
Symbol 895 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 2
stop();
Symbol 896 MovieClip Frame 1
team.gotoAndStop(_root.dropbox1);
Symbol 896 MovieClip Frame 4
team.gotoAndStop(_root.dropbox1);
Symbol 900 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 2
_root.kicking = 1;
Symbol 900 MovieClip Frame 11
play();
_root.kicktheball = 1;
_root.kick.kickingball._x = _root.kick.kickingball._x - 5;
Symbol 900 MovieClip Frame 14
with (dood) {
stop();
}
Symbol 900 MovieClip Frame 15
gotoAndPlay ("loopdood");
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 3
stop();
Symbol 929 Button
on (release) {
gotoAndPlay ("sentscore");
}
Symbol 930 Button
on (release) {
if ((_root.Yname != "") and (_root.Yemail != "")) {
sess = random(9999999);
loadVariablesNum ((((("certificate.cfm?&email=" + _root.Yemail) + "&name=") + _root.Yname) + "&sess=") + sess, 0);
}
gotoAndPlay ("sent");
}
Symbol 939 MovieClip Frame 2
if ((_root.Yname != undefined) and (_root.Yemail != undefined)) {
if (_root.scoresent == 0) {
gotoAndStop (4);
}
if (_root.scoresent == 1) {
gotoAndPlay ("sentscore");
}
}
Symbol 939 MovieClip Frame 3
gotoAndPlay (2);
Symbol 939 MovieClip Frame 4
stop();
Symbol 939 MovieClip Frame 6
sess = random(9999999);
loadVariablesNum ((((((((((((((((("EnterScore.cfm?&score=" + _root.totalScore) + "&name=") + _root.Yname) + "&email=") + _root.Yemail) + "&YourTeam=") + _root.dropbox1) + "&OppTeam=") + _root.dropbox2) + "&Try=") + _root.tryscored) + "&Winner=") + _root.winner) + "&Looser=") + _root.loser) + "&sess=") + sess, 0);
_root.scoresent = 1;
Symbol 939 MovieClip Frame 23
stop();
Symbol 939 MovieClip Frame 42
stop();
Symbol 944 Button
on (release) {
gotoAndPlay (619);
}
Symbol 948 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 949 Button
on (release) {
with (_root) {
gotoAndPlay("leader2");
}
stopAllSounds();
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 950 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 6
stop();
Symbol 960 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 961 Button
on (release) {
with (_root) {
gotoAndPlay("setup2");
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 962 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 7
stop();
Symbol 963 Button
on (release) {
_root.music = 0;
stopAllSounds();
gotoAndStop (2);
}
Symbol 964 Button
on (release) {
_root.gotoAndPlay("soundstart5");
_root.music = 1;
gotoAndStop (1);
}
Symbol 965 MovieClip Frame 1
stop();
if (_root.music == 0) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 965 MovieClip Frame 2
stop();
Symbol 967 Button
on (rollOver) {
gotoAndPlay (2);
}
Symbol 968 Button
on (release) {
_root.gotoAndPlay("end");
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 7
stop();
Symbol 979 Button
on (release) {
getURL ("http://www.easports.com.au", "_blank");
}
Symbol 980 Button
on (release) {
getURL ("http://www.blur.co.uk", "_blank");
}
Symbol 981 Button
on (release) {
getURL ("http://www.amnesia.com.au/?gameof3halves", "_blank");
}
Symbol 982 Button
on (release) {
getURL ("http://www.three.com.au", "_blank");
}
Symbol 983 Button
on (release) {
getURL ("http://www.emi.com.au", "_blank");
}