Frame 1
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 3
var blnMusic = 1;
if (blnMusic == 1) {
loadMovieNum ("baseline.swf", 50);
}
Frame 4
_quality = "low";
_focusrect = 0;
inpPwd = "";
var blnTest = 1;
var nLives = 5;
var nLevel = 1;
var nScore = 0;
var blnDontChange = 1;
var arrHereTheyAre = new Array();
arrHereTheyAre[1] = "business";
arrHereTheyAre[2] = "drips";
arrHereTheyAre[3] = "superman";
arrHereTheyAre[4] = "paul";
arrHereTheyAre[5] = "lounge";
arrHereTheyAre[6] = "my name is";
arrHereTheyAre[7] = "who knew";
arrHereTheyAre[8] = "soap";
arrHereTheyAre[9] = "criminal";
arrHereTheyAre[10] = "soldier";
arrHereTheyAre[11] = "the kiss";
arrHereTheyAre[12] = "stan";
arrHereTheyAre[13] = "kim";
arrHereTheyAre[14] = "drug ballad";
arrHereTheyAre[15] = "slim shady";
arrHereTheyAre[16] = "kill you";
arrHereTheyAre[17] = "bitch";
arrHereTheyAre[18] = "8 mile";
arrHereTheyAre[19] = "role model";
arrHereTheyAre[20] = "white america";
var arrHearts = new Array(-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0);
stop();
Frame 5
var tmpArr = String(strCookies).split("*####*");
var strCookieName = tmpArr[0];
var strCookieEmail = tmpArr[1];
var savessuccess = "";
var savedsuccess = "";
var success = "";
var loadsuccess = "";
Frame 6
if (blnTest == 1) {
gotoAndPlay (4);
} else if (blnTest == 0) {
nTestID = nLevel;
}
Frame 7
play();
Instance of Symbol 80 MovieClip in Frame 7
onClipEvent (enterFrame) {
txtScore = "";
var len = (7 - String(_root.nScore).length);
i = 0;
while (i <= len) {
txtScore = txtScore + "0";
i++;
}
txtScore = txtScore + String(_root.nScore);
}
Frame 8
Frame 9
Frame 10
function fLoseLife() {
if (movGame.movA.blnDead == 0) {
nLives--;
movGame.movA.blnDead = 1;
movGame.movA.gotoAndStop(13);
movLives.gotoAndStop(nLives);
if (nLives <= 0) {
movMsgs.gotoAndPlay(47);
} else {
movMsgs.gotoAndPlay(2);
}
}
}
function fLevComplete() {
if (movGame.movA.blnDead == 0) {
nLevel++;
blnDontChange = 1;
if ((nLevel / 5) == Math.round(nLevel / 5)) {
nLives++;
}
movGame.movA.blnDead = 1;
movGame.movA.gotoAndStop(14);
if (nLevel > nTotalLevels) {
movMsgs.gotoAndPlay(65);
} else {
movMsgs.gotoAndPlay(28);
}
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("baseline.swf", 50);
}
}
}
var nRows = 15;
var nCols = 20;
var nTotalLevels = 20;
var nBonus = 2000;
txtBonus = nBonus;
var nScreens = 21;
var nScreen = 1;
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] = "3#7#2#13#19#1#";
arrLevelBuilder[1][2] = "22#4#6#11#4#7#11#4#8#11#4#9#11#4#10#11#4#11#11#4#12#11#4#13#21#5#6#21#6#6#100#6#8#100#6#11#22#7#3#11#7#4#11#7#5#11#7#6#11#7#7#11#7#8#11#7#9#11#7#10#11#7#11#11#7#12#11#7#13#11#7#14#11#7#15#22#7#16#21#8#3#21#8#16#100#9#1#21#9#3#100#9#4#100#9#15#21#9#16#100#9#18#11#10#0#11#10#1#11#10#2#11#10#3#11#10#4#11#10#5#22#10#6#22#10#13#11#10#14#11#10#15#11#10#16#11#10#17#11#10#18#11#10#19#21#11#6#21#11#13#21#12#6#11#12#8#11#12#11#21#12#13#100#13#3#21#13#6#100#13#10#21#13#13#100#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[1][3] = "3#10";
arrLevelBuilder[1][4] = "13#1";
arrLevelBuilder[2][0] = "";
arrLevelBuilder[2][1] = "9#0#2#9#19#1#13#19#1#";
arrLevelBuilder[2][2] = "100#2#8#100#2#10#100#2#19#11#3#0#11#3#1#11#3#18#11#3#19#11#4#7#11#4#8#11#4#9#11#4#10#11#4#11#100#5#3#100#5#16#11#6#0#22#6#1#11#6#2#11#6#3#11#6#4#11#6#14#11#6#15#11#6#16#11#6#17#22#6#18#11#6#19#21#7#1#21#7#18#21#8#1#11#8#6#11#8#7#11#8#8#11#8#9#11#8#10#11#8#11#11#8#12#21#8#18#21#9#1#11#9#5#11#9#13#21#9#18#11#10#0#11#10#1#11#10#4#11#10#14#11#10#18#11#10#19#11#11#3#11#11#15#100#12#8#100#12#10#100#13#4#13#13#6#13#13#7#13#13#8#102#13#9#13#13#10#13#13#11#13#13#12#100#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[2][3] = "13#18";
arrLevelBuilder[2][4] = "2#0";
arrLevelBuilder[3][0] = "";
arrLevelBuilder[3][1] = "13#8#2#13#11#1#";
arrLevelBuilder[3][2] = "100#1#2#100#1#17#100#3#2#100#3#9#100#3#10#100#3#17#101#3#19#11#4#0#100#4#7#100#4#12#11#4#19#100#5#2#100#5#17#100#6#5#100#6#14#100#7#2#11#7#8#11#7#9#11#7#10#11#7#11#100#7#17#100#8#9#100#8#10#62#9#1#62#9#2#100#9#4#11#9#7#11#9#8#11#9#9#11#9#10#11#9#11#11#9#12#100#9#15#62#9#17#62#9#18#11#10#1#11#10#2#11#10#17#11#10#18#63#11#4#63#11#5#63#11#14#63#11#15#11#12#4#11#12#5#11#12#6#11#12#13#11#12#14#11#12#15#63#13#0#102#13#9#102#13#10#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[3][3] = "6#10";
arrLevelBuilder[3][4] = "3#0";
arrLevelBuilder[4][0] = "";
arrLevelBuilder[4][1] = "8#13#2#";
arrLevelBuilder[4][2] = "19#2#7#19#2#8#19#2#9#18#2#10#18#2#11#18#2#12#100#4#2#100#4#6#102#4#9#102#4#10#100#4#14#100#4#18#61#5#4#18#5#5#18#5#6#18#5#7#11#5#9#11#5#10#19#5#13#19#5#14#19#5#15#61#5#16#14#6#4#14#6#16#14#7#4#14#7#16#100#7#19#62#8#2#102#8#3#14#8#4#100#8#7#13#8#9#13#8#10#100#8#12#14#8#16#102#8#17#62#8#18#11#9#2#11#9#3#11#9#4#11#9#6#11#9#7#22#9#8#13#9#9#13#9#10#22#9#11#11#9#12#11#9#13#11#9#16#11#9#17#11#9#18#21#10#8#13#10#9#13#10#10#21#10#11#21#11#8#11#11#9#11#11#10#21#11#11#11#12#4#11#12#5#22#12#6#11#12#7#11#12#8#11#12#11#11#12#12#22#12#13#11#12#14#11#12#15#63#13#0#100#13#1#21#13#6#21#13#13#100#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[4][3] = "13#10";
arrLevelBuilder[4][4] = "3#0";
arrLevelBuilder[5][0] = "";
arrLevelBuilder[5][1] = "13#10#2#";
arrLevelBuilder[5][2] = "104#12#18#100#1#9#100#1#12#11#4#0#11#4#1#11#4#2#11#4#3#22#4#4#61#4#9#61#4#12#22#4#16#11#4#17#11#4#18#21#5#4#11#5#7#11#5#8#11#5#9#11#5#10#11#5#11#11#5#12#11#5#13#21#5#16#11#6#4#22#6#5#22#6#15#11#6#16#100#7#0#21#7#5#21#7#15#100#7#19#11#8#4#22#8#5#11#8#6#13#8#7#13#8#10#13#8#13#11#8#14#22#8#15#11#8#16#21#9#5#13#9#7#100#9#8#13#9#10#100#9#12#13#9#13#21#9#15#11#10#3#11#10#4#22#10#5#11#10#6#13#10#7#13#10#10#13#10#13#11#10#14#22#10#15#11#10#16#11#10#17#21#11#5#13#11#7#13#11#13#21#11#15#21#12#5#13#12#7#100#12#9#100#12#11#13#12#13#21#12#15#63#13#0#13#13#2#13#13#3#13#13#4#13#13#5#13#13#6#13#13#7#62#13#8#62#13#9#62#13#11#62#13#12#13#13#13#13#13#14#13#13#15#13#13#16#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] = "3#18";
arrLevelBuilder[5][4] = "3#0";
arrLevelBuilder[6][0] = "";
arrLevelBuilder[6][1] = "6#10#2#6#17#1#11#2#2#11#16#1#";
arrLevelBuilder[6][2] = "14#5#0#14#5#1#14#6#0#14#6#1#13#7#1#14#7#2#14#7#3#14#7#4#14#7#5#14#7#6#14#7#7#14#7#8#14#7#9#14#7#10#14#7#11#14#7#12#14#7#13#14#7#14#14#7#15#14#7#16#14#7#17#14#7#18#14#8#1#13#8#2#13#8#3#13#8#4#14#8#5#14#8#7#13#8#8#13#8#9#14#8#10#14#8#12#13#8#13#14#8#14#14#8#16#14#8#17#14#9#2#13#9#3#13#9#4#14#9#5#14#9#7#13#9#8#13#9#9#14#9#10#14#9#12#13#9#13#14#9#14#14#9#16#14#10#0#14#10#3#14#10#4#14#10#5#14#10#7#14#10#8#14#10#9#14#10#10#14#10#12#14#10#13#14#10#14#14#10#16#14#10#19#13#11#0#14#11#1#100#11#3#100#11#5#100#11#7#100#11#9#100#11#11#100#11#13#100#11#15#100#11#17#14#11#18#13#11#19#13#12#0#13#12#1#14#12#2#14#12#3#14#12#4#14#12#5#14#12#6#14#12#7#14#12#8#14#12#9#14#12#10#14#12#11#14#12#12#14#12#13#14#12#14#14#12#15#14#12#16#14#12#17#13#12#18#13#12#19#13#13#0#13#13#1#13#13#2#13#13#3#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#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] = "4#1";
arrLevelBuilder[6][4] = "9#0";
arrLevelBuilder[7][0] = "4#299#475.95#3#4#12#";
arrLevelBuilder[7][1] = "10#10#2#13#7#2#13#17#2#";
arrLevelBuilder[7][2] = "100#1#13#100#1#15#100#1#17#100#1#19#100#3#3#100#3#4#102#3#8#11#3#19#11#4#8#11#4#9#11#4#10#11#4#11#11#5#0#11#5#1#102#5#11#102#5#12#102#5#13#102#5#14#102#5#15#102#6#2#102#6#3#102#6#4#102#6#5#61#6#6#61#6#7#100#6#9#14#6#11#14#6#12#14#6#13#14#6#14#14#6#15#11#6#16#11#6#17#100#7#0#11#7#2#11#7#3#11#7#4#11#7#5#11#7#6#11#7#7#11#7#11#11#7#12#11#7#13#11#7#14#11#7#15#100#7#17#102#7#18#13#8#4#11#8#18#13#9#4#18#9#7#18#9#8#19#9#10#19#9#11#19#9#12#11#9#13#11#10#0#11#10#1#22#10#3#13#10#4#18#10#6#11#10#14#13#10#15#22#10#16#11#10#17#11#10#18#22#10#19#21#11#3#13#11#4#100#11#5#11#11#8#22#11#9#11#11#10#11#11#11#100#11#14#13#11#15#21#11#16#21#11#19#21#12#3#11#12#4#11#12#5#11#12#6#11#12#7#21#12#9#11#12#12#11#12#13#13#12#15#21#12#16#21#12#19#100#13#0#61#13#2#21#13#3#21#13#9#13#13#10#100#13#11#13#13#15#21#13#16#101#13#18#21#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[7][3] = "9#1";
arrLevelBuilder[7][4] = "4#0";
arrLevelBuilder[8][0] = "";
arrLevelBuilder[8][1] = "9#14#2#11#10#2#13#5#2#";
arrLevelBuilder[8][2] = "13#0#6#13#0#8#13#0#9#13#0#11#13#0#12#13#0#14#13#1#6#13#1#8#13#1#9#13#1#11#13#1#12#13#1#14#100#2#1#13#2#6#100#2#7#13#2#8#13#2#9#100#2#10#13#2#11#13#2#12#100#2#13#13#2#14#100#2#17#11#3#0#11#3#1#11#3#5#11#3#6#11#3#8#11#3#9#11#3#11#11#3#12#11#3#14#102#4#17#18#5#3#19#5#4#19#5#5#19#5#6#19#5#7#19#5#8#19#5#9#19#5#10#19#5#11#19#5#12#19#5#13#19#5#14#19#5#15#19#5#16#11#5#17#13#6#3#13#6#9#13#6#14#13#7#3#100#7#6#100#7#7#13#7#9#100#7#11#100#7#12#13#7#14#102#7#19#62#8#2#13#8#3#11#8#6#11#8#7#13#8#9#11#8#11#11#8#12#13#8#14#11#8#19#11#9#0#11#9#1#11#9#2#11#9#3#19#10#7#19#10#8#11#10#9#11#10#10#11#10#11#11#10#12#11#10#13#11#10#14#11#10#15#18#10#16#18#10#17#22#11#4#11#11#5#11#11#6#11#11#7#100#11#12#100#11#14#21#12#4#11#12#10#22#12#11#11#12#12#11#12#13#11#12#14#22#12#15#11#12#16#13#13#2#61#13#3#21#13#4#21#13#11#21#13#15#63#13#18#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] = "13#1";
arrLevelBuilder[8][4] = "8#0";
arrLevelBuilder[9][0] = "4#274#373#3#4#12#4#350#472.95#3#12#14#";
arrLevelBuilder[9][1] = "1#3#1#";
arrLevelBuilder[9][2] = "13#0#13#102#0#16#11#1#0#22#1#1#100#1#6#100#1#8#13#1#13#13#1#16#13#2#0#11#2#1#22#2#2#11#2#3#19#2#5#19#2#6#19#2#7#19#2#8#11#2#13#13#2#16#13#3#0#13#3#1#21#3#2#13#3#16#21#3#17#13#3#18#11#4#0#11#4#1#21#4#2#102#4#8#102#4#9#13#4#16#21#4#17#13#4#18#11#5#2#11#5#3#11#5#4#11#5#5#11#5#8#11#5#9#102#5#12#102#5#13#13#5#16#21#5#17#13#5#18#100#6#0#100#6#10#11#6#12#11#6#13#13#6#14#21#6#15#13#6#16#21#6#17#13#6#18#61#7#7#100#7#11#13#7#14#21#7#15#11#7#16#21#7#17#13#7#18#19#8#0#19#8#1#102#8#5#13#8#7#102#8#8#102#8#9#102#8#12#102#8#13#13#8#14#21#8#15#21#8#17#13#8#18#13#9#5#13#9#7#11#9#8#11#9#9#100#9#10#11#9#12#11#9#13#11#9#14#11#9#15#11#9#16#11#9#17#11#9#18#13#10#5#61#10#6#13#10#7#63#10#10#63#10#11#102#11#2#61#11#4#13#11#5#11#11#6#11#11#7#100#11#9#11#11#10#11#11#11#11#12#2#22#12#3#11#12#4#13#12#5#21#13#3#13#13#5#19#13#10#19#13#11#19#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] = "13#9";
arrLevelBuilder[9][4] = "13#0";
arrLevelBuilder[10][0] = "4#99#224#1#4#12#4#123#291#1#5#1#4#175#275#1#7#8#4#225#444.95#3#12#8#";
arrLevelBuilder[10][1] = "13#0#2#13#19#1#";
arrLevelBuilder[10][2] = "104#1#1#14#0#13#100#1#8#14#1#13#11#2#0#11#2#1#11#2#2#14#2#3#22#2#6#11#2#7#11#2#8#14#2#9#14#2#13#14#3#3#21#3#6#14#3#9#100#3#10#14#3#13#14#4#3#11#4#5#11#4#6#14#4#9#11#4#10#14#4#13#14#5#3#100#5#4#14#5#9#14#5#13#14#6#3#61#6#4#14#6#9#11#6#13#14#6#16#11#6#17#11#6#18#11#6#19#11#7#2#11#7#3#11#7#4#11#7#5#11#7#6#14#7#16#100#8#11#62#8#15#14#8#16#100#8#18#100#9#3#100#9#5#11#9#13#11#9#14#11#9#15#11#9#16#11#10#2#11#10#3#11#10#4#11#10#5#22#10#6#21#11#6#100#11#10#21#12#6#13#13#6#63#13#10#62#13#11#61#13#18#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] = "5#18";
arrLevelBuilder[10][4] = "4#1";
arrLevelBuilder[11][0] = "4#34#232#3#12#0#";
arrLevelBuilder[11][1] = "5#18#2#";
arrLevelBuilder[11][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[11][3] = "13#18";
arrLevelBuilder[11][4] = "6#0";
arrLevelBuilder[12][0] = "";
arrLevelBuilder[12][1] = "2#3#2#6#14#2#8#9#2#13#7#2#";
arrLevelBuilder[12][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[12][3] = "13#10";
arrLevelBuilder[12][4] = "6#17";
arrLevelBuilder[13][0] = "4#67#324#1#6#19#";
arrLevelBuilder[13][1] = "";
arrLevelBuilder[13][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[13][3] = "2#1";
arrLevelBuilder[13][4] = "13#0";
arrLevelBuilder[14][0] = "";
arrLevelBuilder[14][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[14][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[14][3] = "7#10";
arrLevelBuilder[14][4] = "13#10";
arrLevelBuilder[15][0] = "4#74#225#3#5#4#4#125#223#3#9#5#";
arrLevelBuilder[15][1] = "";
arrLevelBuilder[15][2] = "104#3#12#13#0#8#13#1#8#100#1#13#100#1#17#100#2#6#13#2#8#100#2#9#11#3#0#19#3#1#19#3#2#18#3#5#18#3#6#18#3#7#11#3#8#11#3#9#102#3#13#102#3#17#100#4#8#11#4#10#13#4#13#13#4#16#11#4#17#11#4#18#100#5#0#13#5#10#61#5#12#13#5#13#13#5#16#102#6#2#102#6#3#102#6#4#102#6#5#13#6#10#11#6#12#13#6#13#62#6#15#11#6#16#63#6#18#63#6#19#100#7#1#11#7#2#11#7#3#11#7#4#11#7#5#13#7#10#13#7#13#13#7#15#100#7#16#11#7#18#11#7#19#100#8#8#13#8#10#61#8#11#13#8#13#100#8#14#13#8#15#62#9#1#13#9#10#11#9#11#13#9#13#13#9#15#11#10#1#19#10#2#19#10#3#19#10#4#19#10#5#102#10#6#102#10#7#102#10#8#11#10#9#11#10#10#13#10#13#100#10#14#13#10#15#62#10#17#62#10#18#100#10#19#100#11#3#11#11#6#11#11#7#11#11#8#100#11#10#13#11#13#13#11#15#11#11#17#11#11#18#11#11#19#13#12#13#100#12#14#13#12#15#19#13#0#19#13#1#19#13#2#19#13#3#19#13#4#19#13#5#19#13#6#19#13#7#19#13#8#18#13#9#18#13#10#18#13#11#63#13#12#13#13#13#63#13#14#13#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[15][3] = "13#18";
arrLevelBuilder[15][4] = "2#0";
arrLevelBuilder[16][0] = "";
arrLevelBuilder[16][1] = "3#10#1#3#12#2#6#16#2#10#1#2#13#11#1#";
arrLevelBuilder[16][2] = "100#1#9#100#1#14#11#2#3#11#2#4#11#2#8#11#2#9#11#2#13#11#2#14#100#2#18#100#3#3#100#3#4#102#3#6#100#3#8#100#3#9#102#3#11#100#3#14#11#3#18#11#4#0#11#4#1#11#4#2#11#4#3#11#4#4#11#4#5#11#4#6#11#4#7#11#4#8#11#4#9#11#4#10#11#4#11#11#4#12#11#4#13#11#4#14#102#4#19#13#5#3#100#5#4#100#5#5#100#5#6#11#5#19#13#6#3#100#6#11#100#6#13#11#7#0#11#7#1#22#7#2#11#7#3#102#7#7#11#7#8#11#7#9#11#7#11#11#7#12#11#7#13#22#7#16#100#8#0#21#8#2#19#8#5#19#8#6#11#8#7#100#8#8#100#8#9#102#8#10#13#8#11#21#8#16#100#8#19#21#9#2#11#9#10#11#9#11#101#9#12#21#9#16#21#10#2#18#10#4#18#10#5#18#10#6#18#10#7#11#10#12#13#10#13#21#10#16#11#11#1#11#11#2#22#11#3#100#11#4#100#11#6#61#11#8#100#11#10#100#11#12#13#11#13#21#11#16#21#12#3#11#12#8#11#12#9#11#12#10#13#12#13#100#12#14#21#12#16#100#12#18#61#13#0#21#13#3#13#13#13#62#13#14#102#13#15#21#13#16#63#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] = "6#1";
arrLevelBuilder[16][4] = "3#0";
arrLevelBuilder[17][0] = "4#372#471.95#3#8#16#4#122#226#3#9#3#";
arrLevelBuilder[17][1] = "9#12#2#13#6#2#";
arrLevelBuilder[17][2] = "101#0#7#100#1#3#100#1#6#11#1#7#102#1#13#102#1#17#102#2#3#102#2#6#100#2#11#13#2#13#100#2#15#13#2#17#11#3#0#11#3#3#11#3#6#100#3#11#13#3#13#100#3#15#13#3#17#13#4#1#102#4#9#11#4#11#11#4#13#11#4#15#11#4#17#11#5#1#62#5#2#100#5#4#100#5#5#100#5#7#13#5#9#61#5#18#11#6#2#102#6#3#61#6#4#62#6#5#102#6#6#62#6#8#11#6#9#22#6#10#11#6#11#11#6#12#11#6#13#11#6#14#11#6#15#11#6#16#11#6#17#11#6#18#100#7#0#11#7#3#11#7#4#11#7#5#11#7#6#11#7#7#11#7#8#21#7#10#100#7#14#100#8#1#100#8#5#100#8#7#21#8#10#13#9#9#21#9#10#19#9#13#19#9#14#19#9#15#19#9#16#102#9#17#102#9#18#102#9#19#102#10#1#102#10#5#102#10#6#102#10#7#102#10#8#11#10#9#11#10#10#11#10#11#11#10#12#11#10#17#11#10#18#11#10#19#11#11#1#100#11#2#62#11#3#100#11#4#11#11#5#11#11#6#11#11#7#11#11#8#100#11#10#100#11#12#100#11#14#100#11#16#11#12#3#63#13#0#13#13#9#102#13#13#18#13#14#102#13#15#18#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[17][3] = "13#18";
arrLevelBuilder[17][4] = "2#0";
arrLevelBuilder[18][0] = "";
arrLevelBuilder[18][1] = "4#3#2#4#12#1#6#5#2#13#2#2#";
arrLevelBuilder[18][2] = "104#1#15#102#0#4#102#0#6#102#0#11#102#0#13#13#1#4#13#1#6#100#1#9#13#1#11#13#1#13#13#2#4#100#2#5#13#2#6#14#2#8#14#2#9#13#2#11#100#2#12#13#2#13#14#2#16#102#2#18#11#3#0#11#3#1#11#3#4#11#3#6#11#3#8#11#3#9#11#3#11#11#3#13#14#3#16#13#3#18#11#4#2#61#4#15#14#4#16#13#4#18#11#5#3#11#5#4#11#5#5#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#14#5#16#13#5#18#14#6#16#13#6#18#102#7#1#100#7#3#22#7#5#100#7#7#22#7#8#14#7#16#100#7#17#13#7#18#13#8#1#18#8#3#18#8#4#21#8#5#18#8#6#18#8#7#21#8#8#18#8#9#14#8#10#14#8#16#63#8#17#13#8#18#13#9#1#62#9#2#21#9#5#21#9#8#14#9#10#11#9#12#11#9#13#11#9#14#11#9#15#11#9#16#11#9#17#11#9#18#13#10#1#11#10#2#19#10#3#19#10#4#11#10#5#19#10#6#19#10#7#11#10#8#19#10#9#11#10#10#100#11#2#13#11#10#61#11#14#61#11#18#13#12#10#61#12#12#100#12#13#13#12#14#61#12#16#13#12#18#102#13#4#13#13#10#62#13#11#13#13#12#62#13#13#13#13#14#62#13#15#13#13#16#62#13#17#13#13#18#61#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] = "13#9";
arrLevelBuilder[18][4] = "2#0";
arrLevelBuilder[19][0] = "";
arrLevelBuilder[19][1] = "3#8#2#10#13#2#13#11#2#";
arrLevelBuilder[19][2] = "11#1#8#11#1#9#11#1#10#21#1#11#100#1#18#11#2#5#11#2#6#22#2#7#100#2#9#21#2#11#61#2#13#11#2#17#11#2#18#11#2#19#21#3#7#22#3#11#11#3#12#11#3#13#11#4#7#11#4#8#11#4#9#11#4#10#11#4#11#13#4#13#102#4#15#102#5#7#102#5#11#11#5#13#13#5#15#22#6#0#11#6#1#11#6#2#22#6#3#13#6#5#100#6#6#13#6#7#13#6#9#100#6#10#13#6#11#13#6#15#21#7#0#21#7#3#13#7#5#13#7#7#13#7#9#13#7#11#13#7#15#102#7#17#21#8#0#100#8#1#21#8#3#62#8#4#13#8#5#11#8#7#11#8#9#13#8#11#100#8#12#13#8#13#13#8#15#13#8#17#22#9#0#11#9#1#11#9#2#11#9#3#11#9#4#11#9#5#11#9#11#11#9#12#11#9#13#13#9#15#13#9#17#21#10#0#61#10#6#22#10#7#11#10#8#22#10#9#61#10#10#63#10#14#13#10#15#63#10#16#13#10#17#21#11#0#11#11#3#11#11#4#11#11#5#11#11#6#11#11#7#11#11#9#11#11#10#11#11#11#11#11#12#11#11#13#11#11#14#11#11#15#11#11#16#13#11#17#21#12#0#13#12#17#21#13#0#61#13#2#13#13#17#63#13#18#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] = "13#8";
arrLevelBuilder[19][4] = "13#19";
arrLevelBuilder[20][0] = "";
arrLevelBuilder[20][1] = "1#19#1#13#3#2#13#10#2#";
arrLevelBuilder[20][2] = "13#0#9#13#0#12#100#1#8#13#1#9#13#1#12#100#1#18#100#2#3#11#2#7#11#2#8#13#2#9#13#2#12#11#2#17#22#2#18#11#2#19#11#3#3#11#3#4#13#3#9#13#3#12#21#3#18#13#4#9#11#4#10#22#4#11#11#4#12#102#4#14#21#4#18#102#5#7#13#5#10#21#5#11#13#5#14#102#5#16#21#5#18#13#6#7#13#6#10#21#6#11#13#6#14#13#6#16#21#6#18#100#7#0#102#7#5#13#7#7#21#7#11#62#7#13#13#7#14#13#7#16#100#7#17#11#7#18#11#7#19#11#8#0#11#8#1#13#8#5#13#8#7#100#8#8#13#8#12#13#8#13#13#8#14#62#8#15#13#8#16#13#9#5#13#9#7#13#9#10#100#9#13#13#9#14#13#9#15#13#9#16#102#10#3#13#10#5#63#10#6#13#10#7#13#10#10#62#10#17#13#11#3#62#11#4#13#11#5#13#11#6#100#11#7#18#11#11#18#11#12#19#11#13#18#11#14#18#11#15#11#11#16#11#11#17#61#12#2#13#12#3#13#12#4#13#13#2#61#13#8#61#13#18#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[20][3] = "3#11";
arrLevelBuilder[20][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;
trace(((((((((((arrSaveLifts[i][0] + "#") + arrSaveLifts[i][1]) + "#") + arrSaveLifts[i][2]) + "#") + arrSaveLifts[i][3]) + "#") + arrSaveLifts[i][4]) + "#") + arrSaveLifts[i][5]) + "#");
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 11
stop();
Instance of Symbol 302 MovieClip "movGame" in Frame 11
onClipEvent (load) {
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 if (arrGrid[i][j] == 104) {
if (_root.arrHearts[_root.nLevel] == 1) {
duplicateMovieClip (eval ("mov" + arrGrid[i][j]), (i + "#") + j, nDepth);
eval ((i + "#") + j)._x = 25 * j;
eval ((i + "#") + j)._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;
}
}
if (_root.blnDontChange == 0) {
if (_root.nLevel < 5) {
movBD.gotoAndStop(1);
} else if ((_root.nLevel >= 5) && (_root.nLevel < 10)) {
movBD.gotoAndStop(2);
} else if ((_root.nLevel >= 10) && (_root.nLevel < 15)) {
movBD.gotoAndStop(3);
} else if (_root.nLevel >= 15) {
movBD.gotoAndStop(4);
}
_root.blnDontChange = 1;
}
}
Frame 16
stop();
Instance of Symbol 244 MovieClip "mov100" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
_root.nBabyCount--;
if (_root.nBabyCount <= 0) {
_root.blnDoorOpen = 1;
_parent.movStageDoor.play();
}
removeMovieClip(this);
}
}
Instance of Symbol 247 MovieClip "mov101" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
if (_root.blnFX == 1) {
if (random(3) == 2) {
_root.sndBurp2.gotoAndPlay(2);
} else {
_root.sndBurp1.gotoAndPlay(2);
}
}
removeMovieClip(this);
_root.nScore = _root.nScore + 25;
}
}
Symbol 6 Button
on (release) {
getURL ("http://www.gamesarcade.net", "_blank");
}
Symbol 15 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 2
stop();
Symbol 15 MovieClip Frame 3
stop();
Symbol 15 MovieClip Frame 4
stop();
Symbol 15 MovieClip Frame 5
stop();
Symbol 15 MovieClip Frame 6
stop();
Symbol 15 MovieClip Frame 7
stop();
Symbol 15 MovieClip Frame 8
stop();
Symbol 15 MovieClip Frame 9
stop();
Symbol 15 MovieClip Frame 10
stop();
Symbol 15 MovieClip Frame 11
stop();
Symbol 15 MovieClip Frame 12
stop();
Symbol 15 MovieClip Frame 13
stop();
Symbol 15 MovieClip Frame 14
stop();
Symbol 15 MovieClip Frame 15
stop();
Symbol 15 MovieClip Frame 16
stop();
Symbol 15 MovieClip Frame 17
stop();
Symbol 15 MovieClip Frame 18
stop();
Symbol 15 MovieClip Frame 19
stop();
Symbol 15 MovieClip Frame 20
stop();
Symbol 15 MovieClip Frame 21
stop();
Symbol 15 MovieClip Frame 22
stop();
Symbol 15 MovieClip Frame 23
stop();
Symbol 15 MovieClip Frame 24
stop();
Symbol 15 MovieClip Frame 25
stop();
Symbol 15 MovieClip Frame 26
stop();
Symbol 15 MovieClip Frame 27
stop();
Symbol 15 MovieClip Frame 28
stop();
Symbol 15 MovieClip Frame 29
stop();
Symbol 15 MovieClip Frame 30
stop();
Symbol 15 MovieClip Frame 31
stop();
Symbol 15 MovieClip Frame 32
stop();
Symbol 15 MovieClip Frame 33
stop();
Symbol 15 MovieClip Frame 34
stop();
Symbol 15 MovieClip Frame 35
stop();
Symbol 15 MovieClip Frame 36
stop();
Symbol 15 MovieClip Frame 37
stop();
Symbol 15 MovieClip Frame 38
stop();
Symbol 15 MovieClip Frame 39
stop();
Symbol 15 MovieClip Frame 40
stop();
Symbol 15 MovieClip Frame 41
stop();
Symbol 15 MovieClip Frame 42
stop();
Symbol 15 MovieClip Frame 43
stop();
Symbol 15 MovieClip Frame 44
stop();
Symbol 15 MovieClip Frame 45
stop();
Symbol 15 MovieClip Frame 46
stop();
Symbol 15 MovieClip Frame 47
stop();
Symbol 15 MovieClip Frame 48
stop();
Symbol 15 MovieClip Frame 49
stop();
Symbol 15 MovieClip Frame 50
stop();
Symbol 15 MovieClip Frame 51
stop();
Symbol 15 MovieClip Frame 52
stop();
Symbol 15 MovieClip Frame 53
stop();
Symbol 15 MovieClip Frame 54
stop();
Symbol 15 MovieClip Frame 55
stop();
Symbol 15 MovieClip Frame 56
stop();
Symbol 15 MovieClip Frame 57
stop();
Symbol 15 MovieClip Frame 58
stop();
Symbol 15 MovieClip Frame 59
stop();
Symbol 15 MovieClip Frame 60
stop();
Symbol 15 MovieClip Frame 61
stop();
Symbol 15 MovieClip Frame 62
stop();
Symbol 15 MovieClip Frame 63
stop();
Symbol 15 MovieClip Frame 64
stop();
Symbol 15 MovieClip Frame 65
stop();
Symbol 15 MovieClip Frame 66
stop();
Symbol 15 MovieClip Frame 67
stop();
Symbol 15 MovieClip Frame 68
stop();
Symbol 15 MovieClip Frame 69
stop();
Symbol 15 MovieClip Frame 70
stop();
Symbol 15 MovieClip Frame 71
stop();
Symbol 15 MovieClip Frame 72
stop();
Symbol 15 MovieClip Frame 73
stop();
Symbol 15 MovieClip Frame 74
stop();
Symbol 15 MovieClip Frame 75
stop();
Symbol 15 MovieClip Frame 76
stop();
Symbol 15 MovieClip Frame 77
stop();
Symbol 15 MovieClip Frame 78
stop();
Symbol 15 MovieClip Frame 79
stop();
Symbol 15 MovieClip Frame 80
stop();
Symbol 15 MovieClip Frame 81
stop();
Symbol 15 MovieClip Frame 82
stop();
Symbol 15 MovieClip Frame 83
stop();
Symbol 15 MovieClip Frame 84
stop();
Symbol 15 MovieClip Frame 85
stop();
Symbol 15 MovieClip Frame 86
stop();
Symbol 15 MovieClip Frame 87
stop();
Symbol 15 MovieClip Frame 88
stop();
Symbol 15 MovieClip Frame 89
stop();
Symbol 15 MovieClip Frame 90
stop();
Symbol 15 MovieClip Frame 91
stop();
Symbol 15 MovieClip Frame 92
stop();
Symbol 15 MovieClip Frame 93
stop();
Symbol 15 MovieClip Frame 94
stop();
Symbol 15 MovieClip Frame 95
stop();
Symbol 15 MovieClip Frame 96
stop();
Symbol 15 MovieClip Frame 97
stop();
Symbol 15 MovieClip Frame 98
stop();
Symbol 15 MovieClip Frame 99
stop();
Symbol 15 MovieClip Frame 100
stop();
Symbol 15 MovieClip Frame 101
stop();
Symbol 15 MovieClip Frame 102
stop();
Symbol 15 MovieClip Frame 103
stop();
Symbol 15 MovieClip Frame 104
stop();
Symbol 15 MovieClip Frame 105
stop();
Symbol 15 MovieClip Frame 106
stop();
Symbol 15 MovieClip Frame 107
stop();
Symbol 15 MovieClip Frame 108
stop();
Symbol 15 MovieClip Frame 109
stop();
Symbol 15 MovieClip Frame 110
stop();
Symbol 15 MovieClip Frame 111
stop();
Symbol 15 MovieClip Frame 112
stop();
Symbol 15 MovieClip Frame 113
stop();
Symbol 15 MovieClip Frame 114
stop();
Symbol 15 MovieClip Frame 115
stop();
Symbol 15 MovieClip Frame 116
stop();
Symbol 15 MovieClip Frame 117
stop();
Symbol 15 MovieClip Frame 118
stop();
Symbol 15 MovieClip Frame 119
stop();
Symbol 15 MovieClip Frame 120
stop();
Symbol 15 MovieClip Frame 121
stop();
Symbol 15 MovieClip Frame 122
stop();
Symbol 15 MovieClip Frame 123
stop();
Symbol 15 MovieClip Frame 124
stop();
Symbol 15 MovieClip Frame 125
stop();
Symbol 15 MovieClip Frame 126
stop();
Symbol 15 MovieClip Frame 127
stop();
Symbol 15 MovieClip Frame 128
stop();
Symbol 15 MovieClip Frame 129
stop();
Symbol 15 MovieClip Frame 130
stop();
Symbol 15 MovieClip Frame 131
stop();
Symbol 15 MovieClip Frame 132
stop();
Symbol 15 MovieClip Frame 133
stop();
Symbol 15 MovieClip Frame 134
stop();
Symbol 15 MovieClip Frame 135
stop();
Symbol 15 MovieClip Frame 136
stop();
Symbol 15 MovieClip Frame 137
stop();
Symbol 15 MovieClip Frame 138
stop();
Symbol 15 MovieClip Frame 139
stop();
Symbol 15 MovieClip Frame 140
stop();
Symbol 15 MovieClip Frame 141
stop();
Symbol 15 MovieClip Frame 142
stop();
Symbol 15 MovieClip Frame 143
stop();
Symbol 15 MovieClip Frame 144
stop();
Symbol 15 MovieClip Frame 145
stop();
Symbol 15 MovieClip Frame 146
stop();
Symbol 15 MovieClip Frame 147
stop();
Symbol 15 MovieClip Frame 148
stop();
Symbol 15 MovieClip Frame 149
stop();
Symbol 15 MovieClip Frame 150
stop();
Symbol 15 MovieClip Frame 151
stop();
Symbol 15 MovieClip Frame 152
stop();
Symbol 15 MovieClip Frame 153
stop();
Symbol 36 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
on (release, keyPress "<Enter>") {
if (inpPwd == "INCORRECT") {
inpPwd = "";
}
var nLevel = -1;
i = 1;
while (i <= 100) {
if (arrHereTheyAre[i] == inpPwd) {
nLevel = i;
}
i++;
}
if (nLevel != -1) {
var blnTest = 0;
if (blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("music.swf", 50);
}
gotoAndPlay (6);
} else if (inpPwd == "") {
var blnTest = 0;
nLevel = 1;
if (blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("music.swf", 50);
}
gotoAndPlay (6);
} else {
inpPwd = "INCORRECT";
}
}
Symbol 41 Button
on (release) {
gotoAndPlay (16);
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 63 Button
on (release) {
if (_root.blnMusic == 0) {
loadMovieNum ("music.swf", 50);
_root.blnMusic = 1;
} else {
unloadMovieNum (50);
_root.blnMusic = 0;
}
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 66 MovieClip Frame 4
stop();
Symbol 66 MovieClip Frame 5
stop();
Symbol 66 MovieClip Frame 6
stop();
Symbol 66 MovieClip Frame 7
stop();
Symbol 66 MovieClip Frame 8
stop();
Symbol 66 MovieClip Frame 9
stop();
Symbol 66 MovieClip Frame 10
stop();
Symbol 66 MovieClip Frame 11
stop();
Symbol 66 MovieClip Frame 12
stop();
Symbol 66 MovieClip Frame 13
stop();
Symbol 66 MovieClip Frame 14
stop();
Symbol 66 MovieClip Frame 15
stop();
Symbol 66 MovieClip Frame 16
stop();
Symbol 66 MovieClip Frame 17
stop();
Symbol 66 MovieClip Frame 18
stop();
Symbol 66 MovieClip Frame 19
stop();
Symbol 66 MovieClip Frame 20
stop();
Symbol 66 MovieClip Frame 21
stop();
Symbol 66 MovieClip Frame 22
stop();
Symbol 66 MovieClip Frame 23
stop();
Symbol 66 MovieClip Frame 24
stop();
Symbol 66 MovieClip Frame 25
stop();
Symbol 66 MovieClip Frame 26
stop();
Symbol 66 MovieClip Frame 27
stop();
Symbol 66 MovieClip Frame 28
stop();
Symbol 66 MovieClip Frame 29
stop();
Symbol 66 MovieClip Frame 30
stop();
Symbol 66 MovieClip Frame 31
stop();
Symbol 66 MovieClip Frame 32
stop();
Symbol 66 MovieClip Frame 33
stop();
Symbol 66 MovieClip Frame 34
stop();
Symbol 66 MovieClip Frame 35
stop();
Symbol 66 MovieClip Frame 36
stop();
Symbol 66 MovieClip Frame 37
stop();
Symbol 66 MovieClip Frame 38
stop();
Symbol 66 MovieClip Frame 39
stop();
Symbol 66 MovieClip Frame 40
stop();
Symbol 66 MovieClip Frame 41
stop();
Symbol 66 MovieClip Frame 42
stop();
Symbol 66 MovieClip Frame 43
stop();
Symbol 66 MovieClip Frame 44
stop();
Symbol 69 Button
on (release) {
if (nTestID == 0) {
gotoAndPlay (5);
} else {
gotoAndStop (4);
}
}
Symbol 74 Button
on (release) {
if (_root.blnFX == 0) {
_root.blnFX = 1;
} else {
_root.blnFX = 0;
}
}
Symbol 89 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
on (release, keyPress "<Enter>") {
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("music.swf", 50);
}
gotoAndStop (1);
_root.gotoAndPlay("START");
}
Symbol 95 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
on (release, keyPress "<Enter>") {
if (movMov.bln == 0) {
txtBonus = movMov.tempB;
_root.nScore = _root.nScore + movMov.tempB;
txtScore = _root.nScore;
}
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("music.swf", 50);
}
_root.blnDontChange = 0;
gotoAndStop (1);
_root.gotoAndPlay("START");
}
Symbol 114 Button
on (release, keyPress "<Enter>") {
_root.nLives = 5;
_root.nScore = 0;
gotoAndStop (1);
_root.gotoAndPlay("START");
}
Symbol 136 Button
on (rollOver) {
if (_root.blnFX == 1) {
_root.sndRO.gotoAndPlay(2);
}
}
on (release) {
_root.gotoAndPlay(1);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 9
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("baseline.swf", 50);
}
play();
Symbol 154 MovieClip Frame 26
movLives.gotoAndStop(_root.nLives);
stop();
Symbol 154 MovieClip Frame 28
play();
Symbol 154 MovieClip Frame 45
txtStuff = ("CONGRATULATIONS YOU HAVE COMPLETED LEVEL " + String(_root.nLevel - 1)) + " OF 20";
txtPwd = "Level Password: " + _root.arrHereTheyAre[_root.nLevel];
stop();
Instance of Symbol 97 MovieClip "movMov" in Symbol 154 MovieClip Frame 45
onClipEvent (load) {
var tempB = ((_root.nBonus * _root.nLevel) + 1000);
var nBonus = 0;
var bln = 0;
txtBonus = 0;
txtScore = _root.nScore;
}
onClipEvent (enterFrame) {
if (bln == 0) {
if (nBonus < tempB) {
nBonus = nBonus + 100;
_root.sndPing.play();
_parent.txtBonus = nBonus;
} else {
bln = 1;
_root.nScore = _root.nScore + nBonus;
_parent.txtScore = _root.nScore;
}
}
}
Symbol 154 MovieClip Frame 47
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("baseline.swf", 50);
}
play();
Symbol 154 MovieClip Frame 64
txtPwd = "Level Password: " + _root.arrHereTheyAre[_root.nLevel];
finalscore = "FINAL SCORE: " + _root.nScore;
finalscore2 = "FINAL SCORE: " + _root.nScore;
stop();
Symbol 154 MovieClip Frame 65
if (_root.blnMusic == 1) {
unloadMovieNum (50);
loadMovieNum ("baseline.swf", 50);
}
play();
Instance of Symbol 148 MovieClip "complete" in Symbol 154 MovieClip Frame 65
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 154 MovieClip Frame 82
txtPwd = "Level Password: " + _root.arrHereTheyAre[_root.nLevel];
finalscore = "FINAL SCORE: " + _root.nScore;
finalscore2 = "FINAL SCORE: " + _root.nScore;
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
stop();
Symbol 195 MovieClip Frame 4
stop();
Symbol 195 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 25
_root.movCC.fLoseLife();
_parent.gotoAndStop(1);
stop();
Symbol 221 MovieClip Frame 54
stop();
Symbol 223 MovieClip Frame 10
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
stop();
Symbol 224 MovieClip Frame 3
stop();
Symbol 224 MovieClip Frame 4
stop();
Symbol 224 MovieClip Frame 5
stop();
Symbol 224 MovieClip Frame 6
stop();
Symbol 224 MovieClip Frame 7
stop();
Symbol 224 MovieClip Frame 8
stop();
Symbol 224 MovieClip Frame 9
stop();
Symbol 224 MovieClip Frame 10
stop();
Symbol 224 MovieClip Frame 11
stop();
Symbol 224 MovieClip Frame 12
stop();
Symbol 224 MovieClip Frame 13
if (_root.blnFX == 1) {
_root.sndDie2.play();
}
stop();
Symbol 224 MovieClip Frame 14
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 4
if (_root.blnFX == 1) {
_root.sndLevDone.play();
}
stop();
Instance of Symbol 253 MovieClip in Symbol 254 MovieClip Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.movA)) {
_root.fLevComplete();
}
}
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.movGame.movA.blnDead == 0) {
if (this.hitTest(_parent._parent.movA)) {
if (_root.blnFX == 1) {
_root.sndDie.play();
}
_root.movFlasher.play();
_root.fLoseLife();
}
}
}
Symbol 278 MovieClip Frame 2
stop();
Symbol 278 MovieClip Frame 3
stop();
Instance of Symbol 253 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.movA)) {
_root.fLoseLife();
}
}
Symbol 293 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip "movBD" in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
if (_root.nLevel < 5) {
_root.movBD.gotoAndStop(1);
} else if ((_root.nLevel >= 5) && (_root.nLevel < 10)) {
_root.movBD.gotoAndStop(2);
} else if ((_root.nLevel >= 10) && (_root.nLevel < 15)) {
_root.movBD.gotoAndStop(3);
} else if (_root.nLevel >= 15) {
_root.movBD.gotoAndStop(4);
}
}
Instance of Symbol 224 MovieClip "movArnold" in Symbol 302 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)) {
if (_root.blnFX == 1) {
_root.sndJump.play();
}
nJumpCount = 1;
nJumpHeight = 13;
} else if ((nJumpCount == 0) && (nJumpTest > 0)) {
if (_root.blnFX == 1) {
_root.sndJump.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 == 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 = 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) {
nSpeed = 5.5;
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;
}
}
}
Instance of Symbol 233 MovieClip "mov51" in Symbol 302 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 244 MovieClip "mov100" in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
_root.nBabyCount--;
_root.nScore = _root.nScore + 100;
if (_root.blnFX == 1) {
_root.sndPing.gotoAndPlay(2);
}
if (_root.nBabyCount <= 0) {
_root.blnDoorOpen = 1;
_parent.movStageDoor.play();
}
removeMovieClip(this);
}
}
Instance of Symbol 247 MovieClip "mov101" in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
if (_root.blnFX == 1) {
if (random(3) == 2) {
_root.sndBurp2.gotoAndPlay(2);
} else {
_root.sndBurp1.gotoAndPlay(2);
}
}
removeMovieClip(this);
_root.nScore = _root.nScore + 500;
}
}
Instance of Symbol 278 MovieClip "mov111" in Symbol 302 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;
}
}
}
}
}
}
Instance of Symbol 301 MovieClip "mov104" in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.movA)) {
_root.nLives++;
_root.arrHearts[_root.nLevel] = 0;
_root.movLives.gotoAndStop(_root.nLives);
if (_root.blnFX == 1) {
_root.sndPing.gotoAndPlay(2);
}
removeMovieClip(this);
}
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 308 Button
on (release) {
gotoAndPlay (4);
}
Symbol 309 Button
on (release) {
gotoAndPlay (4);
}
Symbol 322 MovieClip Frame 1
stop();