Frame 1
_quality = "low";
nBytesTotal = _root.getBytesTotal();
nBytesLoaded = _root.getBytesLoaded();
nPercentLoaded = int((nBytesLoaded / nBytesTotal) * 100);
movLoader.gotoAndStop(nPercentLoaded);
if (nBytesLoaded >= nBytesTotal) {
var blnFX = 1;
var blnMusic = 1;
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 4
_quality = "low";
_focusrect = 0;
var blnTest = 0;
var nLives = 5;
var hallsuccess = "";
var nLevel = 1;
var nScore = 0;
var nContinent = 0;
var hasJustDied = 0;
var nPwdCount = 1;
var strCookies = "";
var arrPwd = new Array("1", "1", "1", "1");
var arrContinents = new Array("LONDON", "TOKYO", "SYDNEY", "NEW YORK", "PARIS");
var arrHereTheyAre = new Array();
arrHereTheyAre[1] = "1233";
arrHereTheyAre[2] = "3321";
arrHereTheyAre[3] = "1133";
arrHereTheyAre[4] = "1113";
arrHereTheyAre[5] = "1444";
arrHereTheyAre[6] = "1141";
arrHereTheyAre[7] = "2233";
arrHereTheyAre[8] = "2342";
arrHereTheyAre[9] = "2323";
arrHereTheyAre[10] = "2222";
arrHereTheyAre[11] = "2232";
arrHereTheyAre[12] = "2322";
arrHereTheyAre[13] = "1121";
arrHereTheyAre[14] = "1211";
arrHereTheyAre[15] = "3333";
arrHereTheyAre[16] = "3322";
arrHereTheyAre[17] = "3133";
arrHereTheyAre[18] = "3313";
arrHereTheyAre[19] = "3311";
arrHereTheyAre[20] = "3123";
Frame 5
getURL ("javascript:document.jumpinjacko.SetVariable('_level0.strCookies',(document.cookie) ? parseCookie(document.cookie) : '');");
Frame 6
if (strCookies != "") {
var tmpArr = String(strCookies).split("*####*");
var strCookieName = tmpArr[0];
var strCookieEmail = tmpArr[1];
var savessuccess = "";
var savedsuccess = "";
var success = "";
var loadsuccess = "";
gotoAndStop (8);
}
Frame 7
gotoAndPlay(_currentframe - 1 +3);
Frame 8
var strUsername = strCookieName;
var strEmail = strCookieEmail;
inpName = strUsername;
inpEmail = strEmail;
var inpPwd = "";
txtName = "YOU ARE LOGGED IN AS: " + tmpArr[0];
if (blnMusic == 1) {
loadMovieNum ("music.swf", 50);
sndDrums.gotoAndPlay(4);
}
var doneTour = 0;
nowplaying = "music";
stop();
Instance of Symbol 127 MovieClip "pwd1" in Frame 8
onClipEvent (load) {
}
Instance of Symbol 129 MovieClip in Frame 8
onClipEvent (enterFrame) {
var testPwd = (((_root.arrPwd[0] + _root.arrPwd[1]) + _root.arrPwd[2]) + _root.arrPwd[3]);
var nTestLevel = -1;
i = 1;
while (i <= 26) {
if (_root.arrHereTheyAre[i] == testPwd) {
nTestLevel = i;
}
i++;
}
if (nTestLevel != -1) {
txtL = "LEVEL " + nTestLevel;
} else {
txtL = "LEVEL 1";
}
}
Frame 12
switch (nLevel) {
case 1 :
case 2 :
case 3 :
case 4 :
nContinent = 1;
break;
case 5 :
case 6 :
case 7 :
case 8 :
nContinent = 2;
break;
case 9 :
case 10 :
case 11 :
case 12 :
nContinent = 3;
break;
case 13 :
case 14 :
case 15 :
case 16 :
nContinent = 4;
break;
case 17 :
case 18 :
case 19 :
case 20 :
nContinent = 5;
break;
default :
nContinent = 1;
}
movMap.gotoAndStop(2);
doneTour = 1;
stop();
Frame 13
switch (nLevel) {
case 1 :
case 2 :
case 3 :
case 4 :
nContinent = 1;
break;
case 5 :
case 6 :
case 7 :
case 8 :
nContinent = 2;
break;
case 9 :
case 10 :
case 11 :
case 12 :
nContinent = 3;
break;
case 13 :
case 14 :
case 15 :
case 16 :
nContinent = 4;
break;
case 17 :
case 18 :
case 19 :
case 20 :
nContinent = 5;
break;
default :
nContinent = 1;
}
if ((((((((nLevel == 1) || (nLevel == 5)) || (nLevel == 9)) || (nLevel == 13)) || (nLevel == 17)) && (hasJustDied == 0)) && (nLevel != 20)) && (doneTour == 0)) {
gotoAndStop (12);
} else {
doneTour = 0;
}
if (blnTest == 1) {
gotoAndPlay (22);
} else if (blnTest == 0) {
nTestID = nLevel;
}
Frame 14
function fLoseLife() {
if (movGame.movA.blnDead == 0) {
nLives--;
movGame.movA.blnDead = 1;
movGame.movA.gotoAndStop(13);
movLives.gotoAndStop(nLives);
_root.hasJustDied = 1;
if (nLives <= 0) {
movMsgs.gotoAndStop(5);
} else {
movMsgs.gotoAndStop(2);
}
}
}
function fLevComplete() {
if (movGame.movA.blnDead == 0) {
if (_root.blnFX == 1) {
_root.sndLevDone1.play();
}
nLevel++;
nScore = nScore + ((nBonus * nLevel) + 1000);
txtScore = nScore;
if (nLevel == 21) {
movMsgs.gotoAndStop(6);
} else if ((((nLevel == 5) || (nLevel == 9)) || (nLevel == 13)) || (nLevel == 17)) {
movMsgs.gotoAndStop(4);
nLives++;
} else {
movMsgs.gotoAndStop(3);
}
movGame.movA.blnDead = 1;
}
}
if (hasJustDied == 0) {
var nBonus = 2000;
}
hasJustDied = 0;
var nRows = 15;
var nCols = 20;
var nTotalLevels = 20;
txtScore = nScore;
txtBonus = nBonus;
var nScreens = 21;
var nScreen = 1;
var nStagesInCont = 4;
var blnDoorOpen = 0;
txtLevel = nLevel;
movLives.gotoAndStop(nLives);
var arrScreen = new Array();
m = 1;
while (m <= nScreens) {
arrScreen[m] = new Array();
i = 0;
while (i < nRows) {
arrScreen[m][i] = new Array();
j = 0;
while (j < nCols) {
arrScreen[m][i][j] = 0;
j++;
}
i++;
}
m++;
}
var arrLevelBuilder = new Array();
i = 0;
while (i <= nTotalLevels) {
arrLevelBuilder[i] = new Array("", "", "", "", "");
i++;
}
arrLevelBuilder[1][0] = "";
arrLevelBuilder[1][1] = "1#3#2#1#16#1#10#4#2#10#15#1#";
arrLevelBuilder[1][2] = "100#1#5#100#1#14#22#2#2#11#2#3#11#2#4#11#2#5#11#2#9#11#2#10#11#2#14#11#2#15#11#2#16#22#2#17#21#3#2#21#3#17#21#4#2#100#4#8#100#4#11#21#4#17#21#5#2#11#5#8#11#5#9#11#5#10#11#5#11#21#5#17#21#6#2#21#6#17#21#7#2#100#7#5#100#7#14#21#7#17#21#8#2#11#8#5#11#8#6#22#8#7#22#8#12#11#8#13#11#8#14#21#8#17#21#9#2#21#9#7#21#9#12#21#9#17#21#10#2#100#10#5#21#10#7#21#10#12#100#10#14#21#10#17#11#11#2#11#11#3#11#11#4#11#11#5#21#11#7#21#11#12#11#11#14#11#11#15#11#11#16#11#11#17#21#12#7#21#12#12#21#13#7#21#13#12#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[1][3] = "1#10";
arrLevelBuilder[1][4] = "";
arrLevelBuilder[8][0] = "4#132#415.95#3#4#10#4#161#410.95#3#7#13#4#143#410.95#3#11#7#";
arrLevelBuilder[8][1] = "";
arrLevelBuilder[8][2] = "100#0#19#100#1#0#11#1#18#11#1#19#11#2#0#11#2#1#11#2#8#11#2#9#11#2#10#11#2#11#100#3#18#100#4#1#11#4#17#11#4#18#11#4#19#11#5#0#11#5#1#11#5#2#100#6#19#100#7#0#11#7#18#11#7#19#11#8#0#11#8#1#100#9#18#100#10#1#11#10#17#11#10#18#11#10#19#11#11#0#11#11#1#11#11#2#102#13#4#102#13#5#102#13#6#102#13#7#102#13#8#102#13#9#102#13#10#102#13#11#102#13#12#102#13#13#102#13#14#102#13#15#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[8][3] = "1#10";
arrLevelBuilder[8][4] = "13#1";
arrLevelBuilder[3][0] = "4#74#276#1#6#3#4#75#278#1#7#13#";
arrLevelBuilder[3][1] = "";
arrLevelBuilder[3][2] = "14#0#3#14#0#4#14#0#5#14#0#6#14#0#13#14#0#14#14#0#15#14#0#16#14#1#4#14#1#5#14#1#14#14#1#15#100#2#4#102#2#5#14#3#4#14#3#5#14#3#14#14#3#15#100#4#4#102#4#5#102#4#14#100#4#15#14#5#4#14#5#5#14#5#14#14#5#15#100#6#4#102#6#5#102#6#14#100#6#15#14#7#4#14#7#5#14#7#14#14#7#15#100#8#4#102#8#14#100#8#15#14#9#4#14#9#5#14#9#14#14#9#15#102#10#14#100#10#15#14#11#4#14#11#5#14#11#14#14#11#15#14#12#4#14#12#5#14#12#14#14#12#15#14#13#3#14#13#4#14#13#5#14#13#6#14#13#13#14#13#14#14#13#15#14#13#16#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[3][3] = "13#19";
arrLevelBuilder[3][4] = "13#10";
arrLevelBuilder[13][0] = "";
arrLevelBuilder[13][1] = "";
arrLevelBuilder[13][2] = "18#2#4#18#2#5#18#2#7#18#2#8#18#2#10#18#2#11#18#2#13#18#2#14#13#2#16#13#2#17#13#2#18#13#2#19#100#3#0#13#4#0#100#4#19#13#5#19#19#6#4#102#6#5#19#6#6#19#6#7#19#6#8#102#6#9#19#6#10#102#6#11#19#6#12#19#6#13#19#6#14#102#6#15#19#6#16#62#7#3#13#7#4#13#7#5#13#7#6#13#7#7#13#7#8#13#7#9#13#7#10#13#7#11#13#7#12#13#7#13#13#7#14#13#7#15#13#7#16#100#8#19#13#9#19#100#10#0#13#11#0#102#11#4#19#11#5#19#11#6#102#11#7#19#11#8#19#11#9#19#11#10#19#11#11#18#11#12#102#11#13#19#11#14#19#11#15#102#11#16#13#12#4#13#12#5#13#12#6#13#12#7#13#12#8#13#12#9#13#12#10#13#12#11#13#12#12#13#12#13#13#12#14#13#12#15#13#12#16#13#13#4#13#13#5#13#13#6#13#13#7#13#13#8#13#13#9#13#13#10#13#13#11#13#13#12#13#13#13#13#13#14#13#13#15#13#13#16#63#13#17#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[13][3] = "1#19";
arrLevelBuilder[13][4] = "13#1";
arrLevelBuilder[7][0] = "";
arrLevelBuilder[7][1] = "";
arrLevelBuilder[7][2] = "13#0#5#13#1#0#13#1#5#101#1#7#101#1#9#101#1#11#101#1#13#101#1#15#13#2#5#13#2#7#13#2#9#13#2#11#13#2#13#13#2#15#13#3#3#13#3#5#13#3#7#13#3#9#13#3#11#13#3#13#13#3#15#13#4#3#13#4#5#13#4#7#13#4#9#13#4#11#13#4#13#13#4#15#13#5#2#13#5#3#13#5#5#13#5#7#13#5#9#13#5#11#13#5#13#13#5#15#13#6#3#13#6#5#61#6#6#13#6#7#13#6#9#13#6#11#13#6#13#13#6#15#100#7#0#13#7#3#13#7#5#13#7#7#13#7#9#13#7#11#13#7#13#13#7#15#13#8#0#13#8#3#13#8#5#13#8#7#13#8#9#13#8#11#13#8#13#13#8#15#13#9#3#13#9#5#13#9#7#13#9#9#13#9#11#13#9#13#13#9#15#13#10#3#13#10#5#13#10#7#13#10#9#13#10#11#13#10#13#13#10#15#100#10#17#13#11#2#13#11#3#13#11#5#13#11#7#13#11#9#13#11#11#13#11#13#13#11#15#13#11#17#13#12#3#13#12#7#13#12#11#13#12#15#13#13#3#19#13#4#19#13#5#63#13#6#13#13#7#102#13#8#102#13#9#102#13#10#13#13#11#102#13#12#102#13#13#102#13#14#13#13#15#102#13#16#102#13#17#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[7][3] = "13#19";
arrLevelBuilder[7][4] = "13#0";
arrLevelBuilder[4][0] = "";
arrLevelBuilder[4][1] = "7#4#2#10#14#1#";
arrLevelBuilder[4][2] = "100#1#4#100#1#8#100#1#12#100#1#16#13#2#2#13#2#3#13#2#4#13#2#6#13#2#7#13#2#8#13#2#9#13#2#10#13#2#11#13#2#12#13#2#13#13#2#14#13#2#16#13#2#17#13#2#18#13#2#19#101#4#2#100#4#11#13#5#0#13#5#1#13#5#2#13#5#3#13#5#4#13#5#5#13#5#6#13#5#8#13#5#9#13#5#10#13#5#11#13#5#12#13#5#13#13#5#14#13#5#15#13#5#16#101#7#17#100#7#19#13#8#3#13#8#4#13#8#5#13#8#6#13#8#7#13#8#8#13#8#9#13#8#10#13#8#11#13#8#12#13#8#13#13#8#14#13#8#15#13#8#16#13#8#17#13#8#18#13#8#19#100#10#3#100#10#7#100#10#11#100#10#15#13#11#0#13#11#1#13#11#2#13#11#3#13#11#4#13#11#5#13#11#6#13#11#7#13#11#8#13#11#9#13#11#10#13#11#11#13#11#12#13#11#13#13#11#14#13#11#15#13#11#16#101#13#5#101#13#14#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[4][3] = "1#19";
arrLevelBuilder[4][4] = "13#2";
arrLevelBuilder[11][0] = "";
arrLevelBuilder[11][1] = "1#3#2#1#16#1#10#3#2#10#16#1#";
arrLevelBuilder[11][2] = "100#1#5#100#1#14#22#2#2#11#2#3#11#2#4#11#2#5#11#2#9#11#2#10#11#2#14#11#2#15#11#2#16#22#2#17#21#3#2#21#3#17#21#4#2#100#4#8#102#4#9#102#4#10#100#4#11#21#4#17#21#5#2#11#5#8#11#5#9#11#5#10#11#5#11#21#5#17#21#6#2#21#6#17#21#7#2#100#7#5#100#7#14#21#7#17#21#8#2#11#8#5#11#8#6#22#8#7#22#8#12#11#8#13#11#8#14#21#8#17#21#9#2#21#9#7#21#9#12#21#9#17#21#10#2#100#10#5#21#10#7#21#10#12#100#10#14#21#10#17#11#11#2#11#11#3#22#11#4#11#11#5#21#11#7#21#11#12#11#11#14#22#11#15#11#11#16#11#11#17#21#12#4#21#12#7#21#12#12#21#12#15#21#13#4#21#13#7#102#13#8#102#13#9#102#13#10#102#13#11#21#13#12#21#13#15#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[11][3] = "1#10";
arrLevelBuilder[1][4] = "13#0";
arrLevelBuilder[6][0] = "4#261#409.95#3#6#10#";
arrLevelBuilder[6][1] = "2#3#2#13#6#1#13#13#2#";
arrLevelBuilder[6][2] = "100#0#5#11#2#0#11#2#1#11#2#2#11#2#9#11#2#10#11#2#11#11#2#12#11#2#13#11#2#14#11#2#15#11#3#3#11#3#4#11#3#5#11#3#6#11#3#7#11#3#8#100#3#12#13#4#17#13#4#18#13#4#19#13#5#17#100#5#18#11#6#5#11#6#6#11#6#7#11#6#8#13#6#17#101#6#18#22#7#0#11#7#1#11#7#2#11#7#3#11#7#4#11#7#17#11#7#18#22#7#19#21#8#0#21#8#19#21#9#0#13#9#7#21#9#19#21#10#0#100#10#3#21#10#19#11#11#0#11#11#1#11#11#2#11#11#3#11#11#4#22#11#5#11#11#8#11#11#11#22#11#14#11#11#15#11#11#16#11#11#17#11#11#18#11#11#19#13#12#0#13#12#1#13#12#2#13#12#3#13#12#4#21#12#5#21#12#14#13#12#15#13#12#16#13#12#17#13#12#18#13#12#19#13#13#0#13#13#1#13#13#2#13#13#3#13#13#4#21#13#5#13#13#8#102#13#9#102#13#10#13#13#11#21#13#14#13#13#15#13#13#16#13#13#17#13#13#18#13#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[6][3] = "1#1";
arrLevelBuilder[6][4] = "8#11";
arrLevelBuilder[12][0] = "";
arrLevelBuilder[12][1] = "5#3#2#5#9#2#13#14#2#";
arrLevelBuilder[12][2] = "13#0#15#13#0#16#13#0#17#13#0#18#13#0#19#13#1#15#13#1#16#13#1#17#13#1#18#13#1#19#13#2#15#13#2#16#13#2#17#13#2#18#13#2#19#13#3#15#13#4#15#13#5#15#13#6#3#13#6#4#13#6#5#13#6#6#13#6#9#13#6#10#13#6#11#13#6#12#13#6#15#11#6#16#11#6#17#11#6#18#13#7#3#13#7#4#13#7#5#13#7#6#13#7#9#13#7#10#13#7#11#13#7#12#13#7#15#13#7#16#13#7#17#13#7#18#100#7#19#13#8#3#13#8#4#13#8#5#13#8#6#13#8#9#13#8#10#13#8#11#13#8#12#13#8#15#13#8#16#13#8#17#13#8#18#13#9#3#13#9#4#13#9#5#13#9#6#13#9#9#13#9#10#13#9#11#13#9#12#100#10#2#13#10#3#13#10#4#13#10#5#13#10#6#100#10#8#13#10#9#13#10#10#13#10#11#13#10#12#100#10#15#13#11#3#13#11#4#13#11#5#13#11#6#13#11#9#13#11#10#13#11#11#13#11#12#13#12#3#13#12#4#13#12#5#13#12#6#13#12#9#13#12#10#13#12#11#13#12#12#63#13#2#13#13#3#13#13#4#13#13#5#13#13#6#102#13#7#63#13#8#13#13#9#13#13#10#13#13#11#13#13#12#102#13#13#63#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[12][3] = "5#17";
arrLevelBuilder[12][4] = "13#0";
arrLevelBuilder[2][0] = "";
arrLevelBuilder[2][1] = "6#0#2#6#19#1#9#1#2#9#18#1#";
arrLevelBuilder[2][2] = "100#3#5#11#3#7#11#3#8#11#3#9#11#3#10#11#3#11#11#3#12#100#3#14#11#5#5#11#5#14#22#7#0#11#7#1#11#7#2#11#7#3#100#7#10#11#7#16#11#7#17#11#7#18#22#7#19#21#8#0#21#8#19#21#9#0#21#9#19#11#10#0#11#10#1#11#10#2#11#10#3#11#10#4#11#10#5#11#10#6#22#10#7#22#10#13#11#10#14#11#10#15#11#10#16#11#10#17#11#10#18#11#10#19#21#11#7#21#11#13#21#12#7#21#12#13#100#13#0#13#13#7#13#13#13#100#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[2][3] = "2#10";
arrLevelBuilder[2][4] = "13#10";
arrLevelBuilder[9][0] = "4#19#297#1#3#4#4#21#298#1#4#8#4#15#301#1#5#12#4#18#296#1#6#16#";
arrLevelBuilder[9][1] = "";
arrLevelBuilder[9][2] = "100#1#19#11#2#19#11#3#0#11#3#1#11#3#2#100#6#0#11#7#0#100#9#5#100#9#9#100#9#13#11#10#5#11#10#9#11#10#13#100#11#0#11#12#0#11#12#18#11#12#19#102#13#0#102#13#1#102#13#2#102#13#3#102#13#4#102#13#5#102#13#6#102#13#7#102#13#8#102#13#9#102#13#10#102#13#11#102#13#12#102#13#13#102#13#14#102#13#15#102#13#16#102#13#17#102#13#18#102#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[9][3] = "11#19";
arrLevelBuilder[9][4] = "2#0";
arrLevelBuilder[10][0] = "";
arrLevelBuilder[10][1] = "6#19#2#";
arrLevelBuilder[10][2] = "100#0#0#100#0#19#11#1#0#11#1#6#11#1#19#11#2#1#11#2#7#11#2#12#11#2#18#11#3#2#11#3#8#11#3#11#11#3#17#11#4#3#102#4#4#11#4#9#11#4#10#102#4#15#11#4#16#11#5#4#11#5#15#11#6#5#100#6#6#100#6#13#11#6#14#11#7#6#11#7#13#11#8#5#11#8#14#11#9#4#11#9#9#11#9#10#11#9#15#11#10#3#102#10#7#11#10#8#11#10#11#102#10#12#11#10#16#11#11#2#11#11#7#11#11#12#11#11#17#11#12#1#100#12#5#11#12#6#11#12#13#100#12#14#11#12#18#11#13#0#11#13#5#11#13#14#11#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[10][3] = "3#10";
arrLevelBuilder[10][4] = "8#10";
arrLevelBuilder[14][0] = "";
arrLevelBuilder[14][1] = "3#4#2#13#16#1#";
arrLevelBuilder[14][2] = "14#2#9#14#2#10#14#2#11#14#2#12#14#2#13#14#2#14#14#2#15#14#2#16#14#2#17#14#2#18#14#2#19#100#3#18#14#4#4#14#4#5#14#4#6#14#4#7#14#4#8#14#4#9#14#4#10#14#4#11#14#4#12#14#4#13#14#4#14#14#4#15#14#4#16#14#4#17#14#4#18#14#4#19#14#5#5#14#5#10#14#5#15#14#6#1#14#6#2#100#6#7#100#6#12#14#7#0#14#7#3#14#7#6#14#7#7#14#7#8#14#7#11#14#7#12#14#7#13#14#7#16#14#7#17#14#7#18#100#8#0#14#8#3#14#8#6#14#8#8#14#8#11#14#8#13#14#8#16#14#8#18#14#9#0#14#9#1#14#9#3#14#9#4#14#9#5#14#9#6#14#9#8#14#9#9#14#9#10#14#9#11#14#9#13#14#9#14#14#9#15#14#9#16#14#9#18#14#10#1#14#11#1#14#11#2#14#11#3#14#11#4#14#11#5#14#11#6#14#11#7#14#11#8#14#11#9#14#11#10#14#11#11#14#11#12#14#11#13#21#11#14#14#11#15#14#11#16#14#11#17#14#11#18#21#12#14#14#12#17#14#12#18#21#13#14#63#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[14][3] = "1#19";
arrLevelBuilder[14][4] = "13#0";
arrLevelBuilder[16][0] = "4#139#246#1#10#18#";
arrLevelBuilder[16][1] = "4#12#1#13#7#1#13#10#2#";
arrLevelBuilder[16][2] = "100#1#11#13#4#6#13#4#9#13#4#13#11#5#6#11#5#7#11#5#8#11#5#9#11#5#10#11#5#11#11#5#12#11#5#13#11#5#14#11#5#15#100#9#7#100#9#12#22#10#14#11#10#15#11#10#16#21#11#14#13#11#15#13#12#4#13#12#9#13#12#14#13#12#15#13#13#2#13#13#3#13#13#4#100#13#5#102#13#8#13#13#9#100#13#13#13#13#14#13#13#15#102#13#16#102#13#17#102#13#18#102#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[16][3] = "4#8";
arrLevelBuilder[16][4] = "13#0";
arrLevelBuilder[17][0] = "4#34#232#3#12#0#";
arrLevelBuilder[17][1] = "5#18#2#";
arrLevelBuilder[17][2] = "100#2#14#100#2#19#101#3#0#100#3#2#100#3#9#19#3#12#19#3#13#19#3#14#19#3#15#19#3#16#11#3#18#11#3#19#11#4#0#11#4#1#11#4#2#13#4#3#18#4#7#18#4#8#18#4#9#18#4#10#18#4#11#13#5#3#102#5#14#13#6#3#61#6#5#14#6#13#11#6#14#100#6#15#11#6#16#11#6#17#22#6#18#11#6#19#11#7#0#11#7#1#13#7#3#11#7#5#19#7#6#19#7#7#19#7#8#100#7#10#14#7#13#21#7#18#13#8#3#19#8#9#19#8#10#19#8#11#14#8#13#21#8#18#13#9#3#14#9#13#13#9#15#11#9#16#11#9#17#11#9#18#11#9#19#11#10#1#11#10#2#11#10#3#18#10#7#18#10#8#18#10#9#18#10#10#18#10#11#11#10#12#11#10#13#13#10#15#13#11#15#11#12#10#11#12#11#11#12#12#11#12#13#11#12#14#11#12#15#102#13#5#102#13#6#102#13#7#100#13#9#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[17][3] = "13#18";
arrLevelBuilder[17][4] = "6#0";
arrLevelBuilder[15][0] = "";
arrLevelBuilder[15][1] = "2#3#2#6#14#2#8#9#2#13#7#2#";
arrLevelBuilder[15][2] = "100#1#0#100#1#18#14#2#0#100#2#8#22#2#18#11#3#2#11#3#3#11#3#4#11#3#8#11#3#12#11#3#13#11#3#14#11#3#15#11#3#16#11#3#17#21#3#18#11#4#9#101#4#10#11#4#11#21#4#18#100#4#19#22#5#1#11#5#2#11#5#4#11#5#5#11#5#6#101#5#7#11#5#10#21#5#18#14#5#19#100#6#0#21#6#1#11#6#7#102#6#8#11#6#9#21#6#18#11#7#0#21#7#1#11#7#8#100#7#12#11#7#13#11#7#14#22#7#15#11#7#17#11#7#18#21#8#1#11#8#12#21#8#15#21#9#1#11#9#6#11#9#7#11#9#8#11#9#9#11#9#10#11#9#11#11#9#12#21#9#15#100#9#17#11#9#18#11#10#1#22#10#5#100#10#8#100#10#11#21#10#15#11#10#17#100#11#3#11#11#4#21#11#5#11#11#8#11#11#11#21#11#15#11#11#16#11#12#3#21#12#5#11#12#7#11#12#12#11#12#15#102#13#0#102#13#1#102#13#3#102#13#4#21#13#5#102#13#16#102#13#17#102#13#18#14#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[15][3] = "13#10";
arrLevelBuilder[15][4] = "6#17";
arrLevelBuilder[19][0] = "4#67#324#1#6#19#";
arrLevelBuilder[19][1] = "";
arrLevelBuilder[19][2] = "11#3#0#11#3#1#100#3#4#100#3#12#11#4#4#11#4#12#102#7#0#102#7#1#19#7#2#19#7#3#19#7#4#102#7#5#19#7#6#102#7#7#19#7#8#19#7#9#19#7#10#102#7#11#19#7#12#102#7#13#19#7#14#19#7#15#19#7#16#102#7#17#13#8#0#13#8#1#13#8#2#13#8#3#13#8#4#13#8#5#13#8#6#13#8#7#13#8#8#13#8#9#13#8#10#13#8#11#13#8#12#13#8#13#13#8#14#13#8#15#13#8#16#13#8#17#13#9#0#13#9#1#13#9#2#13#9#3#100#9#4#13#9#5#13#9#6#13#9#7#100#9#8#13#9#9#13#9#10#13#9#11#100#9#12#13#9#13#13#9#14#13#9#15#13#9#16#13#9#17#102#13#1#18#13#2#102#13#3#18#13#4#18#13#5#18#13#6#18#13#7#18#13#8#102#13#9#18#13#10#102#13#11#18#13#12#102#13#13#18#13#14#18#13#15#18#13#16#102#13#17#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[19][3] = "2#1";
arrLevelBuilder[19][4] = "13#0";
arrLevelBuilder[20][0] = "";
arrLevelBuilder[20][1] = "1#3#1#1#16#1#5#3#1#5#16#1#9#3#2#9#16#2#13#3#2#13#16#2#";
arrLevelBuilder[20][2] = "100#1#1#100#1#18#22#2#1#11#2#2#11#2#3#11#2#4#22#2#5#22#2#14#11#2#15#11#2#16#11#2#17#22#2#18#21#3#1#21#3#5#21#3#14#21#3#18#21#4#1#21#4#5#21#4#14#21#4#18#21#5#1#21#5#5#21#5#14#21#5#18#11#6#1#11#6#2#11#6#3#11#6#4#11#6#5#11#6#14#11#6#15#11#6#16#11#6#17#11#6#18#11#8#9#11#8#10#100#9#1#100#9#18#22#10#1#11#10#2#11#10#3#11#10#4#22#10#5#22#10#14#11#10#15#11#10#16#11#10#17#22#10#18#21#11#1#21#11#5#21#11#14#21#11#18#21#12#1#21#12#5#21#12#14#21#12#18#63#13#0#21#13#1#100#13#4#21#13#5#13#13#6#62#13#8#62#13#11#13#13#13#21#13#14#100#13#15#21#13#18#63#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[20][3] = "7#10";
arrLevelBuilder[20][4] = "13#10";
arrLevelBuilder[18][0] = "4#92#147#3#8#4#4#337#382#3#8#14#";
arrLevelBuilder[18][1] = "3#13#2#";
arrLevelBuilder[18][2] = "13#1#0#13#1#1#13#1#7#13#1#8#100#1#14#13#1#18#13#1#19#13#2#0#13#2#1#13#2#7#13#2#8#13#2#18#13#2#19#11#3#0#11#3#1#11#3#2#11#3#3#11#3#4#11#3#7#11#3#8#11#3#9#11#3#10#11#3#11#11#3#12#13#3#16#13#4#7#13#4#8#13#4#9#13#4#10#13#4#11#13#4#12#11#4#13#11#4#14#11#4#15#11#4#16#11#5#5#11#5#6#11#5#7#11#5#8#11#5#9#11#5#10#11#5#11#11#5#12#100#5#16#11#5#17#11#5#18#22#5#19#11#6#4#100#6#5#100#6#10#21#6#19#21#7#19#11#8#0#11#8#1#11#8#2#19#8#7#19#8#8#19#8#9#19#8#10#19#8#11#19#8#12#11#8#17#11#8#18#11#8#19#102#9#4#102#9#5#102#9#6#102#9#13#102#9#14#102#9#15#13#10#4#13#10#5#13#10#6#13#10#13#13#10#14#13#10#15#13#11#4#13#11#5#13#11#6#13#11#13#13#11#14#13#11#15#102#12#0#102#12#1#102#12#2#13#12#4#13#12#5#13#12#6#13#12#13#13#12#14#13#12#15#102#12#17#102#12#18#102#12#19#13#13#0#13#13#1#13#13#2#102#13#3#13#13#4#13#13#5#13#13#6#102#13#7#102#13#8#102#13#9#102#13#10#102#13#11#102#13#12#13#13#13#13#13#14#13#13#15#102#13#16#13#13#17#13#13#18#13#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[18][3] = "2#10";
arrLevelBuilder[18][4] = "2#2";
arrLevelBuilder[5][0] = "4#175#351#3#12#6#";
arrLevelBuilder[5][1] = "5#9#1#9#9#1#";
arrLevelBuilder[5][2] = "13#1#0#13#1#1#13#1#2#13#1#3#13#1#4#11#2#0#11#2#1#11#2#2#11#2#3#11#2#4#100#2#7#11#2#13#11#2#14#11#2#15#11#2#16#14#2#17#14#3#17#14#4#17#13#5#4#13#5#10#11#5#17#11#5#18#100#5#19#11#6#3#11#6#4#11#6#5#11#6#6#11#6#7#11#6#8#11#6#9#11#6#10#11#7#0#100#7#6#11#7#11#11#7#12#11#7#13#11#7#14#13#8#0#11#8#1#11#8#15#13#9#0#13#9#1#11#9#2#14#9#10#11#9#16#11#10#0#11#10#1#11#10#2#11#10#3#11#10#4#11#10#5#11#10#6#11#10#7#11#10#8#11#10#9#11#10#10#11#10#11#11#10#12#100#10#14#11#10#17#102#13#7#102#13#8#102#13#9#102#13#10#102#13#11#102#13#12#102#13#13#102#13#14#102#13#15#102#13#16#102#13#17#102#13#18#63#13#19#12#14#0#12#14#1#12#14#2#12#14#3#12#14#4#12#14#5#12#14#6#12#14#7#12#14#8#12#14#9#12#14#10#12#14#11#12#14#12#12#14#13#12#14#14#12#14#15#12#14#16#12#14#17#12#14#18#12#14#19#";
arrLevelBuilder[5][3] = "1#15";
arrLevelBuilder[5][4] = "13#0";
var strInput = arrLevelBuilder[nLevel][0];
var arrInput = String(strInput).split("#");
var nLifts = Math.round(arrInput.length / 6);
var arrLifts = new Array();
var nStrCnt = 0;
i = 1;
while (i <= nLifts) {
arrLifts[i] = new Array();
arrLifts[i][0] = Number(arrInput[nStrCnt]);
arrLifts[i][1] = Number(arrInput[nStrCnt + 1]);
arrLifts[i][2] = Number(arrInput[nStrCnt + 2]);
arrLifts[i][3] = Number(arrInput[nStrCnt + 3]);
arrScreen[1][Number(arrInput[nStrCnt + 4])][Number(arrInput[nStrCnt + 5])] = 51;
nStrCnt = nStrCnt + 6;
i++;
}
var strInput = arrLevelBuilder[nLevel][1];
var arrInput = String(strInput).split("#");
var nBaddyCount = Math.round(arrInput.length / 3);
var arrBaddys = new Array();
var nStrCnt = 0;
i = 1;
while (i <= nBaddyCount) {
arrBaddys[i] = new Array();
arrBaddys[i][0] = Number(arrInput[nStrCnt + 2]);
arrScreen[1][arrInput[nStrCnt]][arrInput[nStrCnt + 1]] = 111;
nStrCnt = nStrCnt + 3;
i++;
}
var nBabyCount = 0;
var strInput = arrLevelBuilder[nLevel][2];
var arrInput = String(strInput).split("#");
var nICnt = 0;
i = 1;
while (i <= Math.round(arrInput.length / 3)) {
if (arrInput[nICnt] != 51) {
arrScreen[1][arrInput[nICnt + 1]][arrInput[nICnt + 2]] = arrInput[nICnt];
if (arrInput[nICnt] == 100) {
nBabyCount++;
}
}
nICnt = nICnt + 3;
i++;
}
var strInput = arrLevelBuilder[nLevel][3];
var arrInput = String(strInput).split("#");
var nICnt = 0;
i = 1;
while (i <= (arrInput.length / 2)) {
arrScreen[1][arrInput[nICnt]][arrInput[nICnt + 1]] = 99;
nICnt = nICnt + 2;
i++;
}
var strInput = arrLevelBuilder[nLevel][4];
var arrInput = String(strInput).split("#");
var nJackoY = arrInput[1];
var nJackoX = arrInput[0];
arrScreen[1][14][0] = 12;
arrScreen[1][14][1] = 12;
arrScreen[1][14][2] = 12;
arrScreen[1][14][3] = 12;
arrScreen[1][14][4] = 12;
arrScreen[1][14][5] = 12;
arrScreen[1][14][6] = 12;
arrScreen[1][14][7] = 12;
arrScreen[1][14][8] = 12;
arrScreen[1][14][9] = 12;
arrScreen[1][14][10] = 12;
arrScreen[1][14][11] = 12;
arrScreen[1][14][12] = 12;
arrScreen[1][14][13] = 12;
arrScreen[1][14][14] = 12;
arrScreen[1][14][15] = 12;
arrScreen[1][14][16] = 12;
arrScreen[1][14][17] = 12;
arrScreen[1][14][18] = 12;
arrScreen[1][14][19] = 12;
Frame 15
if ((blnMusic == 1) && (nowplaying == "nothing")) {
loadMovieNum ("music.swf", 50);
}
nowplaying = "music";
stop();
Instance of Symbol 451 MovieClip "movGame" in Frame 15
onClipEvent (load) {
function fClearScreen() {
i = 0;
while (i < _root.nRows) {
j = 0;
while (j < _root.nCols) {
removeMovieClip((i + "#") + j);
j++;
}
i++;
}
removeMovieClip("movA");
removeMovieClip("movStageDoor");
}
function fGenerateScreen() {
movStageDoor._x = 150;
movStageDoor._y = 150;
arrGrid = new Array();
nDepth = 100;
var nLiftCount = 1;
var nBaddyCount = 1;
i = 0;
while (i < _root.nRows) {
arrGrid[i] = new Array();
j = 0;
while (j < _root.nCols) {
arrGrid[i][j] = _root.arrScreen[_root.nScreen][i][j];
removeMovieClip((i + "#") + j);
if ((arrGrid[i][j] > 0) || (arrGrid[i][j] == 51)) {
if ((arrGrid[i][j] >= 111) && (arrGrid[i][j] < 120)) {
duplicateMovieClip (eval ("mov" + arrGrid[i][j]), (i + "#") + j, nDepth + 500);
eval ((i + "#") + j)._x = 25 * j;
eval ((i + "#") + j)._y = 25 * i;
} else if (arrGrid[i][j].substr(0, 3) == "51-") {
duplicateMovieClip ("mov51", (i + "#") + j, nDepth);
eval ((i + "#") + j)._x = 25 * j;
eval ((i + "#") + j)._y = 25 * i;
} else if (arrGrid[i][j] == 99) {
duplicateMovieClip (eval ("mov" + arrGrid[i][j]), "movStageDoor", nDepth);
movStageDoor._x = 25 * j;
movStageDoor._y = 25 * i;
} else {
duplicateMovieClip (eval ("mov" + arrGrid[i][j]), (i + "#") + j, nDepth);
eval ((i + "#") + j)._x = 25 * j;
eval ((i + "#") + j)._y = 25 * i;
}
nDepth++;
if (arrGrid[i][j] == 51) {
eval ((i + "#") + j).nID = nLiftCount;
eval ((i + "#") + j).nSpd = _parent.arrLifts[nLiftCount][0];
eval ((i + "#") + j).nEndP1 = _parent.arrLifts[nLiftCount][1];
eval ((i + "#") + j).nEndP2 = _parent.arrLifts[nLiftCount][2];
eval ((i + "#") + j).nDir = _parent.arrLifts[nLiftCount][3];
nLiftCount++;
arrGrid[i][j] = 0;
}
if ((arrGrid[i][j] >= 111) && (arrGrid[i][j] < 120)) {
if (_parent.arrBaddys[nBaddyCount][0] == 1) {
eval ((i + "#") + j).blnLeft = 1;
} else {
eval ((i + "#") + j).blnRight = 1;
}
nBaddyCount++;
}
}
j++;
}
i++;
}
}
duplicateMovieClip ("movArnold", "movA", 1000);
movA._x = _root.nJackoY * 25;
movA._y = _root.nJackoX * 25;
var nBCount = 0;
var arrCanJump = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var blnJumpUpTest = 0;
}
onClipEvent (enterFrame) {
if (movA.blnDead == 0) {
nBCount++;
if ((_root.nBonus > 0) && ((nBCount / 20) == Math.round(nBCount / 20))) {
_root.nBonus = _root.nBonus - 20;
_root.txtBonus = _root.nBonus;
}
}
}
Frame 22
function fSelectToLoad(id) {
nSaveNumID = id;
nSaveNumID2 = eval ("extID" + id);
}
function fPlaceItem(nType) {
nMyTool = nType;
movMenu.movTools.gotoAndStop("fr" + nType);
}
function fLoadLevel() {
i = 0;
while (i < nRows) {
j = 0;
while (j < nCols) {
arrSaveGrid[i][j] = 0;
eval ((("movEditor." + i) + "#") + j).gotoAndStop(1);
j++;
}
i++;
}
var strInput = lifts;
var arrInput = String(strInput).split("#");
var nStrCnt = 0;
var nLifts = Math.round(arrInput.length / 6);
nSaveLiftCount = nLifts;
i = 1;
while (i <= nLifts) {
arrSaveLifts[i] = new Array();
arrSaveLifts[i][0] = Number(arrInput[nStrCnt]);
arrSaveLifts[i][1] = Number(arrInput[nStrCnt + 1]);
arrSaveLifts[i][2] = Number(arrInput[nStrCnt + 2]);
arrSaveLifts[i][3] = Number(arrInput[nStrCnt + 3]);
arrSaveLifts[i][4] = Number(arrInput[nStrCnt + 4]);
arrSaveLifts[i][5] = Number(arrInput[nStrCnt + 5]);
arrSaveGrid[Number(arrInput[nStrCnt + 4])][Number(arrInput[nStrCnt + 5])] = "51-" + i;
nStrCnt = nStrCnt + 6;
i++;
}
var strInput = baddys;
var arrInput = String(strInput).split("#");
var nBaddyCount = Math.round(arrInput.length / 3);
var arrSaveBaddys = new Array();
var nStrCnt = 0;
i = 1;
while (i <= nBaddyCount) {
arrSaveBaddys[i] = new Array();
arrSaveBaddys[i][0] = Number(arrInput[nStrCnt + 2]);
if (arrSaveBaddys[i][0] == 1) {
arrSaveGrid[arrInput[nStrCnt]][arrInput[nStrCnt + 1]] = 112;
} else {
arrSaveGrid[arrInput[nStrCnt]][arrInput[nStrCnt + 1]] = 111;
}
nStrCnt = nStrCnt + 3;
i++;
}
var strInput = other;
var arrInput = String(strInput).split("#");
var nICnt = 0;
i = 1;
while (i <= arrInput.length) {
arrSaveGrid[arrInput[nICnt + 1]][arrInput[nICnt + 2]] = Number(arrInput[nICnt]);
nICnt = nICnt + 3;
i++;
}
var strInput = stage;
var arrInput = String(strInput).split("#");
var nICnt = 0;
i = 1;
while (i <= (arrInput.length / 2)) {
arrSaveGrid[arrInput[nICnt]][arrInput[nICnt + 1]] = 99;
nICnt = nICnt + 2;
i++;
}
var strInput = jacko;
var arrInput = String(strInput).split("#");
var nICnt = 0;
i = 1;
while (i <= 2) {
arrSaveGrid[arrInput[nICnt]][arrInput[nICnt + 1]] = 1000;
nICnt = nICnt + 2;
i++;
}
arrSaveGrid[14][0] = 12;
arrSaveGrid[14][1] = 12;
arrSaveGrid[14][2] = 12;
arrSaveGrid[14][3] = 12;
arrSaveGrid[14][4] = 12;
arrSaveGrid[14][5] = 12;
arrSaveGrid[14][6] = 12;
arrSaveGrid[14][7] = 12;
arrSaveGrid[14][8] = 12;
arrSaveGrid[14][9] = 12;
arrSaveGrid[14][10] = 12;
arrSaveGrid[14][11] = 12;
arrSaveGrid[14][12] = 12;
arrSaveGrid[14][13] = 12;
arrSaveGrid[14][14] = 12;
arrSaveGrid[14][15] = 12;
arrSaveGrid[14][16] = 12;
arrSaveGrid[14][17] = 12;
arrSaveGrid[14][18] = 12;
arrSaveGrid[14][19] = 12;
i = 0;
while (i < nRows) {
j = 0;
while (j < nCols) {
if (arrSaveGrid[i][j] != 0) {
if (arrSaveGrid[i][j].substr(0, 3) != "51-") {
eval ((("movEditor." + i) + "#") + j).gotoAndStop("fr" + arrSaveGrid[i][j]);
} else {
eval ((("movEditor." + i) + "#") + j).gotoAndStop("fr51");
}
}
j++;
}
i++;
}
}
function fAdd(x, y) {
if (nMyTool != -1) {
eval ((("movEditor." + y) + "#") + x).gotoAndStop("fr" + nMyTool);
arrSaveGrid[y][x] = nMyTool;
if (nMyTool == 1000) {
if (!blnJacko) {
blnJacko = 1;
} else {
eval ((("movEditor." + y) + "#") + x).gotoAndStop(1);
arrSaveGrid[y][x] = 0;
}
}
if (nMyTool == 99) {
if (!blnStageDoor) {
blnStageDoor = 1;
} else {
eval ((("movEditor." + y) + "#") + x).gotoAndStop(1);
arrSaveGrid[y][x] = 0;
}
}
if (nMyTool == 51) {
nSaveLiftCount++;
arrSaveLifts[nSaveLiftCount] = new Array();
arrSaveLifts[nSaveLiftCount][0] = 4;
arrSaveLifts[nSaveLiftCount][4] = y;
arrSaveLifts[nSaveLiftCount][5] = x;
movLiftWizard.gotoAndStop(2);
arrSaveGrid[y][x] = (nMyTool + "-") + nSaveLiftCount;
}
}
}
function fDelete(x, y) {
if (arrSaveGrid[y][x] == 1000) {
blnJacko = 0;
}
if (arrSaveGrid[y][x] == 99) {
blnStageDoor = 0;
}
arrSaveGrid[y][x] = 0;
eval ((("movEditor." + y) + "#") + x).gotoAndStop(1);
}
Frame 23
var blnMenu = 1;
var nRows = 15;
var nCols = 20;
var nMyTool = -1;
var blnJacko = 0;
var blnStageDoor = 0;
var arrSaveLifts = new Array();
var nSaveLiftCount = 0;
var nSaveNumID = 0;
var nSaveNumID2 = 0;
var arrSaveGrid = new Array();
i = 0;
while (i < nRows) {
arrSaveGrid[i] = new Array();
j = 0;
while (j < nCols) {
if (i == 14) {
arrSaveGrid[i][j] = 12;
} else {
eval ((("movEditor." + i) + "#") + j).gotoAndStop(1);
arrSaveGrid[i][j] = 0;
}
j++;
}
i++;
}
stop();
Instance of Symbol 515 MovieClip "movEditor" in Frame 23
onClipEvent (load) {
arrGrid = new Array();
nDepth = 100;
var nLiftCount = 1;
var nBaddyCount = 1;
i = 0;
while (i < _root.nRows) {
arrGrid[i] = new Array();
j = 0;
while (j < _root.nCols) {
duplicateMovieClip ("movHiddenButton", (i + "#") + j, nDepth);
eval ((i + "#") + j)._x = 25 * j;
eval ((i + "#") + j)._y = 25 * i;
eval ((i + "#") + j).nX = j;
eval ((i + "#") + j).nY = i;
if (_root.arrSaveGrid[i][j] == 12) {
eval ((i + "#") + j).gotoAndStop("fr12");
}
nDepth++;
j++;
}
i++;
}
}
onClipEvent (enterFrame) {
_root.d2 = _root._xmouse;
_root.d3 = _root._ymouse;
}
Instance of Symbol 582 MovieClip in Frame 23
/* no clip actions */
Symbol 35 MovieClip Frame 1
text = "STAGE 1 - LONDON";
max = length(text);
i = "1";
Symbol 35 MovieClip Frame 2
i = Number(i) + 1;
screen = substring(text, 1, i);
Symbol 35 MovieClip Frame 3
if (Number(i) > Number(max)) {
stop();
} else {
if (_root.blnFX == 1) {
_root.sndClick.play();
}
gotoAndPlay (2);
}
Symbol 37 MovieClip Frame 22
stop();
Symbol 39 MovieClip Frame 120
stop();
_root.play();
Symbol 44 MovieClip Frame 1
text = "STAGE 2 - TOKYO";
max = length(text);
i = "1";
Symbol 44 MovieClip Frame 2
i = Number(i) + 1;
screen = substring(text, 1, i);
Symbol 44 MovieClip Frame 3
if (Number(i) > Number(max)) {
stop();
} else {
if (_root.blnFX == 1) {
_root.sndClick.play();
}
gotoAndPlay (2);
}
Symbol 46 MovieClip Frame 131
stop();
_root.play();
Symbol 52 MovieClip Frame 1
text = "STAGE 3 - SYDNEY";
max = length(text);
i = "1";
Symbol 52 MovieClip Frame 2
i = Number(i) + 1;
screen = substring(text, 1, i);
Symbol 52 MovieClip Frame 3
if (Number(i) > Number(max)) {
stop();
} else {
if (_root.blnFX == 1) {
_root.sndClick.play();
}
gotoAndPlay (2);
}
Symbol 53 MovieClip Frame 140
stop();
_root.play();
Symbol 60 MovieClip Frame 1
text = "STAGE 4 - NEW YORK";
max = length(text);
i = "1";
Symbol 60 MovieClip Frame 2
i = Number(i) + 1;
screen = substring(text, 1, i);
Symbol 60 MovieClip Frame 3
if (Number(i) > Number(max)) {
stop();
} else {
if (_root.blnFX == 1) {
_root.sndClick.play();
}
gotoAndPlay (2);
}
Symbol 61 MovieClip Frame 132
stop();
_root.play();
Symbol 67 MovieClip Frame 1
text = "STAGE 5 - PARIS";
max = length(text);
i = "1";
Symbol 67 MovieClip Frame 2
i = Number(i) + 1;
screen = substring(text, 1, i);
Symbol 67 MovieClip Frame 3
if (Number(i) > Number(max)) {
stop();
} else {
if (_root.blnFX == 1) {
_root.sndClick.play();
}
gotoAndPlay (2);
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 99
onClipEvent (enterFrame) {
_root.movMap._alpha = _root.movMap._alpha - 4;
}
Symbol 70 MovieClip Frame 178
stop();
_root.play();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Instance of Symbol 29 MovieClip in Symbol 71 MovieClip Frame 2
/* no clip actions */
Symbol 71 MovieClip Frame 3
stop();
Symbol 71 MovieClip Frame 4
stop();
Symbol 71 MovieClip Frame 5
stop();
Symbol 71 MovieClip Frame 6
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
dots.gotoAndStop(_root.nContinent + 1);
stop();
Symbol 76 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
on (release) {
inpPwd = ((arrPwd[0] + arrPwd[1]) + arrPwd[2]) + arrPwd[3];
var nLevel = -1;
i = 1;
while (i <= 26) {
if (arrHereTheyAre[i] == inpPwd) {
nLevel = i;
}
i++;
}
if (nLevel != -1) {
var blnTest = 0;
if (((((nLevel / 4) == Math.round(nLevel / 4)) || (nLevel == 1)) && (hasJustDied == 0)) && (nLevel != 20)) {
gotoAndStop (12);
} else {
gotoAndPlay (13);
}
} else {
nLevel = 1;
var blnTest = 0;
if (((((nLevel / 4) == Math.round(nLevel / 4)) || (nLevel == 1)) && (hasJustDied == 0)) && (nLevel != 20)) {
gotoAndStop (12);
} else {
gotoAndPlay (13);
}
}
}
Symbol 81 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
Symbol 83 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
Symbol 107 Button
on (release) {
gotoAndPlay (4);
}
Symbol 117 Button
on (release) {
var np = Number(this._name.charAt(3));
_root.arrPwd[np - 1] = "2";
nextFrame();
}
Symbol 120 Button
on (release) {
var np = Number(this._name.charAt(3));
_root.arrPwd[np - 1] = "3";
nextFrame();
}
Symbol 123 Button
on (release) {
var np = Number(this._name.charAt(3));
_root.arrPwd[np - 1] = "4";
nextFrame();
}
Symbol 126 Button
on (release) {
var np = Number(this._name.charAt(3));
_root.arrPwd[np - 1] = "1";
gotoAndStop (1);
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 3
stop();
Symbol 127 MovieClip Frame 4
stop();
Symbol 131 Button
on (release) {
getURL ("http://www.gamesarcade.net", "_blank");
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 147 Button
on (release) {
if (_root.blnFX == 0) {
_root.blnFX = 1;
} else {
_root.blnFX = 0;
}
}
Symbol 154 Button
on (release) {
if (_root.blnMusic == 0) {
if (_root.nowplaying == "music") {
loadMovieNum ("music.swf", 50);
} else if (_root.nowplaying == "beat") {
sndDrums.gotoAndPlay(2);
}
_root.blnMusic = 1;
} else {
if (_root.nowplaying == "music") {
unloadMovieNum (50);
} else if (_root.nowplaying == "beat") {
sndDrums.gotoAndPlay(4);
}
_root.blnMusic = 0;
}
}
Symbol 163 Button
on (release, keyPress "<Enter>") {
var strCookies = ((dbgName + "*####*") + dbgEmail);
var blnTest = 1;
play();
}
Symbol 165 Button
on (release) {
var nLevel = Number(dbgLevel);
var blnTest = 0;
gotoAndPlay (13);
}
Symbol 169 Button
on (release) {
dbgName = "garylager";
dbgEmail = "gary@nextnm.com";
}
Symbol 173 Button
on (release) {
dbgName = "sagass";
dbgEmail = "scott@nextnm.com";
}
Symbol 177 Button
on (release) {
dbgName = "gabby";
dbgEmail = "gabby@nextnm.com";
}
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 3
stop();
Symbol 186 MovieClip Frame 5
gotoAndStop (1);
Symbol 191 Button
on (release, keyPress "<Enter>") {
gotoAndStop (1);
if (_root.blnMusic == 1) {
_root.sndDrums.gotoAndPlay(4);
}
_root.nowplaying = "nothing";
_root.gotoAndPlay("START");
}
Symbol 195 Button
on (release, keyPress "<Enter>") {
if (_root.blnMusic == 1) {
_root.sndDrums.gotoAndPlay(4);
}
_root.nowplaying = "nothing";
gotoAndStop (1);
_root.gotoAndPlay("START");
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 4
stop();
Symbol 260 MovieClip Frame 512
gotoAndPlay (35);
Symbol 264 Button
on (release, keyPress "<Enter>") {
if (_root.blnMusic == 1) {
_root.sndDrums.gotoAndPlay(4);
}
_root.nowplaying = "nothing";
_root.nContinent++;
gotoAndStop (1);
_root.gotoAndPlay("START");
}
Symbol 273 Button
on (release, keyPress "<Enter>") {
_root.nLives = 5;
_root.nScore = 0;
_root.loopinggame = 1;
_root.gotoAndPlay("SETVARS");
_parent.gotoAndStop(1);
}
Symbol 274 MovieClip Frame 1
function fMakeMe(g, s, t, u) {
var moveMent = 1;
i = 0;
while (i < g) {
moveMent = moveMent + s;
i++;
}
moveMent = moveMent * u.length;
moveMent = moveMent + t;
chickLeft = g;
chickRight = s;
chickFore = t;
chickBack = moveMent;
chickName = u;
}
fMakeMe(20, _root.nScore, 1, _url);
Symbol 274 MovieClip Frame 2
_root.hallsuccess = "false";
loadVariablesNum ("scores.asp", 0, "POST");
Symbol 274 MovieClip Frame 3
if (_root.hallsuccess == "true") {
gotoAndStop (5);
}
Symbol 274 MovieClip Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 274 MovieClip Frame 5
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 2
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
stop();
Symbol 285 MovieClip Frame 3
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
txtLevComp = "CONGRATULATIONS YOU HAVE COMPLETED LEVEL " + String(_root.nLevel - 1);
i = 1;
while (i < 5) {
eval ("mp" + i).gotoAndStop(Number(_root.arrHereTheyAre[_root.nLevel].substr(i - 1, 1)));
i++;
}
_root.nScore = _root.nScore + _root.nBonus;
_root.txtScore = _root.nScore;
stop();
Symbol 285 MovieClip Frame 4
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
_root.movGame.fClearScreen();
txtLevComp = ("YOU HAVE CONQUERED THE " + String(_root.arrContinents[_root.nContinent - 1])) + " LEG OF THE TOUR";
i = 1;
while (i < 5) {
eval ("mp" + i).gotoAndStop(Number(_root.arrHereTheyAre[_root.nLevel].substr(i - 1, 1)));
i++;
}
txtScore = _root.nScore;
stop();
Symbol 285 MovieClip Frame 5
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
i = 1;
while (i < 5) {
eval ("mp" + i).gotoAndStop(Number(_root.arrHereTheyAre[_root.nLevel].substr(i - 1, 1)));
i++;
}
stop();
Symbol 285 MovieClip Frame 6
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
i = 1;
while (i < 5) {
eval ("mp" + i).gotoAndStop(Number(_root.arrHereTheyAre[_root.nLevel - 1].substr(i - 1, 1)));
i++;
}
stop();
Symbol 285 MovieClip Frame 7
if (_root.blnMusic == 1) {
unloadMovieNum (50);
_root.sndDrums.gotoAndPlay(2);
}
_root.nowplaying = "beat";
i = 1;
while (i < 5) {
eval ("mp" + i).gotoAndStop(Number(_root.arrHereTheyAre[_root.nLevel - 1].substr(i - 1, 1)));
i++;
}
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 3
stop();
Symbol 294 MovieClip Frame 4
stop();
Symbol 294 MovieClip Frame 5
stop();
Symbol 294 MovieClip Frame 6
stop();
Symbol 294 MovieClip Frame 7
stop();
Symbol 294 MovieClip Frame 8
stop();
Symbol 294 MovieClip Frame 9
stop();
Symbol 294 MovieClip Frame 10
stop();
Symbol 294 MovieClip Frame 11
stop();
Symbol 294 MovieClip Frame 12
stop();
Symbol 294 MovieClip Frame 13
stop();
Symbol 294 MovieClip Frame 14
stop();
Symbol 294 MovieClip Frame 15
stop();
Symbol 294 MovieClip Frame 16
stop();
Symbol 294 MovieClip Frame 17
stop();
Symbol 294 MovieClip Frame 18
stop();
Symbol 294 MovieClip Frame 19
stop();
Symbol 294 MovieClip Frame 20
stop();
Symbol 294 MovieClip Frame 21
stop();
Symbol 294 MovieClip Frame 22
stop();
Symbol 294 MovieClip Frame 23
stop();
Symbol 294 MovieClip Frame 24
stop();
Symbol 294 MovieClip Frame 25
stop();
Symbol 294 MovieClip Frame 26
stop();
Symbol 294 MovieClip Frame 27
stop();
Symbol 294 MovieClip Frame 28
stop();
Symbol 294 MovieClip Frame 29
stop();
Symbol 294 MovieClip Frame 30
stop();
Symbol 294 MovieClip Frame 31
stop();
Symbol 294 MovieClip Frame 32
stop();
Symbol 294 MovieClip Frame 33
stop();
Symbol 294 MovieClip Frame 34
stop();
Symbol 294 MovieClip Frame 35
stop();
Symbol 294 MovieClip Frame 36
stop();
Symbol 294 MovieClip Frame 37
stop();
Symbol 294 MovieClip Frame 38
stop();
Symbol 294 MovieClip Frame 39
stop();
Symbol 294 MovieClip Frame 40
stop();
Symbol 294 MovieClip Frame 41
stop();
Symbol 294 MovieClip Frame 42
stop();
Symbol 294 MovieClip Frame 43
stop();
Symbol 294 MovieClip Frame 44
stop();
Symbol 303 Button
on (release) {
if (nTestID == 0) {
gotoAndPlay (4);
} else {
gotoAndPlay (4);
}
}
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 2
stop();
Symbol 346 MovieClip Frame 3
stop();
Symbol 346 MovieClip Frame 4
stop();
Symbol 346 MovieClip Frame 5
stop();
Symbol 373 MovieClip Frame 25
_root.movCC.fLoseLife();
_parent.gotoAndStop(1);
stop();
Symbol 376 MovieClip Frame 54
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 3
stop();
Symbol 377 MovieClip Frame 4
stop();
Symbol 377 MovieClip Frame 5
stop();
Symbol 377 MovieClip Frame 6
stop();
Symbol 377 MovieClip Frame 7
stop();
Symbol 377 MovieClip Frame 8
stop();
Symbol 377 MovieClip Frame 9
stop();
Symbol 377 MovieClip Frame 10
stop();
Symbol 377 MovieClip Frame 11
stop();
Symbol 377 MovieClip Frame 12
stop();
Symbol 377 MovieClip Frame 13
if (_root.blnFX == 1) {
_root.sndDie2.play();
}
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 4
if (_root.blnFX == 1) {
_root.sndLevDone.play();
}
stop();
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.movA)) {
_root.fLevComplete();
}
}
Symbol 424 MovieClip Frame 1
stop();
Instance of Symbol 401 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.movA)) {
if (_root.blnFX == 1) {
_root.sndFlash.play();
}
_root.movFlasher.play();
_root.fLoseLife();
}
}
Symbol 424 MovieClip Frame 2
stop();
Symbol 424 MovieClip Frame 3
stop();
Instance of Symbol 401 MovieClip in Symbol 438 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.movA)) {
_root.fLoseLife();
}
}
Symbol 443 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 1
stop();
Instance of Symbol 346 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.nContinent);
}
Instance of Symbol 377 MovieClip "movArnold" in Symbol 451 MovieClip Frame 1
onClipEvent (keyDown) {
if (_name == "movA") {
K = Key.getCode();
if ((K == 32) && (blnAlexJump == 0)) {
blnAlexJump = 1;
nJumpTest = 0;
i = 1;
while (i < 20) {
nJumpTest = nJumpTest + _parent.arrCanJump[i];
i++;
}
if ((nJumpCount == 0) && (blnCanJump == 1)) {
if (_root.blnFX == 1) {
if (random(2) == 1) {
_root.sndJump.play();
} else {
_root.sndJump1.play();
}
}
nJumpCount = 1;
nJumpHeight = 13;
} else if ((nJumpCount == 0) && (nJumpTest > 0)) {
if (_root.blnFX == 1) {
if (random(2) == 1) {
_root.sndJump.play();
} else {
_root.sndJump1.play();
}
}
nJumpHeight = 13;
nJumpCount = 1;
}
}
if (K == 38) {
blnUp = 1;
}
if (K == 40) {
if (blnCanJump) {
blnDown = 1;
}
nJumpTest = 0;
i = 1;
while (i < 20) {
nJumpTest = nJumpTest + _parent.arrCanJump[i];
i++;
}
if (nJumpTest > 0) {
blnDown = 1;
}
}
if (K == 37) {
nDir = 1;
blnLeft = 1;
}
if (K == 39) {
nDir = 2;
blnRight = 1;
}
}
}
onClipEvent (keyUp) {
K = Key.getCode();
if (K == 32) {
blnAlexJump = 0;
}
if (K == 38) {
blnUp = 0;
}
if (K == 40) {
blnDown = 0;
}
if (K == 37) {
blnLeft = 0;
}
if (K == 39) {
blnRight = 0;
}
}
onClipEvent (load) {
if (_name == "movA") {
var nSpeed = 5;
var nJumpHeight = 11;
var nTop;
var nBot;
var nLeft;
var nRight;
var nCollideLeft;
var nCollideRight;
var nCollideBot;
var nCollideTop;
var nCollideMid;
var nJumpCount = 0;
var blnCanJump;
var blnShoot = 0;
var nDir = 1;
var blnDead = 0;
var blnAlexJump = 0;
arrLeftCoords = new Array();
arrRightCoords = new Array();
arrBotCoords = new Array();
arrTopCoords = new Array();
_parent.fGenerateScreen();
}
}
onClipEvent (enterFrame) {
if ((_name == "movA") && (blnDead == 0)) {
nTop = _y - (_height / 2);
nBot = _y + (_height / 2);
nLeft = _x - (_width / 2);
nRight = _x + (_width / 2);
arrLeftCoords[0] = int(nLeft / 25);
arrLeftCoords[1] = int(nBot / 25);
arrRightCoords[0] = int(nRight / 25);
arrRightCoords[1] = int(nBot / 25);
arrBotCoords[0] = int(_x / 25);
arrBotCoords[1] = int(_y / 25) + 1;
arrTopCoords[0] = int(_x / 25);
arrTopCoords[1] = int(_y / 25) - 1;
nCollideLeft = _parent.arrGrid[arrLeftCoords[1]][arrLeftCoords[0]];
nCollideLeftTop = _parent.arrGrid[arrLeftCoords[1] - 1][arrLeftCoords[0]];
nCollideRight = _parent.arrGrid[arrRightCoords[1]][arrRightCoords[0]];
nCollideRightTop = _parent.arrGrid[arrRightCoords[1] - 1][arrRightCoords[0]];
nCollideBot = _parent.arrGrid[arrBotCoords[1]][arrBotCoords[0]];
nCollideTop = _parent.arrGrid[arrTopCoords[1]][arrTopCoords[0]];
if ((nCollideBot == 0) || (nCollideBot >= 31)) {
if (nJumpCount == 0) {
_y = (_y + (nSpeed * 1.5));
}
}
if ((nCollideBot >= 1) && (nCollideBot <= 29)) {
blnCanJump = 1;
} else {
blnCanJump = 0;
}
if (nCollideBot == 18) {
_x = (_x - 3);
}
if (nCollideBot == 19) {
_x = (_x + 3);
}
if ((_parent.blnJumpUpTest && (nCollideBot >= 61)) && (nCollideBot <= 69)) {
if (_root.blnFX == 1) {
_root.sndJump.gotoAndPlay(2);
_root.sndBoing.gotoAndPlay(2);
}
eval ((("_parent." + arrBotCoords[1]) + "#") + arrBotCoords[0]).play();
nJumpHeight = 15 + ((nCollideBot - 61) * 3);
nJumpCount = 1;
}
if ((nCollideBot >= 1) && (nCollideBot <= 20)) {
if ((_y != (arrBotCoords[1] * 25)) && (nJumpCount == 0)) {
_y = (((arrBotCoords[1] - 1) * 25) + 4.4);
}
}
if ((((blnLeft + blnRight) + blnUp) + blnDown) == 0) {
if (nDir == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (((nCollideTop >= 21) && (nCollideTop <= 29)) || ((nCollideBot >= 21) && (nCollideBot <= 29))) {
gotoAndStop (1);
}
}
if (blnLeft == 1) {
this.gotoAndStop("LEFT");
if ((nCollideLeft == 0) || (nCollideLeft > 20)) {
_x = (_x - nSpeed);
} else if (((nCollideLeft == 0) || (nCollideLeft > 20)) && (blnDown)) {
_x = (_x - nSpeed);
}
}
if (blnRight == 1) {
this.gotoAndStop("RIGHT");
if ((nCollideRight == 0) || (nCollideRight > 20)) {
_x = (_x + nSpeed);
} else if (((nCollideRight == 0) || (nCollideRight > 20)) && (blnDown)) {
_x = (_x + nSpeed);
}
}
if (blnUp == 1) {
if (((nCollideTop >= 21) && (nCollideTop <= 29)) || ((nCollideBot >= 21) && (nCollideBot <= 29))) {
if ((((_x / 25) - int(_x / 25)) >= 0.1) && (((_x / 25) - int(_x / 25)) <= 0.8)) {
_y = (_y - nSpeed);
this.gotoAndStop("CLIMB");
}
}
}
if (blnDown == 1) {
if ((nCollideBot >= 21) && (nCollideBot <= 29)) {
if ((((_x / 25) - int(_x / 25)) >= 0.1) && (((_x / 25) - int(_x / 25)) <= 0.8)) {
_y = (_y + nSpeed);
this.gotoAndStop("CLIMB");
}
}
}
if ((nJumpCount > 0) && (nJumpHeight > nJumpCount)) {
_parent.blnJumpUpTest = 0;
} else {
_parent.blnJumpUpTest = 1;
}
if (nJumpCount > 0) {
_y = (_y - (nJumpHeight - nJumpCount));
nJumpCount++;
if (nJumpCount == nJumpHeight) {
nJumpCount = 0;
}
if (((nCollideTop >= 1) && (nCollideTop <= 21)) || (_y < 0)) {
nJumpCount = 0;
}
if (nDir == 1) {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
}
if (_x <= 5) {
_x = 5;
}
if (_x >= 525) {
_x = 525;
}
if ((this._name == "movA") && (blnDead == 1)) {
this.gotoAndStop(14);
}
}
}
Instance of Symbol 386 MovieClip "mov51" in Symbol 451 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 393 MovieClip "mov100" in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA) && (_parent.movA.blnDead == 0)) {
_root.nBabyCount--;
_root.nScore = _root.nScore + 100;
_root.txtScore = _root.nScore;
if (_root.blnFX == 1) {
if (random(2) == 1) {
_root.sndPing.gotoAndPlay(2);
} else {
_root.sndPing1.gotoAndPlay(2);
}
}
if ((_root.nBabyCount <= 0) && (_root.blnDoorOpen != 1)) {
_root.blnDoorOpen = 1;
_parent.movStageDoor.play();
}
removeMovieClip(this);
}
}
Instance of Symbol 396 MovieClip "mov101" in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA) && (_parent.movA.blnDead == 0)) {
if (_root.blnFX == 1) {
if (random(3) == 2) {
_root.sndBurp2.gotoAndPlay(2);
} else {
_root.sndBurp1.gotoAndPlay(2);
}
}
_root.nScore = _root.nScore + 500;
_root.txtScore = _root.nScore;
removeMovieClip(this);
}
}
Instance of Symbol 424 MovieClip "mov111" in Symbol 451 MovieClip Frame 1
onClipEvent (load) {
if (_name != "mov111") {
var nSpeed = 5;
var blnLeft;
var blnRight;
var blnUp;
var blnDown;
var xPos;
var yPos;
}
}
onClipEvent (enterFrame) {
if (_name != "mov111") {
xPos = Math.round(_x / 25);
yPos = Math.round(_y / 25);
if (blnLeft == 1) {
_x = (_x - nSpeed);
gotoAndStop (2);
if ((_x / 25) == Math.round(_x / 25)) {
if (((xPos == 0) || ((_parent.arrGrid[yPos][xPos - 1] >= 10) && (_parent.arrGrid[yPos][xPos - 1] < 20))) || (_parent.arrGrid[yPos + 1][xPos - 1] == 0)) {
blnRight = 1;
blnLeft = 0;
}
var ladRand = -1;
if ((_parent.arrGrid[yPos - 1][xPos] >= 20) && (_parent.arrGrid[yPos - 1][xPos] < 30)) {
ladRand = 0;
}
if ((_parent.arrGrid[yPos + 1][xPos] >= 20) && (_parent.arrGrid[yPos + 1][xPos] < 30)) {
if (ladRand == 0) {
ladRand = random(2);
} else {
ladRand = 1;
}
}
if (random(2) == 1) {
if (ladRand == 0) {
blnUp = 1;
blnLeft = 0;
blnRight = 0;
} else if (ladRand == 1) {
blnDown = 1;
blnLeft = 0;
blnRight = 0;
}
}
}
}
if (blnRight == 1) {
_x = (_x + nSpeed);
gotoAndStop (1);
if ((_x / 25) == Math.round(_x / 25)) {
if (((xPos == 19) || ((_parent.arrGrid[yPos][xPos + 1] >= 10) && (_parent.arrGrid[yPos][xPos + 1] < 20))) || (_parent.arrGrid[yPos + 1][xPos + 1] == 0)) {
blnLeft = 1;
blnRight = 0;
}
var ladRand = -1;
if ((_parent.arrGrid[yPos - 1][xPos] >= 20) && (_parent.arrGrid[yPos - 1][xPos] < 30)) {
ladRand = 0;
}
if ((_parent.arrGrid[yPos + 1][xPos] >= 20) && (_parent.arrGrid[yPos + 1][xPos] < 30)) {
if (ladRand == 0) {
ladRand = random(2);
} else {
ladRand = 1;
}
}
if (random(2) == 1) {
if (ladRand == 0) {
blnUp = 1;
blnLeft = 0;
blnRight = 0;
} else if (ladRand == 1) {
blnDown = 1;
blnLeft = 0;
blnRight = 0;
}
}
}
}
if (blnUp == 1) {
_y = (_y - nSpeed);
gotoAndStop (3);
if ((_y / 25) == Math.round(_y / 25)) {
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) || ((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20))) || ((_parent.arrGrid[yPos][xPos] == 0) || (_parent.arrGrid[yPos][xPos] > 30))) {
var dirRand = -1;
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) && ((_parent.arrGrid[yPos][xPos + 1] == 0) || (_parent.arrGrid[yPos][xPos + 1] > 30))) && (xPos != 19)) {
dirRand = 0;
}
if ((((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20)) && ((_parent.arrGrid[yPos][xPos - 1] == 0) || (_parent.arrGrid[yPos][xPos - 1] > 30))) && (xPos != 0)) {
if (dirRand == 0) {
dirRand = random(2);
} else {
dirRand = 1;
}
}
if (random(2) == 0) {
if (dirRand == 0) {
blnUp = 0;
blnLeft = 0;
blnRight = 1;
} else if (dirRand == 1) {
blnUp = 0;
blnLeft = 1;
blnRight = 0;
}
}
if ((blnUp == 1) && ((_parent.arrGrid[yPos][xPos] == 0) || (_parent.arrGrid[yPos][xPos] > 30))) {
blnUp = 0;
blnDown = 1;
}
}
}
}
if (blnDown == 1) {
_y = (_y + nSpeed);
gotoAndStop (3);
if ((_y / 25) == Math.round(_y / 25)) {
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) || ((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20))) || ((_parent.arrGrid[yPos + 1][xPos] >= 10) && (_parent.arrGrid[yPos + 1][xPos] < 20))) {
var dirRand = -1;
if (((_parent.arrGrid[yPos][xPos + 1] == 0) || (_parent.arrGrid[yPos][xPos + 1] > 30)) && (xPos != 19)) {
dirRand = 0;
}
if (((_parent.arrGrid[yPos][xPos - 1] == 0) || (_parent.arrGrid[yPos][xPos - 1] > 30)) && (xPos != 0)) {
if (dirRand == 0) {
dirRand = random(2);
} else {
dirRand = 1;
}
}
if (random(2) == 0) {
if (dirRand == 0) {
blnDown = 0;
blnLeft = 0;
blnRight = 1;
} else if (dirRand == 1) {
blnDown = 0;
blnLeft = 1;
blnRight = 0;
}
}
if ((blnDown == 1) && ((_parent.arrGrid[yPos + 1][xPos] >= 10) && (_parent.arrGrid[yPos + 1][xPos] < 20))) {
blnUp = 1;
blnDown = 0;
}
}
}
}
}
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 495 Button
on (release) {
_root.arrSaveLifts[_root.nSaveLiftCount][3] = 1;
gotoAndStop (3);
}
Symbol 498 Button
on (release) {
_root.arrSaveLifts[_root.nSaveLiftCount][3] = 3;
gotoAndStop (3);
}
Symbol 499 Button
on (release) {
if (_root.arrSaveLifts[_root.nSaveLiftCount][3] == 1) {
_root.arrSaveLifts[_root.nSaveLiftCount][1] = _ymouse + 183;
} else {
_root.arrSaveLifts[_root.nSaveLiftCount][1] = _xmouse + 275;
}
gotoAndStop (4);
}
Symbol 501 Button
on (release) {
if (_root.arrSaveLifts[_root.nSaveLiftCount][3] == 1) {
_root.arrSaveLifts[_root.nSaveLiftCount][2] = _ymouse + 183;
} else {
_root.arrSaveLifts[_root.nSaveLiftCount][2] = _xmouse + 275;
}
gotoAndStop (1);
}
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 2
stop();
Symbol 503 MovieClip Frame 3
stop();
Symbol 503 MovieClip Frame 4
stop();
Symbol 507 Button
on (press) {
_root.fAdd(nX, nY);
}
Symbol 508 Button
on (release) {
_root.fDelete(nX, nY);
}
Symbol 509 Button
on (release) {
if (_root.nMyTool == 21) {
_root.arrSaveGrid[nY][nX] = 22;
gotoAndStop (18);
} else {
_root.fDelete(nX, nY);
}
}
Symbol 510 Button
on (release) {
if (_root.nMyTool == 11) {
_root.arrSaveGrid[nY][nX] = 22;
gotoAndStop (18);
} else {
_root.fDelete(nX, nY);
}
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 2
stop();
Symbol 514 MovieClip Frame 3
stop();
Symbol 514 MovieClip Frame 4
stop();
Symbol 514 MovieClip Frame 5
stop();
Symbol 514 MovieClip Frame 6
stop();
Symbol 514 MovieClip Frame 7
stop();
Symbol 514 MovieClip Frame 8
stop();
Symbol 514 MovieClip Frame 9
stop();
Symbol 514 MovieClip Frame 10
stop();
Symbol 514 MovieClip Frame 11
stop();
Symbol 514 MovieClip Frame 12
stop();
Symbol 514 MovieClip Frame 13
stop();
Symbol 514 MovieClip Frame 14
stop();
Symbol 514 MovieClip Frame 15
stop();
Symbol 514 MovieClip Frame 16
stop();
Symbol 514 MovieClip Frame 17
stop();
Symbol 514 MovieClip Frame 18
stop();
Symbol 514 MovieClip Frame 19
stop();
Symbol 514 MovieClip Frame 20
stop();
Instance of Symbol 377 MovieClip "movArnol" in Symbol 515 MovieClip Frame 1
onClipEvent (keyDown) {
if (_name == "movA") {
K = Key.getCode();
if ((K == 90) && (blnAlexJump == 0)) {
blnAlexJump = 1;
nJumpTest = 0;
i = 1;
while (i < 20) {
nJumpTest = nJumpTest + _parent.arrCanJump[i];
i++;
}
if ((nJumpCount == 0) && (blnCanJump == 1)) {
_root.sndJump.play();
nJumpCount = 1;
nJumpHeight = 11;
} else if ((nJumpCount == 0) && (nJumpTest > 0)) {
_root.sndJump.play();
nJumpHeight = 11;
nJumpCount = 1;
}
}
if (K == 38) {
blnUp = 1;
}
if (K == 40) {
if (blnCanJump) {
blnDown = 1;
}
nJumpTest = 0;
i = 1;
while (i < 20) {
nJumpTest = nJumpTest + _parent.arrCanJump[i];
i++;
}
if (nJumpTest > 0) {
blnDown = 1;
}
}
if (K == 37) {
nDir = 1;
blnLeft = 1;
}
if (K == 39) {
nDir = 2;
blnRight = 1;
}
}
}
onClipEvent (keyUp) {
K = Key.getCode();
if (K == 90) {
blnAlexJump = 0;
}
if (K == 38) {
blnUp = 0;
}
if (K == 40) {
blnDown = 0;
}
if (K == 37) {
blnLeft = 0;
}
if (K == 39) {
blnRight = 0;
}
}
onClipEvent (load) {
if (_name == "movA") {
var nSpeed = 15;
var nJumpHeight = 11;
var nTop;
var nBot;
var nLeft;
var nRight;
var nCollideLeft;
var nCollideRight;
var nCollideBot;
var nCollideTop;
var nCollideMid;
var nJumpCount = 0;
var blnCanJump;
var blnShoot = 0;
var nDir = 1;
var blnDead = 0;
var blnAlexJump = 0;
arrLeftCoords = new Array();
arrRightCoords = new Array();
arrBotCoords = new Array();
arrTopCoords = new Array();
_parent.fGenerateScreen();
}
}
onClipEvent (enterFrame) {
if ((_name == "movA") && (blnDead == 0)) {
nTop = _y - (_height / 2);
nBot = _y + (_height / 2);
nLeft = _x - (_width / 2);
nRight = _x + (_width / 2);
arrLeftCoords[0] = int(nLeft / 25);
arrLeftCoords[1] = int(nBot / 25);
arrRightCoords[0] = int(nRight / 25);
arrRightCoords[1] = int(nBot / 25);
arrBotCoords[0] = int(_x / 25);
arrBotCoords[1] = int(_y / 25) + 1;
arrTopCoords[0] = int(_x / 25);
arrTopCoords[1] = int(_y / 25) - 1;
nCollideLeft = _parent.arrGrid[arrLeftCoords[1]][arrLeftCoords[0]];
nCollideLeftTop = _parent.arrGrid[arrLeftCoords[1] - 1][arrLeftCoords[0]];
nCollideRight = _parent.arrGrid[arrRightCoords[1]][arrRightCoords[0]];
nCollideRightTop = _parent.arrGrid[arrRightCoords[1] - 1][arrRightCoords[0]];
nCollideBot = _parent.arrGrid[arrBotCoords[1]][arrBotCoords[0]];
nCollideTop = _parent.arrGrid[arrTopCoords[1]][arrTopCoords[0]];
if ((nCollideBot == 0) || (nCollideBot >= 31)) {
if (nJumpCount == 0) {
_y = (_y + (nSpeed * 1.5));
}
}
if ((nCollideBot >= 1) && (nCollideBot <= 29)) {
blnCanJump = 1;
} else {
blnCanJump = 0;
}
if (nCollideBot == 18) {
_x = (_x - 3);
}
if (nCollideBot == 19) {
_x = (_x + 3);
}
if ((_parent.blnJumpUpTest && (nCollideBot >= 61)) && (nCollideBot <= 69)) {
_root.sndJump.play();
eval ((("_parent." + arrBotCoords[1]) + "#") + arrBotCoords[0]).play();
nJumpHeight = 15 + ((nCollideBot - 61) * 3);
nJumpCount = 1;
}
if ((nCollideBot >= 1) && (nCollideBot <= 20)) {
if ((_y != (arrBotCoords[1] * 25)) && (nJumpCount == 0)) {
_y = (((arrBotCoords[1] - 1) * 25) + 4.4);
}
}
if ((((blnLeft + blnRight) + blnUp) + blnDown) == 0) {
if (nDir == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (((nCollideTop >= 21) && (nCollideTop <= 29)) || ((nCollideBot >= 21) && (nCollideBot <= 29))) {
gotoAndStop (1);
}
}
if (blnLeft == 1) {
this.gotoAndStop("LEFT");
if ((nCollideLeft == 0) || (nCollideLeft > 20)) {
_x = (_x - nSpeed);
} else if (((nCollideLeft == 0) || (nCollideLeft > 20)) && (blnDown)) {
_x = (_x - nSpeed);
}
}
if (blnRight == 1) {
this.gotoAndStop("RIGHT");
if ((nCollideRight == 0) || (nCollideRight > 20)) {
_x = (_x + nSpeed);
} else if (((nCollideRight == 0) || (nCollideRight > 20)) && (blnDown)) {
_x = (_x + nSpeed);
}
}
if (blnUp == 1) {
if (((nCollideTop >= 21) && (nCollideTop <= 29)) || ((nCollideBot >= 21) && (nCollideBot <= 29))) {
if ((((_x / 25) - int(_x / 25)) >= 0.1) && (((_x / 25) - int(_x / 25)) <= 0.8)) {
_y = (_y - nSpeed);
this.gotoAndStop("CLIMB");
}
}
}
if (blnDown == 1) {
if ((nCollideBot >= 21) && (nCollideBot <= 29)) {
if ((((_x / 25) - int(_x / 25)) >= 0.1) && (((_x / 25) - int(_x / 25)) <= 0.8)) {
_y = (_y + nSpeed);
this.gotoAndStop("CLIMB");
}
}
}
if ((nJumpCount > 0) && (nJumpHeight > nJumpCount)) {
_parent.blnJumpUpTest = 0;
} else {
_parent.blnJumpUpTest = 1;
}
if (nJumpCount > 0) {
_y = (_y - (nJumpHeight - nJumpCount));
nJumpCount++;
if (nJumpCount == nJumpHeight) {
nJumpCount = 0;
}
if ((nCollideTop >= 1) && (nCollideTop <= 21)) {
nJumpCount = 0;
}
if (nDir == 1) {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
}
if (_x <= 5) {
_x = 5;
}
if (_x >= 525) {
_x = 525;
}
if ((this._name == "movA") && (blnDead == 1)) {
this.gotoAndStop(14);
}
}
}
Instance of Symbol 386 MovieClip "mov51" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
trace("imhere");
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 393 MovieClip "mov100" in Symbol 515 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
_root.nBabyCount--;
if (_root.nBabyCount <= 0) {
_root.blnDoorOpen = 1;
_parent.movStageDoor.play();
}
removeMovieClip(this);
}
}
Instance of Symbol 396 MovieClip "mov101" in Symbol 515 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
removeMovieClip(this);
}
}
Instance of Symbol 424 MovieClip "mov111" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
if (_name != "mov111") {
var nSpeed = 5;
var blnLeft;
var blnRight;
var blnUp;
var blnDown;
var xPos;
var yPos;
}
}
onClipEvent (enterFrame) {
if (_name != "mov111") {
xPos = Math.round(_x / 25);
yPos = Math.round(_y / 25);
_root.d2 = xPos;
_root.d3 = yPos;
_root.d5 = _parent.arrGrid[yPos][xPos];
if (blnLeft == 1) {
_x = (_x - nSpeed);
gotoAndStop (2);
if ((_x / 25) == Math.round(_x / 25)) {
if (((xPos == 0) || ((_parent.arrGrid[yPos][xPos - 1] >= 10) && (_parent.arrGrid[yPos][xPos - 1] < 20))) || (_parent.arrGrid[yPos + 1][xPos - 1] == 0)) {
blnRight = 1;
blnLeft = 0;
}
var ladRand = -1;
if ((_parent.arrGrid[yPos - 1][xPos] >= 20) && (_parent.arrGrid[yPos - 1][xPos] < 30)) {
ladRand = 0;
}
if ((_parent.arrGrid[yPos + 1][xPos] >= 20) && (_parent.arrGrid[yPos + 1][xPos] < 30)) {
if (ladRand == 0) {
ladRand = random(2);
} else {
ladRand = 1;
}
}
if (random(1) == 0) {
if (ladRand == 0) {
blnUp = 1;
blnLeft = 0;
blnRight = 0;
} else if (ladRand == 1) {
blnDown = 1;
blnLeft = 0;
blnRight = 0;
}
}
}
}
if (blnRight == 1) {
_x = (_x + nSpeed);
gotoAndStop (1);
if ((_x / 25) == Math.round(_x / 25)) {
if (((xPos == 19) || ((_parent.arrGrid[yPos][xPos + 1] >= 10) && (_parent.arrGrid[yPos][xPos + 1] < 20))) || (_parent.arrGrid[yPos + 1][xPos + 1] == 0)) {
blnLeft = 1;
blnRight = 0;
}
var ladRand = -1;
if ((_parent.arrGrid[yPos - 1][xPos] >= 20) && (_parent.arrGrid[yPos - 1][xPos] < 30)) {
ladRand = 0;
}
if ((_parent.arrGrid[yPos + 1][xPos] >= 20) && (_parent.arrGrid[yPos + 1][xPos] < 30)) {
if (ladRand == 0) {
ladRand = random(2);
} else {
ladRand = 1;
}
}
if (random(1) == 0) {
if (ladRand == 0) {
blnUp = 1;
blnLeft = 0;
blnRight = 0;
} else if (ladRand == 1) {
blnDown = 1;
blnLeft = 0;
blnRight = 0;
}
}
}
}
if (blnUp == 1) {
_y = (_y - nSpeed);
gotoAndStop (3);
if ((_y / 25) == Math.round(_y / 25)) {
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) || ((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20))) || ((_parent.arrGrid[yPos][xPos] == 0) || (_parent.arrGrid[yPos][xPos] > 30))) {
var dirRand = -1;
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) && ((_parent.arrGrid[yPos][xPos + 1] == 0) || (_parent.arrGrid[yPos][xPos + 1] > 30))) && (xPos != 19)) {
dirRand = 0;
}
if ((((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20)) && ((_parent.arrGrid[yPos][xPos - 1] == 0) || (_parent.arrGrid[yPos][xPos - 1] > 30))) && (xPos != 0)) {
if (dirRand == 0) {
dirRand = random(2);
} else {
dirRand = 1;
}
}
if (random(2) == 0) {
if (dirRand == 0) {
blnUp = 0;
blnLeft = 0;
blnRight = 1;
} else if (dirRand == 1) {
blnUp = 0;
blnLeft = 1;
blnRight = 0;
}
}
if ((blnUp == 1) && ((_parent.arrGrid[yPos][xPos] == 0) || (_parent.arrGrid[yPos][xPos] > 30))) {
blnUp = 0;
blnDown = 1;
}
}
}
}
if (blnDown == 1) {
_y = (_y + nSpeed);
gotoAndStop (3);
if ((_y / 25) == Math.round(_y / 25)) {
if ((((_parent.arrGrid[yPos + 1][xPos + 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos + 1] < 20)) || ((_parent.arrGrid[yPos + 1][xPos - 1] >= 10) && (_parent.arrGrid[yPos + 1][xPos - 1] < 20))) || ((_parent.arrGrid[yPos + 1][xPos] >= 10) && (_parent.arrGrid[yPos + 1][xPos] < 20))) {
var dirRand = -1;
if (((_parent.arrGrid[yPos][xPos + 1] == 0) || (_parent.arrGrid[yPos][xPos + 1] > 30)) && (xPos != 19)) {
dirRand = 0;
}
if (((_parent.arrGrid[yPos][xPos - 1] == 0) || (_parent.arrGrid[yPos][xPos - 1] > 30)) && (xPos != 0)) {
if (dirRand == 0) {
dirRand = random(2);
} else {
dirRand = 1;
}
}
if (random(2) == 0) {
if (dirRand == 0) {
blnDown = 0;
blnLeft = 0;
blnRight = 1;
} else if (dirRand == 1) {
blnDown = 0;
blnLeft = 1;
blnRight = 0;
}
}
if ((blnDown == 1) && ((_parent.arrGrid[yPos + 1][xPos] >= 10) && (_parent.arrGrid[yPos + 1][xPos] < 20))) {
blnUp = 1;
blnDown = 0;
}
}
}
}
}
}
Instance of Symbol 514 MovieClip "movHiddenButton" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
var nX;
var nY;
}
Symbol 526 Button
on (release, keyPress "m") {
if (blnMenu) {
movMenu.gotoAndStop(2);
blnMenu = 0;
} else {
movMenu.gotoAndStop(1);
blnMenu = 1;
}
}
Symbol 528 Button
on (release) {
nMyTool = -1;
var strSaveLifts = "";
var strSaveOther = "";
var strSaveStage = "";
var strSaveJacko = "";
var strSaveBaddys = "";
i = 0;
while (i < _root.nRows) {
j = 0;
while (j < _root.nCols) {
if (((((arrSaveGrid[i][j] != 0) && (arrSaveGrid[i][j].substr(0, 30) != "51-")) && (arrSaveGrid[i][j] != 1000)) && (arrSaveGrid[i][j] != 99)) && (arrSaveGrid[i][j] < 110)) {
strSaveOther = strSaveOther + (((((arrSaveGrid[i][j] + "#") + i) + "#") + j) + "#");
} else if (arrSaveGrid[i][j] == 99) {
strSaveStage = (i + "#") + j;
} else if (arrSaveGrid[i][j] == 1000) {
strSaveJacko = (i + "#") + j;
} else if (arrSaveGrid[i][j] == 111) {
strSaveBaddys = strSaveBaddys + (((i + "#") + j) + "#2#");
} else if (arrSaveGrid[i][j] == 112) {
strSaveBaddys = strSaveBaddys + (((i + "#") + j) + "#1#");
} else if (arrSaveGrid[i][j].substr(0, 3) == "51-") {
var nTmp = Number(arrSaveGrid[i][j].substr(3, 5));
strSaveLifts = strSaveLifts + (((((((((((arrSaveLifts[nTmp][0] + "#") + arrSaveLifts[nTmp][1]) + "#") + arrSaveLifts[nTmp][2]) + "#") + arrSaveLifts[nTmp][3]) + "#") + arrSaveLifts[nTmp][4]) + "#") + arrSaveLifts[nTmp][5]) + "#");
}
j++;
}
i++;
}
var theString = ((((((((("lifts=" + escape(strSaveLifts)) + "&other=") + escape(strSaveOther)) + "&jacko=") + escape(strSaveJacko)) + "&stage=") + escape(strSaveStage)) + "&baddys=") + escape(strSaveBaddys));
movSave.play();
}
Symbol 530 Button
on (release) {
nMyTool = -1;
movLoad.play();
}
Symbol 532 Button
on (release) {
blnTest = 2;
var nTestID = extLevelID;
gotoAndPlay (4);
}
Symbol 534 Button
on (release) {
nextFrame();
_root.blnMenu = 0;
_root.movMenu.gotoAndStop(2);
}
Symbol 552 Button
on (release) {
nextFrame();
}
Symbol 568 Button
on (release, keyPress "m") {
if (blnMenu) {
movMenu.gotoAndStop(2);
blnMenu = 0;
} else {
movMenu.gotoAndStop(1);
blnMenu = 1;
}
}
Symbol 580 Button
on (release) {
nextFrame();
}
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
stop();
Symbol 582 MovieClip Frame 3
stop();
Symbol 585 Button
on (release, keyPress "m") {
if (blnMenu) {
movMenu.gotoAndStop(2);
blnMenu = 0;
} else {
movMenu.gotoAndStop(1);
blnMenu = 1;
}
}
Symbol 588 Button
on (release) {
prevFrame();
}
Symbol 589 Button
on (release) {
nextFrame();
}
Symbol 597 Button
on (release) {
_root.fPlaceItem(112);
}
Symbol 598 Button
on (release) {
_root.fPlaceItem(1000);
}
Symbol 601 Button
on (release) {
_root.fPlaceItem(99);
}
Symbol 602 Button
on (release) {
_root.fPlaceItem(21);
}
Symbol 603 Button
on (release) {
_root.fPlaceItem(100);
}
Symbol 604 Button
on (release) {
_root.fPlaceItem(101);
}
Symbol 605 Button
on (release) {
_root.fPlaceItem(111);
}
Symbol 607 Button
on (release) {
_root.fPlaceItem(51);
}
Symbol 608 Button
on (release) {
_root.fPlaceItem(62);
}
Symbol 609 Button
on (release) {
_root.fPlaceItem(63);
}
Symbol 610 Button
on (release) {
_root.fPlaceItem(14);
}
Symbol 611 Button
on (release) {
_root.fPlaceItem(61);
}
Symbol 612 Button
on (release) {
_root.fPlaceItem(13);
}
Symbol 613 Button
on (release) {
_root.fPlaceItem(19);
}
Symbol 614 Button
on (release) {
_root.fPlaceItem(11);
}
Symbol 615 Button
on (release) {
_root.fPlaceItem(18);
}
Symbol 617 Button
on (release) {
_root.fPlaceItem(102);
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
stop();
Symbol 619 MovieClip Frame 3
stop();
Symbol 619 MovieClip Frame 4
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 2
stop();
Symbol 622 MovieClip Frame 3
stop();
Symbol 622 MovieClip Frame 4
stop();
Symbol 622 MovieClip Frame 5
stop();
Symbol 622 MovieClip Frame 6
stop();
Symbol 622 MovieClip Frame 7
stop();
Symbol 622 MovieClip Frame 8
stop();
Symbol 622 MovieClip Frame 9
stop();
Symbol 622 MovieClip Frame 10
stop();
Symbol 622 MovieClip Frame 11
stop();
Symbol 622 MovieClip Frame 12
stop();
Symbol 622 MovieClip Frame 13
stop();
Symbol 622 MovieClip Frame 14
stop();
Symbol 622 MovieClip Frame 15
stop();
Symbol 622 MovieClip Frame 16
stop();
Symbol 622 MovieClip Frame 17
stop();
Symbol 622 MovieClip Frame 18
stop();
Symbol 622 MovieClip Frame 19
stop();
Symbol 623 Button
on (press) {
startDrag ("_root.movMenu", false, 180, 86, 341.5, 352);
}
on (release) {
stopDrag();
}
Symbol 627 Button
on (release) {
gotoAndStop (3);
}
Symbol 631 Button
on (release) {
_root.blnMenu = 0;
gotoAndStop (2);
}
Symbol 636 Button
on (release) {
gotoAndStop (1);
}
Symbol 637 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 2
stop();
Symbol 637 MovieClip Frame 3
stop();
Symbol 645 Button
on (release) {
if (_root.nSaveNumID != 0) {
play();
}
}
Symbol 646 Button
on (press) {
startDrag ("_root.movSave", false, 76, 130, 473, 283);
}
on (release) {
stopDrag();
}
Symbol 649 Button
on (release) {
gotoAndStop (19);
}
Symbol 650 Button
on (release) {
gotoAndStop (1);
}
Symbol 651 Button
on (release) {
_root.fSelectToLoad(nID);
i = 0;
while (i < 11) {
eval ("_parent.movLoad" + i).gotoAndStop(1);
i++;
}
_parent.inpName = eval ("_parent.txtL" + nID);
gotoAndStop (2);
}
Symbol 652 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 2
stop();
Symbol 667 Button
on (release) {
nMyTool = -1;
gotoAndPlay (2);
}
Symbol 668 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 2
loadVariablesNum ((("http://www.gamesarcade.net/jumpinjacko/getsaves.asp?email=" + _root.strCookieEmail) + "&name=") + _root.strCookieName, 0);
_root.savessuccess = "";
Symbol 668 MovieClip Frame 3
if (_root.savessuccess == "true") {
gotoAndStop (5);
}
Symbol 668 MovieClip Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 668 MovieClip Frame 5
txtL1 = _root.extL1;
txtL2 = _root.extL2;
txtL3 = _root.extL3;
txtL4 = _root.extL4;
txtL5 = _root.extL5;
txtL6 = _root.extL6;
txtL7 = _root.extL7;
txtL8 = _root.extL8;
txtL9 = _root.extL9;
txtL10 = _root.extL10;
Instance of Symbol 652 MovieClip "movLoad1" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 1;
}
Instance of Symbol 652 MovieClip "movLoad2" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 2;
}
Instance of Symbol 652 MovieClip "movLoad3" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 3;
}
Instance of Symbol 652 MovieClip "movLoad4" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 4;
}
Instance of Symbol 652 MovieClip "movLoad5" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 5;
}
Instance of Symbol 652 MovieClip "movLoad6" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 6;
}
Instance of Symbol 652 MovieClip "movLoad7" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 7;
}
Instance of Symbol 652 MovieClip "movLoad8" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 8;
}
Instance of Symbol 652 MovieClip "movLoad9" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 9;
}
Instance of Symbol 652 MovieClip "movLoad10" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
var nID = 10;
}
Symbol 668 MovieClip Frame 6
_root.savedsuccess = "";
loadVariablesNum ((((((("http://www.gamesarcade.net/jumpinjacko/savelevel.asp?savename=" + inpName) + "&userid=") + _root.extUserID) + "&savenum=") + _root.nSaveNumID) + "&") + _root.theString, 0);
trace((((((("http://www.gamesarcade.net/jumpinjacko/savelevel.asp?savename=" + inpName) + "&userid=") + _root.extUserID) + "&savenum=") + _root.nSaveNumID) + "&") + _root.theString);
Symbol 668 MovieClip Frame 7
if (_root.savedsuccess == "true") {
gotoAndPlay (9);
}
Symbol 668 MovieClip Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 668 MovieClip Frame 9
play();
Symbol 668 MovieClip Frame 17
gotoAndPlay (2);
Symbol 668 MovieClip Frame 19
stop();
Symbol 672 Button
on (press) {
startDrag ("_root.movLoad", false, 76, 122, 473, 292);
}
on (release) {
stopDrag();
}
Symbol 674 Button
on (release) {
if (_root.nSaveNumID != 0) {
play();
}
}
Symbol 676 Button
on (release) {
gotoAndStop (19);
}
Symbol 677 Button
on (release) {
gotoAndStop (1);
}
Symbol 691 Button
on (release) {
nMyTool = -1;
gotoAndPlay (2);
}
Symbol 692 MovieClip Frame 1
stop();
Symbol 692 MovieClip Frame 2
loadVariablesNum ((("http://www.gamesarcade.net/jumpinjacko/getsaves.asp?email=" + _root.strCookieEmail) + "&name=") + _root.strCookieName, 0);
_root.savessuccess = "";
trace("fuckall");
Symbol 692 MovieClip Frame 3
if (_root.savessuccess == "true") {
gotoAndStop (5);
}
Symbol 692 MovieClip Frame 4
gotoAndPlay (3);
Symbol 692 MovieClip Frame 5
txtL1 = _root.extL1;
txtL2 = _root.extL2;
txtL3 = _root.extL3;
txtL4 = _root.extL4;
txtL5 = _root.extL5;
txtL6 = _root.extL6;
txtL7 = _root.extL7;
txtL8 = _root.extL8;
txtL9 = _root.extL9;
txtL10 = _root.extL10;
Instance of Symbol 652 MovieClip "movLoad1" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 1;
}
Instance of Symbol 652 MovieClip "movLoad2" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 2;
}
Instance of Symbol 652 MovieClip "movLoad3" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 3;
}
Instance of Symbol 652 MovieClip "movLoad4" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 4;
}
Instance of Symbol 652 MovieClip "movLoad5" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 5;
}
Instance of Symbol 652 MovieClip "movLoad6" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 6;
}
Instance of Symbol 652 MovieClip "movLoad7" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 7;
}
Instance of Symbol 652 MovieClip "movLoad8" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 8;
}
Instance of Symbol 652 MovieClip "movLoad9" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 9;
}
Instance of Symbol 652 MovieClip "movLoad10" in Symbol 692 MovieClip Frame 5
onClipEvent (load) {
var nID = 10;
}
Symbol 692 MovieClip Frame 6
_root.success = "";
loadVariablesNum ("http://www.gamesarcade.net/jumpinjacko/getlevel.asp?type=1&id=" + _root.nSaveNumID2, 0);
Symbol 692 MovieClip Frame 7
if (_root.success == "true") {
gotoAndPlay (9);
}
Symbol 692 MovieClip Frame 8
gotoAndPlay (7);
Symbol 692 MovieClip Frame 9
play();
Symbol 692 MovieClip Frame 17
_root.fLoadLevel();
gotoAndStop (1);
Symbol 692 MovieClip Frame 19
stop();