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

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

bomber-champ.swf

This is the info page for
Flash #125046

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


Text
99%

Play Now

New Quality Games Every Day

16 years later

BOSSES

round 1

round 1

final round

0

0

0

0

5:00

GAME OVER

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("08aa9c29", this, 10301, true); var lc:LocalConnection = new LocalConnection(); _root.domainpl = lc.domain();
Frame 2
_focusrect = 0; _quality = "high"; nBytesTotal = _root.getBytesTotal(); nBytesLoaded = _root.getBytesLoaded(); nPercentLoaded = int((nBytesLoaded / nBytesTotal) * 100); txtLoaded = nPercentLoaded + "%"; if (nBytesLoaded >= nBytesTotal) { var blnSFX = 1; var blnMusic = 1; gotoAndStop ("GAP"); } _root.nLevel = 1; sObject = SharedObject.getLocal("saveFile"); if (sObject.data.nLevel != undefined) { _root.nLevel = sObject.data.nLevel; } trace(_root.nLevel);
Instance of Symbol 27 MovieClip "movRegisterNow" in Frame 2
onClipEvent (load) { if (_root.strUsername == "Guest") { _visible = true; } else { _visible = false; } }
Frame 3
gotoAndPlay ("LOADING");
Instance of Symbol 68 MovieClip "intro" in Frame 4
on (release) { if (!playintro) { playintro = 1; this.play(); } else { _root.blnMusic = 0; _root.sndMusic0.gotoAndStop(4); getURL (("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=ingame", "_blank"); } }
Frame 10
if (strCookies != "") { var tmpArr = String(strCookies).split("*####*"); var strCookieName = tmpArr[0]; var strCookieEmail = tmpArr[1]; gotoAndStop ("LOADED"); }
Frame 11
gotoAndPlay(_currentframe - 1);
Frame 13
if (_root.nLevel > 1) { continn._visible = true; } else { continn._visible = false; } stop(); var nPlayers = 1; var nOppos = 1; if (_root.blnMusic == 1) { _root.sndMusic0.gotoAndStop(4); sndMusic0.gotoAndPlay(2); } var strUsername = strCookieName; var strEmail = strCookieEmail; txtName = "YOU ARE LOGGED IN AS: " + tmpArr[0];
Frame 14
var nHeat = 1; var nScore = 0; var nScore2 = 0; var nS1 = 0; var nS2 = 0; var nS3 = 0; var nS4 = 0; stop();
Frame 15
_root.roundnr = 1; var nLevel; stop();
Frame 16
show2char.gotoAndStop(_root.nLevel); if (_root.roundnr == 1) { rxstartn.gotoAndPlay(1); } else { rxstartn.gotoAndPlay(25); } movP3life.show3char.gotoAndStop(_root.nLevel); movP4life.show4char.gotoAndStop(_root.nLevel); var nGridWidth = 17; var nGridHeight = 15; var arrGrid = new Array(); var arrGridNum = new Array(); var arrGridFill = new Array(); var arrGridFillNum = new Array(); var nTotalMins = 3; var nHeats = 3; var nWinner = 0; var blnGameOver = 0; var gCanKick = 0; var gKickSpeed = 10; var gStartingSpd = 2; var gStartingLength = 2; var gStartingBombs = 1; var gOppoMadnessFactor = 1; if (nLevel == 1) { _root.nOppos = 1; var enemylifes = 3; var gCanThrow = -1; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; k = 0; while (k < 20) { nI = random(nGridWidth - 2) + 1; nJ = random(nGridHeight - 2) + 1; if (arrGrid[nI][nJ] == 2) { arrGrid[nI][nJ] = 0; } else { k--; } k++; } } if (nLevel == 2) { _root.nOppos = 1; var enemylifes = 3; var gCanThrow = -1; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 0; } j++; } i++; } arrGrid[1][1] = 2; arrGrid[1][2] = 2; arrGrid[1][3] = 2; arrGrid[2][1] = 2; arrGrid[3][1] = 2; arrGrid[13][1] = 2; arrGrid[13][2] = 2; arrGrid[13][3] = 2; arrGrid[12][1] = 2; arrGrid[11][1] = 2; arrGrid[13][11] = 2; arrGrid[13][10] = 2; arrGrid[13][9] = 2; arrGrid[12][11] = 2; arrGrid[11][11] = 2; arrGrid[1][11] = 2; arrGrid[2][11] = 2; arrGrid[3][11] = 2; arrGrid[1][10] = 2; arrGrid[1][9] = 2; arrGrid[7][4] = 2; arrGrid[7][8] = 2; arrGrid[1][6] = 2; arrGrid[13][6] = 2; arrGrid[3][3] = -7; arrGrid[3][4] = -5; arrGrid[3][5] = -5; arrGrid[3][6] = -5; arrGrid[3][7] = -5; arrGrid[3][8] = -5; arrGrid[3][9] = -10; arrGrid[11][3] = -8; arrGrid[11][4] = -5; arrGrid[11][5] = -5; arrGrid[11][6] = -5; arrGrid[11][7] = -5; arrGrid[11][8] = -5; arrGrid[11][9] = -9; arrGrid[4][3] = -6; arrGrid[5][3] = -6; arrGrid[6][3] = -6; arrGrid[7][3] = -6; arrGrid[8][3] = -6; arrGrid[9][3] = -6; arrGrid[10][3] = -6; arrGrid[4][9] = -6; arrGrid[5][9] = -6; arrGrid[6][9] = -6; arrGrid[7][9] = -6; arrGrid[8][9] = -6; arrGrid[9][9] = -6; arrGrid[10][9] = -6; } if (nLevel == 3) { _root.nOppos = 1; var enemylifes = 3; var gCanThrow = -1; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[4][1] = 0; arrGrid[5][1] = 0; arrGrid[2][3] = 0; arrGrid[3][2] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[1][4] = 0; arrGrid[8][1] = 0; arrGrid[9][1] = 0; arrGrid[10][1] = 0; arrGrid[11][1] = 0; arrGrid[12][1] = 0; arrGrid[11][2] = 0; arrGrid[12][3] = 0; arrGrid[13][1] = 0; arrGrid[13][2] = 0; arrGrid[13][3] = 0; arrGrid[13][4] = 0; arrGrid[9][11] = 0; arrGrid[10][11] = 0; arrGrid[11][11] = 0; arrGrid[12][11] = 0; arrGrid[13][11] = 0; arrGrid[11][10] = 0; arrGrid[12][9] = 0; arrGrid[13][8] = 0; arrGrid[13][9] = 0; arrGrid[13][10] = 0; arrGrid[13][11] = 0; arrGrid[1][11] = 0; arrGrid[2][11] = 0; arrGrid[3][11] = 0; arrGrid[4][11] = 0; arrGrid[5][11] = 0; arrGrid[3][10] = 0; arrGrid[2][9] = 0; arrGrid[1][8] = 0; arrGrid[1][9] = 0; arrGrid[1][10] = 0; arrGrid[1][11] = 0; arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; } if (nLevel == 4) { _root.nOppos = 2; var enemylifes = 3; var gCanThrow = -1; gOppoMadnessFactor = 2; gStartingSpd = 3; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[4][1] = 0; arrGrid[5][1] = 0; arrGrid[2][3] = 0; arrGrid[3][2] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[1][4] = 0; arrGrid[8][1] = 0; arrGrid[9][1] = 0; arrGrid[10][1] = 0; arrGrid[11][1] = 0; arrGrid[12][1] = 0; arrGrid[11][2] = 0; arrGrid[12][3] = 0; arrGrid[13][1] = 0; arrGrid[13][2] = 0; arrGrid[13][3] = 0; arrGrid[13][4] = 0; arrGrid[9][11] = 0; arrGrid[10][11] = 0; arrGrid[11][11] = 0; arrGrid[12][11] = 0; arrGrid[13][11] = 0; arrGrid[11][10] = 0; arrGrid[12][9] = 0; arrGrid[13][8] = 0; arrGrid[13][9] = 0; arrGrid[13][10] = 0; arrGrid[13][11] = 0; arrGrid[1][11] = 0; arrGrid[2][11] = 0; arrGrid[3][11] = 0; arrGrid[4][11] = 0; arrGrid[5][11] = 0; arrGrid[3][10] = 0; arrGrid[2][9] = 0; arrGrid[1][8] = 0; arrGrid[1][9] = 0; arrGrid[1][10] = 0; arrGrid[1][11] = 0; arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; arrGrid[8][1] = 1; arrGrid[8][2] = 1; arrGrid[8][3] = 1; arrGrid[8][4] = 1; arrGrid[8][5] = 1; arrGrid[8][6] = 1; arrGrid[8][7] = 0; arrGrid[8][8] = 1; arrGrid[8][9] = 1; arrGrid[8][10] = 1; arrGrid[8][11] = 1; arrGrid[8][12] = 1; arrGrid[8][13] = 1; } if (nLevel == 5) { _root.nOppos = 2; var enemylifes = 4; var gCanThrow = -1; gOppoMadnessFactor = 2; gStartingSpd = 3; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[4][1] = 0; arrGrid[5][1] = 0; arrGrid[2][3] = 0; arrGrid[3][2] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[1][4] = 0; arrGrid[8][1] = 0; arrGrid[9][1] = 0; arrGrid[10][1] = 0; arrGrid[11][1] = 0; arrGrid[12][1] = 0; arrGrid[11][2] = 0; arrGrid[12][3] = 0; arrGrid[13][1] = 0; arrGrid[13][2] = 0; arrGrid[13][3] = 0; arrGrid[13][4] = 0; arrGrid[9][11] = 0; arrGrid[10][11] = 0; arrGrid[11][11] = 0; arrGrid[12][11] = 0; arrGrid[13][11] = 0; arrGrid[11][10] = 0; arrGrid[12][9] = 0; arrGrid[13][8] = 0; arrGrid[13][9] = 0; arrGrid[13][10] = 0; arrGrid[13][11] = 0; arrGrid[1][11] = 0; arrGrid[2][11] = 0; arrGrid[3][11] = 0; arrGrid[4][11] = 0; arrGrid[5][11] = 0; arrGrid[3][10] = 0; arrGrid[2][9] = 0; arrGrid[1][8] = 0; arrGrid[1][9] = 0; arrGrid[1][10] = 0; arrGrid[1][11] = 0; arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; arrGrid[8][1] = 1; arrGrid[8][2] = 1; arrGrid[8][3] = 1; arrGrid[8][4] = 1; arrGrid[8][5] = 1; arrGrid[8][6] = 1; arrGrid[8][7] = 0; arrGrid[8][8] = 1; arrGrid[8][9] = 1; arrGrid[8][10] = 1; arrGrid[8][11] = 1; arrGrid[8][12] = 1; arrGrid[8][13] = 1; arrGrid[9][1] = 1; arrGrid[9][2] = 1; arrGrid[9][3] = 1; arrGrid[9][4] = 1; arrGrid[9][5] = 1; arrGrid[9][6] = 1; arrGrid[9][7] = 0; arrGrid[9][8] = 1; arrGrid[9][9] = 1; arrGrid[9][10] = 1; arrGrid[9][11] = 1; arrGrid[9][12] = 1; arrGrid[9][13] = 1; arrGrid[10][1] = 1; arrGrid[10][2] = 1; arrGrid[10][3] = 1; arrGrid[10][4] = 1; arrGrid[10][5] = 1; arrGrid[10][6] = 1; arrGrid[10][7] = 0; arrGrid[10][8] = 0; arrGrid[10][9] = 1; arrGrid[10][10] = 1; arrGrid[10][11] = 1; arrGrid[10][12] = 1; arrGrid[10][13] = 1; arrGrid[7][1] = 1; arrGrid[7][2] = 1; arrGrid[7][3] = 1; arrGrid[7][4] = 1; arrGrid[7][5] = 1; arrGrid[7][6] = 1; arrGrid[7][7] = 0; arrGrid[7][8] = 1; arrGrid[7][9] = 1; arrGrid[7][10] = 1; arrGrid[7][11] = 1; arrGrid[7][12] = 1; arrGrid[7][13] = 1; arrGrid[6][1] = 1; arrGrid[6][2] = 1; arrGrid[6][3] = 1; arrGrid[6][4] = 1; arrGrid[6][5] = 1; arrGrid[6][6] = 1; arrGrid[6][7] = 0; arrGrid[6][8] = 0; arrGrid[6][9] = 1; arrGrid[6][10] = 1; arrGrid[6][11] = 1; arrGrid[6][12] = 1; arrGrid[6][13] = 1; } if (nLevel == 6) { _root.nOppos = 3; var enemylifes = 5; var gCanThrow = -1; gOppoMadnessFactor = 2; gStartingSpd = 3; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; k = 0; while (k < 20) { nI = random(nGridWidth - 2) + 1; nJ = random(nGridHeight - 2) + 1; if (arrGrid[nI][nJ] == 2) { arrGrid[nI][nJ] = 0; } else { k--; } k++; } } if (nLevel == 7) { _root.nOppos = 3; var enemylifes = 5; gOppoMadnessFactor = 2; var gCanThrow = 1; var gCanKick = 1; gStartingSpd = 4; gStartingLength = 4; gStartingBombs = 3; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 0; } j++; } i++; } } if (nLevel == 8) { _root.nOppos = 3; var enemylifes = 6; gOppoMadnessFactor = 2; var gCanThrow = 1; var gCanKick = 1; gStartingSpd = 4; gStartingLength = 4; gStartingBombs = 1; i = 0; while (i < nGridWidth) { arrGrid[i] = new Array(); arrGridNum[i] = new Array(); j = 0; while (j < nGridHeight) { arrGridNum[i][j] = 0; if ((((i == 0) || (i == (nGridWidth - 1))) || (j == 0)) || (j == (nGridHeight - 1))) { arrGrid[i][j] = 1; } else if (((i % 2) == 0) && (((j + 1) % 2) != 0)) { arrGrid[i][j] = 1; } else { arrGrid[i][j] = 2; } j++; } i++; } arrGrid[1][1] = 0; arrGrid[1][2] = 0; arrGrid[1][3] = 0; arrGrid[2][1] = 0; arrGrid[3][1] = 0; arrGrid[15][1] = 0; arrGrid[15][2] = 0; arrGrid[15][3] = 0; arrGrid[14][1] = 0; arrGrid[13][1] = 0; arrGrid[15][13] = 0; arrGrid[15][12] = 0; arrGrid[15][11] = 0; arrGrid[14][13] = 0; arrGrid[13][13] = 0; arrGrid[1][13] = 0; arrGrid[2][13] = 0; arrGrid[3][13] = 0; arrGrid[1][12] = 0; arrGrid[1][11] = 0; arrGrid[8][1] = 1; arrGrid[8][2] = 1; arrGrid[8][3] = 1; arrGrid[8][4] = 1; arrGrid[8][5] = 1; arrGrid[8][6] = 0; arrGrid[8][7] = 0; arrGrid[8][8] = 0; arrGrid[8][9] = 1; arrGrid[8][10] = 1; arrGrid[8][11] = 1; arrGrid[8][12] = 1; arrGrid[8][13] = 1; arrGrid[8][1] = 1; arrGrid[1][7] = 1; arrGrid[2][7] = 1; arrGrid[3][7] = 1; arrGrid[4][7] = 1; arrGrid[5][7] = 0; arrGrid[6][7] = 0; arrGrid[7][7] = 0; arrGrid[8][7] = 1; arrGrid[9][7] = 1; arrGrid[10][7] = 1; arrGrid[11][7] = 1; arrGrid[12][7] = 1; arrGrid[13][7] = 1; arrGrid[14][7] = 1; arrGrid[15][7] = 1; k = 0; while (k < 20) { nI = random(nGridWidth - 2) + 1; nJ = random(nGridHeight - 2) + 1; if (arrGrid[nI][nJ] == 2) { arrGrid[nI][nJ] = 0; } else { k--; } k++; } } if (nOppos < 3) { movP4life._visible = false; } else { movP4life._visible = true; } if (nOppos < 2) { movP3life._visible = false; } else { movP3life._visible = true; }
Instance of Symbol 215 MovieClip in Frame 16
onClipEvent (load) { if (_root.nOppos == 2) { gotoAndStop (2); } else if (_root.nOppos == 3) { gotoAndStop (3); } else { gotoAndStop (1); } }
Frame 17
levelbg.gotoAndStop(_root.nLeveL); trace("goto level " + _root.nLeveL); _quality = "high"; movFaces.movP2Dead.gotoAndStop(_root.nLevel); movFaces.movP3Dead.gotoAndStop(_root.nLevel); movFaces.movP4Dead.gotoAndStop(_root.nLevel); stop();
Instance of Symbol 505 MovieClip "movGame" in Frame 17
onClipEvent (load) { function fPowerUp(x, y) { var puType = random(5); if ((puType == 4) && (random(5) == 2)) { puType = random(4); } nPUCount++; if ((random(2) == 1) && (arrPowerUps[puType] > 0)) { duplicateMovieClip ("movPUPS", "movPU" + nPUCount, 16384 + (nPUCount + 400)); eval ("movPU" + nPUCount)._x = ((x * 30) - (nWidth / 2)) + 15; eval ("movPU" + nPUCount)._y = ((y * 30) - (nHeight / 2)) + 15; eval ("movPU" + nPUCount).gotoAndStop(puType + 1); eval ("movPU" + nPUCount).puType = puType; eval ("movPU" + nPUCount).x = x; eval ("movPU" + nPUCount).y = y; _root.arrGrid[x][y] = -1; _root.arrGridNum[x][y] = nPUCount; arrPowerUps[puType]--; } } var nBlockCount = 0; var nBlastCount = 0; var nBrickCount = 0; var nBombCount = 0; var nWidth = 450; var nHeight = 390; var nFadeTime = 25; var nBlowTime = 60; var arrBombLength = new Array(); var arrBombX = new Array(); var arrBombY = new Array(); var nPUCount = 0; var arrBombLastLaid = new Array(0, 0, 0, 0); var arrDead = new Array(0, 0, 0, 0); var arrLives = new Array(3, _root.enemylifes, _root.enemylifes, _root.enemylifes); var arrInvincible = new Array(0, 0, 0, 0); var arrPowerUps = new Array(8, 8, 8, 4, 4); var arrPUTypes = new Array("F", "S", "B", "K", "T"); var arrSpeeds = new Array(2, 3, 5, 6, 10); var nFillCount = 0; var nFillDir = 1; var nWallCount = 1; var nFillRow = 0; var nFillCol = 1; var nFillSlow = 0; var nFLCountStart = -1; var nTotalFL = 0; var doFireLine = 0; var nFLTimeCount = 0; var blnRoundOver = 0; var nDelay = 0; bms = 1; while (bms < 5) { bl = 1; while (bl < 6) { if ((bl <= arrLives[bms - 1]) && (bms <= (_root.nOppos + 1))) { _root.movTime[(("pl" + bms) + "_") + bl]._visible = true; } else { _root.movTime[(("pl" + bms) + "_") + bl]._visible = false; } bl++; } bms++; } i = 0; while (i < _root.nGridWidth) { j = 0; while (j < _root.nGridHeight) { if (!(((__reg0 = _root.arrGrid[i][j])) === 0)) { if (__reg0 === 1) { duplicateMovieClip ("movBlock1_" + _root.nLevel, "movB" + nBlockCount, 16384 + (nBlockCount + 50)); eval ("movB" + nBlockCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movB" + nBlockCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBlockCount; nBlockCount++; } else if (__reg0 === 2) { duplicateMovieClip ("movBlock2_" + _root.nLevel, "movBR" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movBR" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movBR" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movBR" + nBrickCount).x = i; eval ("movBR" + nBrickCount).y = j; eval ("movBR" + nBrickCount).txtBrick = (i + "-") + j; nBrickCount++; } else if (__reg0 === -4) { duplicateMovieClip ("movTransporter", "movTRAN" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movTRAN" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movTRAN" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movTRAN" + nBrickCount).x = i; eval ("movTRAN" + nBrickCount).y = j; eval ("movTRAN" + nBrickCount).txtBrick = (i + "-") + j; eval ("movTRAN" + nBrickCount).nTranID = nBrickCount; if ((nBrickCount == 11) || (nBrickCount == 60)) { eval ("movTRAN" + nBrickCount).gotoAndStop(2); } nBrickCount++; } else if (__reg0 === -5) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } else if (__reg0 === -6) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } else if (__reg0 === -7) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } else if (__reg0 === -8) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } else if (__reg0 === -9) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } else if (__reg0 === -10) { if (nFLCountStart == -1) { nFLCountStart = nBrickCount; } nTotalFL++; duplicateMovieClip ("movFireLine", "movFL" + nBrickCount, 16384 + (nBrickCount + 200)); eval ("movFL" + nBrickCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movFL" + nBrickCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridNum[i][j] = nBrickCount; eval ("movFL" + nBrickCount).x = i; eval ("movFL" + nBrickCount).y = j; eval ("movFL" + nBrickCount).txtBrick = (i + "-") + j; var ngoto = ((-_root.arrGrid[i][j]) - 4); eval ("movFL" + nBrickCount).gotoAndStop(ngoto); eval ("movFL" + nBrickCount).nFLType = _root.arrGrid[i][j]; eval ("movFL" + nBrickCount).nGoto = ngoto; nBrickCount++; } } j++; } i++; } duplicateMovieClip ("player1", "movP1", 21384); if (_root.nPlayers == 2) { duplicateMovieClip ("player2", "movP2", 21385); } else { duplicateMovieClip ("computer2_" + _root.nLevel, "movP2", 21385); } if (_root.nOppos >= 2) { duplicateMovieClip ("computer3_" + _root.nLevel, "movP3", 21386); } if (_root.nOppos >= 3) { duplicateMovieClip ("computer4_" + _root.nLevel, "movP4", 21387); } } onClipEvent (enterFrame) { if (arrDead[0]) { setTimeout(_root, "gotoAndStop", 4000, "GAMEOVER2"); arrDead[0] = 0; } if (doFireLine == 1) { nFLTimeCount++; if (nFLTimeCount >= 25) { doFireLine = 0; nFLTimeCount = 0; } } if ((((_parent.movTime.strMins == 0) && (_parent.movTime.strSecs < 40)) && (_parent.movTime.strSecs != 0)) && (nFillCount < 80)) { nFillSlow++; if ((nFillSlow / 8) == Math.round(nFillSlow / 8)) { if (((__reg0 = nFillDir)) === 1) { nFillRow++; if (nFillRow > (15 - nWallCount)) { nFillDir++; } } else if (__reg0 === 2) { nFillCol++; if (nFillCol > (13 - nWallCount)) { nFillDir++; } } else if (__reg0 === 3) { nFillRow--; if (nFillRow <= (0 + nWallCount)) { nFillDir++; } } else if (__reg0 === 4) { nFillCol--; if (nFillCol <= (1 + nWallCount)) { nFillDir = 1; nWallCount++; } } duplicateMovieClip ("movBlock1_" + _root.nLevel, "movF" + nFillCount, 16384 + (nFillCount + 4000)); eval ("movF" + nFillCount)._x = ((nFillRow * 30) - (nWidth / 2)) + 15; eval ("movF" + nFillCount)._y = ((nFillCol * 30) - (nHeight / 2)) + 15; _root.arrGrid[nFillRow][nFillCol] = 1; j = 1; while (j < 5) { if ((eval ("movP" + j).nGX == nFillRow) && (eval ("movP" + j).nGY == nFillCol)) { fKillPlayer(j); } j++; } nFillCount++; i++; } } if (((!blnRoundOver) && (((((arrDead[0] + arrDead[1]) + arrDead[2]) + arrDead[3]) >= _root.nOppos) || (((arrDead[0] + arrDead[1]) == _root.nPlayers) && (_root.nPlayers == 2)))) && (nFillCount < 149)) { if (arrDead[0] == 0) { _root.nWinner = 1; _root.nS1++; } else if (arrDead[1] == 0) { _root.nWinner = 2; _root.nS2++; } else { if (random(2) == 1) { _root.nS3++; } else { _root.nS4++; } _root.nWinner = 0; } blnRoundOver = 1; nDelay = 0; } if (blnRoundOver == 1) { nDelay++; } if ((blnRoundOver == 1) && (nDelay == 98)) { _root.fGridFill(_root.nHeat); } if ((blnRoundOver == 1) && (nDelay > 100)) { var i = 0; while (i < 4) { if (((__reg0 = nFillDir)) === 1) { nFillRow++; if (nFillRow > (15 - nWallCount)) { nFillDir++; } } else if (__reg0 === 2) { nFillCol++; if (nFillCol > (13 - nWallCount)) { nFillDir++; } } else if (__reg0 === 3) { nFillRow--; if (nFillRow <= (0 + nWallCount)) { nFillDir++; } } else if (__reg0 === 4) { nFillCol--; if (nFillCol <= (1 + nWallCount)) { nFillDir = 1; nWallCount++; } } if (_root.arrGridFill[nFillRow][nFillCol] == 1) { duplicateMovieClip ("movBlock1_" + _root.nLevel, "movF" + nFillCount, 16384 + (nFillCount + 5050)); } else { duplicateMovieClip ("movBlock4", "movF" + nFillCount, 16384 + (nFillCount + 5050)); } eval ("movF" + nFillCount)._x = ((nFillRow * 30) - (nWidth / 2)) + 15; eval ("movF" + nFillCount)._y = ((nFillCol * 30) - (nHeight / 2)) + 15; nFillCount++; i++; } } if (nFillCount >= 149) { _root.blnGameOver = 1; _root.gotoAndStop("DONE"); } }
Instance of Symbol 516 MovieClip "movTime" in Frame 17
onClipEvent (load) { txtS1 = _root.nS1; txtS2 = _root.nS2; txtS3 = _root.nS3; txtS4 = _root.nS4; txtTime = _root.nTotalMins + ":00"; var nTime = 0; var nC = 0; strMins = _root.nTotalMins - 1; strSecs = 0; strSecSubtract = 60; if (_root.nOppos == 1) { txtS3 = ""; txtS4 = ""; } else if (_root.nOppos == 2) { txtS4 = ""; } } onClipEvent (enterFrame) { if (!_root.movGame.blnRoundOver) { nC++; if ((nC % 24) == 0) { nTime++; } strSecs = strSecSubtract - nTime; if (strSecs < 0) { strSecSubtract = strSecSubtract + 60; strMins--; } if (strSecs >= 60) { strAdd = 1; } else { strAdd = 0; } if ((strSecs <= 0) || (strSecs >= 60)) { strSecs = "00"; } if ((strSecs > 0) && (strSecs < 10)) { strSecs = "0" + String(strSecs); } if (strMins == -1) { txtTime = (Number("0" + strAdd) + ":") + strSecs; } else { txtTime = (Number(strMins + strAdd) + ":") + strSecs; } if (((strMins + strAdd) < 0) && (strSecs == 0)) { _root.movGame.blnRoundOver = 1; } nFrame = (Number(_root.movTime.strMins) * 60) + Number(_root.movTime.strSecs); movBar.gotoAndStop(120 - nFrame); } }
Instance of Symbol 537 MovieClip "movFaces" in Frame 17
onClipEvent (load) { movP1Dead._alpha = 0; movP2Dead._alpha = 0; movP3Dead._alpha = 0; movP4Dead._alpha = 0; }
Instance of Symbol 544 MovieClip "movWhatGame" in Frame 17
onClipEvent (load) { gotoAndStop(_root.nHeat); }
Frame 18
stop();
Instance of Symbol 546 MovieClip "movGame" in Frame 18
onClipEvent (load) { var nBlockCount = 0; var nBlastCount = 0; var nBrickCount = 0; var nBombCount = 0; var nWidth = 450; var nHeight = 390; var nCount = 0; var nDelCount = 0; var blnRoundOver = 1; var nBonus = 0; var nBonus2 = 0; var nTick = 0; i = 0; while (i < _root.nGridWidth) { j = 0; while (j < _root.nGridHeight) { if (((__reg0 = _root.arrGridFill[i][j])) === 1) { duplicateMovieClip ("movBlock1", "movB" + nBlockCount, 16384 + (nBlockCount + 50)); eval ("movB" + nBlockCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movB" + nBlockCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridFillNum[i][j] = nBlockCount; nBlockCount++; } else if (__reg0 === 4) { duplicateMovieClip ("movBlock4", "movB" + nBlockCount, 16384 + (nBlockCount + 50)); eval ("movB" + nBlockCount)._x = ((i * 30) - (nWidth / 2)) + 15; eval ("movB" + nBlockCount)._y = ((j * 30) - (nHeight / 2)) + 15; _root.arrGridFillNum[i][j] = nBlockCount; nBlockCount++; } j++; } i++; } var nSecsLeft = ((Number(_root.movTime.strMins) * 60) + Number(_root.movTime.strSecs)); if (_root.nWinner == 1) { movScoreMe.txtLevTime = (nSecsLeft + " secs * ") + (_root.nOppos * 250); } else { movScoreMe.txtLevTime = (nSecsLeft + " secs * ") + (_root.nOppos * 250); } movScoreMe.txtBonus = "0"; movScoreMe.txtScore = _root.nScore; if (_root.nWinner == 3) { movScoreMe.txtLevTime2 = (nSecsLeft + " secs * ") + (_root.nOppos * 250); } else { movScoreMe.txtLevTime2 = (nSecsLeft + " secs * ") + (_root.nOppos * 250); } movScoreMe.txtBonus2 = "0"; movScoreMe.txtScore2 = _root.nScore2; } onClipEvent (enterFrame) { nCount++; if ((nCount > 60) && (nCount < 81)) { i = 1; while (i < 14) { j = 1; while (j < 12) { eval ("movB" + _root.arrGridFillNum[i][j])._alpha = eval ("movB" + _root.arrGridFillNum[i][j])._alpha - 5; j++; } i++; } } if (nCount == 21) { if (_root.nWinner == 1) { if (_root.roundnr == 1) { _root.roundnr++; _root.gotoAndPlay(16); } else if (_root.nLevel > 7) { _root.gotoAndStop("gameout"); } else { _root.nLevel++; _root.gotoAndStop(15); } } else { _root.gotoAndStop(21); } } if ((nCount > 95) && (nTick < nSecsLeft)) { nTick++; if (_root.nWinner == 1) { nBonus = nTick * (_root.nOppos * 250); } else { nBonus = (-nTick) * (_root.nOppos * 250); } if (_root.nWinner == 2) { nBonus2 = nTick * (_root.nOppos * 250); } else { nBonus2 = (-nTick) * (_root.nOppos * 250); } movScoreMe.txtBonus = nBonus; movScoreMe.txtScore = Number(_root.nScore + nBonus); movScoreMe.txtBonus2 = nBonus2; movScoreMe.txtScore2 = Number(_root.nScore2 + nBonus2); if (_root.blnSFX) { _root.sndPing.play(); } } }
Frame 19
_root.nLeveL = 1; stop();
Frame 20
txtFScore = _root.nScore; if (nScore > 0) { movLose._alpha = 0; movWin.gotoAndPlay(2); movLose.stop(); } else { movWin._alpha = 0; movWin.stop(); movLose.gotoAndPlay(2); } stop();
Frame 21
txtFScore1 = _root.nScore; txtFScore2 = _root.nScore2; if ((_root.nScore <= 0) && (_root.nScore2 <= 0)) { movEndo.gotoAndStop(1); } else if ((_root.nScore > 0) && (_root.nScore2 <= 0)) { movEndo.gotoAndStop(2); } else if ((_root.nScore <= 0) && (_root.nScore2 > 0)) { movEndo.gotoAndStop(3); } else if ((_root.nScore > 0) && (_root.nScore2 > 0)) { movEndo.gotoAndStop(4); } stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 3
stop();
Symbol 17 MovieClip Frame 4
stop();
Symbol 26 Button
on (release) { getURL ("http://www.gamesmate.com/register.asp", "_blank"); }
Symbol 67 MovieClip Frame 80
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 235
_root.gotoAndStop("LOADED");
Symbol 72 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } _root.nLevel = 1; var nPlayers = 1; var tid = 1; var gid = 11; play(); }
Symbol 73 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } _root.blnMusic = 0; _root.sndMusic0.gotoAndStop(4); getURL (("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=ingame", "_blank"); }
Symbol 74 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } var nPlayers = 1; var tid = 1; var gid = 11; play(); }
Symbol 75 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } var nPlayers = 1; var tid = 1; var gid = 11; _root.gotoAndStop(15); }
Symbol 82 Button
on (press) { getURL (("http://www.4v4.com/games-for-your-website.html?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=addforyourwebsite", "_blank"); _root.blnMusic = 0; _root.sndMusic0.gotoAndStop(4); }
Symbol 86 Button
on (release, keyPress "2") { if (_root.blnSFX) { _root.sndPing.play(); } var nPlayers = 2; var tid = 2; var gid = 11; loadVariablesNum ("timesplayed.asp", 0, "POST"); play(); }
Symbol 89 Button
on (release) { if (_root.blnSFX) { _root.sndPing.play(); } gotoAndStop ("INSTRUCTIONS"); }
Symbol 93 Button
on (release) { if (_root.blnFX == 1) { _root.sndClick2.play(); } getURL ("http://www.gamesmate.com"); }
Symbol 95 Button
on (release) { getURL (("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=ingame", "_blank"); }
Symbol 99 Button
on (release) { if (_root.blnFX == 1) { _root.sndClick2.play(); } getURL ("http://www.gamesmate.com/highscores.asp?id=2&start=1"); }
Symbol 103 Button
on (release, keyPress "m") { if (_root.blnMusic == 1) { _root.blnMusic = 0; _root.sndMusic0.gotoAndStop(4); } else { _root.blnMusic = 1; _root.sndMusic0.gotoAndStop(2); } }
Symbol 105 Button
on (release, keyPress "s") { if (_root.blnSFX == 1) { _root.blnSFX = 0; } else { _root.blnSFX = 1; } }
Symbol 108 Button
on (release, keyPress "3") { if (_root.blnSFX) { _root.sndPing.play(); } var nOppos = 3; play(); }
Symbol 111 Button
on (release, keyPress "2") { if (_root.blnSFX) { _root.sndPing.play(); } var nOppos = 2; play(); }
Symbol 114 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } var nOppos = 1; play(); }
Symbol 117 Button
on (release) { prevFrame(); }
Symbol 133 Button
on (press) { play(); }
Symbol 136 MovieClip Frame 200
stop();
Symbol 136 MovieClip Frame 250
_root.play();
Symbol 139 Button
on (release, keyPress "3") { if (_root.blnSFX) { _root.sndPing.play(); } var nLevel = 3; play(); }
Symbol 142 Button
on (release, keyPress "2") { if (_root.blnSFX) { _root.sndPing.play(); } var nLevel = 2; play(); }
Symbol 145 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } var nLevel = 1; play(); }
Symbol 148 Button
on (release, keyPress "4") { if (_root.blnSFX) { _root.sndPing.play(); } var nLevel = 4; play(); }
Symbol 189 Button
on (press) { _root.nOppos = 1; _root.sObject.data.nLevel = _root.nLevel; _root.sObject.flush(); _root.play(); }
Symbol 190 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } _root.blnMusic = 0; _root.sndMusic0.gotoAndStop(4); getURL (("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=ingame", "_blank"); }
Symbol 199 MovieClip Frame 25
stop();
Symbol 199 MovieClip Frame 50
stop();
Symbol 199 MovieClip Frame 75
stop();
Symbol 199 MovieClip Frame 100
stop();
Symbol 199 MovieClip Frame 125
stop();
Symbol 199 MovieClip Frame 150
stop();
Symbol 199 MovieClip Frame 175
stop();
Symbol 199 MovieClip Frame 200
stop();
Symbol 200 MovieClip Frame 1
tlist.gotoAndPlay((_root.nLevel * 25) - 24);
Symbol 210 Button
on (release, keyPress "q") { gotoAndPlay ("GAP"); }
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 3
stop();
Symbol 219 MovieClip Frame 24
stop();
Symbol 219 MovieClip Frame 47
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 10
if (_parent.blnRoundOver) { stop(); }
Symbol 243 MovieClip Frame 11
if (_root.blnSFX) { _root.sndBomb.play(); }
Symbol 243 MovieClip Frame 46
gotoAndStop (1);
Symbol 243 MovieClip Frame 47
stop();
Symbol 246 MovieClip Frame 25
this.removeMovieClip(); stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 3
stop();
Symbol 254 MovieClip Frame 4
stop();
Symbol 254 MovieClip Frame 5
stop();
Symbol 257 MovieClip Frame 25
this.removeMovieClip(); stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 10
if (_parent.blnRoundOver) { stop(); }
Symbol 263 MovieClip Frame 11
if (_root.blnSFX) { _root.sndBomb.play(); }
Symbol 263 MovieClip Frame 46
gotoAndStop (1);
Symbol 263 MovieClip Frame 47
stop();
Symbol 279 MovieClip Frame 1
n = Math.round(Math.random() * 3); gotoAndStop(n);
Symbol 302 MovieClip Frame 1
stop();
Instance of Symbol 291 MovieClip in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 302 MovieClip Frame 2
stop();
Instance of Symbol 296 MovieClip in Symbol 302 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 302 MovieClip Frame 3
stop();
Instance of Symbol 291 MovieClip in Symbol 302 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 302 MovieClip Frame 4
stop();
Instance of Symbol 301 MovieClip in Symbol 302 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 309 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 320 MovieClip Frame 2
stop();
Instance of Symbol 314 MovieClip in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 320 MovieClip Frame 3
stop();
Instance of Symbol 309 MovieClip in Symbol 320 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 320 MovieClip Frame 4
stop();
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 327 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 338 MovieClip Frame 2
stop();
Instance of Symbol 332 MovieClip in Symbol 338 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 338 MovieClip Frame 3
stop();
Instance of Symbol 327 MovieClip in Symbol 338 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 338 MovieClip Frame 4
stop();
Instance of Symbol 337 MovieClip in Symbol 338 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 356 MovieClip Frame 1
stop();
Instance of Symbol 345 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 356 MovieClip Frame 2
stop();
Instance of Symbol 350 MovieClip in Symbol 356 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 356 MovieClip Frame 3
stop();
Instance of Symbol 345 MovieClip in Symbol 356 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 356 MovieClip Frame 4
stop();
Instance of Symbol 355 MovieClip in Symbol 356 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 374 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 374 MovieClip Frame 2
stop();
Instance of Symbol 368 MovieClip in Symbol 374 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 374 MovieClip Frame 3
stop();
Instance of Symbol 363 MovieClip in Symbol 374 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 374 MovieClip Frame 4
stop();
Instance of Symbol 373 MovieClip in Symbol 374 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 381 MovieClip Frame 1
stop();
Instance of Symbol 377 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 381 MovieClip Frame 2
stop();
Instance of Symbol 380 MovieClip in Symbol 381 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 381 MovieClip Frame 3
stop();
Instance of Symbol 377 MovieClip in Symbol 381 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 381 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 50
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 2
stop();
Symbol 389 MovieClip Frame 3
stop();
Symbol 389 MovieClip Frame 4
stop();
Symbol 427 MovieClip Frame 1
stop();
Instance of Symbol 416 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 427 MovieClip Frame 2
stop();
Instance of Symbol 421 MovieClip in Symbol 427 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 427 MovieClip Frame 3
stop();
Instance of Symbol 416 MovieClip in Symbol 427 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 427 MovieClip Frame 4
stop();
Instance of Symbol 426 MovieClip in Symbol 427 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 445 MovieClip Frame 1
stop();
Instance of Symbol 434 MovieClip in Symbol 445 MovieClip Frame 1
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 445 MovieClip Frame 2
stop();
Instance of Symbol 439 MovieClip in Symbol 445 MovieClip Frame 2
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 445 MovieClip Frame 3
stop();
Instance of Symbol 434 MovieClip in Symbol 445 MovieClip Frame 3
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (5); } else { play(); } }
Symbol 445 MovieClip Frame 4
stop();
Instance of Symbol 444 MovieClip in Symbol 445 MovieClip Frame 4
onClipEvent (enterFrame) { if ((((_parent.left + _parent.right) + _parent.up) + _parent.down) == 0) { gotoAndStop (4); } else { play(); } }
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 454 MovieClip Frame 3
stop();
Symbol 454 MovieClip Frame 4
stop();
Symbol 454 MovieClip Frame 5
stop();
Symbol 454 MovieClip Frame 6
stop();
Symbol 454 MovieClip Frame 7
stop();
Symbol 455 MovieClip Frame 1
stop(); var blnKilled = 0;
Instance of Symbol 454 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_parent._parent.nGoto + 1); _parent._parent._parent.fBlastImgLoop(); }
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
stop();
Symbol 463 MovieClip Frame 3
stop();
Symbol 463 MovieClip Frame 4
stop();
Symbol 463 MovieClip Frame 5
stop();
Symbol 463 MovieClip Frame 6
stop();
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
stop();
Symbol 505 MovieClip Frame 1
function fLayBomb(pid, x, y, blength) { duplicateMovieClip (eval ("movBomb" + pid), "BOMB" + nBombCount, 16384 + (nBombCount + 500)); eval ("BOMB" + nBombCount)._x = ((x * 30) - (nWidth / 2)) + 15; eval ("BOMB" + nBombCount)._y = ((y * 30) - (nHeight / 2)) + 15; eval ("BOMB" + nBombCount).x = x; eval ("BOMB" + nBombCount).y = y; eval ("BOMB" + nBombCount).nLaidBy = pid; _root.arrGrid[x][y] = 3; _root.arrGridNum[x][y] = nBombCount; arrBombLastLaid[pid - 1] = 0; arrBombLength[nBombCount] = blength; arrBombX[nBombCount] = x; arrBombY[nBombCount] = y; nBombCount++; if (nBombCount >= 25) { nBombCount = 0; } } function fPickUpBomb(pid, x, y) { var nPickUpCount = _root.arrGridNum[x][y]; eval ("BOMB" + nPickUpCount).blnInHand = pid; _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; } function fThrowBomb(pid, x, y, dir, bid) { trace(pid); eval ("BOMB" + bid).blnInHand = 0; eval ("BOMB" + bid).blnThrown = dir; eval ("BOMB" + bid).nLaidBy = pid; } function fComputerThrowBomb(pid, x, y, dir, bid) { var nPickUpCount = _root.arrGridNum[x][y]; eval ("BOMB" + nPickUpCount).blnInHand = pid; _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; eval ("BOMB" + nPickUpCount)._x = eval ("movP" + pid)._x; eval ("BOMB" + nPickUpCount)._y = eval ("movP" + pid)._y; eval ("BOMB" + nPickUpCount).gotoAndStop(47); eval ("BOMB" + nPickUpCount).blnThrown = dir; eval ("BOMB" + nPickUpCount).nLaidBy = pid; trace((eval ("BOMB" + nPickUpCount) + "--") + eval ("BOMB" + nPickUpCount).blnThrown); } function fKillPlayer(pid) { if ((arrDead[pid - 1] == 0) && (arrInvincible[pid - 1] == 0)) { duplicateMovieClip ("player1D", ("P" + pid) + "D", 16384 + (5010 + pid)); eval (("P" + pid) + "D")._x = eval ("movP" + pid)._x; eval (("P" + pid) + "D")._y = eval ("movP" + pid)._y; eval (("P" + pid) + "D").gotoAndStop(pid); arrLives[pid - 1]--; bl = 1; while (bl < 6) { if (bl <= arrLives[pid - 1]) { _root.movTime[(("pl" + pid) + "_") + bl]._visible = true; } else { _root.movTime[(("pl" + pid) + "_") + bl]._visible = false; } bl++; } arrInvincible[pid - 1] = 75; if (arrLives[pid - 1] == 0) { arrDead[pid - 1] = 1; eval (("_root.movFaces.movP" + pid) + "Dead")._alpha = 100; removeMovieClip(eval ("movP" + pid)); } } } function fBlastImgLoop(nX, nY, objThis) { if (_root.nLevel == 2) { var _local3 = Math.round((nX - player1.nStartX) / 30) + 1; var _local4 = Math.round((nY - player1.nStartY) / 30) + 1; if ((_root.arrGrid[_local3][_local4] <= -5) && (_root.arrGrid[_local3][_local4] > -11)) { doFireLine = 1; } } i = 1; for(;;){ if (i >= 5) { return(undefined); } if (arrDead[i - 1] == 0) { if (objThis.hitTest("_parent.dot" + i) && (objThis.blnKilled != 1)) { objThis.blnKilled = 1; trace("bomb KILL player:" + i); fKillPlayer(i); } } i++; }; } function fTransportPlayer(pid, nid) { if (eval ("movP" + pid).blnJustTransported == 0) { eval ("movP" + pid).blnJustTransported = 1; if (nid == 5) { eval ("movP" + pid)._x = movTRAN66._x; eval ("movP" + pid)._y = movTRAN66._y; } if (nid == 11) { eval ("movP" + pid)._x = movTRAN60._x; eval ("movP" + pid)._y = movTRAN60._y; } if (nid == 60) { eval ("movP" + pid)._x = movTRAN11._x; eval ("movP" + pid)._y = movTRAN11._y; } if (nid == 66) { eval ("movP" + pid)._x = movTRAN5._x; eval ("movP" + pid)._y = movTRAN5._y; } } } function fCheckInvincibility(pid, objThis) { if (arrInvincible[pid - 1] > 0) { arrInvincible[pid - 1]--; if ((arrInvincible[pid - 1] / 3) == Math.round(arrInvincible[pid - 1] / 3)) { objThis._alpha = 100; } else { objThis._alpha = 50; } return(undefined); } objThis._alpha = 100; }
Instance of Symbol 243 MovieClip "movBomb1" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var nCount = 0; var nLaidBy; var blnInHand = 0; var blnThrown = 0; var thisNum = this._name.substr(4); var isMoving = 0; var nDir = 0; var x; var y; var nGY; var nGX; var nFlightCount = 0; } onClipEvent (enterFrame) { if (_name != "movBomb1") { nCount++; if (nCount <= (_parent.nBlowTime - 1)) { nGX = Math.round((_x - _parent.player1.nStartX) / 30) + 1; nGY = Math.round((_y - _parent.player1.nStartY) / 30) + 1; if (blnInHand == 0) { if (blnThrown == 0) { if (isMoving == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); _root.arrGrid[nGX][nGY] = 3; _root.arrGridNum[nGX][nGY] = thisNum; } } else { nCount--; if (nFlightCount <= 9) { var bleft = -230; var bright = 220; var bbot = 180; var btop = -190; if (blnThrown == 1) { _y = (_y - 10); if (_y < btop) { _y = bbot; } } else if (blnThrown == 2) { _y = (_y + 10); if (_y > bbot) { _y = btop; } } else if (blnThrown == 3) { _x = (_x - 10); if (_x < bleft) { _x = bright; } } else if (blnThrown == 4) { _x = (_x + 10); if (_x > bright) { _x = bleft; } } nFlightCount++; if (nFlightCount == 9) { if (_root.arrGrid[nGX][nGY] == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); nFlightCount = 10; } else { nFlightCount = 7; } } } else if (nFlightCount > 9) { gotoAndStop (1); blnThrown = 0; nFlightCount == -1; } else { blnThrown = 0; } isMoving = 0; } } else { nCount--; _x = _parent.movP1._x; _y = _parent.movP1._y; gotoAndStop (47); isMoving = 0; } _parent.arrBombX[thisNum] = nGX; _parent.arrBombY[thisNum] = nGY; if (isMoving == 1) { i = 0; while (i < (_parent.nPUCount + 1)) { if (this.hitTest("_parent.movPU" + i)) { eval ("_parent.movPU" + i).blnStatus = 0; } i++; } if (((__reg0 = nDir)) === 1) { if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY + 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 2) { if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _root.gKickSpeed); if (_root.arrGridNum[nGX - 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } } else { isMoving = 0; } } else if (__reg0 === 3) { if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY - 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 4) { if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _root.gKickSpeed); if (_root.arrGridNum[nGX + 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } } else { isMoving = 0; } } } } if ((nCount == (_parent.nBlowTime - 10)) && (!_parent.blnRoundOver)) { play(); } if ((nCount >= _parent.nBlowTime) && (!_parent.blnRoundOver)) { i = 1; while (i < 5) { if (_parent.arrDead[i - 1] == 0) { if (this.hitTest("_parent.dot" + i)) { _parent.fKillPlayer(i); } } i++; } } if ((nCount == _parent.nBlowTime) && (!_parent.blnRoundOver)) { gotoAndPlay (11); i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov1Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov1BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == -1)) { duplicateMovieClip ("_parent.mov1BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov1Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov1BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == -1)) { duplicateMovieClip ("_parent.mov1BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov1Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov1BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov1BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov1Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov1BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov1BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } } if (_parent.nBlastCount > 100) { _parent.nBlastCount = 0; } if (nCount == (_parent.nBlowTime + _parent.nFadeTime)) { eval ("_parent.movP" + nLaidBy).nBombsLaid--; _root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; this.removeMovieClip(); } } }
Instance of Symbol 246 MovieClip "mov2Blast1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 246 MovieClip "mov2Blast2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 254 MovieClip "movPUPS" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var puType; var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (_name != "movPUPS") { i = 1; while (i <= 4) { if ((eval ("_parent.movP" + i).nGX == x) && (eval ("_parent.movP" + i).nGY == y)) { thisX = eval ("_parent.movP" + i)._x; thisY = eval ("_parent.movP" + i)._y; if (((thisX / 30) == Math.round(thisX / 30)) && ((thisY / 30) == Math.round(thisY / 30))) { if (((__reg0 = puType)) === 0) { eval ("_parent.movP" + i).nLength++; } else if (__reg0 === 1) { if (eval ("_parent.movP" + i).nSpd < 4) { eval ("_parent.movP" + i).nSpd++; } } else if (__reg0 === 2) { eval ("_parent.movP" + i).nBombs++; } else if (__reg0 === 3) { eval ("_parent.movP" + i).canKick = 1; } else if (__reg0 === 4) { eval ("_parent.movP" + i).canThrow = 1; } _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; if (_root.blnSFX) { _root.sndPing.play(); } this.removeMovieClip(); } } i++; } if (blnStatus == 0) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; this.removeMovieClip(); } } }
Instance of Symbol 257 MovieClip "mov2BlastEnd1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov2BlastEnd2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov2BlastEnd3" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov2BlastEnd4" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 263 MovieClip "movBomb2" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var nCount = 0; var nLaidBy; var blnInHand = 0; var blnThrown = 0; var thisNum = this._name.substr(4); var isMoving = 0; var nDir = 0; var x; var y; var nGY; var nGX; var nFlightCount = 0; } onClipEvent (enterFrame) { if (_name != "movBomb2") { nCount++; if (nCount <= (_parent.nBlowTime - 1)) { nGX = Math.round((_x - _parent.player1.nStartX) / 30) + 1; nGY = Math.round((_y - _parent.player1.nStartY) / 30) + 1; if (blnInHand == 0) { if (blnThrown == 0) { if (isMoving == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); _root.arrGrid[nGX][nGY] = 3; _root.arrGridNum[nGX][nGY] = thisNum; } } else { trace(blnThrown); nCount--; if (nFlightCount <= 9) { var bleft = -230; var bright = 220; var bbot = 180; var btop = -190; if (blnThrown == 1) { _y = (_y - 10); if (_y < btop) { _y = bbot; } } else if (blnThrown == 2) { _y = (_y + 10); if (_y > bbot) { _y = btop; } } else if (blnThrown == 3) { _x = (_x - 10); if (_x < bleft) { _x = bright; } } else if (blnThrown == 4) { _x = (_x + 10); if (_x > bright) { _x = bleft; } } nFlightCount++; if (nFlightCount == 9) { if (_root.arrGrid[nGX][nGY] == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); nFlightCount = 10; } else { nFlightCount = 7; } } } else if (nFlightCount > 9) { gotoAndStop (1); blnThrown = 0; nFlightCount == -1; } else { blnThrown = 0; } isMoving = 0; } } else { nCount--; _x = _parent.movP2._x; _y = _parent.movP2._y; gotoAndStop (47); isMoving = 0; } _parent.arrBombX[thisNum] = nGX; _parent.arrBombY[thisNum] = nGY; if (isMoving == 1) { i = 0; while (i < (_parent.nPUCount + 1)) { if (this.hitTest("_parent.movPU" + i)) { eval ("_parent.movPU" + i).blnStatus = 0; } i++; } if (((__reg0 = nDir)) === 1) { if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY + 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 2) { if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _root.gKickSpeed); if (_root.arrGridNum[nGX - 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } } else { isMoving = 0; } } else if (__reg0 === 3) { if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY - 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 4) { if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _root.gKickSpeed); if (_root.arrGridNum[nGX + 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } } else { isMoving = 0; } } } } if ((nCount == (_parent.nBlowTime - 10)) && (!_parent.blnRoundOver)) { play(); } if ((nCount >= _parent.nBlowTime) && (!_parent.blnRoundOver)) { i = 1; while (i < 5) { if (_parent.arrDead[i - 1] == 0) { if (this.hitTest("_parent.dot" + i)) { _parent.fKillPlayer(i); } } i++; } } if ((nCount == _parent.nBlowTime) && (!_parent.blnRoundOver)) { gotoAndPlay (11); i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov2Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov2BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == -1)) { duplicateMovieClip ("_parent.mov2BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov2Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov2BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == -1)) { duplicateMovieClip ("_parent.mov2BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov2Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov2BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov2BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov2Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov2BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov2BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } } if (_parent.nBlastCount > 100) { _parent.nBlastCount = 0; } if (nCount == (_parent.nBlowTime + _parent.nFadeTime)) { eval ("_parent.movP" + nLaidBy).nBombsLaid--; _root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; this.removeMovieClip(); } } }
Instance of Symbol 263 MovieClip "movBomb4" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var nCount = 0; var nLaidBy; var blnInHand = 0; var thisNum = this._name.substr(4); var isMoving = 0; var nDir = 0; var x; var y; var nGY; var nGX; var nFlightCount = 0; } onClipEvent (enterFrame) { if (_name != "movBomb4") { nCount++; if (nCount <= (_parent.nBlowTime - 1)) { nGX = Math.round((_x - _parent.player1.nStartX) / 30) + 1; nGY = Math.round((_y - _parent.player1.nStartY) / 30) + 1; if (blnThrown > 0) { nCount--; if (nFlightCount <= 9) { var bleft = -230; var bright = 220; var bbot = 180; var btop = -190; if (blnThrown == 1) { _y = (_y - 10); if (_y < btop) { _y = bbot; } } else if (blnThrown == 2) { _y = (_y + 10); if (_y > bbot) { _y = btop; } } else if (blnThrown == 3) { _x = (_x - 10); if (_x < bleft) { _x = bright; } } else if (blnThrown == 4) { _x = (_x + 10); if (_x > bright) { _x = bleft; } } nFlightCount++; if (nFlightCount == 9) { if (_root.arrGrid[nGX][nGY] == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); nFlightCount = 10; } else { nFlightCount = 7; } } } else if (nFlightCount > 9) { gotoAndStop (1); blnThrown = 0; nFlightCount == -1; } else { blnThrown = 0; } isMoving = 0; } else if (isMoving == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); _root.arrGrid[nGX][nGY] = 3; _root.arrGridNum[nGX][nGY] = thisNum; } _parent.arrBombX[thisNum] = nGX; _parent.arrBombY[thisNum] = nGY; if (isMoving == 1) { i = 0; while (i < (_parent.nPUCount + 1)) { if (this.hitTest("_parent.movPU" + i)) { eval ("_parent.movPU" + i).blnStatus = 0; } i++; } if (((__reg0 = nDir)) === 1) { if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY + 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 2) { if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _root.gKickSpeed); if (_root.arrGridNum[nGX - 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } } else { isMoving = 0; } } else if (__reg0 === 3) { if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY - 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 4) { if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _root.gKickSpeed); if (_root.arrGridNum[nGX + 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } } else { isMoving = 0; } } } } if ((nCount == (_parent.nBlowTime - 10)) && (!_parent.blnRoundOver)) { play(); } if ((nCount >= _parent.nBlowTime) && (!_parent.blnRoundOver)) { i = 1; while (i < 5) { if (_parent.arrDead[i - 1] == 0) { if (this.hitTest("_parent.dot" + i)) { _parent.fKillPlayer(i); } } i++; } } if ((nCount == _parent.nBlowTime) && (!_parent.blnRoundOver)) { gotoAndPlay (11); i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov3Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov3BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == -1)) { duplicateMovieClip ("_parent.mov3BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov3Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov3BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == -1)) { duplicateMovieClip ("_parent.mov3BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov3Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov3BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov3BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov3Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov3BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov3BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } } if (_parent.nBlastCount > 100) { _parent.nBlastCount = 0; } if (nCount == (_parent.nBlowTime + _parent.nFadeTime)) { eval ("_parent.movP" + nLaidBy).nBombsLaid--; _root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; this.removeMovieClip(); } } }
Instance of Symbol 263 MovieClip "movBomb3" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var nCount = 0; var nLaidBy; var thisNum = this._name.substr(4); var isMoving = 0; var nDir = 0; var x; var y; var nGY; var nGX; var nFlightCount = 0; } onClipEvent (enterFrame) { if (_name != "movBomb3") { nCount++; if (nCount <= (_parent.nBlowTime - 1)) { nGX = Math.round((_x - _parent.player1.nStartX) / 30) + 1; nGY = Math.round((_y - _parent.player1.nStartY) / 30) + 1; if (blnThrown > 0) { nCount--; if (nFlightCount <= 9) { var bleft = -230; var bright = 220; var bbot = 180; var btop = -190; if (blnThrown == 1) { _y = (_y - 10); if (_y < btop) { _y = bbot; } } else if (blnThrown == 2) { _y = (_y + 10); if (_y > bbot) { _y = btop; } } else if (blnThrown == 3) { _x = (_x - 10); if (_x < bleft) { _x = bright; } } else if (blnThrown == 4) { _x = (_x + 10); if (_x > bright) { _x = bleft; } } nFlightCount++; if (nFlightCount == 9) { if (_root.arrGrid[nGX][nGY] == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); nFlightCount = 10; } else { nFlightCount = 7; } } } else if (nFlightCount > 9) { gotoAndStop (1); blnThrown = 0; nFlightCount == -1; } else { blnThrown = 0; } isMoving = 0; } else if (isMoving == 0) { _x = (((nGX - 1) * 30) + _parent.player1.nStartX); _y = (((nGY - 1) * 30) + _parent.player1.nStartY); _root.arrGrid[nGX][nGY] = 3; _root.arrGridNum[nGX][nGY] = thisNum; } _parent.arrBombX[thisNum] = nGX; _parent.arrBombY[thisNum] = nGY; if (isMoving == 1) { i = 0; while (i < (_parent.nPUCount + 1)) { if (this.hitTest("_parent.movPU" + i)) { eval ("_parent.movPU" + i).blnStatus = 0; } i++; } if (((__reg0 = nDir)) === 1) { if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY + 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 2) { if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _root.gKickSpeed); if (_root.arrGridNum[nGX - 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } } else { isMoving = 0; } } else if (__reg0 === 3) { if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _root.gKickSpeed); if (_root.arrGridNum[nGX][nGY - 1] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } } else { isMoving = 0; } } else if (__reg0 === 4) { if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _root.gKickSpeed); if (_root.arrGridNum[nGX + 1][nGY] == _root.arrGridNum[nGX][nGY]) { _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } } else { isMoving = 0; } } } } if ((nCount == (_parent.nBlowTime - 10)) && (!_parent.blnRoundOver)) { play(); } if ((nCount >= _parent.nBlowTime) && (!_parent.blnRoundOver)) { i = 1; while (i < 5) { if (_parent.arrDead[i - 1] == 0) { if (this.hitTest("_parent.dot" + i)) { _parent.fKillPlayer(i); } } i++; } } if ((nCount == _parent.nBlowTime) && (!_parent.blnRoundOver)) { gotoAndPlay (11); i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov4Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov4BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == -1)) { duplicateMovieClip ("_parent.mov4BlastEnd1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y - (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] - i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov4Blast1", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov4BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == -1)) { duplicateMovieClip ("_parent.mov4BlastEnd2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x; eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y + (30 * i); _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum] + i]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov4Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov4BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov4BlastEnd3", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x - (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] - i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } i = 1; while (i <= _parent.arrBombLength[thisNum]) { if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] <= 0) { if (i < _parent.arrBombLength[thisNum]) { duplicateMovieClip ("_parent.mov4Blast2", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } else { duplicateMovieClip ("_parent.mov4BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); } eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; } else if ((_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) || (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == -1)) { duplicateMovieClip ("_parent.mov4BlastEnd4", "BLAST" + _parent.nBlastCount, 16384 + (600 + _parent.nBlastCount)); eval ("_parent.BLAST" + _parent.nBlastCount)._x = this._x + (30 * i); eval ("_parent.BLAST" + _parent.nBlastCount)._y = this._y; _parent.nBlastCount++; if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 2) { eval ("_parent.movBR" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } else { eval ("_parent.movPU" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).blnStatus = 0; } i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 1) { i = _parent.arrBombLength[thisNum] + 1; } else if (_root.arrGrid[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]] == 3) { if (eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount < (_parent.nBlowtime - 1)) { eval ("_parent.BOMB" + _root.arrGridNum[_parent.arrBombX[thisNum] + i][_parent.arrBombY[thisNum]]).nCount = _parent.nBlowtime - 1; } i = _parent.arrBombLength[thisNum] + 1; } i++; } } if (_parent.nBlastCount > 100) { _parent.nBlastCount = 0; } if (nCount == (_parent.nBlowTime + _parent.nFadeTime)) { eval ("_parent.movP" + nLaidBy).nBombsLaid--; _root.arrGrid[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; _root.arrGridNum[_parent.arrBombX[thisNum]][_parent.arrBombY[thisNum]] = 0; this.removeMovieClip(); } } }
Instance of Symbol 246 MovieClip "mov3Blast1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 246 MovieClip "mov3Blast2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov3BlastEnd1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov3BlastEnd2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov3BlastEnd3" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov3BlastEnd4" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 246 MovieClip "mov4Blast1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 246 MovieClip "mov4Blast2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov4BlastEnd1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov4BlastEnd2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov4BlastEnd3" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov4BlastEnd4" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 271 MovieClip "movBlock2_2" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 273 MovieClip "movBlock2_1" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 279 MovieClip "movBlock2_3" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 302 MovieClip "player1" in Symbol 505 MovieClip Frame 1
onClipEvent (keyDown) { if (_name != "player1") { K = Key.getCode(); if (K == 38) { up = 1; } if (K == 40) { down = 1; } if (K == 37) { left = 1; } if (K == 39) { right = 1; } if ((_root.nPlayers == 1) && (K == 32)) { K = 186; } if (K == 186) { if (canThrow != 0) { if ((_root.arrGrid[nGX][nGY] <= 0) && (nBombsLaid < nBombs)) { _parent.fLayBomb(1, nGX, nGY, nLength); nBombsLaid++; } else if ((_root.arrGrid[nGX][nGY] == 3) && (canThrow == 1)) { canThrow = 0; nBombInHand = _root.arrGridNum[nGX][nGY]; _parent.fPickUpBomb(1, nGX, nGY); } } } } } onClipEvent (keyUp) { if (_name != "player1") { K = Key.getCode(); if (K == 38) { up = 0; } if (K == 40) { down = 0; } if (K == 37) { left = 0; } if (K == 39) { right = 0; } if ((_root.nPlayers == 1) && (K == 32)) { K = 186; } if ((K == 186) && (canThrow == 0)) { _parent.fThrowBomb(1, nGX, nGY, nDirection, nBombInHand); canThrow = 1; nBombInHand = 0; } } } onClipEvent (load) { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = (((-_parent.nHeight) / 2) + 45); var nGX; var nGY; var nLagX; var nLagY; var blnJustTransported = 0; var nTranCount = 0; if (_name != "player1") { _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 0); _y = (_y + 120); } } } onClipEvent (enterFrame) { if (_name != "player1") { _parent.fCheckInvincibility(1, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 1; nLagX = (nStartX + (30 * (nGX - 1))) - _x; nLagY = (nStartY + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 320 MovieClip "player2" in Symbol 505 MovieClip Frame 1
onClipEvent (keyDown) { if (_name != "player2") { K = Key.getCode(); if (K == 87) { up = 1; } if (K == 83) { down = 1; } if (K == 65) { left = 1; } if (K == 68) { right = 1; } if (K == 220) { if (canThrow != 0) { if ((_root.arrGrid[nGX][nGY] <= 0) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); nBombsLaid++; } else if ((_root.arrGrid[nGX][nGY] == 3) && (canThrow == 1)) { canThrow = 0; nBombInHand = _root.arrGridNum[nGX][nGY]; _parent.fPickUpBomb(2, nGX, nGY); } } } } } onClipEvent (keyUp) { if (_name != "player2") { K = Key.getCode(); if (K == 87) { up = 0; } if (K == 83) { down = 0; } if (K == 65) { left = 0; } if (K == 68) { right = 0; } if ((K == 220) && (canThrow == 0)) { _parent.fThrowBomb(2, nGX, nGY, nDirection, nBombInHand); canThrow = 1; nBombInHand = 0; } } } onClipEvent (load) { if (_name != "player2") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nStartX = ((_parent.nWidth / 2) - 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; var blnJustTransported = 0; var nTranCount = 0; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 60); _y = (_y - 60); } gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "player2") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } nGX = Math.round((_x - nStartX) / 30) + 13; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 246 MovieClip "mov1Blast1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 246 MovieClip "mov1Blast2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov1BlastEnd1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov1BlastEnd2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov1BlastEnd3" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 257 MovieClip "mov1BlastEnd4" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.fBlastImgLoop(_x, _y, this); }
Instance of Symbol 320 MovieClip "computer2" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 338 MovieClip "computer2_1" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_1") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_1") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_1") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 356 MovieClip "computer2_2" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_2") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_2") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_2") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 320 MovieClip "computer2_3" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_3") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_3") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_3") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 302 MovieClip "computer2_4" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_4") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_4") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_4") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 374 MovieClip "computer2_5" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_5") { if (_root.enemyspeed > 0) { var nSpd = _root.enemyspeed; } else { var nSpd = _root.gStartingSpd; } var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_5") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_5") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 381 MovieClip "computer2_7" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_7") { if (_root.enemyspeed > 0) { var nSpd = _root.enemyspeed; } else { var nSpd = _root.gStartingSpd; } var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_7") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_7") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 391 MovieClip "dot1" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _parent.movP1._x; _y = _parent.movP1._y; _alpha = 0; }
Instance of Symbol 391 MovieClip "dot2" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _parent.movP2._x; _y = _parent.movP2._y; _alpha = 0; }
Instance of Symbol 391 MovieClip "dot3" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _parent.movP3._x; _y = _parent.movP3._y; _alpha = 0; }
Instance of Symbol 391 MovieClip "dot4" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _parent.movP4._x; _y = _parent.movP4._y; _alpha = 0; }
Instance of Symbol 395 MovieClip "movBlock2_4" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 399 MovieClip "movBlock2_5" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 403 MovieClip "movBlock2_6" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 399 MovieClip "movBlock2_7" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 407 MovieClip "movBlock2_8" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var x; var y; } onClipEvent (enterFrame) { if (blnStatus == 0) { nCount++; } if (nCount == _parent.nFadeTime) { _root.arrGrid[x][y] = 0; _root.arrGridNum[x][y] = 0; _parent.fPowerUp(x, y); this.removeMovieClip(); } }
Instance of Symbol 356 MovieClip "computer3" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 302 MovieClip "computer3_4" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3_4") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3_4") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3_4") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 374 MovieClip "computer3_5" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3_5") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3_5") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3_5") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 381 MovieClip "computer3_7" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3_7") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3_7") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3_7") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 381 MovieClip "computer3_8" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3_8") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3_8") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3_8") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 374 MovieClip "computer4" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer4") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = ((_parent.nWidth / 2) - 45); var nStartY = (((-_parent.nHeight) / 2) + 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 90); _y = (_y + 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer4") { _parent.fCheckInvincibility(4, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[3]++; if ((_parent.arrBombLastLaid[3] == Math.round(300 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(5) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[3] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 4)) { if ((random(18 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(4, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(3) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer4") { nGX = Math.round((_x - nStartX) / 30) + 13; nGY = Math.round((_y - nStartY) / 30) + 1; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 381 MovieClip "computer4_7" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer4_7") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = ((_parent.nWidth / 2) - 45); var nStartY = (((-_parent.nHeight) / 2) + 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 90); _y = (_y + 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer4_7") { _parent.fCheckInvincibility(4, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[3]++; if ((_parent.arrBombLastLaid[3] == Math.round(300 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(5) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[3] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 4)) { if ((random(18 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(4, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(3) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer4_7") { nGX = Math.round((_x - nStartX) / 30) + 13; nGY = Math.round((_y - nStartY) / 30) + 1; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 427 MovieClip "computer2_6" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_6") { if (_root.enemyspeed > 0) { var nSpd = _root.enemyspeed; } else { var nSpd = _root.gStartingSpd; } var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_6") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_6") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 427 MovieClip "computer3_6" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer3_6") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = (((-_parent.nWidth) / 2) + 45); var nStartY = ((_parent.nHeight / 2) - 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x + 90); _y = (_y - 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer3_6") { _parent.fCheckInvincibility(3, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[2]++; if ((_parent.arrBombLastLaid[2] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(11) == 5) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[2] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 3)) { if ((random(22 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(3, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(3, nGX, nGY, nLength); if ((random(15) == 6) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(3, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer3_6") { nGX = Math.round((_x - nStartX) / 30) + 1; nGY = Math.round((_y - nStartY) / 30) + 11; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 427 MovieClip "computer4_6" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer4_6") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = ((_parent.nWidth / 2) - 45); var nStartY = (((-_parent.nHeight) / 2) + 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 90); _y = (_y + 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer4_6") { _parent.fCheckInvincibility(4, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[3]++; if ((_parent.arrBombLastLaid[3] == Math.round(300 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(5) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[3] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 4)) { if ((random(18 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(4, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(3) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer4_6") { nGX = Math.round((_x - nStartX) / 30) + 13; nGY = Math.round((_y - nStartY) / 30) + 1; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 445 MovieClip "computer2_8" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer2_8") { if (_root.enemyspeed > 0) { var nSpd = _root.enemyspeed; } else { var nSpd = _root.gStartingSpd; } var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nStartX = ((_parent.nWidth / 2) - 15); var nStartY = ((_parent.nHeight / 2) + 15); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 0); _y = (_y - 120); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer2_8") { _parent.fCheckInvincibility(2, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[1]++; if ((_parent.arrBombLastLaid[1] == Math.round(350 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[1] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 2)) { if (random(12 / _root.gOppoMadnessFactor) == 1) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if ((_root.arrGrid[nGX][nGY - i] <= -5) && (_root.arrGrid[nGX][nGY - i] > -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] <= -5) && (_root.arrGrid[nGX][nGY + i] > -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] <= -5) && (_root.arrGrid[nGX - i][nGY] > -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] <= -5) && (_root.arrGrid[nGX + i][nGY] > -11)) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(2, nGX, nGY, nLength); justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } up = 1; } else if (__reg0 === 2) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 2; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } down = 1; } else if (__reg0 === 3) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 3; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } left = 1; } else if (__reg0 === 4) { if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 4; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } right = 1; } } } } if (_name != "computer2_8") { nGX = Math.round((_x - nStartX) / 30) + 14; nGY = Math.round((_y - nStartY) / 30) + 13; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 427 MovieClip "computer4_8" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { if (_name != "computer4_8") { var nSpd = _root.gStartingSpd; var nLength = _root.gStartingLength; var nBombs = _root.gStartingBombs; var nBombsLaid = 0; var canKick = _root.gCanKick; var canThrow = _root.gCanThrow; var nBombInHand = 0; var nDirection = 1; var nStartX = ((_parent.nWidth / 2) - 45); var nStartY = (((-_parent.nHeight) / 2) + 45); var nGX; var nGY; var nLagX; var nLagY; _x = nStartX; _y = nStartY; if (_root.nLevel == 2) { _x = (_x - 90); _y = (_y + 0); } var arrChoices = new Array(); var isBombUp = 0; var isBombDown = 0; var isBombLeft = 0; var isBombRight = 0; var justLaid = 0; var blnJustTransported = 0; var nTranCount = 0; gotoAndStop (3); } } onClipEvent (enterFrame) { if (_name != "computer4_8") { _parent.fCheckInvincibility(4, this); if (blnJustTransported == 1) { nTranCount++; if (nTranCount == 24) { blnJustTransported = 0; nTranCount = 0; } } _parent.arrBombLastLaid[3]++; if ((_parent.arrBombLastLaid[3] == Math.round(300 / _root.gOppoMadnessFactor)) && (nBombsLaid < nBombs)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(5) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } i = 1; while (i < 5) { if (((((((_parent.arrBombLastLaid[3] > 10) && (nGX >= (eval ("_parent.movP" + i).nGX - 3))) && (nGX <= (eval ("_parent.movP" + i).nGX + 3))) && (nGY >= (eval ("_parent.movP" + i).nGY - 3))) && (nGY <= (eval ("_parent.movP" + i).nGY + 3))) && (nBombsLaid < nBombs)) && (i != 4)) { if ((random(18 / _root.gOppoMadnessFactor) == 1) && (canThrow == 1)) { _parent.fLayBomb(4, nGX, nGY, nLength); if (random(3) == 1) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } } i++; } if (((_y % 30) == 0) && ((_x % 30) == 0)) { isBombUp = 0; isBombDown = 0; isBombLeft = 0; isBombRight = 0; i = 1; while (i <= (nLength + 1)) { if ((_root.arrGrid[nGX][nGY - i] == 3) || (_root.arrGrid[nGX][nGY - i] == -11)) { isBombUp = 1; } if ((_root.arrGrid[nGX][nGY + i] == 3) || (_root.arrGrid[nGX][nGY + i] == -11)) { isBombDown = 1; } if ((_root.arrGrid[nGX - i][nGY] == 3) || (_root.arrGrid[nGX - i][nGY] == -11)) { isBombLeft = 1; } if ((_root.arrGrid[nGX + i][nGY] == 3) || (_root.arrGrid[nGX + i][nGY] == -11)) { isBombRight = 1; } if (((_root.nLevel == 2) && (random(2) == 1)) && ((((isBombUp + isBombDown) + isBombLeft) + isBombRight) == 0)) { if (_root.arrGrid[nGX][nGY - i] <= -5) { isBombUp = 1; } if (_root.arrGrid[nGX][nGY + i] <= -5) { isBombDown = 1; } if (_root.arrGrid[nGX - i][nGY] <= -5) { isBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY] <= -5) { isBombRight = 1; } } i++; } var nAnyBombs = (((isBombUp + isBombDown) + isBombLeft) + isBombRight); var isABombLeft = 0; var isABombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY - 1] == 3) { isABombLeft = 1; } if (_root.arrGrid[nGX + i][nGY - 1] == 3) { isABombRight = 1; } i++; } var nAnyABombs = (isABombLeft + isABombRight); var isBBombLeft = 0; var isBBombRight = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - i][nGY + 1] == 3) { isBBombLeft = 1; } if (_root.arrGrid[nGX + i][nGY + 1] == 3) { isBBombRight = 1; } i++; } var nAnyBBombs = (isBBombLeft + isBBombRight); var isCBombUp = 0; var isCBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX - 1][nGY - i] == 3) { isCBombUp = 1; } if (_root.arrGrid[nGX - 1][nGY + i] == 3) { isCBombDown = 1; } i++; } var nAnyCBombs = (isCBombUp + isCBombDown); var isDBombUp = 0; var isDBombDown = 0; i = 1; while (i <= (nLength + 1)) { if (_root.arrGrid[nGX + 1][nGY - i] == 3) { isDBombUp = 1; } if (_root.arrGrid[nGX + 1][nGY + i] == 3) { isDBombDown = 1; } i++; } var nAnyDBombs = (isDBombUp + isDBombDown); if (((random(20) == 2) || (justLaid)) || (nAnyBombs > 0)) { justLaid = 0; nLen = 0; arrChoices = new Array(); if (((_root.arrGrid[nGX][nGY - 1] <= 0) && (down != 1)) && (!isBombUp)) { arrChoices[nLen] = 1; nLen++; } if (((_root.arrGrid[nGX][nGY + 1] <= 0) && (up != 1)) && (!isBombDown)) { arrChoices[nLen] = 2; nLen++; } if (((_root.arrGrid[nGX - 1][nGY] <= 0) && (right != 1)) && (!isBombLeft)) { arrChoices[nLen] = 3; nLen++; } if (((_root.arrGrid[nGX + 1][nGY] <= 0) && (left != 1)) && (!isBombRight)) { arrChoices[nLen] = 4; nLen++; } var nChoice = arrChoices[random(nLen)]; if ((((arrChoices.length == 0) && (nBombsLaid < nBombs)) && (_root.arrGrid[nGX][nGY] == 0)) && ((((nAnyABombs + nAnyBBombs) + nAnyCBombs) + nAnyDBombs) == 0)) { _parent.fLayBomb(4, nGX, nGY, nLength); if ((random(3) == 1) && (canThrow == 1)) { canThrow = 0; _parent.fComputerThrowBomb(4, nGX, nGY, nDirection, 0); } justLaid = 1; nBombsLaid++; } up = 0; down = 0; left = 0; right = 0; if (((__reg0 = nChoice)) === 1) { up = 1; } else if (__reg0 === 2) { down = 1; } else if (__reg0 === 3) { left = 1; } else if (__reg0 === 4) { right = 1; } } } } if (_name != "computer4_8") { nGX = Math.round((_x - nStartX) / 30) + 13; nGY = Math.round((_y - nStartY) / 30) + 1; nLagX = (-180 + (30 * (nGX - 1))) - _x; nLagY = (-150 + (30 * (nGY - 1))) - _y; if (up == 1) { gotoAndStop (4); nDirection = 1; if (((_root.arrGrid[nGX][nGY - 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyABombs == 0) { _y = (_y - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY - 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY - 1]).nDir = 1; _root.arrGrid[nGX][nGY - 1] = 0; _root.arrGridNum[nGX][nGY - 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY - 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (down == 1) { gotoAndStop (2); nDirection = 2; if (((_root.arrGrid[nGX][nGY + 1] <= 0) || ((_y % 30) != 0)) && ((_x % 30) == 0)) { if (nAnyBBombs == 0) { _y = (_y + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX][nGY + 1] == 3) || ((_y % 30) != 0))) && ((_x % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX][nGY + 1]).nDir = 3; _root.arrGrid[nGX][nGY + 1] = 0; _root.arrGridNum[nGX][nGY + 1] = 0; } if ((left != 1) && (right != 1)) { if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagX > 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX][nGY + 1] <= 0) && (nLagX < 0)) { _x = (_x - _parent.arrSpeeds[nSpd]); } } } if (left == 1) { gotoAndStop (3); nDirection = 3; if (((_root.arrGrid[nGX - 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyCBombs == 0) { _x = (_x - _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX - 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX - 1][nGY]).nDir = 4; _root.arrGrid[nGX - 1][nGY] = 0; _root.arrGridNum[nGX - 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX - 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } if (right == 1) { gotoAndStop (1); nDirection = 4; if (((_root.arrGrid[nGX + 1][nGY] <= 0) || ((_x % 30) != 0)) && ((_y % 30) == 0)) { if (nAnyDBombs == 0) { _x = (_x + _parent.arrSpeeds[nSpd]); } } else if (((canKick == 1) && ((_root.arrGrid[nGX + 1][nGY] == 3) || ((_x % 30) != 0))) && ((_y % 30) == 0)) { eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).isMoving = 1; eval ("_parent.BOMB" + _root.arrGridNum[nGX + 1][nGY]).nDir = 2; _root.arrGrid[nGX + 1][nGY] = 0; _root.arrGridNum[nGX + 1][nGY] = 0; } if ((up != 1) && (down != 1)) { if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY < 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY - 1] <= 0) && (nLagY > 0)) { _y = (_y - _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY] <= 0) && (nLagY > 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } if ((_root.arrGrid[nGX + 1][nGY + 1] <= 0) && (nLagY < 0)) { _y = (_y + _parent.arrSpeeds[nSpd]); } } } } }
Instance of Symbol 463 MovieClip "movFireLine" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var blnStatus = 1; var nCount = 0; var nFLType; var nGoto; var x; var y; } onClipEvent (enterFrame) { if (_parent.doFireLine == 0) { movFLBlast.gotoAndStop(1); _root.arrGrid[x][y] = nFLType; } else { movFLBlast.gotoAndStop(2); _parent.fBlastImgLoop(_x, y, this); _root.arrGrid[x][y] = -11; } }
Instance of Symbol 504 MovieClip "movTransporter" in Symbol 505 MovieClip Frame 1
onClipEvent (load) { var x; var y; var nTranID; } onClipEvent (enterFrame) { i = 1; while (i < 5) { if (_parent.arrDead[i - 1] == 0) { if (this.hitTest("_parent.dot" + i)) { _parent.fTransportPlayer(i, nTranID); } } i++; } }
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 3
stop();
Symbol 515 MovieClip Frame 4
stop();
Symbol 515 MovieClip Frame 5
stop();
Symbol 515 MovieClip Frame 6
stop();
Symbol 515 MovieClip Frame 7
stop();
Symbol 515 MovieClip Frame 8
stop();
Symbol 515 MovieClip Frame 9
stop();
Symbol 515 MovieClip Frame 10
stop();
Symbol 515 MovieClip Frame 11
stop();
Symbol 515 MovieClip Frame 12
stop();
Symbol 515 MovieClip Frame 13
stop();
Symbol 515 MovieClip Frame 14
stop();
Symbol 515 MovieClip Frame 15
stop();
Symbol 515 MovieClip Frame 16
stop();
Symbol 515 MovieClip Frame 17
stop();
Symbol 515 MovieClip Frame 18
stop();
Symbol 515 MovieClip Frame 19
stop();
Symbol 515 MovieClip Frame 20
stop();
Symbol 515 MovieClip Frame 21
stop();
Symbol 515 MovieClip Frame 22
stop();
Symbol 515 MovieClip Frame 23
stop();
Symbol 515 MovieClip Frame 24
stop();
Symbol 515 MovieClip Frame 25
stop();
Symbol 515 MovieClip Frame 26
stop();
Symbol 515 MovieClip Frame 27
stop();
Symbol 515 MovieClip Frame 28
stop();
Symbol 515 MovieClip Frame 29
stop();
Symbol 515 MovieClip Frame 30
stop();
Symbol 515 MovieClip Frame 31
stop();
Symbol 515 MovieClip Frame 32
stop();
Symbol 515 MovieClip Frame 33
stop();
Symbol 515 MovieClip Frame 34
stop();
Symbol 515 MovieClip Frame 35
stop();
Symbol 515 MovieClip Frame 36
stop();
Symbol 515 MovieClip Frame 37
stop();
Symbol 515 MovieClip Frame 38
stop();
Symbol 515 MovieClip Frame 39
stop();
Symbol 515 MovieClip Frame 40
stop();
Symbol 515 MovieClip Frame 41
stop();
Symbol 515 MovieClip Frame 42
stop();
Symbol 515 MovieClip Frame 43
stop();
Symbol 515 MovieClip Frame 44
stop();
Symbol 515 MovieClip Frame 45
stop();
Symbol 515 MovieClip Frame 46
stop();
Symbol 515 MovieClip Frame 47
stop();
Symbol 515 MovieClip Frame 48
stop();
Symbol 515 MovieClip Frame 49
stop();
Symbol 515 MovieClip Frame 50
stop();
Symbol 515 MovieClip Frame 51
stop();
Symbol 515 MovieClip Frame 52
stop();
Symbol 515 MovieClip Frame 53
stop();
Symbol 515 MovieClip Frame 54
stop();
Symbol 515 MovieClip Frame 55
stop();
Symbol 515 MovieClip Frame 56
stop();
Symbol 515 MovieClip Frame 57
stop();
Symbol 515 MovieClip Frame 58
stop();
Symbol 515 MovieClip Frame 59
stop();
Symbol 515 MovieClip Frame 60
stop();
Symbol 515 MovieClip Frame 61
stop();
Symbol 515 MovieClip Frame 62
stop();
Symbol 515 MovieClip Frame 63
stop();
Symbol 515 MovieClip Frame 64
stop();
Symbol 515 MovieClip Frame 65
stop();
Symbol 515 MovieClip Frame 66
stop();
Symbol 515 MovieClip Frame 67
stop();
Symbol 515 MovieClip Frame 68
stop();
Symbol 515 MovieClip Frame 69
stop();
Symbol 515 MovieClip Frame 70
stop();
Symbol 515 MovieClip Frame 71
stop();
Symbol 515 MovieClip Frame 72
stop();
Symbol 515 MovieClip Frame 73
stop();
Symbol 515 MovieClip Frame 74
stop();
Symbol 515 MovieClip Frame 75
stop();
Symbol 515 MovieClip Frame 76
stop();
Symbol 515 MovieClip Frame 77
stop();
Symbol 515 MovieClip Frame 78
stop();
Symbol 515 MovieClip Frame 79
stop();
Symbol 515 MovieClip Frame 80
stop();
Symbol 515 MovieClip Frame 81
stop();
Symbol 515 MovieClip Frame 82
stop();
Symbol 515 MovieClip Frame 83
stop();
Symbol 515 MovieClip Frame 84
stop();
Symbol 515 MovieClip Frame 85
stop();
Symbol 515 MovieClip Frame 86
stop();
Symbol 515 MovieClip Frame 87
stop();
Symbol 515 MovieClip Frame 88
stop();
Symbol 515 MovieClip Frame 89
stop();
Symbol 515 MovieClip Frame 90
stop();
Symbol 515 MovieClip Frame 91
stop();
Symbol 515 MovieClip Frame 92
stop();
Symbol 515 MovieClip Frame 93
stop();
Symbol 515 MovieClip Frame 94
stop();
Symbol 515 MovieClip Frame 95
stop();
Symbol 515 MovieClip Frame 96
stop();
Symbol 515 MovieClip Frame 97
stop();
Symbol 515 MovieClip Frame 98
stop();
Symbol 515 MovieClip Frame 99
stop();
Symbol 515 MovieClip Frame 100
stop();
Symbol 515 MovieClip Frame 101
stop();
Symbol 515 MovieClip Frame 102
stop();
Symbol 515 MovieClip Frame 103
stop();
Symbol 515 MovieClip Frame 104
stop();
Symbol 515 MovieClip Frame 105
stop();
Symbol 515 MovieClip Frame 106
stop();
Symbol 515 MovieClip Frame 107
stop();
Symbol 515 MovieClip Frame 108
stop();
Symbol 515 MovieClip Frame 109
stop();
Symbol 515 MovieClip Frame 110
stop();
Symbol 515 MovieClip Frame 111
stop();
Symbol 515 MovieClip Frame 112
stop();
Symbol 515 MovieClip Frame 113
stop();
Symbol 515 MovieClip Frame 114
stop();
Symbol 515 MovieClip Frame 115
stop();
Symbol 515 MovieClip Frame 116
stop();
Symbol 515 MovieClip Frame 117
stop();
Symbol 515 MovieClip Frame 118
stop();
Symbol 515 MovieClip Frame 119
stop();
Symbol 515 MovieClip Frame 120
stop();
Symbol 515 MovieClip Frame 121
stop();
Symbol 515 MovieClip Frame 122
stop();
Symbol 515 MovieClip Frame 123
stop();
Symbol 515 MovieClip Frame 124
stop();
Symbol 515 MovieClip Frame 125
stop();
Symbol 515 MovieClip Frame 126
stop();
Symbol 515 MovieClip Frame 127
stop();
Symbol 515 MovieClip Frame 128
stop();
Symbol 515 MovieClip Frame 129
stop();
Symbol 515 MovieClip Frame 130
stop();
Symbol 515 MovieClip Frame 131
stop();
Symbol 515 MovieClip Frame 132
stop();
Symbol 515 MovieClip Frame 133
stop();
Symbol 515 MovieClip Frame 134
stop();
Symbol 515 MovieClip Frame 135
stop();
Symbol 515 MovieClip Frame 136
stop();
Symbol 515 MovieClip Frame 137
stop();
Symbol 515 MovieClip Frame 138
stop();
Symbol 515 MovieClip Frame 139
stop();
Symbol 515 MovieClip Frame 140
stop();
Symbol 515 MovieClip Frame 141
stop();
Symbol 515 MovieClip Frame 142
stop();
Symbol 515 MovieClip Frame 143
stop();
Symbol 515 MovieClip Frame 144
stop();
Symbol 515 MovieClip Frame 145
stop();
Symbol 515 MovieClip Frame 146
stop();
Symbol 515 MovieClip Frame 147
stop();
Symbol 515 MovieClip Frame 148
stop();
Symbol 515 MovieClip Frame 149
stop();
Symbol 515 MovieClip Frame 150
stop();
Symbol 515 MovieClip Frame 151
stop();
Symbol 515 MovieClip Frame 152
stop();
Symbol 515 MovieClip Frame 153
stop();
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
stop();
Symbol 544 MovieClip Frame 3
stop();
Symbol 548 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } _root.gotoAndStop(13); }
Symbol 552 Button
on (release, keyPress "1") { if (_root.blnSFX) { _root.sndPing.play(); } _root.gotoAndStop(15); }
Symbol 554 Button
on (press) { getURL (("http://www.4v4.com/games-for-your-website.html?utm_medium=brandedgames_external&utm_campaign=bomberchamp&utm_source=" + _root.domainpl) + "&utm_content=addforyourwebsite", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [gsnow]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [fsnow]Uses:3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [snow]Uses:5
Symbol 7 GraphicUsed by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:12 14 15 17
Symbol 11 SoundUsed by:12
Symbol 12 MovieClipUses:10 11Used by:Timeline
Symbol 13 SoundUsed by:14
Symbol 14 MovieClipUses:10 13Used by:Timeline
Symbol 15 MovieClipUses:10Used by:Timeline
Symbol 16 SoundUsed by:17
Symbol 17 MovieClipUses:10 16Used by:Timeline
Symbol 18 FontUsed by:19 66 506 507 508 509 513
Symbol 19 EditableTextUses:18Used by:Timeline
Symbol 20 FontUsed by:21
Symbol 21 EditableTextUses:20Used by:Timeline
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:Timeline
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 ButtonUses:25Used by:27
Symbol 27 MovieClipUses:26Used by:Timeline
Symbol 28 GraphicUsed by:68
Symbol 29 FontUsed by:30 135 166 216 217 218 555
Symbol 30 EditableTextUses:29Used by:32
Symbol 31 GraphicUsed by:32
Symbol 32 ButtonUses:30 31Used by:68
Symbol 33 GraphicUsed by:68
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:34 35Used by:67 95
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:67 95 136
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:67 95 136
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:42 43Used by:67 95 136
Symbol 45 SoundUsed by:67
Symbol 46 BitmapUsed by:47 55
Symbol 47 GraphicUses:46Used by:67
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:62 67
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClipUses:51Used by:67
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:67
Symbol 55 GraphicUses:46Used by:59 63
Symbol 56 GraphicUsed by:59 63
Symbol 57 GraphicUsed by:59 62 63
Symbol 58 GraphicUsed by:59 63
Symbol 59 MovieClipUses:55 56 57 58Used by:67 95
Symbol 60 GraphicUsed by:62
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:49 60 57 61Used by:67 95
Symbol 63 MovieClipUses:55 56 57 58Used by:67 95
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:67
Symbol 66 TextUses:18Used by:67
Symbol 67 MovieClipUses:36 38 40 44 45 47 49 52 54 59 62 63 65 66Used by:68
Symbol 68 MovieClipUses:28 32 33 67Used by:Timeline
Symbol 69 GraphicUsed by:72 73 74 75 189 190 548 552
Symbol 70 GraphicUsed by:72 73 74 75 189 190 548 552
Symbol 71 GraphicUsed by:72 73 74 75 189 190 548 552
Symbol 72 ButtonUses:69 70 71Used by:Timeline
Symbol 73 ButtonUses:69 70 71Used by:Timeline
Symbol 74 ButtonUses:69 70 71Used by:Timeline
Symbol 75 ButtonUses:69 70 71Used by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:75 76Used by:Timeline
Symbol 78 GraphicUsed by:82 554
Symbol 79 MovieClipUsed by:82 554
Symbol 80 GraphicUsed by:82 554
Symbol 81 GraphicUsed by:82 554
Symbol 82 ButtonUses:78 79 80 81Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:86
Symbol 86 ButtonUses:85Used by:Timeline
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:89
Symbol 89 ButtonUses:88Used by:Timeline
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:93
Symbol 92 GraphicUsed by:93
Symbol 93 ButtonUses:91 92Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:36 59 62 63 38 40 44 94Used by:Timeline
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 ButtonUses:97 98Used by:Timeline
Symbol 100 FontUsed by:101
Symbol 101 EditableTextUses:100Used by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 ButtonUses:102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 ButtonUses:104Used by:Timeline
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:108
Symbol 108 ButtonUses:107Used by:Timeline
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 ButtonUses:110Used by:Timeline
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:114
Symbol 114 ButtonUses:113Used by:Timeline
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 ButtonUses:116Used by:Timeline
Symbol 118 GraphicUsed by:136
Symbol 119 GraphicUsed by:120 122
Symbol 120 MovieClipUses:119Used by:136
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121 119Used by:136
Symbol 123 GraphicUsed by:136
Symbol 124 GraphicUsed by:136
Symbol 125 GraphicUsed by:136
Symbol 126 GraphicUsed by:136
Symbol 127 GraphicUsed by:136
Symbol 128 GraphicUsed by:136
Symbol 129 GraphicUsed by:133
Symbol 130 GraphicUsed by:133
Symbol 131 GraphicUsed by:133
Symbol 132 GraphicUsed by:133
Symbol 133 ButtonUses:129 130 131 132Used by:136
Symbol 134 GraphicUsed by:136
Symbol 135 EditableTextUses:29Used by:136
Symbol 136 MovieClipUses:118 120 38 40 44 122 123 124 125 126 127 128 133 134 135Used by:Timeline
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 ButtonUses:138Used by:Timeline
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:142
Symbol 142 ButtonUses:141Used by:Timeline
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:145
Symbol 145 ButtonUses:144Used by:Timeline
Symbol 146 BitmapUsed by:147
Symbol 147 GraphicUses:146Used by:148
Symbol 148 ButtonUses:147Used by:Timeline
Symbol 149 GraphicUsed by:200
Symbol 150 GraphicUsed by:155 159 164 173 177 179 184 186 188
Symbol 151 GraphicUsed by:155
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:155 207
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:150 151 153 154Used by:199
Symbol 156 GraphicUsed by:159
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:159 205 207
Symbol 159 MovieClipUses:150 156 158Used by:199
Symbol 160 GraphicUsed by:164
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:164 207
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:150 160 162 163Used by:199
Symbol 165 GraphicUsed by:173
Symbol 166 EditableTextUses:29Used by:173
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:173 188 203 205 207
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:173 186 203 205 207 535 536
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:173 207
Symbol 173 MovieClipUses:150 165 166 168 170 172Used by:199
Symbol 174 GraphicUsed by:177
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:177 179 205 207  Timeline
Symbol 177 MovieClipUses:150 174 176Used by:199
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:150 178 176Used by:199
Symbol 180 GraphicUsed by:184
Symbol 181 GraphicUsed by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:181 182Used by:184 203 205 207
Symbol 184 MovieClipUses:150 180 183Used by:199
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:150 185 170Used by:199
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:150 187 168Used by:199
Symbol 189 ButtonUses:69 70 71Used by:199
Symbol 190 ButtonUses:69 70 71Used by:199  Timeline
Symbol 191 GraphicUsed by:199
Symbol 192 GraphicUsed by:199
Symbol 193 GraphicUsed by:199
Symbol 194 GraphicUsed by:199
Symbol 195 GraphicUsed by:199
Symbol 196 GraphicUsed by:199
Symbol 197 GraphicUsed by:199
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:155 159 164 173 177 179 184 186 188 189 190 191 192 193 194 195 196 197 198Used by:200
Symbol 200 MovieClipUses:149 199Used by:Timeline
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:204 206 519 534 535 536  Timeline
Symbol 203 MovieClipUses:183 170 168Used by:204
Symbol 204 MovieClipUses:203 202Used by:Timeline
Symbol 205 MovieClipUses:158 176 183 170 168Used by:206
Symbol 206 MovieClipUses:205 202Used by:Timeline
Symbol 207 MovieClipUses:153 158 162 176 183 170 168 172Used by:Timeline
Symbol 208 GraphicUsed by:210
Symbol 209 GraphicUsed by:210 515
Symbol 210 ButtonUses:208 209Used by:Timeline
Symbol 211 BitmapUsed by:213 214
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:211 212Used by:215
Symbol 214 GraphicUses:211Used by:215
Symbol 215 MovieClipUses:213 214Used by:Timeline
Symbol 216 EditableTextUses:29Used by:219
Symbol 217 EditableTextUses:29Used by:219
Symbol 218 EditableTextUses:29Used by:219
Symbol 219 MovieClipUses:216 217 218Used by:Timeline
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:236
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:236
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:236
Symbol 226 BitmapUsed by:227
Symbol 227 GraphicUses:226Used by:236
Symbol 228 BitmapUsed by:229
Symbol 229 GraphicUses:228Used by:236
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:236
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:236
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:236
Symbol 236 MovieClipUses:221 223 225 227 229 231 233 235Used by:Timeline
Symbol 237 GraphicUsed by:505
Symbol 238 GraphicUsed by:240
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:238 239Used by:243 263
Symbol 241 GraphicUsed by:243
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:240 241 242Used by:505
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:246
Symbol 246 MovieClipUses:245Used by:505
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:254
Symbol 249 GraphicUsed by:254
Symbol 250 GraphicUsed by:254
Symbol 251 GraphicUsed by:254
Symbol 252 GraphicUsed by:254
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:248 249 250 251 252 253Used by:505
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:257
Symbol 257 MovieClipUses:256Used by:505
Symbol 258 GraphicUsed by:260
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:258 259Used by:263
Symbol 261 GraphicUsed by:263
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:260 261 262 240Used by:505
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:505
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:505 546
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:505
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:505
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:505
Symbol 274 GraphicUsed by:279
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClipUses:275Used by:279
Symbol 277 GraphicUsed by:279
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:274 276 277 278Used by:505
Symbol 280 GraphicUsed by:281 288
Symbol 281 MovieClipUses:280Used by:283 304 322 340 358 411 429
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClipUses:281 282Used by:291
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:287 306 324 342 360 413 431
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:285 286Used by:291
Symbol 288 MovieClipUses:280Used by:290 296 301 308 314 319 326 332 337 344 350 355 362 368 373 415 421 426 433 439 444
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:288 289Used by:291
Symbol 291 MovieClipUses:283 287 290Used by:302
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:296
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:296
Symbol 296 MovieClipUses:288 293 295Used by:302
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:301
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:299Used by:301
Symbol 301 MovieClipUses:288 298 300Used by:302
Symbol 302 MovieClipUses:291 296 301Used by:505
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:281 303Used by:309
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:285 305Used by:309
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:288 307Used by:309
Symbol 309 MovieClipUses:304 306 308Used by:320
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:310Used by:314
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClipUses:288 311 313Used by:320
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:319
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:319
Symbol 319 MovieClipUses:288 316 318Used by:320
Symbol 320 MovieClipUses:309 314 319Used by:505
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:281 321Used by:327
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:285 323Used by:327
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:288 325Used by:327
Symbol 327 MovieClipUses:322 324 326Used by:338
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClipUses:328Used by:332
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClipUses:330Used by:332
Symbol 332 MovieClipUses:288 329 331Used by:338
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:337
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:337
Symbol 337 MovieClipUses:288 334 336Used by:338
Symbol 338 MovieClipUses:327 332 337Used by:505
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:281 339Used by:345
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:285 341Used by:345
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:288 343Used by:345
Symbol 345 MovieClipUses:340 342 344Used by:356
Symbol 346 GraphicUsed by:347
Symbol 347 MovieClipUses:346Used by:350
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:348Used by:350
Symbol 350 MovieClipUses:288 347 349Used by:356
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:355
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:355
Symbol 355 MovieClipUses:288 352 354Used by:356
Symbol 356 MovieClipUses:345 350 355Used by:505
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:281 357Used by:363
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:285 359Used by:363
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:288 361Used by:363
Symbol 363 MovieClipUses:358 360 362Used by:374
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:368
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:366Used by:368
Symbol 368 MovieClipUses:288 365 367Used by:374
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:369Used by:373
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:371Used by:373
Symbol 373 MovieClipUses:288 370 372Used by:374
Symbol 374 MovieClipUses:363 368 373Used by:505
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:375Used by:377
Symbol 377 MovieClipUses:376Used by:381
Symbol 378 GraphicUsed by:379
Symbol 379 MovieClipUses:378Used by:380
Symbol 380 MovieClipUses:379Used by:381
Symbol 381 MovieClipUses:377 380Used by:505
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:382Used by:387
Symbol 384 GraphicUsed by:387
Symbol 385 GraphicUsed by:386
Symbol 386 MovieClipUses:385Used by:387
Symbol 387 MovieClipUses:383 384 386Used by:388
Symbol 388 MovieClipUses:387Used by:389
Symbol 389 MovieClipUses:388Used by:505
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:505
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:392Used by:505
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:505
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:505
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:505
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:400Used by:505
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:402Used by:505
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:404Used by:505
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:406Used by:505
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:505 546
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:281 410Used by:416
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:285 412Used by:416
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClipUses:288 414Used by:416
Symbol 416 MovieClipUses:411 413 415Used by:427
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:417Used by:421
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:419Used by:421
Symbol 421 MovieClipUses:288 418 420Used by:427
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:422Used by:426
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:426
Symbol 426 MovieClipUses:288 423 425Used by:427
Symbol 427 MovieClipUses:416 421 426Used by:505
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:281 428Used by:434
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:285 430Used by:434
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:288 432Used by:434
Symbol 434 MovieClipUses:429 431 433Used by:445
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:439
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClipUses:437Used by:439
Symbol 439 MovieClipUses:288 436 438Used by:445
Symbol 440 GraphicUsed by:441
Symbol 441 MovieClipUses:440Used by:444
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClipUses:442Used by:444
Symbol 444 MovieClipUses:288 441 443Used by:445
Symbol 445 MovieClipUses:434 439 444Used by:505
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:463
Symbol 448 GraphicUsed by:454
Symbol 449 GraphicUsed by:454
Symbol 450 GraphicUsed by:454
Symbol 451 GraphicUsed by:454
Symbol 452 GraphicUsed by:454
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:448 449 450 451 452 453Used by:455
Symbol 455 MovieClipUses:454Used by:463
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:463
Symbol 458 BitmapUsed by:459 460 461 462
Symbol 459 GraphicUses:458Used by:463
Symbol 460 GraphicUses:458Used by:463
Symbol 461 GraphicUses:458Used by:463
Symbol 462 GraphicUses:458Used by:463
Symbol 463 MovieClipUses:447 455 457 459 460 461 462Used by:505
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:482
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:482
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:482
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:482
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:482
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:482
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:482
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:482
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:482
Symbol 482 MovieClipUses:465 467 469 471 473 475 477 479 481Used by:504
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:504
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:503
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:503
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:503
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:503
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:503
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:503
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:503
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:503
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:503
Symbol 503 MovieClipUses:486 488 490 492 494 496 498 500 502Used by:504
Symbol 504 MovieClipUses:482 484 503Used by:505
Symbol 505 MovieClipUses:237 243 246 254 257 263 265 267 269 271 273 279 302 320 338 356 374 381 389 391 393 395 397 399 401 403 405 407 409 427 445 463 504Used by:Timeline
Symbol 506 EditableTextUses:18Used by:516
Symbol 507 EditableTextUses:18Used by:516
Symbol 508 EditableTextUses:18Used by:516
Symbol 509 EditableTextUses:18Used by:516
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClipUses:510Used by:516
Symbol 512 GraphicUsed by:516
Symbol 513 EditableTextUses:18Used by:516
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:209 514Used by:516
Symbol 516 MovieClipUses:506 507 508 509 511 512 513 515Used by:Timeline
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:519 534 535
Symbol 519 MovieClipUses:518 202Used by:537
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:520Used by:534
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClipUses:522Used by:534 535
Symbol 524 GraphicUsed by:525
Symbol 525 MovieClipUses:524Used by:534
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:534 535 536
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:534 536
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:530Used by:534 535 536
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:532Used by:534
Symbol 534 MovieClipUses:521 202 523 525 518 527 529 531 533Used by:537
Symbol 535 MovieClipUses:523 202 518 527 170 531Used by:537
Symbol 536 MovieClipUses:527 202 170 531 529Used by:537
Symbol 537 MovieClipUses:519 534 535 536Used by:Timeline
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:544
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:544
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:544
Symbol 544 MovieClipUses:539 541 543Used by:Timeline
Symbol 545 GraphicUsed by:Timeline
Symbol 546 MovieClipUses:267 409Used by:Timeline
Symbol 547 GraphicUsed by:Timeline
Symbol 548 ButtonUses:69 70 71Used by:Timeline
Symbol 549 GraphicUsed by:Timeline
Symbol 550 GraphicUsed by:551
Symbol 551 MovieClipUses:550Used by:Timeline
Symbol 552 ButtonUses:69 70 71Used by:Timeline
Symbol 553 GraphicUsed by:Timeline
Symbol 554 ButtonUses:78 79 80 81Used by:Timeline
Symbol 555 EditableTextUses:29Used by:Timeline

Instance Names

"sndPing"Frame 2Symbol 12 MovieClip
"sndBomb"Frame 2Symbol 14 MovieClip
"sndMusic2"Frame 2Symbol 15 MovieClip
"sndMusic0"Frame 2Symbol 17 MovieClip
"movRegisterNow"Frame 2Symbol 27 MovieClip
"intro"Frame 4Symbol 68 MovieClip
"continn"Frame 13Symbol 77 MovieClip
"movP4life"Frame 16Symbol 204 MovieClip
"movP3life"Frame 16Symbol 206 MovieClip
"show2char"Frame 16Symbol 207 MovieClip
"rxstartn"Frame 16Symbol 219 MovieClip
"levelbg"Frame 17Symbol 236 MovieClip
"movGame"Frame 17Symbol 505 MovieClip
"movTime"Frame 17Symbol 516 MovieClip
"movFaces"Frame 17Symbol 537 MovieClip
"movWhatGame"Frame 17Symbol 544 MovieClip
"movGame"Frame 18Symbol 546 MovieClip
"tlist"Symbol 200 MovieClip Frame 1Symbol 199 MovieClip
"show4char"Symbol 204 MovieClip Frame 1Symbol 203 MovieClip
"show3char"Symbol 206 MovieClip Frame 1Symbol 205 MovieClip
"man"Symbol 389 MovieClip Frame 1Symbol 388 MovieClip
"movFLBlast"Symbol 463 MovieClip Frame 1Symbol 455 MovieClip
"movBomb1"Symbol 505 MovieClip Frame 1Symbol 243 MovieClip
"mov2Blast1"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov2Blast2"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"movPUPS"Symbol 505 MovieClip Frame 1Symbol 254 MovieClip
"mov2BlastEnd1"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov2BlastEnd2"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov2BlastEnd3"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov2BlastEnd4"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"movBomb2"Symbol 505 MovieClip Frame 1Symbol 263 MovieClip
"movBomb4"Symbol 505 MovieClip Frame 1Symbol 263 MovieClip
"movBomb3"Symbol 505 MovieClip Frame 1Symbol 263 MovieClip
"mov3Blast1"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov3Blast2"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov3BlastEnd1"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov3BlastEnd2"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov3BlastEnd3"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov3BlastEnd4"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov4Blast1"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov4Blast2"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov4BlastEnd1"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov4BlastEnd2"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov4BlastEnd3"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov4BlastEnd4"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"movBlock1_2"Symbol 505 MovieClip Frame 1Symbol 265 MovieClip
"movBlock1_1"Symbol 505 MovieClip Frame 1Symbol 267 MovieClip
"movBlock1_3"Symbol 505 MovieClip Frame 1Symbol 269 MovieClip
"movBlock2_2"Symbol 505 MovieClip Frame 1Symbol 271 MovieClip
"movBlock2_1"Symbol 505 MovieClip Frame 1Symbol 273 MovieClip
"movBlock2_3"Symbol 505 MovieClip Frame 1Symbol 279 MovieClip
"player1"Symbol 505 MovieClip Frame 1Symbol 302 MovieClip
"player2"Symbol 505 MovieClip Frame 1Symbol 320 MovieClip
"mov1Blast1"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov1Blast2"Symbol 505 MovieClip Frame 1Symbol 246 MovieClip
"mov1BlastEnd1"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov1BlastEnd2"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov1BlastEnd3"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"mov1BlastEnd4"Symbol 505 MovieClip Frame 1Symbol 257 MovieClip
"computer2"Symbol 505 MovieClip Frame 1Symbol 320 MovieClip
"computer2_1"Symbol 505 MovieClip Frame 1Symbol 338 MovieClip
"computer2_2"Symbol 505 MovieClip Frame 1Symbol 356 MovieClip
"computer2_3"Symbol 505 MovieClip Frame 1Symbol 320 MovieClip
"computer2_4"Symbol 505 MovieClip Frame 1Symbol 302 MovieClip
"computer2_5"Symbol 505 MovieClip Frame 1Symbol 374 MovieClip
"computer2_7"Symbol 505 MovieClip Frame 1Symbol 381 MovieClip
"player1D"Symbol 505 MovieClip Frame 1Symbol 389 MovieClip
"dot1"Symbol 505 MovieClip Frame 1Symbol 391 MovieClip
"dot2"Symbol 505 MovieClip Frame 1Symbol 391 MovieClip
"dot3"Symbol 505 MovieClip Frame 1Symbol 391 MovieClip
"dot4"Symbol 505 MovieClip Frame 1Symbol 391 MovieClip
"movBlock3_2"Symbol 505 MovieClip Frame 1Symbol 271 MovieClip
"movBlock3_1"Symbol 505 MovieClip Frame 1Symbol 273 MovieClip
"movBlock3_3"Symbol 505 MovieClip Frame 1Symbol 279 MovieClip
"movBlock1_4"Symbol 505 MovieClip Frame 1Symbol 393 MovieClip
"movBlock2_4"Symbol 505 MovieClip Frame 1Symbol 395 MovieClip
"movBlock3_4"Symbol 505 MovieClip Frame 1Symbol 395 MovieClip
"movBlock1_5"Symbol 505 MovieClip Frame 1Symbol 397 MovieClip
"movBlock2_5"Symbol 505 MovieClip Frame 1Symbol 399 MovieClip
"movBlock3_5"Symbol 505 MovieClip Frame 1Symbol 399 MovieClip
"movBlock1_6"Symbol 505 MovieClip Frame 1Symbol 401 MovieClip
"movBlock2_6"Symbol 505 MovieClip Frame 1Symbol 403 MovieClip
"movBlock3_6"Symbol 505 MovieClip Frame 1Symbol 403 MovieClip
"movBlock1_7"Symbol 505 MovieClip Frame 1Symbol 405 MovieClip
"movBlock2_7"Symbol 505 MovieClip Frame 1Symbol 399 MovieClip
"movBlock3_7"Symbol 505 MovieClip Frame 1Symbol 399 MovieClip
"movBlock1_8"Symbol 505 MovieClip Frame 1Symbol 401 MovieClip
"movBlock2_8"Symbol 505 MovieClip Frame 1Symbol 407 MovieClip
"movBlock3_8"Symbol 505 MovieClip Frame 1Symbol 407 MovieClip
"movBlock4"Symbol 505 MovieClip Frame 1Symbol 409 MovieClip
"computer3"Symbol 505 MovieClip Frame 1Symbol 356 MovieClip
"computer3_4"Symbol 505 MovieClip Frame 1Symbol 302 MovieClip
"computer3_5"Symbol 505 MovieClip Frame 1Symbol 374 MovieClip
"computer3_7"Symbol 505 MovieClip Frame 1Symbol 381 MovieClip
"computer3_8"Symbol 505 MovieClip Frame 1Symbol 381 MovieClip
"computer4"Symbol 505 MovieClip Frame 1Symbol 374 MovieClip
"computer4_7"Symbol 505 MovieClip Frame 1Symbol 381 MovieClip
"computer2_6"Symbol 505 MovieClip Frame 1Symbol 427 MovieClip
"computer3_6"Symbol 505 MovieClip Frame 1Symbol 427 MovieClip
"computer4_6"Symbol 505 MovieClip Frame 1Symbol 427 MovieClip
"computer2_8"Symbol 505 MovieClip Frame 1Symbol 445 MovieClip
"computer4_8"Symbol 505 MovieClip Frame 1Symbol 427 MovieClip
"movFireLine"Symbol 505 MovieClip Frame 1Symbol 463 MovieClip
"movTransporter"Symbol 505 MovieClip Frame 1Symbol 504 MovieClip
"pl1_1"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl1_2"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl1_3"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl1_4"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl1_5"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl2_1"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl2_2"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl2_3"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl2_4"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl2_5"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl3_1"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl3_2"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl3_3"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl3_4"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl3_5"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl4_1"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl4_2"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl4_3"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl4_4"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"pl4_5"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"movBar"Symbol 516 MovieClip Frame 1Symbol 515 MovieClip
"show2char"Symbol 534 MovieClip Frame 1Symbol 521 MovieClip
"movP1Dead"Symbol 537 MovieClip Frame 1Symbol 519 MovieClip
"movP2Dead"Symbol 537 MovieClip Frame 1Symbol 534 MovieClip
"movP3Dead"Symbol 537 MovieClip Frame 1Symbol 535 MovieClip
"movP4Dead"Symbol 537 MovieClip Frame 1Symbol 536 MovieClip
"movBlock1"Symbol 546 MovieClip Frame 1Symbol 267 MovieClip
"movBlock4"Symbol 546 MovieClip Frame 1Symbol 409 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "gsnow"
ExportAssets (56)Timeline Frame 1Symbol 4 as "fsnow"
ExportAssets (56)Timeline Frame 1Symbol 6 as "snow"

Labels

#"LOADING"Frame 2
#"GAP"Frame 4
#"LOGIN"Frame 7
#"GAP"Frame 12
"LOADED"Frame 13
#"PLAY"Frame 16
"DONE"Frame 18
"gameout"Frame 19
"GAMEOVER"Frame 20
"GAMEOVER2"Frame 21

Dynamic Text Variables

txtLoadedSymbol 19 EditableText"99%"
txtFoolSymbol 21 EditableText""
txtNameSymbol 101 EditableText""
txtS1Symbol 506 EditableText"0"
txtS2Symbol 507 EditableText"0"
txtS3Symbol 508 EditableText"0"
txtS4Symbol 509 EditableText"0"
txtTimeSymbol 513 EditableText"5:00"




http://swfchan.com/26/125046/info.shtml
Created: 28/2 -2019 15:53:27 Last modified: 28/2 -2019 15:53:27 Server time: 22/12 -2024 17:12:17