STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229494
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2575 · P5149

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/44107189?noj=FRM44107189-15DC" width="1" height="1"></div>

Water Polo.swf

This is the info page for
Flash #25158

(Click the ID number above for more basic data on this flash file.)


Text
Loading...

0%

NOT THE BIGGEST...

JUST THE BEST!

Thousands Of Free Flash Games To Play!
Click Here!

?

1:00

0

0

Press "K" to Begin



Player1

UP

LEFT

RIGHT

Player2

PASS
KICK OFF

SHOOT

L

K

D

G

F

->

S

A

W

Instructions

ActionScript [AS1/AS2]

Frame 1
_focusrect = 0; nBytesTotal = _root.getBytesTotal(); nBytesLoaded = _root.getBytesLoaded(); nPercentLoaded = int((nBytesLoaded / nBytesTotal) * 100); movLoader.gotoAndStop(Math.round(nPercentLoaded / 2)); movLoader.txtPer = nPercentLoaded; if (nBytesLoaded >= nBytesTotal) { var blnFX = 1; var blnMusic = 1; gotoAndStop (3); }
Frame 2
gotoAndPlay (1);
Frame 3
Instance of Symbol 49 MovieClip in Frame 3
on (release) { getURL ("http://arcadepunk.com", "_blank"); getURL ("http://www.arcadepunk.com/links/click.php?id=1", "_self"); }
Frame 4
if (blnMusic == 1) { stopAllSounds(); sndMusic0.gotoAndPlay(2); sndMusic1.gotoAndPlay(4); } _root.country1 = 10; _root.country2 = 10; stop();
Frame 5
var nLevel = 1; _root.male = true; var nP1Gender = 1; var select2p = false; _root.flag1.gotoAndStop("ying"); _root.flag2.gotoAndStop("wu"); var ff = new Array(15); stop();
Frame 6
var select2p = false; stop();
Frame 7
stop();
Frame 8
var nP1PlayDir = 1; var nKickingOff = 1; var nP1Score = 0; var nP2Score = 0; var nTotalMins = 1; var nEndo = 0; if (blnMusic == 1) { blnMusic = -1; } else { blnMusic = 0; } if (nLevel == 1) { var arrSpeeds = new Array(8.5, 9, 4, 4); var nGoalieMinSpd = 3; var nGoalieMaxSpd = 12; } else if (nLevel == 2) { var arrSpeeds = new Array(8.5, 9, 7, 7); var nGoalieMinSpd = 7; var nGoalieMaxSpd = 25; } else if (nLevel == 3) { var arrSpeeds = new Array(8.5, 9, 10, 9); var nGoalieMinSpd = 9; var nGoalieMaxSpd = 30; } var arrP1Boxes = new Array(); var arrP2Boxes = new Array(); arrP1Boxes[1] = new Array(-620, -620, 80, 100); arrP1Boxes[2] = new Array(-620, -100, 80, 620); arrP1Boxes[3] = new Array(0, -620, 620, 100); arrP1Boxes[4] = new Array(0, -100, 620, 620); arrP1Boxes[5] = new Array(350, -200, 620, 200); arrP2Boxes[1] = new Array(-80, -620, 620, 100); arrP2Boxes[2] = new Array(-80, 100, 620, 620); arrP2Boxes[3] = new Array(-620, -620, -100, 100); arrP2Boxes[4] = new Array(-620, -100, -100, 620); arrP2Boxes[5] = new Array(350, -200, 480, 200); _root.xiabanchang = false;
Frame 9
if (blnFX) { _level2.sndCrowd1.play(); } movGame.inPlay = -1;
Instance of Symbol 184 MovieClip "movGame" in Frame 9
onClipEvent (load) { function fChangeControl(pid, teamid) { if (teamid == 1) { if (eval ("movP1P" + pid).inControl == 0) { if (eval ("movP1P" + pid).isPressed[0] == 0) { eval ("movP1P" + pid).up = 0; } if (eval ("movP1P" + pid).isPressed[1] == 0) { eval ("movP1P" + pid).down = 0; } if (eval ("movP1P" + pid).isPressed[2] == 0) { eval ("movP1P" + pid).left = 0; } if (eval ("movP1P" + pid).isPressed[3] == 0) { eval ("movP1P" + pid).right = 0; } i = 1; while (i <= nPlayers) { if (i != pid) { eval ("movP1P" + i).inControl = 0; eval ("movP1P" + i).up = 0; eval ("movP1P" + i).down = 0; eval ("movP1P" + i).left = 0; eval ("movP1P" + i).right = 0; eval ("movP1P" + i).blnDribble = 0; } i++; } } eval ("movP1P" + pid).inControl = 1; } else { if (eval ("movP2P" + pid).inControl == 0) { i = 1; while (i <= nPlayers) { if (i != pid) { eval ("movP2P" + i).inControl = 0; eval ("movP2P" + i).up = 0; eval ("movP2P" + i).down = 0; eval ("movP2P" + i).left = 0; eval ("movP2P" + i).right = 0; eval ("movP2P" + i).blnDribble = 0; } i++; } } eval ("movP2P" + pid).inControl = 1; } } function fKickBall(dir, pow, team, x, y, pid, shottype) { _root.movP1Bar._alpha = 0; _root.movP2Bar._alpha = 0; _root.movP1Bar._xscale = 1; _root.movP2Bar._xscale = 1; if (pow <= 25) { _root.sndKickQuiet.play(); } else { _root.sndKick.play(); } nBallDir = dir; if (((((pid != 5) && (team == 1)) && (blnP1GoingUp == 1)) && (((dir == 7) || (dir == 1)) || (dir == 2))) && (y < -630)) { pow = 5; } if (((((pid != 5) && (team == 1)) && (blnP1GoingUp == 2)) && (((dir == 4) || (dir == 5)) || (dir == 6))) && (y > 630)) { pow = 5; } if (((((pid != 5) && (team == 2)) && (blnP1GoingUp == 2)) && (((dir == 7) || (dir == 1)) || (dir == 2))) && (y < -630)) { pow = 5; } if (((((pid != 5) && (team == 2)) && (blnP1GoingUp == 1)) && (((dir == 4) || (dir == 5)) || (dir == 6))) && (y > 630)) { pow = 5; } switch (dir) { case 1 : nAng = 270; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x > (x - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._x < (x + (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._y <= y)) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = (eval ((("movP" + team) + "P") + i)._y - y) - 100; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 2 : nAng = 315; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x > x)) && (eval ((("movP" + team) + "P") + i)._x < (x + (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._y <= y)) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = (eval ((("movP" + team) + "P") + i)._y - y) - 100; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 3 : nAng = 0; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x >= x)) && (eval ((("movP" + team) + "P") + i)._y > (y - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._y < (y + (pow * 100)))) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 4 : nAng = 45; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x > x)) && (eval ((("movP" + team) + "P") + i)._y >= y)) && (eval ((("movP" + team) + "P") + i)._y < (y + (pow * 100)))) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 5 : nAng = 90; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._y >= y)) && (eval ((("movP" + team) + "P") + i)._x >= (x - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._x < (x + (pow * 100)))) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 6 : nAng = 135; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._y >= y)) && (eval ((("movP" + team) + "P") + i)._x >= (x - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._x < x)) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 7 : nAng = 180; if (shottype == 1) { i = 1; while (i <= nPlayers) { if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x <= x)) && (eval ((("movP" + team) + "P") + i)._y >= (y - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._y <= (y + (pow * 100)))) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; } } break; case 8 : nAng = 225; if (shottype != 1) { break; } i = 1; for(;;){ if (i > nPlayers) { break; } if ((((i != pid) && (eval ((("movP" + team) + "P") + i)._x <= x)) && (eval ((("movP" + team) + "P") + i)._y >= (y - (pow * 100)))) && (eval ((("movP" + team) + "P") + i)._y <= y)) { diffX = eval ((("movP" + team) + "P") + i)._x - x; diffY = eval ((("movP" + team) + "P") + i)._y - y; radians = Math.atan2(diffY, diffX); if (diffY < 0) { radians = radians + (Math.PI*2); } nAng = Math.floor(radians / (Math.PI/180)); break; } i++; }; } if ((nAng >= 0) && (nAng < 90)) { adj = Math.cos(0.01745329 * nAng) * pow; opp = Math.tan(0.01745329 * nAng) * adj; movBall.nXSpd = adj; movBall.nYSpd = opp; } else if ((nAng >= 90) && (nAng < 180)) { nAng = nAng - 90; adj = (-Math.cos(0.01745329 * nAng)) * pow; opp = (-Math.tan(0.01745329 * nAng)) * adj; movBall.nXSpd = -opp; movBall.nYSpd = -adj; } else if ((nAng >= 180) && (nAng < 270)) { nAng = nAng - 180; adj = Math.cos(0.01745329 * nAng) * pow; opp = Math.tan(0.01745329 * nAng) * adj; movBall.nXSpd = -adj; movBall.nYSpd = -opp; } else if ((nAng >= 270) && (nAng < 360)) { nAng = nAng - 270; adj = (-Math.cos(0.01745329 * nAng)) * pow; opp = (-Math.tan(0.01745329 * nAng)) * adj; movBall.nXSpd = opp; movBall.nYSpd = adj; } movBall._x = movBall._x + movBall.nXSpd; movBall._y = movBall._y + movBall.nYSpd; if (shottype == 2) { var nXS = movBall.nXSpd; var nYS = movBall.nYSpd; if (nXS < 0) { nXS = -nXS; } if (nYS < 0) { nYS = -nYS; } if (nXS == 0) { nXS = 0.1; } if (nYS == 0) { nYS = 0.1; } if (nXS >= nYS) { movBall.nHighPoint = nXS; movBall.nHighCount = 0; movBall.blnUpwards = 1; movBall.nZSpd = 4; } else if (nYS > nXS) { movBall.nHighPoint = nYS; movBall.nHighCount = 0; movBall.blnUpwards = 1; movBall.nZSpd = 4; } } nKickedBy = pid; } var nXDiff; var nYDiff; var nSpd = 5; var nManXSpd = 25; var nStartX = 250; var nStartY = 200; var nTopY = 750; var nBotY = -400; var nLeftX = 750; var nRightX = -250; var xRatio = 17.77778; var yRatio = 15.10204; var nPlayers = 4; var friction = 0.96; var friction2 = 0.85; var nLeftWall = -600; var nRightWall = 600; var nTopWall = -640; var nBotWall = 640; var nGoalWidth = 140; var nDefMax = 190; var nDefMin = 175; var inPlay = -1; var blnKeepersBall = 0; var blnGoal = 0; var blnP1GoingUp = _root.nP1PlayDir; var nKickedBy = 0; var nGCount = 0; var nBallDir = 0; var nLagStored = 0; var controlCount1 = 0; var controlCount2 = 0; _root.sndWhistle.play(); duplicateMovieClip ("swapper", "movS1", 161); duplicateMovieClip ("swapper", "movS2", 162); duplicateMovieClip ("swapper", "movS3", 163); duplicateMovieClip ("swapper", "movS4", 164); duplicateMovieClip ("swapper", "movS5", 165); duplicateMovieClip ("swapper", "movS6", 166); duplicateMovieClip ("swapper", "movS7", 167); duplicateMovieClip ("swapper", "movS8", 168); duplicateMovieClip ("swapper", "movS9", 169); duplicateMovieClip ("swapper", "movS10", 170); if (_root.nPlayers == 1) { if (blnP1GoingUp == 1) { if (_root.nP1Gender == 1) { duplicateMovieClip ("player1", "movP1P1", 101); duplicateMovieClip ("player1", "movP1P2", 102); duplicateMovieClip ("player1", "movP1P3", 103); duplicateMovieClip ("player1", "movP1P4", 104); duplicateMovieClip ("goalie1player", "movP1P5", 180); duplicateMovieClip ("computer4", "movP2P1", 106); duplicateMovieClip ("computer4", "movP2P2", 107); duplicateMovieClip ("computer4", "movP2P3", 108); duplicateMovieClip ("computer4", "movP2P4", 109); duplicateMovieClip ("goalie2", "movP2P5", 110); } else { duplicateMovieClip ("player3", "movP1P1", 101); duplicateMovieClip ("player3", "movP1P2", 102); duplicateMovieClip ("player3", "movP1P3", 103); duplicateMovieClip ("player3", "movP1P4", 104); duplicateMovieClip ("goalie1player", "movP1P5", 180); duplicateMovieClip ("computer2", "movP2P1", 106); duplicateMovieClip ("computer2", "movP2P2", 107); duplicateMovieClip ("computer2", "movP2P3", 108); duplicateMovieClip ("computer2", "movP2P4", 109); duplicateMovieClip ("goalie2", "movP2P5", 110); } } else if (_root.nP1Gender == 1) { duplicateMovieClip ("computer3", "movP1P1", 101); duplicateMovieClip ("computer3", "movP1P2", 102); duplicateMovieClip ("computer3", "movP1P3", 103); duplicateMovieClip ("computer3", "movP1P4", 104); duplicateMovieClip ("goalie1", "movP1P5", 180); duplicateMovieClip ("player2", "movP2P1", 106); duplicateMovieClip ("player2", "movP2P2", 107); duplicateMovieClip ("player2", "movP2P3", 108); duplicateMovieClip ("player2", "movP2P4", 109); duplicateMovieClip ("goalie2player", "movP2P5", 110); } else { duplicateMovieClip ("computer1", "movP1P1", 101); duplicateMovieClip ("computer1", "movP1P2", 102); duplicateMovieClip ("computer1", "movP1P3", 103); duplicateMovieClip ("computer1", "movP1P4", 104); duplicateMovieClip ("goalie1", "movP1P5", 180); duplicateMovieClip ("player4", "movP2P1", 106); duplicateMovieClip ("player4", "movP2P2", 107); duplicateMovieClip ("player4", "movP2P3", 108); duplicateMovieClip ("player4", "movP2P4", 109); duplicateMovieClip ("goalie2player", "movP2P5", 110); } } else if (blnP1GoingUp == 1) { duplicateMovieClip ("player1", "movP1P1", 101); duplicateMovieClip ("player1", "movP1P2", 102); duplicateMovieClip ("player1", "movP1P3", 103); duplicateMovieClip ("player1", "movP1P4", 104); duplicateMovieClip ("goalie1player", "movP1P5", 180); duplicateMovieClip ("player4", "movP2P1", 106); duplicateMovieClip ("player4", "movP2P2", 107); duplicateMovieClip ("player4", "movP2P3", 108); duplicateMovieClip ("player4", "movP2P4", 109); duplicateMovieClip ("goalie2player", "movP2P5", 110); } else { duplicateMovieClip ("player3", "movP1P1", 101); duplicateMovieClip ("player3", "movP1P2", 102); duplicateMovieClip ("player3", "movP1P3", 103); duplicateMovieClip ("player3", "movP1P4", 104); duplicateMovieClip ("goalie1player", "movP1P5", 180); duplicateMovieClip ("player2", "movP2P1", 106); duplicateMovieClip ("player2", "movP2P2", 107); duplicateMovieClip ("player2", "movP2P3", 108); duplicateMovieClip ("player2", "movP2P4", 109); duplicateMovieClip ("goalie2player", "movP2P5", 110); } movP1P1.gotoAndStop(3); movP1P2.gotoAndStop(2); movP1P3.gotoAndStop(4); movP1P4.gotoAndStop(1); movP2P1.gotoAndStop(3); movP2P2.gotoAndStop(2); movP2P3.gotoAndStop(4); movP2P4.gotoAndStop(1); if (_root.nEndo != 1) { movP1P1._visible = 0; movP1P2._visible = 0; movP1P3._visible = 0; movP1P4._visible = 0; movP2P1._visible = 0; movP2P2._visible = 0; movP2P3._visible = 0; movP2P4._visible = 0; } movP1P2.submovie.gotoAndStop(5); movP1P2.submovie.movPointer._alpha = 0; if (_root.nPlayers == 1) { if (blnP1GoingUp == 1) { movP2P1.submovie.movPointer._alpha = 0; } else { movP1P1.submovie.movPointer._alpha = 0; } } movP2P2.submovie.gotoAndStop(5); movP2P2.submovie.movPointer._alpha = 0; duplicateMovieClip ("ball", "movBall", 150); duplicateMovieClip ("movTheGoals", "movGoals", 200); movP1P1.inControl = 1; movP1P2.inControl = 0; movP1P3.inControl = 0; movP1P4.inControl = 0; movP1P5.inControl = 0; movP1P1.nPlayerPos = 1; movP1P2.nPlayerPos = 2; movP1P3.nPlayerPos = 3; movP1P4.nPlayerPos = 4; movP1P5.nPlayerPos = 5; movP2P1.inControl = 1; movP2P2.inControl = 0; movP2P3.inControl = 0; movP2P4.inControl = 0; movP2P5.inControl = 0; movP2P1.nPlayerPos = 1; movP2P2.nPlayerPos = 2; movP2P3.nPlayerPos = 3; movP2P4.nPlayerPos = 4; movP2P5.nPlayerPos = 5; movP1P3._x = -180; movP1P3._y = 380; movP1P4._x = 180; movP1P4._y = 380; movP1P5._x = 0; movP1P5._y = nBotWall - (_root.nLevel * 5); movP2P3._x = -180; movP2P3._y = -380; movP2P4._x = 180; movP2P4._y = -380; movP2P5._x = 0; movP2P5._y = (-nBotWall) + (_root.nLevel * 5); if (_root.nKickingOff == 1) { movP1P1._x = -20; movP1P1._y = 5; movP1P2._x = 45; movP1P2._y = 5; movP2P1._x = -250; movP2P1._y = -110; movP2P2._x = 250; movP2P2._y = -90; } else { movP1P1._x = -250; movP1P1._y = 110; movP1P2._x = 250; movP1P2._y = 90; movP2P1._x = -20; movP2P1._y = 5; movP2P2._x = 45; movP2P2._y = 5; } movBall._x = 0; movBall._y = 0; var arrXDiffs1 = new Array(); var arrYDiffs1 = new Array(); var arrXDiffs2 = new Array(); var arrYDiffs2 = new Array(); } onClipEvent (enterFrame) { if (inPlay == 0) { } else if (inPlay == 1) { controlCount1++; controlCount2++; i = 1; while (i <= nPlayers) { arrXDiffs1[i] = movBall._x - eval ("movP1P" + i)._x; arrYDiffs1[i] = movBall._y - eval ("movP1P" + i)._y; if (arrXDiffs1[i] < 0) { arrXDiffs1[i] = -arrXDiffs1[i]; } if (arrYDiffs1[i] < 0) { arrYDiffs1[i] = -arrYDiffs1[i]; } arrXDiffs2[i] = movBall._x - eval ("movP2P" + i)._x; arrYDiffs2[i] = movBall._y - eval ("movP2P" + i)._y; if (arrXDiffs2[i] < 0) { arrXDiffs2[i] = -arrXDiffs2[i]; } if (arrYDiffs2[i] < 0) { arrYDiffs2[i] = -arrYDiffs2[i]; } i++; } if ((_x >= nRightX) && (_x <= nLeftX)) { _x = (nStartX - movBall._x); } if (_x < nRightX) { _x = nRightX; } if (_x > nLeftX) { _x = nLeftX; } if ((_y <= nTopY) && (_y >= nBotY)) { _y = (nStartY - movBall._y); } if (_y < nBotY) { _y = nBotY; } if (_y > nTopY) { _y = nTopY; } } else if (inPlay == 2) { nGCount++; if (nGCount == 10) { _root.movMsgs.gotoAndStop(2); } if (nGCount == 100) { if (nTeamScored == 1) { if (blnP1GoingUp == 1) { _root.nKickingOff = 2; } else { _root.nKickingOff = 1; } _root.nP1Score++; } if (nTeamScored == 2) { if (blnP1GoingUp == 1) { _root.nKickingOff = 1; } else { _root.nKickingOff = 2; } _root.nP2Score++; } _root.movScores.txtP1Score = _root.nP1Score; _root.movScores.txtP2Score = _root.nP2Score; } if (nGCount >= 110) { _root.play(); } else if (nGCount > 20) { if (nTeamScored == 1) { if (blnP1GoingUp == 1) { if ((_x >= nRightX) && (_x <= nLeftX)) { _x = (nStartX - eval ("movP1P" + nScorer)._x); } if (_x < nRightX) { _x = nRightX; } if (_x > nLeftX) { _x = nLeftX; } if ((_y <= nTopY) && (_y >= nBotY)) { _y = ((nStartY - eval ("movP1P" + nScorer)._y) + 50); } if (_y < nBotY) { _y = nBotY; } if (_y > nTopY) { _y = nTopY; } eval ("movP1P" + nScorer)._y = eval ("movP1P" + nScorer)._y + 5; eval ("movP1P" + nScorer).submovie.gotoAndStop(17); } else { if ((_x >= nRightX) && (_x <= nLeftX)) { _x = (nStartX - eval ("movP2P" + nScorer)._x); } if (_x < nRightX) { _x = nRightX; } if (_x > nLeftX) { _x = nLeftX; } if ((_y <= nTopY) && (_y >= nBotY)) { _y = ((nStartY - eval ("movP2P" + nScorer)._y) + 50); } if (_y < nBotY) { _y = nBotY; } if (_y > nTopY) { _y = nTopY; } eval ("movP2P" + nScorer)._y = eval ("movP2P" + nScorer)._y - 5; eval ("movP2P" + nScorer).submovie.gotoAndStop(18); } } else if (blnP1GoingUp == 1) { if ((_x >= nRightX) && (_x <= nLeftX)) { _x = (nStartX - eval ("movP2P" + nScorer)._x); } if (_x < nRightX) { _x = nRightX; } if (_x > nLeftX) { _x = nLeftX; } if ((_y <= nTopY) && (_y >= nBotY)) { _y = ((nStartY - eval ("movP2P" + nScorer)._y) + 50); } if (_y < nBotY) { _y = nBotY; } if (_y > nTopY) { _y = nTopY; } eval ("movP2P" + nScorer)._y = eval ("movP2P" + nScorer)._y - 5; eval ("movP2P" + nScorer).submovie.gotoAndStop(18); } else { if ((_x >= nRightX) && (_x <= nLeftX)) { _x = (nStartX - eval ("movP1P" + nScorer)._x); } if (_x < nRightX) { _x = nRightX; } if (_x > nLeftX) { _x = nLeftX; } if ((_y <= nTopY) && (_y >= nBotY)) { _y = ((nStartY - eval ("movP1P" + nScorer)._y) + 50); } if (_y < nBotY) { _y = nBotY; } if (_y > nTopY) { _y = nTopY; } eval ("movP1P" + nScorer)._y = eval ("movP1P" + nScorer)._y + 5; eval ("movP1P" + nScorer).submovie.gotoAndStop(17); } } } else if (inPlay == 3) { if (_root.nP1PlayDir == 1) { _root.nP1PlayDir = 0; } _root.movTimer.txtTime = _root.nTotalMins + ":00"; _root.movTimer.strMins = _root.nTotalMins - 1; _root.movTimer.strSecs = 0; _root.movTimer.nTime = 0; _root.movTimer.strSecSubtract = 60; _root.movTimer.nTimeWasted = 0; _root.play(); } else if (inPlay == 4) { _root.movMsgs.gotoAndStop(3); } }
Instance of Symbol 192 MovieClip "movTimer" in Frame 9
onClipEvent (load) { txtTime = _root.nTotalMins + ":00"; strMins = _root.nTotalMins - 1; strSecs = 0; nTime = 0; strSecSubtract = 60; nFrRate = 22; nTCount = 0; } onClipEvent (enterFrame) { if (_parent.movGame.inPlay == 1) { nTCount++; if ((nTCount / nFrRate) == Math.round(nTCount / nFrRate)) { nTime++; } strSecs = strSecSubtract - nTime; if (strSecs < 0) { strSecSubtract = strSecSubtract + 60; strMins--; nTime = 0; } if (strSecs >= 60) { strAdd = 1; } else { strAdd = 0; } if ((strSecs <= 0) || (strSecs >= 60)) { strSecs = "00"; } if ((strSecs > 0) && (strSecs < 10)) { strSecs = "0" + String(strSecs); } txtTime = (Number(strMins + strAdd) + ":") + strSecs; if (((strMins + strAdd) < 0) && (strSecs == 0)) { if (_root.movGame.blnP1GoingUp == 1) { _root.nEndo = 2; } else { _root.nEndo = 3; } _root.movGame.inPlay = 3; } } else if (_root.movGame.inPlay != 3) { } }
Instance of Symbol 206 MovieClip "movScores" in Frame 9
onClipEvent (load) { txtP1Score = _root.nP1Score; txtP2Score = _root.nP2Score; }
Frame 21
stop();
Instance of Symbol 209 MovieClip in Frame 21
onClipEvent (load) { var blnDone = 0; if (_root.nP1Gender == 1) { if (_root.nP1PlayDir == 1) { gotoAndPlay (1); } else { gotoAndPlay (40); } } else if (_root.nP1PlayDir == 1) { gotoAndPlay (40); } else { gotoAndPlay (1); } } onClipEvent (enterFrame) { if (blnDone) { _root.nextFrame(); } }
Frame 22
if (blnFX) { snWhistle.play(); } movGame.inPlay = 0; stop();
Instance of Symbol 211 MovieClip in Frame 22
onClipEvent (keyDown) { k = Key.getCode(); if ((k == 70) || (k == 75)) { this._visible = false; } }
Frame 28
if ((nEndo == 2) || (nEndo == 3)) { if (blnFX) { sndWhistle.play(); } }
Frame 36
if (nEndo == 1) { gotoAndPlay ("PLAY"); } else if (nEndo == 2) { nKickingOff = 1; var nHTCount = 0; gotoAndPlay (37); } else if (nEndo == 3) { gotoAndStop (39); } else if (nEndo == 4) { gotoAndStop (4); } unloadMovieNum (1);
Frame 37
txtScore = (nP1Score + " - ") + nP2Score; nHTCount++; if (nHTCount == 100) { _root.xiabanchang = true; gotoAndPlay ("PLAY"); }
Frame 38
gotoAndPlay (37);
Frame 39
txtScore = (nP1Score + " - ") + nP2Score; sndMusic0.gotoAndPlay(4); sndMusic1.gotoAndPlay(4); if (_root.nPlayers == 1) { if (_root.nP1Score > _root.nP2Score) { if (_root.nLevel == 3) { _root.ff[14] = _root.ff[0]; re.gotoAndStop(2); } else { if (_root.nLevel == 1) { _root.ff[8] = _root.ff[0]; _root.ff[9] = _root.ff[3]; _root.ff[10] = _root.ff[5]; _root.ff[11] = _root.ff[6]; _root.country2 = _root.ff[3]; } else { _root.ff[12] = _root.ff[0]; _root.ff[13] = _root.ff[6]; _root.country2 = _root.ff[6]; } _root.nLevel++; } } else if (_root.nP1Score < _root.nP2Score) { re.gotoAndStop(3); } else { re.gotoAndStop(4); } } else { re.gotoAndStop(5); } stop();
Frame 40
stop();
Symbol 3 Button
on (keyPress "6") { if (_root.blnMusic) { _root.sndMusic0.gotoAndPlay(4); _root.sndMusic1.gotoAndPlay(4); _root.blnMusic = 0; } else { _root.sndMusic1.gotoAndPlay(2); _root.blnMusic = 1; } }
Symbol 4 Button
on (keyPress "5") { if (_root.blnFX) { unloadMovieNum (1); _root.blnFX = 0; } else { if (_root.movGame.inPlay == 1) { } _root.blnFX = 1; } }
Symbol 7 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 3
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 3
stop();
Symbol 14 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 23 Button
on (release) { getURL ("http://arcadepunk.com", "_blank"); getURL ("http://www.arcadepunk.com/links/click.php?id=1", "_self"); }
Symbol 31 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
this._visible = false;
Symbol 49 MovieClip Frame 1
Symbol 49 MovieClip Frame 228
_root.gotoAndStop(4);
Symbol 57 Button
on (release) { if (blnFX) { sndClick.play(); } _root.gotoAndPlay("inc"); }
Symbol 61 Button
on (release) { if (_root.blnMusic) { stopAllSounds(); sndMusic0.gotoAndPlay(4); sndMusic1.gotoAndPlay(2); } if (blnFX) { sndClick.play(); } var nPlayers = 2; var nLevel = 1; var nP1Gender = 1; gotoAndPlay (6); }
Symbol 65 Button
on (release) { var nPlayers = 1; if (_root.blnMusic) { stopAllSounds(); sndMusic0.gotoAndPlay(4); sndMusic1.gotoAndPlay(2); } if (blnFX) { sndClick.play(); } play(); }
Symbol 70 Button
on (release) { _root.select2._x = 165; _root.select2._y = 220; if (select2p) { flag2.gotoAndStop("ying"); } else { flag1.gotoAndStop("ying"); } if (blnFX) { sndClick.play(); } }
Symbol 73 Button
on (release) { _root.select2._x = 255; _root.select2._y = 220; if (select2p) { flag2.gotoAndStop("xxl"); } else { flag1.gotoAndStop("xxl"); } if (blnFX) { sndClick.play(); } }
Symbol 76 Button
on (release) { _root.select2._x = 345; _root.select2._y = 220; if (select2p) { flag2.gotoAndStop("ao"); } else { flag1.gotoAndStop("ao"); } if (blnFX) { sndClick.play(); } }
Symbol 79 Button
on (release) { _root.select2._x = 165; _root.select2._y = 320; if (select2p) { flag2.gotoAndStop("jia"); } else { flag1.gotoAndStop("jia"); } if (blnFX) { sndClick.play(); } }
Symbol 82 Button
on (release) { _root.select2._x = 255; _root.select2._y = 270; if (select2p) { flag2.gotoAndStop("zhong"); } else { flag1.gotoAndStop("zhong"); } if (blnFX) { sndClick.play(); } }
Symbol 85 Button
on (release) { _root.select2._x = 255; _root.select2._y = 320; if (select2p) { flag2.gotoAndStop("mei"); } else { flag1.gotoAndStop("mei"); } if (blnFX) { sndClick.play(); } }
Symbol 88 Button
on (release) { _root.select2._x = 435; _root.select2._y = 220; if (select2p) { flag2.gotoAndStop("flb"); } else { flag1.gotoAndStop("flb"); } if (blnFX) { sndClick.play(); } }
Symbol 91 Button
on (release) { _root.select2._x = 165; _root.select2._y = 270; if (select2p) { flag2.gotoAndStop("yi"); } else { flag1.gotoAndStop("yi"); } if (blnFX) { sndClick.play(); } }
Symbol 94 Button
on (release) { _root.select2._x = 435; _root.select2._y = 270; if (select2p) { flag2.gotoAndStop("ri"); } else { flag1.gotoAndStop("ri"); } if (blnFX) { sndClick.play(); } }
Symbol 97 Button
on (release) { _root.select2._x = 345; _root.select2._y = 270; if (select2p) { flag2.gotoAndStop("he"); } else { flag1.gotoAndStop("he"); } if (blnFX) { sndClick.play(); } }
Symbol 101 Button
on (release) { if (blnFX) { sndClick.play(); } _root.gotoAndStop(4); }
Symbol 105 Button
on (release) { _root.country1 = flag1._currentframe; if (flag2._currentframe == 11) { _root.randomcountry.play(); } else { _root.country2 = flag2._currentframe; gotoAndPlay ("INITGAME"); } }
Symbol 109 Button
on (release) { _root.male = true; _root.select1._y = 230; if (blnFX) { sndClick.play(); } }
Symbol 113 Button
on (release) { _root.male = false; _root.select1._y = 310; if (blnFX) { sndClick.play(); } }
Symbol 118 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
i = 1; while (i < 10) { _root.ff[i] = i + 1; i++; } _root.ff[0] = _root.country1; _root.ff[_root.country1 - 1] = 1; i = 1; while (i < 20) { var ran1 = (random(9) + 1); var ran2 = (random(9) + 1); tmp = _root.ff[ran1]; _root.ff[ran1] = _root.ff[ran2]; _root.ff[ran2] = tmp; i++; } i = 8; while (i < 15) { _root.ff[i] = 11; i++; } _root.flag2.gotoAndStop(_root.ff[1]); _root.country2 = _root.flag2._currentframe;
Symbol 121 MovieClip Frame 25
_root.gotoAndPlay(7);
Symbol 124 Button
on (release) { select2p = false; _root.select3._x = 180; _root.select3._y = 160; if (blnFX) { sndClick.play(); } }
Symbol 125 Button
on (release) { select2p = true; _root.select3._x = 320; _root.select3._y = 160; if (blnFX) { sndClick.play(); } }
Symbol 127 MovieClip Frame 1
i = 1; while (i < 16) { this["f" + i].gotoAndStop(_root.ff[i - 1]); i++; } stop();
Symbol 131 Button
on (release) { _root.gotoAndPlay("INITGAME"); }
Symbol 152 MovieClip Frame 1
if (((((((((this._parent._parent._parent._name == "player1") || (this._parent._parent._parent._name == "player2")) || (this._parent._parent._parent._name == "computer1")) || (this._parent._parent._parent._name == "computer2")) || (this._parent._parent._parent._name == "movP1P1")) || (this._parent._parent._parent._name == "movP1P2")) || (this._parent._parent._parent._name == "movP1P3")) || (this._parent._parent._parent._name == "movP1P4")) || (this._parent._parent.p == 2)) { if (_root.xiabanchang) { this.gotoAndStop(_root.country2 + 1); } else { this.gotoAndStop(_root.country1 + 1); } } else if (_root.xiabanchang) { this.gotoAndStop(_root.country1 + 1); } else { this.gotoAndStop(_root.country2 + 1); }
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 156 MovieClip Frame 3
stop();
Symbol 156 MovieClip Frame 4
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 3
stop();
Symbol 157 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 1
_parent.nDir = 3; stop();
Symbol 169 MovieClip Frame 2
_parent.nDir = 4; stop();
Symbol 169 MovieClip Frame 3
_parent.nDir = 5; stop();
Symbol 169 MovieClip Frame 4
_parent.nDir = 6; stop();
Symbol 169 MovieClip Frame 5
_parent.nDir = 7; stop();
Symbol 169 MovieClip Frame 6
_parent.nDir = 8; stop();
Symbol 169 MovieClip Frame 7
_parent.nDir = 1; stop();
Symbol 169 MovieClip Frame 8
_parent.nDir = 2; stop();
Symbol 169 MovieClip Frame 9
_parent.nDir = 3; stop();
Symbol 169 MovieClip Frame 10
_parent.nDir = 4; stop();
Symbol 169 MovieClip Frame 11
_parent.nDir = 5; stop();
Symbol 169 MovieClip Frame 12
_parent.nDir = 6; stop();
Symbol 169 MovieClip Frame 13
_parent.nDir = 7; stop();
Symbol 169 MovieClip Frame 14
_parent.nDir = 8; stop();
Symbol 169 MovieClip Frame 15
_parent.nDir = 1; stop();
Symbol 169 MovieClip Frame 16
_parent.nDir = 2; stop();
Symbol 169 MovieClip Frame 17
stop();
Symbol 169 MovieClip Frame 18
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 3
stop();
Symbol 170 MovieClip Frame 4
stop();
Symbol 172 MovieClip Frame 1
_parent.nDir = 3; stop();
Symbol 172 MovieClip Frame 2
_parent.nDir = 4; stop();
Symbol 172 MovieClip Frame 3
_parent.nDir = 5; stop();
Symbol 172 MovieClip Frame 4
_parent.nDir = 6; stop();
Symbol 172 MovieClip Frame 5
_parent.nDir = 7; stop();
Symbol 172 MovieClip Frame 6
_parent.nDir = 8; stop();
Symbol 172 MovieClip Frame 7
_parent.nDir = 1; stop();
Symbol 172 MovieClip Frame 8
_parent.nDir = 2; stop();
Symbol 172 MovieClip Frame 9
_parent.nDir = 3; stop();
Symbol 172 MovieClip Frame 10
_parent.nDir = 4; stop();
Symbol 172 MovieClip Frame 11
_parent.nDir = 5; stop();
Symbol 172 MovieClip Frame 12
_parent.nDir = 6; stop();
Symbol 172 MovieClip Frame 13
_parent.nDir = 7; stop();
Symbol 172 MovieClip Frame 14
_parent.nDir = 8; stop();
Symbol 172 MovieClip Frame 15
_parent.nDir = 1; stop();
Symbol 172 MovieClip Frame 16
_parent.nDir = 2; stop();
Symbol 172 MovieClip Frame 17
stop();
Symbol 172 MovieClip Frame 18
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 3
stop();
Symbol 175 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 5
stop();
Symbol 175 MovieClip Frame 6
stop();
Symbol 175 MovieClip Frame 7
stop();
Symbol 175 MovieClip Frame 8
stop();
Symbol 175 MovieClip Frame 9
stop();
Symbol 175 MovieClip Frame 10
stop();
Symbol 175 MovieClip Frame 11
stop();
Symbol 175 MovieClip Frame 12
stop();
Symbol 175 MovieClip Frame 13
stop();
Symbol 175 MovieClip Frame 14
stop();
Symbol 175 MovieClip Frame 15
stop();
Symbol 175 MovieClip Frame 16
stop();
Symbol 175 MovieClip Frame 17
stop();
Symbol 175 MovieClip Frame 18
stop();
Instance of Symbol 156 MovieClip "goalie2" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { this.p = 1; var nSpd; var left; var right; var nMaxLeft = -155; var nMaxRight = 155; var inControl; var nPlayerPos = 5; var nCount = 0; } onClipEvent (enterFrame) { if ((_name != "goalie2") && (_parent.inPlay == 1)) { var nYS = _parent.movBall.nYSpd; var nXS = _parent.movBall.nXSpd; if (nYS < 0) { nYS = -nYS; } if (nXS < 0) { nXS = -nXS; } if ((nXS + nYS) < 15) { gotoAndStop (1); nSpd = _root.nGoalieMinSpd; } else if ((_parent.movBall._y + _parent.movBall.nYSpd) < -725) { if ((_parent.movBall.nXSpd < 10) && (_parent.movBall._x < _x)) { nSpd = _root.nGoalieMaxSpd; gotoAndStop (4); } if (_parent.movBall._x > (_x + 65)) { nSpd = _root.nGoalieMaxSpd; gotoAndStop (3); } } else { nSpd = _root.nGoalieMaxSpd; } if (hitTest(_parent.movBall)) { if ((nXS + nYS) > 15) { _parent.movBall.nYSpd = (-_parent.movBall.nYSpd) * 0.5; if (_x < _parent.movBall._x) { gotoAndStop (3); } if (_x > _parent.movBall._x) { gotoAndStop (4); } } else { _parent.movBall._x = _x; _parent.movBall._y = _y + 11; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } blnDribble = 1; inControl = 1; _parent.blnKeepersBall = 1; nCount++; if (nCount > 50) { _parent.movBall._y = _parent.movBall._y + 20; _parent.fKickBall(random(3) + 4, 25, 2, _x, _y, nPlayerPos, 2); blnDribble = 0; inControl = 0; nCount = 0; _parent.blnKeepersBall = 0; } } } else if (_parent.blnKeepersBall != 2) { _parent.blnKeepersBall = 0; } if (_x > (_parent.movBall._x - 8)) { left = 1; } else { left = 0; } if (_x < (_parent.movBall._x + 8)) { right = 1; } else { right = 0; } if (left) { if (_x >= nMaxLeft) { _x = (_x - nSpd); } } if (right) { if (_x <= nMaxRight) { _x = (_x + nSpd); } } } }
Instance of Symbol 157 MovieClip "goalie1" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { this.p = 2; var nSpd; var left; var right; var nMaxLeft = -155; var nMaxRight = 155; var inControl; var nPlayerPos = 5; var nCount = 0; } onClipEvent (enterFrame) { if ((_name != "goalie1") && (_parent.inPlay == 1)) { var nYS = _parent.movBall.nYSpd; var nXS = _parent.movBall.nXSpd; if (nYS < 0) { nYS = -nYS; } if (nXS < 0) { nXS = -nXS; } if ((nXS + nYS) < 15) { gotoAndStop (1); nSpd = _root.nGoalieMinSpd; } else if ((_parent.movBall._y + _parent.movBall.nYSpd) > 725) { if ((_parent.movBall.nXSpd < 10) && (_parent.movBall._x < _x)) { nSpd = _root.nGoalieMaxSpd; gotoAndStop (4); } if (_parent.movBall._x > (_x + 65)) { nSpd = _root.nGoalieMaxSpd; gotoAndStop (3); } } else { nSpd = _root.nGoalieMaxSpd; } if (hitTest(_parent.movBall)) { if ((nXS + nYS) > 15) { _parent.movBall.nYSpd = (-_parent.movBall.nYSpd) * 0.5; if (_x < _parent.movBall._x) { gotoAndStop (3); } if (_x > _parent.movBall._x) { gotoAndStop (4); } } else { _parent.movBall._x = _x; _parent.movBall._y = _y - 11; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } blnDribble = 1; inControl = 1; _parent.blnKeepersBall = 2; nCount++; if (nCount > 50) { _parent.movBall._y = _parent.movBall._y - 20; var nRand = random(3); if (nRand == 0) { nRand = 8; } _parent.fKickBall(nRand, 25, 1, _x, _y, nPlayerPos, 2); blnDribble = 0; inControl = 0; nCount = 0; _parent.blnKeepersBall = 0; } } } else if (_parent.blnKeepersBall != 1) { _parent.blnKeepersBall = 0; } if (_x > (_parent.movBall._x - 8)) { left = 1; } else { left = 0; } if (_x < (_parent.movBall._x + 8)) { right = 1; } else { right = 0; } if (left) { if (_x >= nMaxLeft) { _x = (_x - nSpd); } } if (right) { if (_x <= nMaxRight) { _x = (_x + nSpd); } } } }
Instance of Symbol 157 MovieClip "goalie1player" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { if (_name != "goalie1player") { K = Key.getCode(); if (((K == K1) && (blnDribble)) && (!shoot)) { pass = 1; } if (((K == K2) && (blnDribble)) && (!pass)) { shoot = 1; } } } onClipEvent (keyUp) { if (_name != "goalie1player") { K = Key.getCode(); if ((K == K1) && (pass)) { pass = 0; _parent.movBall._y = _parent.movBall._y - 20; _parent.blnKeepersBall = 0; _parent.fKickBall(1, nPow, 2, _x, _y, nPlayerPos, 1); _parent.movBall.blnDribble = 0; blnDribble = 0; inControl = 0; nPow = 10; } if ((K == K2) && (shoot)) { shoot = 0; _parent.movBall._y = _parent.movBall._y - 20; _parent.blnKeepersBall = 0; _parent.fKickBall(1, nPow, 2, _x, _y, nPlayerPos, 2); _parent.movBall.blnDribble = 0; blnDribble = 0; inControl = 0; blnSwerve = 1; nSwerveCount = 8; nPow = 10; } } } onClipEvent (load) { this.p = 2; var nSpd; var left; var right; var nMaxLeft = -155; var nMaxRight = 155; var inControl; var nPlayerPos = 5; var nCount = 0; var nPow = 0; var left = 0; var right = 0; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; if (_root.nPlayers == 1) { var K1 = 75; var K2 = 76; var Pbar = 1; } else if (_parent.blnP1GoingUp == 1) { var K1 = 75; var K2 = 76; var Pbar = 1; } else { var K1 = 70; var K2 = 71; var Pbar = 2; } } onClipEvent (enterFrame) { if ((_name != "goalie1player") && (_parent.inPlay == 1)) { if (_root.nPlayers == 1) { if (_root.nP1Gender == 1) { if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } } else { if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } } } else if (_parent.blnP1GoingUp == 1) { if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } } else { if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } } if (hitTest(_parent.movBall)) { i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } blnDribble = 1; inControl = 1; _parent.blnKeepersBall = 2; if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; eval (("_root.movP" + Pbar) + "Bar")._alpha = nPow * 3; eval (("_root.movP" + Pbar) + "Bar")._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 45)) { nPow = nPow + 8; eval (("_root.movP" + Pbar) + "Bar")._alpha = nPow * 2; eval (("_root.movP" + Pbar) + "Bar")._xscale = nPow * 2; } if ((shoot == 0) && (pass == 0)) { eval (("_root.movP" + Pbar) + "Bar")._alpha = 0; eval (("_root.movP" + Pbar) + "Bar")._xscale = 1; } if (left) { if (_x > -90) { _x = (_x - 5); } } if (right) { if (_x < 90) { _x = (_x + 5); } } _parent.movBall._x = _x; _parent.movBall._y = _y - 11; _parent.movBall.nXSpd = 0; _parent.movBall.nYSpd = 0; } else { if (_parent.blnKeepersBall != 1) { _parent.blnKeepersBall = 0; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } } } } var nYS = _parent.movBall.nYSpd; var nXS = _parent.movBall.nXSpd; if (nYS < 0) { nYS = -nYS; } if (nXS < 0) { nXS = -nXS; } if ((nXS + nYS) < 15) { gotoAndStop (1); nSpd = 9; } else if ((_parent.movBall._y + _parent.movBall.nYSpd) > 725) { if ((_parent.movBall.nXSpd < 10) && (_parent.movBall._x < _x)) { nSpd = 15; gotoAndStop (4); } if (_parent.movBall._x > (_x + 65)) { nSpd = 15; gotoAndStop (3); } } else { gotoAndStop (2); nSpd = 15; } if (_x > (_parent.movBall._x - 8)) { left = 1; } else { left = 0; } if (_x < (_parent.movBall._x + 8)) { right = 1; } else { right = 0; } if (left) { if (_x > (nMaxLeft + 15)) { _x = (_x - 5); } } if (right) { if (_x < (nMaxRight - 15)) { _x = (_x + 5); } } } }
Instance of Symbol 156 MovieClip "goalie2player" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { if ((_name != "goalie1player") && (_parent.inPlay == 1)) { K = Key.getCode(); if (((K == K1) && (blnDribble)) && (!shoot)) { pass = 1; } if (((K == K2) && (blnDribble)) && (!pass)) { shoot = 1; } } } onClipEvent (keyUp) { if ((_name != "goalie2player") && (_parent.inPlay == 1)) { K = Key.getCode(); if ((K == K1) && (pass)) { pass = 0; _parent.movBall._y = _parent.movBall._y + 20; _parent.blnKeepersBall = 0; _parent.fKickBall(5, nPow, 2, _x, _y, nPlayerPos, 1); _parent.movBall.blnDribble = 0; blnDribble = 0; inControl = 0; nPow = 10; } if ((K == K2) && (shoot)) { shoot = 0; _parent.movBall._y = _parent.movBall._y + 20; _parent.blnKeepersBall = 0; _parent.fKickBall(5, nPow, 2, _x, _y, nPlayerPos, 2); _parent.movBall.blnDribble = 0; blnDribble = 0; inControl = 0; blnSwerve = 1; nSwerveCount = 8; nPow = 10; } } } onClipEvent (load) { this.p = 1; var nSpd; var left; var right; var nMaxLeft = -155; var nMaxRight = 155; var inControl; var nPlayerPos = 5; var nCount = 0; var nPow = 0; var left = 0; var right = 0; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; if (_root.nPlayers == 1) { var K1 = 75; var K2 = 76; var Pbar = 1; } else if (_parent.blnP1GoingUp == 1) { var K1 = 70; var K2 = 71; var Pbar = 2; } else { var K1 = 75; var K2 = 76; var Pbar = 1; } } onClipEvent (enterFrame) { if ((_name != "goalie2player") && (_parent.inPlay == 1)) { if (_root.nPlayers == 1) { if (_root.nP1Gender == 1) { if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } } else { if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } } } else if (_parent.blnP1GoingUp == 1) { if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } } else { if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } } if (hitTest(_parent.movBall)) { i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } blnDribble = 1; inControl = 1; _parent.blnKeepersBall = 1; if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; eval (("_root.movP" + Pbar) + "Bar")._alpha = nPow * 3; eval (("_root.movP" + Pbar) + "Bar")._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 45)) { nPow = nPow + 8; eval (("_root.movP" + Pbar) + "Bar")._alpha = nPow * 2; eval (("_root.movP" + Pbar) + "Bar")._xscale = nPow * 2; } if ((shoot == 0) && (pass == 0)) { eval (("_root.movP" + Pbar) + "Bar")._alpha = 0; eval (("_root.movP" + Pbar) + "Bar")._xscale = 1; } if (left) { if (_x > -160) { _x = (_x - 5); } } if (right) { if (_x < 160) { _x = (_x + 5); } } _parent.movBall._x = _x; _parent.movBall._y = _y + 11; _parent.movBall.nXSpd = 0; _parent.movBall.nYSpd = 0; } else { if (_parent.blnKeepersBall != 2) { _parent.blnKeepersBall = 0; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } } } } var nYS = _parent.movBall.nYSpd; var nXS = _parent.movBall.nXSpd; if (nYS < 0) { nYS = -nYS; } if (nXS < 0) { nXS = -nXS; } if ((nXS + nYS) < 15) { gotoAndStop (1); nSpd = 9; } else if ((_parent.movBall._y + _parent.movBall.nYSpd) < -725) { if ((_parent.movBall.nXSpd < 10) && (_parent.movBall._x < _x)) { nSpd = 15; gotoAndStop (4); } if (_parent.movBall._x > (_x + 65)) { nSpd = 15; gotoAndStop (3); } } else { gotoAndStop (2); nSpd = 15; } if (_x > (_parent.movBall._x - 8)) { left = 1; } else { left = 0; } if (_x < (_parent.movBall._x + 8)) { right = 1; } else { right = 0; } if (left) { if (_x > (nMaxLeft + 15)) { _x = (_x - 5); } } if (right) { if (_x < (nMaxRight - 15)) { _x = (_x + 5); } } } }
Instance of Symbol 170 MovieClip "player1" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { K = Key.getCode(); if (((K == 75) && (blnDribble)) && (!shoot)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); } if ((K == 75) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((K == 76) && (blnDribble)) && (!pass)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 2); } } onClipEvent (keyUp) { K = Key.getCode(); if ((K == 75) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 76) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } onClipEvent (load) { var nSpd = 1; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; var nGap = 15; var inControl = 0; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; var blnSlide = 0; var nSlideCount = 0; var nSlideSpeed = 15; var blnHoofed = 0; } onClipEvent (enterFrame) { if ((_name != "player1") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 0; } if (blnSlide == 1) { nSlideCount++; up = 0; left = 0; right = 0; down = 0; switch (nSlideDir) { case 1 : _y = (_y - nSlideSpeed); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 2 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 3 : _x = (_x + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 4 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 5 : _y = (_y + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 6 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 7 : _x = (_x - nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 8 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); } if (nSlideCount >= 15) { blnSlide = 0; nSlideCount = 0; nSlideSpeed = 15; blnHoofed = 0; } } if (inControl) { submovie.movPointer._alpha = 100; if (_parent.movKeys.isPressed[0] == 1) { up = 1; } else { up = 0; } if (_parent.movKeys.isPressed[1] == 1) { down = 1; } else { down = 0; } if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } if (_x > (_parent.movBall._x + 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = 235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe._y = _y; } _parent.movFindMe._rotation = 270; } } else if (_x < (_parent.movBall._x - 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = -235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe._y = _y; } _parent.movFindMe._rotation = 90; } } else if (_y < (_parent.movBall._y - 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = _x; _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); _parent.movFindMe._rotation = 180; } } else if (_y > (_parent.movBall._y + 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = _x; _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); _parent.movFindMe._rotation = 0; } } else { _parent.movFindMe._visible = 0; } if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; _root.movP1Bar._alpha = nPow * 3; _root.movP1Bar._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 32)) { nPow = nPow + 8; _root.movP1Bar._alpha = nPow * 3; _root.movP1Bar._xscale = nPow * 3; } if ((shoot == 0) && (pass == 0)) { _root.movP1Bar._alpha = 0; _root.movP1Bar._xscale = 1; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if ((_parent.nBallDir == 3) || (_parent.nBallDir == 7)) { if (up == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd - (nSwerveCount * 3); } if (down == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 8) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 2) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 4) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 6) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } } } } else { submovie.movPointer._alpha = 0; blnSlide = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs1[nPlayerPos] + _parent.arrYDiffs1[nPlayerPos]) < (_parent.arrXDiffs1[i] + _parent.arrYDiffs1[i])) { isCloser++; } i++; } if ((isCloser >= (_parent.nPlayers - 1)) && (_parent.controlCount1 > 12)) { _parent.controlCount1 = 0; _parent.fChangeControl(nPlayerPos, 1); } } if (((((hasStopped == 0) && (_y > _root.arrP1Boxes[nPlayerPos][0])) && (_y < _root.arrP1Boxes[nPlayerPos][2])) && (_x > _root.arrP1Boxes[nPlayerPos][1])) && (_x < _root.arrP1Boxes[nPlayerPos][3])) { if (nPlayerPos <= 2) { if (_y <= (_parent.movBall._y - 57)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - 43)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y + _parent.nDefMin)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + _parent.nDefMax)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP1Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP1Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if (nPlayerPos <= 2) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP1Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP1Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > -300) { up = 1; } else { up = 0; } if (_y < -350) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 450) { up = 1; } else { up = 0; } if (_y < 400) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if ((inControl == 0) && (!blnSlide)) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; } i++; } } if (blnSlide && (!blnHoofed)) { _parent.fKickBall(nSlideDir, 20, 1, _x, _y, nPlayerPos, 2); blnHoofed = 1; } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (!blnSlide) { if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 170 MovieClip "player2" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { K = Key.getCode(); if (((K == 75) && (blnDribble)) && (!shoot)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); } if ((K == 75) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((K == 76) && (blnDribble)) && (!pass)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 2); } } onClipEvent (keyUp) { K = Key.getCode(); if ((K == 75) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 76) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } onClipEvent (load) { var nSpd = 1; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; var nGap = 12; var inControl = 0; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; var blnSlide = 0; var nSlideCount = 0; var nSlideSpeed = 15; var blnHoofed = 0; } onClipEvent (enterFrame) { if ((_name != "player2") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 0; } submovie.movPointer.txtD = nPlayerPos; if (blnSlide == 1) { nSlideCount++; up = 0; left = 0; right = 0; down = 0; switch (nSlideDir) { case 1 : _y = (_y - nSlideSpeed); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 2 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 3 : _x = (_x + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 4 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 5 : _y = (_y + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 6 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 7 : _x = (_x - nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 8 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); } if (nSlideCount >= 15) { blnSlide = 0; nSlideCount = 0; nSlideSpeed = 15; blnHoofed = 0; } } if (inControl == 1) { submovie.movPointer._alpha = 100; if (_parent.movKeys.isPressed[0] == 1) { up = 1; } else { up = 0; } if (_parent.movKeys.isPressed[1] == 1) { down = 1; } else { down = 0; } if (_parent.movKeys.isPressed[2] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[3] == 1) { right = 1; } else { right = 0; } if (_x > (_parent.movBall._x + 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = 235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe._y = _y; } _parent.movFindMe._rotation = 270; } } else if (_x < (_parent.movBall._x - 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = -235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe._y = _y; } _parent.movFindMe._rotation = 90; } } else if (_y < (_parent.movBall._y - 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = _x; _parent.movFindMe._y = -175 - (_parent._y - _parent.nStartY); _parent.movFindMe._rotation = 180; } } else if (_y > (_parent.movBall._y + 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe._visible = 1; _parent.movFindMe._x = _x; _parent.movFindMe._y = 150 - (_parent._y - _parent.nStartY); _parent.movFindMe._rotation = 0; } } else { _parent.movFindMe._visible = 0; } if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; _root.movP1Bar._alpha = nPow * 3; _root.movP1Bar._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 32)) { nPow = nPow + 8; _root.movP1Bar._alpha = nPow * 3; _root.movP1Bar._xscale = nPow * 3; } if ((shoot == 0) && (pass == 0)) { _root.movP1Bar._alpha = 0; _root.movP1Bar._xscale = 1; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if ((_parent.nBallDir == 3) || (_parent.nBallDir == 7)) { if (up == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd - (nSwerveCount * 3); } if (down == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 8) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 2) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 4) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 6) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } } } } else { submovie.movPointer._alpha = 0; blnSlide = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs2[nPlayerPos] + _parent.arrYDiffs2[nPlayerPos]) < (_parent.arrXDiffs2[i] + _parent.arrYDiffs2[i])) { isCloser++; } i++; } if ((isCloser >= (_parent.nPlayers - 1)) && (_parent.controlCount2 > 12)) { _parent.controlCount2 = 0; _parent.fChangeControl(nPlayerPos, 2); } } if (((((hasStopped == 0) && (_y > _root.arrP2Boxes[nPlayerPos][0])) && (_y < _root.arrP2Boxes[nPlayerPos][2])) && (_x > _root.arrP2Boxes[nPlayerPos][1])) && (_x < _root.arrP2Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y + 43)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + 57)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y - _parent.nDefMax)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - _parent.nDefMin)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP2Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP2Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP2Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP2Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > -450) { up = 1; } else { up = 0; } if (_y < -500) { down = 1; } else { down = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 1)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 250) { up = 1; } else { up = 0; } if (_y < 275) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if ((inControl == 0) && (!blnSlide)) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } } if (blnSlide && (!blnHoofed)) { _parent.fKickBall(nSlideDir, 20, 2, _x, _y, nPlayerPos, 2); blnHoofed = 1; } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (!blnSlide) { if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 170 MovieClip "computer1" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { var nSpd = 3; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 6; var nGap = 5; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; } onClipEvent (enterFrame) { if ((_name != "computer1") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 0; } if (inControl == 1) { if (!blnDribble) { nSpd = 2; if (_x <= ((_parent.movBall._x + _root.arrSpeeds[nSpd]) + 2)) { right = 1; } else { right = 0; } if (_x >= ((_parent.movBall._x - _root.arrSpeeds[nSpd]) - 2)) { left = 1; } else { left = 0; } if (_y <= ((_parent.movBall._y + _root.arrSpeeds[nSpd]) + 2)) { down = 1; } else { down = 0; } if (_y >= ((_parent.movBall._y - _root.arrSpeeds[nSpd]) - 2)) { up = 1; } else { up = 0; } if ((left == 1) && (right == 1)) { left = 0; right = 0; } if ((up == 1) && (down == 1)) { up = 0; down = 0; } } else { nSpd = 3; if (_y > -300) { if (random(30) == 9) { _parent.fKickBall(nDir, random(10) + 15, 1, _x, _y, nPlayerPos, 1); } up = 1; left = 0; right = 0; down = 0; } else if ((_y <= -300) && (_y > -640)) { if (_x <= -50) { up = 1; down = 0; left = 0; right = 1; } if ((_x > -50) && (_x < 100)) { up = 1; down = 0; left = 0; right = 0; } if (_x >= 50) { up = 1; down = 0; left = 1; right = 0; } if ((_x < 50) && (_x > 100)) { up = 1; down = 0; left = 0; right = 0; } } else if (_y <= -700) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); up = 1; down = 0; if (_x > 100) { left = 1; } else { left = 0; } if (_x < -100) { right = 1; } else { right = 0; } } if ((_y <= -250) && (_y > -670)) { if (random(25) == 9) { _parent.fKickBall(nDir, random(20) + 25, 1, _x, _y, nPlayerPos, 2); } } } } else { submovie.movPointer._alpha = 0; if (!_parent.blnKeepersBall) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs1[nPlayerPos] + _parent.arrYDiffs1[nPlayerPos]) < (_parent.arrXDiffs1[i] + _parent.arrYDiffs1[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 1); } } if (((((hasStopped == 0) && (_y > _root.arrP1Boxes[nPlayerPos][0])) && (_y < _root.arrP1Boxes[nPlayerPos][2])) && (_x > _root.arrP1Boxes[nPlayerPos][1])) && (_x < _root.arrP1Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y - 57)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - 43)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y + _parent.nDefMin)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + _parent.nDefMax)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP1Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP1Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP1Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP1Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 450) { up = 1; } else { up = 0; } if (_y < 400) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 250) { up = 1; } else { up = 0; } if (_y < 275) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if (inControl == 0) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; } i++; } } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 170 MovieClip "computer2" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { var nSpd = 3; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 6; var nGap = 5; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; } onClipEvent (enterFrame) { if ((_name != "computer2") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 0; } if (inControl == 1) { if (!blnDribble) { nSpd = 2; if (_x <= ((_parent.movBall._x + _root.arrSpeeds[nSpd]) + 2)) { right = 1; } else { right = 0; } if (_x >= ((_parent.movBall._x - _root.arrSpeeds[nSpd]) - 2)) { left = 1; } else { left = 0; } if (_y <= ((_parent.movBall._y + _root.arrSpeeds[nSpd]) + 2)) { down = 1; } else { down = 0; } if (_y >= ((_parent.movBall._y - _root.arrSpeeds[nSpd]) - 2)) { up = 1; } else { up = 0; } if ((left == 1) && (right == 1)) { left = 0; right = 0; } if ((up == 1) && (down == 1)) { up = 0; down = 0; } } else { nSpd = 3; if (_y < 300) { if (random(30) == 9) { _parent.fKickBall(nDir, random(10) + 15, 2, _x, _y, nPlayerPos, 1); } up = 0; left = 0; right = 0; down = 1; } else if ((_y >= 300) && (_y < 640)) { if (_x <= -50) { up = 0; down = 1; left = 0; right = 1; } if ((_x > -50) && (_x < 100)) { up = 0; down = 1; left = 0; right = 0; } if (_x >= 50) { up = 0; down = 1; left = 1; right = 0; } if ((_x < 50) && (_x > 100)) { up = 0; down = 1; left = 0; right = 0; } } else if (_y >= 700) { _parent.fKickBall(nDir, 30, 2, _x, _y, nPlayerPos, 1); up = 1; down = 0; if (_x > 100) { left = 1; } else { left = 0; } if (_x < -100) { right = 1; } else { right = 0; } } if ((_y >= 250) && (_y < 670)) { if (random(25) == 9) { _parent.fKickBall(nDir, random(20) + 25, 2, _x, _y, nPlayerPos, 2); } } } } else { submovie.movPointer._alpha = 0; if (!_parent.blnKeepersBall) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs2[nPlayerPos] + _parent.arrYDiffs2[nPlayerPos]) < (_parent.arrXDiffs2[i] + _parent.arrYDiffs2[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 2); } } if (((((hasStopped == 0) && (_y > _root.arrP2Boxes[nPlayerPos][0])) && (_y < _root.arrP2Boxes[nPlayerPos][2])) && (_x > _root.arrP2Boxes[nPlayerPos][1])) && (_x < _root.arrP2Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y + 43)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + 57)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y - _parent.nDefMax)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - _parent.nDefMin)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP2Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP2Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP2Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP2Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 450) { up = 1; } else { up = 0; } if (_y < 400) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 250) { up = 1; } else { up = 0; } if (_y < 275) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if (inControl == 0) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 173 MovieClip "player3" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nP1Gender == 1) && (_root.nPlayers == 1))) { if (((K == 70) && (blnDribble)) && (!shoot)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); } if ((K == 70) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((K == 71) && (blnDribble)) && (!pass)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 2); } } else { if (((K == 78) && (blnDribble)) && (!shoot)) { pass = 1; } if ((K == 78) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((((K == 77) && (inControl)) && (!blnDribble)) && (!blnSlide)) && (!shoot)) { blnSlide = 1; nSlideDir = nDir; nSlideCount = 0; } if (((K == 77) && (blnDribble)) && (!pass)) { shoot = 1; } } } onClipEvent (keyUp) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nP1Gender == 1) && (_root.nPlayers == 1))) { if ((K == 70) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 71) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } else { if ((K == 78) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 77) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 1, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } } onClipEvent (load) { var nSpd = 1; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; var nGap = 15; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; var blnSlide = 0; var nSlideCount = 0; var nSlideSpeed = 15; var blnHoofed = 0; } onClipEvent (enterFrame) { if ((_name != "player3") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 0; } if (blnSlide == 1) { nSlideCount++; up = 0; left = 0; right = 0; down = 0; switch (nSlideDir) { case 1 : _y = (_y - nSlideSpeed); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 2 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 3 : _x = (_x + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 4 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 5 : _y = (_y + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 6 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 7 : _x = (_x - nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 8 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); } if (nSlideCount >= 15) { blnSlide = 0; nSlideCount = 0; nSlideSpeed = 15; blnHoofed = 0; } } if (inControl) { submovie.movPointer._alpha = 100; if (_parent.movKeys.isPressed[4] == 1) { up = 1; } else { up = 0; } if (_parent.movKeys.isPressed[5] == 1) { down = 1; } else { down = 0; } if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } if (_x > (_parent.movBall._x + 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = 235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe2._y = _y; } _parent.movFindMe2._rotation = 270; } } else if (_x < (_parent.movBall._x - 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = -235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe2._y = _y; } _parent.movFindMe2._rotation = 90; } } else if (_y < (_parent.movBall._y - 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = _x; _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); _parent.movFindMe2._rotation = 180; } } else if (_y > (_parent.movBall._y + 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = _x; _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); _parent.movFindMe2._rotation = 0; } } else { _parent.movFindMe2._visible = 0; } if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; _root.movP2Bar._alpha = nPow * 3; _root.movP2Bar._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 32)) { nPow = nPow + 8; _root.movP2Bar._alpha = nPow * 3; _root.movP2Bar._xscale = nPow * 3; } if ((shoot == 0) && (pass == 0)) { _root.movP2Bar._alpha = 0; _root.movP2Bar._xscale = 1; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if ((_parent.nBallDir == 3) || (_parent.nBallDir == 7)) { if (up == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd - (nSwerveCount * 3); } if (down == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 8) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 2) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 4) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 6) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } } } } else { submovie.movPointer._alpha = 0; blnSlide = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs1[nPlayerPos] + _parent.arrYDiffs1[nPlayerPos]) < (_parent.arrXDiffs1[i] + _parent.arrYDiffs1[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 1); } } if (((((hasStopped == 0) && (_y > _root.arrP1Boxes[nPlayerPos][0])) && (_y < _root.arrP1Boxes[nPlayerPos][2])) && (_x > _root.arrP1Boxes[nPlayerPos][1])) && (_x < _root.arrP1Boxes[nPlayerPos][3])) { if (nPlayerPos <= 2) { if (_y <= (_parent.movBall._y - 57)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - 43)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y + _parent.nDefMin)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + _parent.nDefMax)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP1Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP1Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if (nPlayerPos <= 2) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP1Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP1Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > -300) { up = 1; } else { up = 0; } if (_y < -350) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 450) { up = 1; } else { up = 0; } if (_y < 400) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if ((inControl == 0) && (!blnSlide)) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; } i++; } } if (blnSlide && (!blnHoofed)) { _parent.fKickBall(nSlideDir, 20, 1, _x, _y, nPlayerPos, 2); blnHoofed = 1; } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (!blnSlide) { if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 173 MovieClip "player4" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nP1Gender == 1) && (_root.nPlayers == 1))) { if (((K == 70) && (blnDribble)) && (!shoot)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); pass = 1; } if ((K == 70) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((K == 71) && (blnDribble)) && (!pass)) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 2); } } else { if (((K == 78) && (blnDribble)) && (!shoot)) { pass = 1; } if ((K == 78) && (_parent.inPlay == 0)) { _parent.inPlay = 1; pass = 1; } if (((((K == 77) && (inControl)) && (!blnDribble)) && (!blnSlide)) && (!shoot)) { blnSlide = 1; nSlideDir = nDir; nSlideCount = 0; } if (((K == 77) && (blnDribble)) && (!pass)) { shoot = 1; } } } onClipEvent (keyUp) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nP1Gender == 1) && (_root.nPlayers == 1))) { if ((K == 70) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 71) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } else { if ((K == 78) && (pass)) { pass = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 1); nPow = 10; } if ((K == 77) && (shoot)) { shoot = 0; _parent.fKickBall(nDir, nPow, 2, _x, _y, nPlayerPos, 2); nPow = 10; blnSwerve = 1; } } } onClipEvent (load) { var nSpd = 1; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 8; var nGap = 12; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; var blnSlide = 0; var nSlideCount = 0; var nSlideSpeed = 15; var blnHoofed = 0; } onClipEvent (enterFrame) { if ((_name != "player4") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 0; } if (blnSlide == 1) { nSlideCount++; up = 0; left = 0; right = 0; down = 0; switch (nSlideDir) { case 1 : _y = (_y - nSlideSpeed); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 2 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 3 : _x = (_x + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 4 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x + (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 5 : _y = (_y + nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 6 : _y = (_y + (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); break; case 7 : _x = (_x - nSlideSpeed); submovie.gotoAndStop(nSlideDir + 8); nSlideSpeed = nSlideSpeed * _parent.friction2; break; case 8 : _y = (_y - (nSlideSpeed * 0.75)); _x = (_x - (nSlideSpeed * 0.75)); nSlideSpeed = nSlideSpeed * _parent.friction2; submovie.gotoAndStop(nSlideDir + 8); } if (nSlideCount >= 15) { blnSlide = 0; nSlideCount = 0; nSlideSpeed = 15; blnHoofed = 0; } } if (inControl == 1) { submovie.movPointer._alpha = 100; if (_parent.movKeys.isPressed[4] == 1) { up = 1; } else { up = 0; } if (_parent.movKeys.isPressed[5] == 1) { down = 1; } else { down = 0; } if (_parent.movKeys.isPressed[6] == 1) { left = 1; } else { left = 0; } if (_parent.movKeys.isPressed[7] == 1) { right = 1; } else { right = 0; } if (_x > (_parent.movBall._x + 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = 235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe2._y = _y; } _parent.movFindMe2._rotation = 270; } } else if (_x < (_parent.movBall._x - 240)) { if ((_y >= (_parent.movBall._y - 191)) && (_y <= (_parent.movBall._y + 191))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = -235 - (_parent._x - _parent.nStartX); if (_y <= (_parent.movBall._y - 186)) { _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); } else if (_y >= (_parent.movBall._y + 186)) { _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); } else { _parent.movFindMe2._y = _y; } _parent.movFindMe2._rotation = 90; } } else if (_y < (_parent.movBall._y - 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = _x; _parent.movFindMe2._y = -175 - (_parent._y - _parent.nStartY); _parent.movFindMe2._rotation = 180; } } else if (_y > (_parent.movBall._y + 190)) { if ((_y >= (_parent.movBall._y - 250)) && (_y <= (_parent.movBall._y + 250))) { _parent.movFindMe2._visible = 1; _parent.movFindMe2._x = _x; _parent.movFindMe2._y = 150 - (_parent._y - _parent.nStartY); _parent.movFindMe2._rotation = 0; } } else { _parent.movFindMe2._visible = 0; } if ((pass == 1) && (nPow < 30)) { nPow = nPow + 5; _root.movP2Bar._alpha = nPow * 3; _root.movP2Bar._xscale = nPow * 3; } if ((shoot == 1) && (nPow < 32)) { nPow = nPow + 8; _root.movP2Bar._alpha = nPow * 3; _root.movP2Bar._xscale = nPow * 3; } if ((shoot == 0) && (pass == 0)) { _root.movP2Bar._alpha = 0; _root.movP2Bar._xscale = 1; } if (blnSwerve) { nSwerveCount--; if (nSwerveCount <= 0) { blnSwerve = 0; nSwerveCount = 8; } if (nSwerveCount < 8) { if (_parent.nBallDir == 1) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 5) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - (nSwerveCount * 3); } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + (nSwerveCount * 3); } } else if ((_parent.nBallDir == 3) || (_parent.nBallDir == 7)) { if (up == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd - (nSwerveCount * 3); } if (down == 1) { _parent.movBall.nYSpd = _parent.movBall.nYSpd + (nSwerveCount * 3); } } else if (_parent.nBallDir == 8) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 2) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 4) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } else if (_parent.nBallDir == 6) { if (left == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd - nSwerveCount; } if (right == 1) { _parent.movBall.nXSpd = _parent.movBall.nXSpd + nSwerveCount; } } } } } else { submovie.movPointer._alpha = 0; blnSlide = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs2[nPlayerPos] + _parent.arrYDiffs2[nPlayerPos]) < (_parent.arrXDiffs2[i] + _parent.arrYDiffs2[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 2); } } if (((((hasStopped == 0) && (_y > _root.arrP2Boxes[nPlayerPos][0])) && (_y < _root.arrP2Boxes[nPlayerPos][2])) && (_x > _root.arrP2Boxes[nPlayerPos][1])) && (_x < _root.arrP2Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y + 43)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + 57)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y - _parent.nDefMax)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - _parent.nDefMin)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP2Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP2Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP2Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP2Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > -450) { up = 1; } else { up = 0; } if (_y < -500) { down = 1; } else { down = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 1)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 250) { up = 1; } else { up = 0; } if (_y < 275) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if ((inControl == 0) && (!blnSlide)) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } } if (blnSlide && (!blnHoofed)) { _parent.fKickBall(nSlideDir, 20, 2, _x, _y, nPlayerPos, 2); blnHoofed = 1; } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (!blnSlide) { if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 173 MovieClip "computer3" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { var nSpd = 3; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 6; var nGap = 5; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; } onClipEvent (enterFrame) { if ((_name != "computer3") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + nPlayerPos)); blnAboveBall = 0; } if (inControl == 1) { if (!blnDribble) { nSpd = 2; if (_x <= ((_parent.movBall._x + _root.arrSpeeds[nSpd]) + 2)) { right = 1; } else { right = 0; } if (_x >= ((_parent.movBall._x - _root.arrSpeeds[nSpd]) - 2)) { left = 1; } else { left = 0; } if (_y <= ((_parent.movBall._y + _root.arrSpeeds[nSpd]) + 2)) { down = 1; } else { down = 0; } if (_y >= ((_parent.movBall._y - _root.arrSpeeds[nSpd]) - 2)) { up = 1; } else { up = 0; } if ((left == 1) && (right == 1)) { left = 0; right = 0; } if ((up == 1) && (down == 1)) { up = 0; down = 0; } } else { nSpd = 3; if (_y > -300) { if (random(30) == 9) { _parent.fKickBall(nDir, random(10) + 15, 1, _x, _y, nPlayerPos, 1); } up = 1; left = 0; right = 0; down = 0; } else if ((_y <= -300) && (_y > -640)) { if (_x <= -50) { up = 1; down = 0; left = 0; right = 1; } if ((_x > -50) && (_x < 100)) { up = 1; down = 0; left = 0; right = 0; } if (_x >= 50) { up = 1; down = 0; left = 1; right = 0; } if ((_x < 50) && (_x > 100)) { up = 1; down = 0; left = 0; right = 0; } } else if (_y <= -700) { _parent.fKickBall(nDir, 30, 1, _x, _y, nPlayerPos, 1); up = 0; down = 1; if (_x > 100) { left = 1; } else { left = 0; } if (_x < -100) { right = 1; } else { right = 0; } } if ((_y <= -250) && (_y > -670)) { if (random(25) == 9) { _parent.fKickBall(nDir, random(20) + 25, 1, _x, _y, nPlayerPos, 2); } } } } else { submovie.movPointer._alpha = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs1[nPlayerPos] + _parent.arrYDiffs1[nPlayerPos]) < (_parent.arrXDiffs1[i] + _parent.arrYDiffs1[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 1); } } if (((((hasStopped == 0) && (_y > _root.arrP1Boxes[nPlayerPos][0])) && (_y < _root.arrP1Boxes[nPlayerPos][2])) && (_x > _root.arrP1Boxes[nPlayerPos][1])) && (_x < _root.arrP1Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y - 57)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - 43)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y + _parent.nDefMin)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + _parent.nDefMax)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP1Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP1Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP1Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP1Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > -300) { up = 1; } else { up = 0; } if (_y < -350) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 0) { up = 1; } else { up = 0; } if (_y < -100) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 450) { up = 1; } else { up = 0; } if (_y < 400) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if (inControl == 0) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP1P" + i).inControl = 0; eval ("_parent.movP1P" + i).blnDribble = 0; } i++; } } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 173 MovieClip "computer4" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { var nSpd = 3; var nXSpd = 10; var nPow = 10; var nDir; var blnDribble = 0; var blnSwerve = 0; var nSwerveCount = 6; var nGap = 5; var inControl; var nPlayerPos; var nDribCount = 0; var hasStopped = 0; var isOutDown = 0; var isOutUp = 0; var blnAboveBall = 0; } onClipEvent (enterFrame) { if ((_name != "computer4") && (_parent.inPlay == 1)) { if ((_y > (_parent.movBall._y - 5)) && (blnAboveBall == 0)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 1; } if ((_y < _parent.movBall._y) && (blnAboveBall == 1)) { this.swapDepths(eval ("_parent.movS" + (nPlayerPos + 5))); blnAboveBall = 0; } if (inControl == 1) { if (!blnDribble) { nSpd = 2; if (_x <= ((_parent.movBall._x + _root.arrSpeeds[nSpd]) + 2)) { right = 1; } else { right = 0; } if (_x >= ((_parent.movBall._x - _root.arrSpeeds[nSpd]) - 2)) { left = 1; } else { left = 0; } if (_y <= ((_parent.movBall._y + _root.arrSpeeds[nSpd]) + 2)) { down = 1; } else { down = 0; } if (_y >= ((_parent.movBall._y - _root.arrSpeeds[nSpd]) - 2)) { up = 1; } else { up = 0; } if ((left == 1) && (right == 1)) { left = 0; right = 0; } if ((up == 1) && (down == 1)) { up = 0; down = 0; } } else { nSpd = 3; if (_y < 300) { if (random(30) == 9) { _parent.fKickBall(nDir, random(10) + 15, 2, _x, _y, nPlayerPos, 1); } up = 0; left = 0; right = 0; down = 1; } else if ((_y >= 300) && (_y < 640)) { if (_x <= -50) { up = 0; down = 1; left = 0; right = 1; } if ((_x > -50) && (_x < 100)) { up = 0; down = 1; left = 0; right = 0; } if (_x >= 50) { up = 0; down = 1; left = 1; right = 0; } if ((_x < 50) && (_x > 100)) { up = 0; down = 1; left = 0; right = 0; } } else if (_y >= 700) { _parent.fKickBall(nDir, 30, 2, _x, _y, nPlayerPos, 1); up = 1; down = 0; if (_x > 100) { left = 1; } else { left = 0; } if (_x < -100) { right = 1; } else { right = 0; } } if ((_y >= 250) && (_y < 670)) { if (random(25) == 9) { _parent.fKickBall(nDir, random(20) + 25, 2, _x, _y, nPlayerPos, 2); } } } } else { submovie.movPointer._alpha = 0; if (_parent.blnKeepersBall == 0) { if (!blnDribble) { var isCloser = 0; i = 1; while (i <= _parent.nPlayers) { if ((_parent.arrXDiffs2[nPlayerPos] + _parent.arrYDiffs2[nPlayerPos]) < (_parent.arrXDiffs2[i] + _parent.arrYDiffs2[i])) { isCloser++; } i++; } if (isCloser >= (_parent.nPlayers - 1)) { _parent.fChangeControl(nPlayerPos, 2); } } if (((((hasStopped == 0) && (_y > _root.arrP2Boxes[nPlayerPos][0])) && (_y < _root.arrP2Boxes[nPlayerPos][2])) && (_x > _root.arrP2Boxes[nPlayerPos][1])) && (_x < _root.arrP2Boxes[nPlayerPos][3])) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y <= (_parent.movBall._y + 43)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y + 57)) { up = 1; } else { up = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y <= (_parent.movBall._y - _parent.nDefMax)) { down = 1; } else { down = 0; } if (_y >= (_parent.movBall._y - _parent.nDefMin)) { up = 1; } else { up = 0; } } } else { if ((up == 1) && (isOutDown == 0)) { _y = _root.arrP2Boxes[nPlayerPos][0]; up = 0; hasStopped = 1; } if ((down == 1) && (isOutUp == 0)) { _y = _root.arrP2Boxes[nPlayerPos][2]; down = 0; hasStopped = 3; } if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y + 43))) { hasStopped = 0; _y = (_y - 5); } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if ((hasStopped == 1) && (_y <= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y + 5); } if ((hasStopped == 3) && (_y >= (_parent.movBall._y - _parent.nDefMin))) { hasStopped = 0; _y = (_y - 5); } } if (_y < _root.arrP2Boxes[nPlayerPos][0]) { down = 1; isOutUp = 1; } else { isOutUp = 0; down = 0; } if (_y > _root.arrP2Boxes[nPlayerPos][2]) { up = 1; isOutDown = 1; } else { isOutDown = 0; up = 0; } } } else if (_parent.blnKeepersBall == 1) { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > -400) { up = 1; } else { up = 0; } if (_y < -450) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } else { if ((nPlayerPos == 1) || (nPlayerPos == 2)) { if (_y > 250) { up = 1; } else { up = 0; } if (_y < 275) { down = 1; } else { down = 0; } } if ((nPlayerPos == 3) || (nPlayerPos == 4)) { if (_y > 100) { up = 1; } else { up = 0; } if (_y < 0) { down = 1; } else { down = 0; } } } if ((nPlayerPos == 1) || (nPlayerPos == 3)) { if (_x > -150) { left = 1; } else { left = 0; } if (_x < -200) { right = 1; } else { right = 0; } } if ((nPlayerPos == 2) || (nPlayerPos == 4)) { if (_x > 200) { left = 1; } else { left = 0; } if (_x < 150) { right = 1; } else { right = 0; } } } if (submovie.pfaker.hitTest(_parent.movBall)) { if (inControl == 0) { up = 0; down = 0; left = 0; right = 0; i = 1; while (i <= _parent.nPlayers) { if (i != nPlayerPos) { eval ("_parent.movP2P" + i).inControl = 0; eval ("_parent.movP2P" + i).blnDribble = 0; } i++; } } blnDribble = 1; inControl = 1; _parent.movBall.nXSpd = _parent.movBall.nXSpd * 0.3; _parent.movBall.nYSpd = _parent.movBall.nYSpd * 0.3; _parent.movBall.nActualPoint = 0; _parent.movBall.nHighPoint = 0; } else { blnDribble = 0; } if (up == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(7); } } if (down == 1) { if ((left == 0) && (right == 0)) { submovie.gotoAndStop(3); } } if (left == 1) { if (up == 1) { submovie.gotoAndStop(6); } if (down == 1) { submovie.gotoAndStop(4); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(5); } } if (right == 1) { if (up == 1) { submovie.gotoAndStop(8); } if (down == 1) { submovie.gotoAndStop(2); } if ((up == 0) && (down == 0)) { submovie.gotoAndStop(1); } } if (up == 1) { if ((right == 1) || (left == 1)) { if (_y > _parent.nTopWall) { _y = (_y - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } } } else { if (_y > _parent.nTopWall) { _y = (_y - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y - _root.arrSpeeds[nSpd]; if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } _parent.movBall._x = _x; } } } if (down == 1) { if ((right == 1) || (left == 1)) { if (_y < _parent.nBotWall) { _y = (_y + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + (_root.arrSpeeds[nSpd] * 0.75); if (right == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_y < _parent.nBotWall) { _y = (_y + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._y = _parent.movBall._y + _root.arrSpeeds[nSpd]; if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } _parent.movBall._x = _x; } } } if (left == 1) { if ((up == 1) || (down == 1)) { if (_x > _parent.nLeftWall) { _x = (_x - (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x > _parent.nLeftWall) { _x = (_x - _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x - _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x >= (_x - nGap)) { _parent.movBall._x = _parent.movBall._x - 5; } } } } if (right == 1) { if ((up == 1) || (down == 1)) { if (_x < _parent.nRightWall) { _x = (_x + (_root.arrSpeeds[nSpd] * 0.75)); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + (_root.arrSpeeds[nSpd] * 0.75); if (up == 1) { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y >= (_y - nGap)) { _parent.movBall._y = _parent.movBall._y - 5; } } else { if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } if (_parent.movBall._y <= (_y + nGap)) { _parent.movBall._y = _parent.movBall._y + 5; } } } } else { if (_x < _parent.nRightWall) { _x = (_x + _root.arrSpeeds[nSpd]); } if (blnDribble) { _parent.movBall._x = _parent.movBall._x + _root.arrSpeeds[nSpd]; _parent.movBall._y = _y; if (_parent.movBall._x <= (_x + nGap)) { _parent.movBall._x = _parent.movBall._x + 5; } } } } } }
Instance of Symbol 175 MovieClip "ball" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { function update() { _x = (_x + nXSpd); _y = (_y + nYSpd); if (blnUpwards) { if (nActualPoint >= (nHighPoint * 0.85)) { nZSpd = -nZSpd; } if (nActualPoint < 0) { nZSpd = -nZSpd; nHighPoint = nHighPoint * 0.7; } nActualPoint = nActualPoint + nZSpd; nZSpd = nZSpd * 0.96; if ((nZSpd >= -1) && (nZSpd <= 1)) { nActualPoint = 0; blnUpwards = 0; nZSpd = 0; } _xscale = (105 + (nActualPoint / 3)); _yscale = (105 + (nActualPoint / 3)); movShad._y = 3 + nActualPoint; movShad._alpha = 100 - (nActualPoint * 2); } else { _xscale = 105; _yscale = 105; movShad._y = 3; movShad._alpha = 100; } if ((nXSpd == 0) && (nYSpd == 0)) { _xscale = 105; _yscale = 105; movShad._y = 3; movShad._alpha = 100; } nXSpd = nXSpd * _parent.friction; nYSpd = nYSpd * _parent.friction; } var nXSpd = 0; var nYSpd = 0; var blnDribble = 0; var nHighCount = 0; var nHighPoint = 0; var nActualPoint = 0; var blnUpwards = 0; var nZSpd = 2; } onClipEvent (enterFrame) { if ((_name != "ball") && (_parent.inPlay != 4)) { if (_parent.blnGoal == 0) { var nDrib1Count = 0; var nDrib2Count = 0; i = 1; while (i <= _parent.nPlayers) { if (eval ("_parent.movP1P" + i).blnDribble == 1) { nDrib1Count++; } if (eval ("_parent.movP2P" + i).blnDribble == 1) { nDrib2Count++; } i++; } if (nDrib1Count > 0) { if (!blnDribble) { gotoAndStop (10); } blnDribble = 1; _parent.nTeamPossess = 1; } else if (nDrib2Count > 0) { if (!blnDribble) { gotoAndStop (10); } blnDribble = 1; _parent.nTeamPossess = 2; } else { _parent.nTeamPossess = 0; blnDribble = 0; } update(); if (((_x + nXSpd) - (_width / 2)) < (_parent.nLeftWall - 20)) { if (!blnDribble) { nXSpd = -nXSpd; } else { _x = _parent.nLeftWall; } } if (((_x + nXSpd) + (_width / 2)) > (_parent.nRightWall + 20)) { if (!blnDribble) { nXSpd = -nXSpd; } else { _x = _parent.nRightWall; } } if (((_y + nYSpd) - (_height / 2)) < (_parent.nTopWall - 20)) { if (((_parent.blnKeepersBall != 1) && (((_x + nXSpd) - (_width / 2)) > (-_parent.nGoalWidth))) && (((_x + nXSpd) - (_width / 2)) < _parent.nGoalWidth)) { if (_root.blnFX) { _level3.sndRoar.play(); } if (_parent.blnP1GoingUp == 1) { _parent.nTeamScored = 1; } else { _parent.nTeamScored = 2; } _parent.nScorer = _parent.nKickedBy; _parent.blnGoal = 1; _y = (_parent.nTopWall - 40); _x = (_x + (nXSpd / 2)); _root.nEndo = 1; _parent.inPlay = 2; } else if (!blnDribble) { nYSpd = -nYSpd; } else { _y = _parent.nTopWall; } } if (((_y + nYSpd) + (_height / 2)) > (_parent.nBotWall + 20)) { if (((_parent.blnKeepersBall != 2) && (((_x + nXSpd) - (_width / 2)) > (-_parent.nGoalWidth))) && (((_x + nXSpd) - (_width / 2)) < _parent.nGoalWidth)) { if (_root.blnFX) { _level3.sndRoar.play(); } if (_parent.blnP1GoingUp == 1) { _parent.nTeamScored = 2; } else { _parent.nTeamScored = 1; } _parent.nScorer = _parent.nKickedBy; _parent.blnGoal = 1; _y = (_parent.nBotWall + 40); _x = (_x + (nXSpd / 2)); _root.nEndo = 1; _parent.inPlay = 2; } else if (!blnDribble) { nYSpd = -nYSpd; } else { _y = _parent.nBotWall; } } if (((((nXSpd > -0.3) && (nXSpd < 0.3)) && (nYSpd > -0.3)) && (nYSpd < 0.3)) || (_parent.blnKeepersBall > 0)) { nXSpd = 0; nYSpd = 0; if (!blnDribble) { gotoAndStop (9); } } if ((((nXSpd > -5) && (nXSpd < 5)) && (nYSpd > -5)) && (nYSpd < 5)) { if ((nXSpd < -1) && (nYSpd < nXSpd)) { gotoAndStop (16); } if ((nXSpd > 1) && (nYSpd < nXSpd)) { gotoAndStop (12); } if ((nYSpd < -1) && (nXSpd < nYSpd)) { gotoAndStop (10); } if ((nYSpd > 1) && (nXSpd < nYSpd)) { gotoAndStop (14); } } else { if ((nXSpd < -1) && (nYSpd < nXSpd)) { gotoAndStop (7); } if ((nXSpd > 1) && (nYSpd < nXSpd)) { gotoAndStop (3); } if ((nYSpd < -1) && (nXSpd < nYSpd)) { gotoAndStop (1); } if ((nYSpd > 1) && (nXSpd < nYSpd)) { gotoAndStop (5); } } if ((nXSpd == 0) && (nYSpd < -5)) { gotoAndStop (1); } if ((nXSpd == 0) && (nYSpd > 5)) { gotoAndStop (5); } } else { nXSpd = 0; nYSpd = 0; } } }
Instance of Symbol 183 MovieClip "movKeys" in Symbol 184 MovieClip Frame 1
onClipEvent (keyDown) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nPlayers == 1) && (_root.nP1Gender == 1))) { if (K == 38) { isPressed[0] = 1; } if (K == 40) { isPressed[1] = 1; } if (K == 37) { isPressed[2] = 1; } if (K == 39) { isPressed[3] = 1; } if (K == 87) { isPressed[4] = 1; } if (K == 83) { isPressed[5] = 1; } if (K == 65) { isPressed[6] = 1; } if (K == 68) { isPressed[7] = 1; } } else { if (K == 38) { isPressed[4] = 1; } if (K == 40) { isPressed[5] = 1; } if (K == 37) { isPressed[6] = 1; } if (K == 39) { isPressed[7] = 1; } if (K == 87) { isPressed[0] = 1; } if (K == 83) { isPressed[1] = 1; } if (K == 65) { isPressed[2] = 1; } if (K == 68) { isPressed[3] = 1; } } } onClipEvent (keyUp) { K = Key.getCode(); if ((_root.nPlayers == 2) || ((_root.nPlayers == 1) && (_root.nP1Gender == 1))) { if (K == 38) { isPressed[0] = 0; } if (K == 40) { isPressed[1] = 0; } if (K == 37) { isPressed[2] = 0; } if (K == 39) { isPressed[3] = 0; } if (K == 87) { isPressed[4] = 0; } if (K == 83) { isPressed[5] = 0; } if (K == 65) { isPressed[6] = 0; } if (K == 68) { isPressed[7] = 0; } } else { if (K == 38) { isPressed[4] = 0; } if (K == 40) { isPressed[5] = 0; } if (K == 37) { isPressed[6] = 0; } if (K == 39) { isPressed[7] = 0; } if (K == 87) { isPressed[0] = 0; } if (K == 83) { isPressed[1] = 0; } if (K == 65) { isPressed[2] = 0; } if (K == 68) { isPressed[3] = 0; } } } onClipEvent (load) { var isPressed = new Array(0, 0, 0, 0, 0, 0, 0, 0); var blnPaused = 0; }
Symbol 187 MovieClip Frame 97
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 202 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(_root.country2); }
Instance of Symbol 202 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(_root.country1); }
Instance of Symbol 118 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(_root.country1); }
Instance of Symbol 118 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(_root.country2); }
Symbol 209 MovieClip Frame 1
gotoAndPlay (39); man1.gotoAndStop(3); man1.left = 1; man1.submovie.movPointer._visible = 0; girl1.gotoAndStop(3); girl1.left = 1; girl1.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 4
man2.gotoAndStop(2); man2.left = 1; man2.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 8
girl2.gotoAndStop(2); girl2.left = 1; girl2.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 39
blnDone = 1; _parent.movGame.movP1P1._visible = 1; _parent.movGame.movP1P2._visible = 1; _parent.movGame.movP1P3._visible = 1; _parent.movGame.movP1P4._visible = 1; _parent.movGame.movP2P1._visible = 1; _parent.movGame.movP2P2._visible = 1; _parent.movGame.movP2P3._visible = 1; _parent.movGame.movP2P4._visible = 1; stop();
Symbol 209 MovieClip Frame 40
man1.gotoAndStop(3); man1.left = 1; man1.submovie.movPointer._visible = 0; girl1.gotoAndStop(3); girl1.left = 1; girl1.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 43
man2.gotoAndStop(2); man2.left = 1; man2.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 47
girl2.gotoAndStop(2); girl2.left = 1; girl2.submovie.movPointer._visible = 0;
Symbol 209 MovieClip Frame 78
blnDone = 1; _parent.movGame.movP1P1._visible = 1; _parent.movGame.movP1P2._visible = 1; _parent.movGame.movP1P3._visible = 1; _parent.movGame.movP1P4._visible = 1; _parent.movGame.movP2P1._visible = 1; _parent.movGame.movP2P2._visible = 1; _parent.movGame.movP2P3._visible = 1; _parent.movGame.movP2P4._visible = 1; stop();
Symbol 219 Button
on (release) { _root.gotoAndPlay("INITGAME"); }
Symbol 224 Button
on (release, keyPress "<Enter>") { if (blnFX) { sndClick.play(); } if (blnMusic) { sndMusic0.gotoAndPlay(2); sndMusic1.gotoAndPlay(2); } _root.gotoAndStop(4); _level11.gotoAndStop(1); }
Symbol 228 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:3 4
Symbol 2 GraphicUsed by:3 4 202
Symbol 3 ButtonUses:1 2Used by:Timeline
Symbol 4 ButtonUses:1 2Used by:Timeline
Symbol 5 GraphicUsed by:7 14 16 18
Symbol 6 SoundUsed by:7
Symbol 7 MovieClipUses:5 6Used by:Timeline
Symbol 8 GraphicUsed by:10 12
Symbol 9 SoundUsed by:10
Symbol 10 MovieClipUses:8 9Used by:Timeline
Symbol 11 SoundUsed by:12
Symbol 12 MovieClipUses:8 11Used by:Timeline
Symbol 13 SoundUsed by:14
Symbol 14 MovieClipUses:5 13Used by:Timeline
Symbol 15 SoundUsed by:16
Symbol 16 MovieClipUses:5 15Used by:Timeline
Symbol 17 SoundUsed by:18
Symbol 18 MovieClipUses:5 17Used by:Timeline
Symbol 19 GraphicUsed by:22 23
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22 23
Symbol 22 MovieClipUses:19 21Used by:23
Symbol 23 ButtonUses:22 19 21Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:31
Symbol 26 GraphicUsed by:31
Symbol 27 FontUsed by:28
Symbol 28 EditableTextUses:27Used by:31
Symbol 29 FontUsed by:30 232 233 234 236 237
Symbol 30 EditableTextUses:29Used by:31
Symbol 31 MovieClipUses:25 26 28 30Used by:Timeline
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:Timeline
Symbol 34 GraphicUsed by:Timeline
Symbol 35 GraphicUsed by:49
Symbol 36 GraphicUsed by:49
Symbol 37 GraphicUsed by:38 249  Timeline
Symbol 38 MovieClipUses:37Used by:49
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:49
Symbol 42 FontUsed by:43 45 47 117 210 212 214 231 235 248
Symbol 43 EditableTextUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:49
Symbol 45 EditableTextUses:42Used by:46
Symbol 46 MovieClipUses:45Used by:49
Symbol 47 EditableTextUses:42Used by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:35 36 38 41 44 46 48Used by:Timeline
Symbol 50 BitmapUsed by:52
Symbol 51 BitmapUsed by:52 132
Symbol 52 GraphicUses:50 51Used by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 GraphicUsed by:57
Symbol 55 GraphicUsed by:57
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:54 55 56Used by:Timeline
Symbol 58 GraphicUsed by:61
Symbol 59 GraphicUsed by:61
Symbol 60 GraphicUsed by:61
Symbol 61 ButtonUses:58 59 60Used by:Timeline
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 ButtonUses:62 63 64Used by:Timeline
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:Timeline
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:70 118
Symbol 70 ButtonUses:69Used by:Timeline
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:73 118
Symbol 73 ButtonUses:72Used by:Timeline
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:76 118
Symbol 76 ButtonUses:75Used by:Timeline
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:79 118
Symbol 79 ButtonUses:78Used by:Timeline
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:82 118
Symbol 82 ButtonUses:81Used by:Timeline
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:85 118
Symbol 85 ButtonUses:84Used by:Timeline
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:88 118
Symbol 88 ButtonUses:87Used by:Timeline
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91 118
Symbol 91 ButtonUses:90Used by:Timeline
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94 118
Symbol 94 ButtonUses:93Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97 118
Symbol 97 ButtonUses:96Used by:Timeline
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 ButtonUses:98 99 100Used by:249  Timeline
Symbol 102 GraphicUsed by:105
Symbol 103 GraphicUsed by:105
Symbol 104 GraphicUsed by:105
Symbol 105 ButtonUses:102 103 104Used by:Timeline
Symbol 106 GraphicUsed by:109
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 ButtonUses:106 107 108Used by:Timeline
Symbol 110 GraphicUsed by:113
Symbol 111 GraphicUsed by:113
Symbol 112 GraphicUsed by:113
Symbol 113 ButtonUses:110 111 112Used by:Timeline
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 GraphicUsed by:118
Symbol 117 TextUses:42Used by:118
Symbol 118 MovieClipUses:75 87 96 78 84 93 72 90 69 81 116 117Used by:127 206  Timeline
Symbol 119 GraphicUsed by:Timeline
Symbol 120 GraphicUsed by:Timeline
Symbol 121 MovieClipUsed by:Timeline
Symbol 122 GraphicUsed by:Timeline
Symbol 123 GraphicUsed by:124 125
Symbol 124 ButtonUses:123Used by:Timeline
Symbol 125 ButtonUses:123Used by:Timeline
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126 118Used by:228  Timeline
Symbol 128 GraphicUsed by:131
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 ButtonUses:128 129 130Used by:Timeline
Symbol 132 GraphicUses:51Used by:135
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:135
Symbol 135 MovieClipUses:132 134Used by:184
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:184
Symbol 138 GraphicUsed by:153 171
Symbol 139 GraphicUsed by:153 171
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:153 171
Symbol 142 GraphicUsed by:152
Symbol 143 GraphicUsed by:152
Symbol 144 GraphicUsed by:152
Symbol 145 GraphicUsed by:152
Symbol 146 GraphicUsed by:152
Symbol 147 GraphicUsed by:152
Symbol 148 GraphicUsed by:152
Symbol 149 GraphicUsed by:152
Symbol 150 GraphicUsed by:152
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:142 143 144 145 146 147 148 149 150 151Used by:153 171
Symbol 153 MovieClipUses:138 139 141 152Used by:156 157 169
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:156 157
Symbol 156 MovieClipUses:153 155Used by:184
Symbol 157 MovieClipUses:153 155Used by:184
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:160
Symbol 160 MovieClipUses:159Used by:184
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:163
Symbol 163 MovieClipUses:162Used by:172 184
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:169 172
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:167Used by:169
Symbol 169 MovieClipUses:165 153 168Used by:170
Symbol 170 MovieClipUses:169Used by:184 209
Symbol 171 MovieClipUses:138 139 141 152Used by:172
Symbol 172 MovieClipUses:165 171 163Used by:173
Symbol 173 MovieClipUses:172Used by:184 209
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:184
Symbol 176 GraphicUsed by:181
Symbol 177 GraphicUsed by:181
Symbol 178 GraphicUsed by:181
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:176 177 178 179 180Used by:184
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:184
Symbol 184 MovieClipUses:135 137 156 157 160 163 170 173 175 181 183Used by:Timeline
Symbol 185 GraphicUsed by:188
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:188
Symbol 188 MovieClipUses:185 187Used by:Timeline
Symbol 189 GraphicUsed by:192 206
Symbol 190 FontUsed by:191 203 205
Symbol 191 EditableTextUses:190Used by:192
Symbol 192 MovieClipUses:189 191Used by:Timeline
Symbol 193 GraphicUsed by:202
Symbol 194 GraphicUsed by:202
Symbol 195 GraphicUsed by:202
Symbol 196 GraphicUsed by:202
Symbol 197 GraphicUsed by:202
Symbol 198 GraphicUsed by:202
Symbol 199 GraphicUsed by:202
Symbol 200 GraphicUsed by:202
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:193 194 195 196 197 198 199 200 201 2Used by:206
Symbol 203 EditableTextUses:190Used by:206
Symbol 204 GraphicUsed by:206
Symbol 205 EditableTextUses:190Used by:206
Symbol 206 MovieClipUses:189 202 118 203 204 205Used by:Timeline
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:Timeline
Symbol 209 MovieClipUses:170 173Used by:Timeline
Symbol 210 TextUses:42Used by:211
Symbol 211 MovieClipUses:210Used by:Timeline
Symbol 212 EditableTextUses:42Used by:Timeline
Symbol 213 GraphicUsed by:Timeline
Symbol 214 EditableTextUses:42Used by:Timeline
Symbol 215 GraphicUsed by:Timeline
Symbol 216 GraphicUsed by:219
Symbol 217 GraphicUsed by:219
Symbol 218 GraphicUsed by:219
Symbol 219 ButtonUses:216 217 218Used by:228
Symbol 220 GraphicUsed by:228
Symbol 221 GraphicUsed by:224
Symbol 222 GraphicUsed by:224
Symbol 223 GraphicUsed by:224
Symbol 224 ButtonUses:221 222 223Used by:228
Symbol 225 GraphicUsed by:228
Symbol 226 GraphicUsed by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:219 127 220 224 225 226 227Used by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:249
Symbol 231 TextUses:42Used by:249
Symbol 232 TextUses:29Used by:249
Symbol 233 TextUses:29Used by:249
Symbol 234 TextUses:29Used by:249
Symbol 235 TextUses:42Used by:249
Symbol 236 TextUses:29Used by:249
Symbol 237 TextUses:29Used by:249
Symbol 238 FontUsed by:239 240 241 242 243 244 245 246 247
Symbol 239 TextUses:238Used by:249
Symbol 240 TextUses:238Used by:249
Symbol 241 TextUses:238Used by:249
Symbol 242 TextUses:238Used by:249
Symbol 243 TextUses:238Used by:249
Symbol 244 TextUses:238Used by:249
Symbol 245 TextUses:238Used by:249
Symbol 246 TextUses:238Used by:249
Symbol 247 TextUses:238Used by:249
Symbol 248 TextUses:42Used by:249
Symbol 249 MovieClipUses:37 101 230 231 232 233 234 235 236 237 239 240 241 242 243 244 245 246 247 248Used by:Timeline

Instance Names

"sndClick"Frame 1Symbol 7 MovieClip
"sndMusic1"Frame 1Symbol 10 MovieClip
"sndMusic0"Frame 1Symbol 12 MovieClip
"sndWhistle"Frame 1Symbol 14 MovieClip
"sndKickQuiet"Frame 1Symbol 16 MovieClip
"sndKick"Frame 1Symbol 18 MovieClip
"movLoader"Frame 1Symbol 31 MovieClip
"ying"Frame 5Symbol 70 Button
"select2"Frame 5Symbol 115 MovieClip
"select1"Frame 5Symbol 115 MovieClip
"flag1"Frame 5Symbol 118 MovieClip
"flag2"Frame 5Symbol 118 MovieClip
"randomcountry"Frame 5Symbol 121 MovieClip
"select3"Frame 6Symbol 115 MovieClip
"movGame"Frame 9Symbol 184 MovieClip
"movMsgs"Frame 9Symbol 188 MovieClip
"movTimer"Frame 9Symbol 192 MovieClip
"movScores"Frame 9Symbol 206 MovieClip
"movP1Bar"Frame 9Symbol 208 MovieClip
"movP2Bar"Frame 9Symbol 208 MovieClip
"re"Frame 39Symbol 228 MovieClip
"mc"Symbol 31 MovieClip Frame 1Symbol 25 MovieClip
"f1"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f2"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f3"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f4"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f5"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f6"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f7"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f8"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f9"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f10"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f11"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f12"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f13"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f14"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"f15"Symbol 127 MovieClip Frame 1Symbol 118 MovieClip
"head"Symbol 153 MovieClip Frame 1Symbol 152 MovieClip
"p2"Symbol 156 MovieClip Frame 1Symbol 153 MovieClip
"movHit"Symbol 156 MovieClip Frame 1Symbol 155 MovieClip
"p2"Symbol 157 MovieClip Frame 1Symbol 153 MovieClip
"movHit"Symbol 157 MovieClip Frame 1Symbol 155 MovieClip
"pfaker"Symbol 169 MovieClip Frame 1Symbol 165 MovieClip
"movPointer"Symbol 169 MovieClip Frame 1Symbol 168 MovieClip
"submovie"Symbol 170 MovieClip Frame 1Symbol 169 MovieClip
"pfaker"Symbol 172 MovieClip Frame 1Symbol 165 MovieClip
"movPointer"Symbol 172 MovieClip Frame 1Symbol 163 MovieClip
"submovie"Symbol 173 MovieClip Frame 1Symbol 172 MovieClip
"movPitch"Symbol 184 MovieClip Frame 1Symbol 135 MovieClip
"swapper"Symbol 184 MovieClip Frame 1Symbol 137 MovieClip
"goalie2"Symbol 184 MovieClip Frame 1Symbol 156 MovieClip
"goalie1"Symbol 184 MovieClip Frame 1Symbol 157 MovieClip
"goalie1player"Symbol 184 MovieClip Frame 1Symbol 157 MovieClip
"goalie2player"Symbol 184 MovieClip Frame 1Symbol 156 MovieClip
"movFindMe"Symbol 184 MovieClip Frame 1Symbol 160 MovieClip
"movFindMe2"Symbol 184 MovieClip Frame 1Symbol 163 MovieClip
"player1"Symbol 184 MovieClip Frame 1Symbol 170 MovieClip
"player2"Symbol 184 MovieClip Frame 1Symbol 170 MovieClip
"computer1"Symbol 184 MovieClip Frame 1Symbol 170 MovieClip
"computer2"Symbol 184 MovieClip Frame 1Symbol 170 MovieClip
"player3"Symbol 184 MovieClip Frame 1Symbol 173 MovieClip
"player4"Symbol 184 MovieClip Frame 1Symbol 173 MovieClip
"computer3"Symbol 184 MovieClip Frame 1Symbol 173 MovieClip
"computer4"Symbol 184 MovieClip Frame 1Symbol 173 MovieClip
"ball"Symbol 184 MovieClip Frame 1Symbol 175 MovieClip
"movTheGoals"Symbol 184 MovieClip Frame 1Symbol 181 MovieClip
"movKeys"Symbol 184 MovieClip Frame 1Symbol 183 MovieClip
"man1"Symbol 209 MovieClip Frame 1Symbol 170 MovieClip
"girl1"Symbol 209 MovieClip Frame 1Symbol 173 MovieClip
"man2"Symbol 209 MovieClip Frame 4Symbol 170 MovieClip
"girl2"Symbol 209 MovieClip Frame 8Symbol 173 MovieClip
"man1"Symbol 209 MovieClip Frame 40Symbol 173 MovieClip
"girl1"Symbol 209 MovieClip Frame 40Symbol 170 MovieClip
"man2"Symbol 209 MovieClip Frame 43Symbol 173 MovieClip
"girl2"Symbol 209 MovieClip Frame 47Symbol 170 MovieClip

Labels

"LOADING"Frame 2
"INTRO"Frame 4
"CHOOSE"Frame 6
"INITGAME"Frame 8
"PLAY"Frame 9
"GAME IS HERE "Frame 22
"GAME"Frame 22
"HT"Frame 37
"FT"Frame 39
"inc"Frame 40
"ao"Symbol 118 MovieClip Frame 1
"flb"Symbol 118 MovieClip Frame 2
"he"Symbol 118 MovieClip Frame 3
"jia"Symbol 118 MovieClip Frame 4
"mei"Symbol 118 MovieClip Frame 5
"ri"Symbol 118 MovieClip Frame 6
"xxl"Symbol 118 MovieClip Frame 7
"yi"Symbol 118 MovieClip Frame 8
"ying"Symbol 118 MovieClip Frame 9
"zhong"Symbol 118 MovieClip Frame 10
"wu"Symbol 118 MovieClip Frame 11

Dynamic Text Variables

txtPerSymbol 30 EditableText"0% 
"
txtTimeSymbol 191 EditableText"1:00 "
txtP2ScoreSymbol 203 EditableText"0 "
txtP1ScoreSymbol 205 EditableText"0 "
txtScoreSymbol 212 EditableText" "
txtScoreSymbol 214 EditableText" "




http://swfchan.com/6/25158/info.shtml
Created: 24/5 -2019 01:18:11 Last modified: 24/5 -2019 01:18:11 Server time: 15/11 -2024 02:07:51