Frame 1
stop();
pl._visible = false;
Stage.showMenu = false;
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
bar._xscale = perc;
if (perc >= 100) {
pl._visible = true;
pl.onPress = function () {
_root.gotoAndStop("main");
};
delete this.onEnterFrame;
}
};
Frame 2
stop();
function showCode(msg) {
e = _root.attachMovie("getcode", "getcode", 9);
e._x = 25;
e._y = 26;
e.datxt = msg;
}
function runError(msg) {
e = _root.attachMovie("error", "error", 99);
e._x = 120;
e._y = 105;
e.msg = msg;
}
function placeWord(word, lev, row, col) {
stored = new Array();
var dir = random(8);
d = 0;
while (d < word.length) {
if (dir == 0) {
addon1 = d;
addon2 = 0;
}
if (dir == 1) {
addon1 = -d;
addon2 = 0;
}
if (dir == 2) {
addon1 = d;
addon2 = d;
}
if (dir == 3) {
addon1 = d;
addon2 = -d;
}
if (dir == 4) {
addon1 = -d;
addon2 = d;
}
if (dir == 5) {
addon1 = -d;
addon2 = -d;
}
if (dir == 6) {
addon1 = 0;
addon2 = d;
}
if (dir == 7) {
addon1 = 0;
addon2 = -d;
}
myrow = row + addon1;
mycol = col + addon2;
b = eval ((("gam.tile" + myrow) + "-") + mycol);
if (((b != undefined) && (!b.haslet)) || (b.let == word.charAt(d))) {
b.let = word.charAt(d).toUpperCase();
b.haslet = true;
stored.push(b);
} else {
g = 0;
while (g < stored.length) {
var thing = eval (stored[g]);
thing.haslet = false;
thing.let = "";
g++;
}
return(false);
}
d++;
}
return(true);
}
function initLev(w, subw, subsub) {
_root.curlev = w;
_root.curset = subw;
_root.gamtitle = levs[w][subw][subsub].tit;
_root.gamauth = ("By: " + levs[w][subw][subsub].auth) + " - VISIT";
_root.dalink = levs[w][subw][subsub].link;
dalinkbox.onPress = function () {
getURL (_root.dalink, "_blank");
};
trace("boo: " + _root.gamauth);
this.createEmptyMovieClip("gam", 0);
cv = 0;
r = 0;
while (r < levs[w][subw][subsub].rows) {
c = 0;
while (c < levs[w][subw][subsub].cols) {
t = this.gam.attachMovie("tile", (("tile" + r) + "-") + c, cv);
cv++;
t._x = (t._width * c) + (3 * c);
t._y = (t._height * r) + (3 * r);
c++;
}
r++;
}
this.end = gam._y + gam._height;
while (this.end > 317) {
gam._xscale = gam._xscale - 1;
gam._yscale = gam._yscale - 1;
this.end = gam._y + gam._height;
}
gam._x = 55;
gam._y = (200 - (gam._height / 2)) + 39;
a = this.createEmptyMovieClip("answers", 1);
f = 0;
while (f < levs[w][subw][subsub].words.length) {
d = a.attachMovie("answerblock", "ans" + f, f);
d.mynam = levs[w][subw][subsub].words[f].toUpperCase();
d._y = d._height * f;
f++;
}
a._x = 475;
a._y = 56;
r = this.attachMovie("texter", "reader", 2);
r._x = gam._x;
r._y = (gam._y - r._height) - 5;
v = 0;
while (v < levs[w][subw][subsub].words.length) {
var res = false;
while (!res) {
var r = random(levs[w][subw][subsub].rows);
var c = random(levs[w][subw][subsub].cols);
thing = eval ((("gam.tile" + r) + "-") + c);
if (!thing.haslet) {
res = placeWord(levs[w][subw][subsub].words[v], w, r, c);
}
}
v++;
}
r = 0;
while (r < levs[w][subw][subsub].rows) {
c = 0;
while (c < levs[w][subw][subsub].cols) {
t = eval ((("gam.tile" + r) + "-") + c);
t.r = r;
t.c = c;
t.lev = w;
t.sublev = subw;
t.subsub = subsub;
if (!t.haslet) {
t.let = alph[random(26)].toUpperCase();
}
t.onPress = function () {
if (!_root.pausy) {
this.gotoAndStop("lit");
_root.blip.start();
this._parent._parent.chkWord(this.let, this.r, this.c, this.lev, this.sublev, this.subsub);
if (!this.solved) {
this.gotoAndStop("lit");
}
}
};
c++;
}
r++;
}
r = 0;
while (r < (levs[w][subw][subsub].rows + 1)) {
c = 0;
while (c < (levs[w][subw][subsub].cols + 1)) {
var thing = eval ((("gam.tile" + r) + "-") + c);
thing.gotoAndStop("norm");
c++;
}
r++;
}
chkBeats();
}
function chkBeats() {
if (_root.beats >= 2) {
levs[0][4].locked = false;
levs[0][5].locked = false;
levs[0][6].locked = false;
}
if (_root.beats >= 4) {
levs[0][7].locked = false;
levs[0][8].locked = false;
levs[0][9].locked = false;
}
if (_root.beats >= 6) {
levs[0][10].locked = false;
levs[0][11].locked = false;
levs[0][12].locked = false;
}
if (_root.beats >= 8) {
levs[1][0].locked = false;
levs[1][1].locked = false;
levs[1][2].locked = false;
levs[1][3].locked = false;
}
if (_root.beats >= 10) {
levs[1][4].locked = false;
levs[1][5].locked = false;
levs[1][6].locked = false;
levs[1][7].locked = false;
levs[1][8].locked = false;
}
}
function openMenu() {
m = this.attachMovie("menu", "menu", 10);
m._x = 25;
m._y = 26;
cov = this.attachMovie("cover", "cover", 11);
cov._x = 25;
cov._y = 26;
this.attachMovie("fadein", "fadein", 12);
}
function chkWord(let, r, c, lev, sublev, subsub) {
timespressed++;
if (timespressed == 1) {
storer = r;
storec = c;
}
trace("timespressed: " + timespressed);
if (timespressed >= 2) {
rdir = r - storer;
cdir = c - storec;
absr = Math.abs(rdir);
absc = Math.abs(cdir);
trace("rdir: " + absr);
trace("cdir: " + absc);
if ((r == storer) && (c == storec)) {
var fail = true;
}
if ((((((absr <= 1) && (absc <= 1)) && (rdir == storerdir)) && (cdir == storecdir)) && (!fail)) || ((((timespressed == 2) && (absr <= 1)) && (absc <= 1)) && (!fail))) {
storer = r;
storec = c;
storerdir = rdir;
storecdir = cdir;
beenreset = false;
} else {
trace("reset!!!!");
beenreset = true;
storer = r;
storec = c;
resi = "";
r = 0;
while (r < levs[lev][sublev][subsub].rows) {
c = 0;
while (c < levs[lev][sublev][subsub].cols) {
var thing = eval ((("gam.tile" + r) + "-") + c);
if (!thing.solved) {
thing.gotoAndStop("norm");
} else {
thing.gotoAndStop("done");
}
c++;
}
r++;
}
timespressed = 1;
}
}
resi = resi + let.toUpperCase();
resi2 = "";
r = resi.length;
while (r >= 0) {
resi2 = resi2 + resi.charAt(r);
r--;
}
trace("resi2: " + resi2);
reader.mytxt.text = resi;
i = 0;
while (i < levs[lev][sublev][subsub].words.length) {
var thing = levs[lev][sublev][subsub].words[i].toUpperCase();
if ((thing == resi) || (thing == resi2)) {
trace("You found: " + thing);
var dis = eval ("answers.ans" + i);
_root.bleep.start();
dis.box.dax._visible = true;
r = 0;
while (r < (levs[lev][sublev][subsub].rows + 1)) {
c = 0;
while (c < (levs[lev][sublev][subsub].cols + 1)) {
var thing = eval ((("gam.tile" + r) + "-") + c);
if (thing._currentframe == 2) {
thing.solved = true;
thing.gotoAndStop("done");
}
c++;
}
r++;
}
}
i++;
}
chkWin(lev, sublev, subsub);
}
function chkWin(lev, sublev, subsub) {
var win = true;
i = 0;
while (i < levs[lev][sublev][subsub].words.length) {
var dis = eval ("answers.ans" + i);
if (!dis.box.dax._visible) {
win = false;
}
i++;
}
if (win) {
nexty = subsub + 1;
if (levs[lev][sublev][nexty] != undefined) {
initLev(lev, sublev, nexty);
chkBeats();
} else {
so.data.beats = so.data.beats + 1;
_root.beats = _root.beats + 1;
chkBeats();
_root.pausy = true;
levs[_root.curlev][_root.curset].beaten = true;
openDiag(_root.curlev);
var thing = eval ("dialogue.item" + _root.curset);
thing.checked._visible = true;
}
trace("Level Beat!");
}
}
function openDiag(id) {
m = this.attachMovie("dialogue", "dialogue", 9);
m._x = 25;
m._y = 26;
m.whichone = id;
}
function runCustom() {
m = this.attachMovie("customthing", "custom", 9);
m._x = 25;
m._y = 26;
m.whichone = id;
}
resi = "";
bloop = new Sound(this);
bloop.attachSound("bloop");
bleep = new Sound(this);
bleep.attachSound("bleep");
blip = new Sound(this);
blip.attachSound("blip");
_root.so = SharedObject.getLocal("savedData");
if (so.data.totaltime == undefined) {
so.data.beats = 0;
so.data.totaltime = 0;
so.data.hrs = 0;
so.data.mins = 0;
so.data.secs = 0;
}
_root.beats = so.data.beats;
trace(_root.beats);
printbut.onRelease = function () {
menu.runIt(true);
printAsBitmap (_root, "bframe");
};
timespressed = 0;
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
levs = new Array();
levs[0] = new Array();
levs[0].tit = "MAIN LEVELS";
levs[0][0] = new Array();
levs[0][0].tit = "Valentine's Day";
levs[0][0].locked = false;
levs[0][0][0] = new Array();
levs[0][0][0].tit = "V-Day: Easy";
levs[0][0][0].auth = "BoMToons.com";
levs[0][0][0].link = "http://www.bomtoons.com";
levs[0][0][0].words = new Array("cupid", "candy", "roses");
levs[0][0][0].rows = 8;
levs[0][0][0].cols = 8;
levs[0][0][1] = new Array();
levs[0][0][1].tit = "V-Day: Moderate";
levs[0][0][1].auth = "BoMToons.com";
levs[0][0][1].link = "http://www.bomtoons.com";
levs[0][0][1].words = new Array("love", "kisses", "hugs", "sweet", "chocolates", "hearts");
levs[0][0][1].rows = 12;
levs[0][0][1].cols = 12;
levs[0][0][2] = new Array();
levs[0][0][2].tit = "V-Day: Hard";
levs[0][0][2].auth = "BoMToons.com";
levs[0][0][2].link = "http://www.bomtoons.com";
levs[0][0][2].words = new Array("soulmate", "amore", "bemine", "flowers", "valentine", "platonic", "friends", "pink", "pheremones", "cologne");
levs[0][0][2].rows = 13;
levs[0][0][2].cols = 15;
levs[0][1] = new Array();
levs[0][1].tit = "Prophets";
levs[0][1].locked = false;
levs[0][1][0] = new Array();
levs[0][1][0].tit = "Prophets: Old Testament";
levs[0][1][0].auth = "BoMToons.com";
levs[0][1][0].link = "http://www.bomtoons.com";
levs[0][1][0].words = new Array("Adam", "Noah", "Enoch", "Melchizedek", "Isaiah", "Elijah", "Amos", "Jonah", "Obadiah");
levs[0][1][0].rows = 12;
levs[0][1][0].cols = 15;
levs[0][1][1] = new Array();
levs[0][1][1].tit = "Prophets: New Testament";
levs[0][1][1].auth = "BoMToons.com";
levs[0][1][1].link = "http://www.bomtoons.com";
levs[0][1][1].words = new Array("Peter", "Matthias", "Bartholomew", "Thomas", "Andrew", "Matthew", "Mark", "Luke", "James", "John", "Philip", "Paul", "Judas");
levs[0][1][1].rows = 13;
levs[0][1][1].cols = 15;
levs[0][1][2] = new Array();
levs[0][1][2].tit = "Prophets: Book of Mormon";
levs[0][1][2].auth = "BoMToons.com";
levs[0][1][2].link = "http://www.bomtoons.com";
levs[0][1][2].words = new Array("Nephi", "Lehi", "Mosiah", "Helaman", "Ammon", "Omni", "Himner", "Alma", "Mormon", "Moroni", "Enos", "Ether", "Jacob");
levs[0][1][2].rows = 14;
levs[0][1][2].cols = 17;
levs[0][1][3] = new Array();
levs[0][1][3].tit = "Prophets: Modern-Day";
levs[0][1][3].auth = "BoMToons.com";
levs[0][1][3].link = "http://www.bomtoons.com";
levs[0][1][3].words = new Array("Smith", "Young", "Taylor", "Woodruff", "Snow", "Grant", "McKay", "Lee", "Kimball", "Benson", "Hunter", "Hinckley");
levs[0][1][3].rows = 13;
levs[0][1][3].cols = 17;
levs[0][2] = new Array();
levs[0][2].tit = "Actionscript";
levs[0][2].locked = false;
levs[0][2][0] = new Array();
levs[0][2][0].tit = "Actionscript";
levs[0][2][0].auth = "BoMToons.com";
levs[0][2][0].link = "http://www.bomtoons.com";
levs[0][2][0].words = new Array("gotoandplay", "hittest", "shapeflag", "root", "object", "onenterframe", "onpress", "onrollover", "currentframe");
levs[0][2][0].rows = 14;
levs[0][2][0].cols = 19;
levs[0][2][1] = new Array();
levs[0][2][1].tit = "Actionscript";
levs[0][2][1].auth = "BoMToons.com";
levs[0][2][1].link = "http://www.bomtoons.com";
levs[0][2][1].words = new Array("bitmapdata", "forloop", "whileloop", "array", "include", "parseInt", "string", "var", "framelabel", "ifthen");
levs[0][2][1].rows = 14;
levs[0][2][1].cols = 18;
levs[0][3] = new Array();
levs[0][3].tit = "Cars";
levs[0][3].locked = false;
levs[0][3][0] = new Array();
levs[0][3][0].tit = "Cars: Muscle Cars";
levs[0][3][0].auth = "BoMToons.com";
levs[0][3][0].link = "http://www.bomtoons.com";
levs[0][3][0].words = new Array("Mustang", "Camaro", "Chevelle", "Roadrunner", "Charger", "Barracuda", "Cobra", "shelby");
levs[0][3][0].rows = 12;
levs[0][3][0].cols = 16;
levs[0][3][1] = new Array();
levs[0][3][1].tit = "Cars: Manufacturers";
levs[0][3][1].auth = "BoMToons.com";
levs[0][3][1].link = "http://www.bomtoons.com";
levs[0][3][1].words = new Array("Ford", "Chevy", "Dodge", "Chrysler", "Plymouth", "Toyota", "Saturn", "Honda", "Kia", "Mazda");
levs[0][3][1].rows = 12;
levs[0][3][1].cols = 16;
levs[0][4] = new Array();
levs[0][4].tit = "Computers";
levs[0][4].locked = true;
levs[0][4][0] = new Array();
levs[0][4][0].tit = "Computers: Hardware";
levs[0][4][0].auth = "BoMToons.com";
levs[0][4][0].link = "http://www.bomtoons.com";
levs[0][4][0].words = new Array("Monitor", "Motherboard", "RAM", "Processor", "Harddrive", "Mouse", "Keyboard");
levs[0][4][0].rows = 12;
levs[0][4][0].cols = 15;
levs[0][4][1] = new Array();
levs[0][4][1].tit = "Computers: Software";
levs[0][4][1].auth = "BoMToons.com";
levs[0][4][1].link = "http://www.bomtoons.com";
levs[0][4][1].words = new Array("Photoshop", "illustrator", "Maya", "flash", "freehand", "AIM", "Firefox", "Microsoft", "Mozilla", "Outlook", "Excel", "Word");
levs[0][4][1].rows = 13;
levs[0][4][1].cols = 17;
levs[0][5] = new Array();
levs[0][5].tit = "Video Games";
levs[0][5].locked = true;
levs[0][5][0] = new Array();
levs[0][5][0].tit = "Video Games: Classic";
levs[0][5][0].auth = "BoMToons.com";
levs[0][5][0].link = "http://www.bomtoons.com";
levs[0][5][0].words = new Array("SuperMario", "Sonic", "Pacman", "rampage", "joust", "tetris", "lemmings", "worms", "commanderkeen", "wolfenstein");
levs[0][5][0].rows = 14;
levs[0][5][0].cols = 17;
levs[0][5][1] = new Array();
levs[0][5][1].tit = "Video Games: New";
levs[0][5][1].auth = "BoMToons.com";
levs[0][5][1].link = "http://www.bomtoons.com";
levs[0][5][1].words = new Array("Gearsofwar", "guitarhero", "katamari", "metalgear", "smashbros", "wowarcraft", "halo");
levs[0][5][1].rows = 13;
levs[0][5][1].cols = 17;
levs[0][5][2] = new Array();
levs[0][5][2].tit = "Video Games: Consoles";
levs[0][5][2].auth = "BoMToons.com";
levs[0][5][2].link = "http://www.bomtoons.com";
levs[0][5][2].words = new Array("coleco", "atari", "nes", "genesis", "turbografx", "playstation", "xbox", "gameboy", "gamegear", "wii", "advance", "jaguar", "saturn");
levs[0][5][2].rows = 14;
levs[0][5][2].cols = 19;
levs[0][6] = new Array();
levs[0][6].tit = "Literature";
levs[0][6].locked = true;
levs[0][6][0] = new Array();
levs[0][6][0].tit = "Literature: Childrens'";
levs[0][6][0].auth = "BoMToons.com";
levs[0][6][0].link = "http://www.bomtoons.com";
levs[0][6][0].words = new Array("catinhat", "wildthingsare", "littlemermaid", "redridinghood", "narnia", "lotr", "littlehouse");
levs[0][6][0].rows = 13;
levs[0][6][0].cols = 17;
levs[0][6][1] = new Array();
levs[0][6][1].tit = "Literature: Childrens'";
levs[0][6][1].auth = "BoMToons.com";
levs[0][6][1].link = "http://www.bomtoons.com";
levs[0][6][1].words = new Array("christmascarol", "warandpeace", "scarletletter", "crucible", "greatgatsby", "divinecomedy", "lesmiserables");
levs[0][6][1].rows = 15;
levs[0][6][1].cols = 20;
levs[0][7] = new Array();
levs[0][7].tit = "Comic Books";
levs[0][7].locked = true;
levs[0][7][0] = new Array();
levs[0][7][0].tit = "Comic Books";
levs[0][7][0].auth = "BoMToons.com";
levs[0][7][0].link = "http://www.bomtoons.com";
levs[0][7][0].words = new Array("spiderman", "superman", "batman", "pickleman", "spawn", "xmen", "avengers", "justiceleague");
levs[0][7][0].rows = 13;
levs[0][7][0].cols = 17;
levs[0][8] = new Array();
levs[0][8].tit = "80's T.V.";
levs[0][8].locked = true;
levs[0][8][0] = new Array();
levs[0][8][0].tit = "80's TV: Cartoons";
levs[0][8][0].auth = "BoMToons.com";
levs[0][8][0].link = "http://www.bomtoons.com";
levs[0][8][0].words = new Array("Voltron", "captainN", "gummibears", "ducktales", "tmnt", "thundercats", "smurfs", "poundpuppies");
levs[0][8][0].rows = 13;
levs[0][8][0].cols = 17;
levs[0][8][1] = new Array();
levs[0][8][1].tit = "80's TV: Shows";
levs[0][8][1].auth = "BoMToons.com";
levs[0][8][1].link = "http://www.bomtoons.com";
levs[0][8][1].words = new Array("growingpains", "familyties", "alf", "cheers", "threescompany", "webster", "whostheboss", "macgyver", "miamivice", "mrbelvedere");
levs[0][8][1].rows = 14;
levs[0][8][1].cols = 18;
levs[0][9] = new Array();
levs[0][9].tit = "Disney";
levs[0][9].locked = true;
levs[0][9][0] = new Array();
levs[0][9][0].tit = "Disney";
levs[0][9][0].auth = "BoMToons.com";
levs[0][9][0].link = "http://www.bomtoons.com";
levs[0][9][0].words = new Array("mickey", "donald", "goofy", "minnie", "pluto", "ariel", "cinderella", "snowwhite", "belle", "aladdin", "simba", "pumba", "timon");
levs[0][9][0].rows = 14;
levs[0][9][0].cols = 18;
levs[0][10] = new Array();
levs[0][10].tit = "Anime";
levs[0][10].locked = true;
levs[0][10][0] = new Array();
levs[0][10][0].tit = "Anime";
levs[0][10][0].auth = "BoMToons.com";
levs[0][10][0].link = "http://www.bomtoons.com";
levs[0][10][0].words = new Array("cowboybebop", "aeonflux", "akira", "gundam", "dragonballz", "doraemon", "naruto", "kochikame", "hamtaro", "macross");
levs[0][10][0].rows = 15;
levs[0][10][0].cols = 20;
levs[0][11] = new Array();
levs[0][11].tit = "Art";
levs[0][11].locked = true;
levs[0][11][0] = new Array();
levs[0][11][0].tit = "Art: Artists";
levs[0][11][0].auth = "BoMToons.com";
levs[0][11][0].link = "http://www.bomtoons.com";
levs[0][11][0].words = new Array("vangogh", "picasso", "monet", "pollock", "davinci", "michaelangelo", "raphael", "renoir", "okeefe", "kahlo");
levs[0][11][0].rows = 14;
levs[0][11][0].cols = 19;
levs[0][11][1] = new Array();
levs[0][11][1].tit = "Art: Works";
levs[0][11][1].auth = "BoMToons.com";
levs[0][11][1].link = "http://www.bomtoons.com";
levs[0][11][1].words = new Array("david", "monalisa", "sistinechapel", "starrynight", "guernica", "number5", "persistence", "ofmemory", "soupcans");
levs[0][11][1].rows = 14;
levs[0][11][1].cols = 18;
levs[0][12] = new Array();
levs[0][12].tit = "Science";
levs[0][12].locked = true;
levs[0][12][0] = new Array();
levs[0][12][0].tit = "Science";
levs[0][12][0].auth = "BoMToons.com";
levs[0][12][0].link = "http://www.bomtoons.com";
levs[0][12][0].words = new Array("physics", "chemistry", "fluiddynamics", "engineering", "biology", "sociology", "geology", "meteorology", "psychology", "statistics", "zoology");
levs[0][12][0].rows = 14;
levs[0][12][0].cols = 19;
levs[1] = new Array();
levs[1].tit = "GUEST LEVELS";
levs[1][0] = new Array();
levs[1][0].tit = "Luis";
levs[1][0].locked = true;
levs[1][0][0] = new Array();
levs[1][0][0].tit = "Luis Castanon";
levs[1][0][0].auth = "Luis";
levs[1][0][0].link = "http://www.brainwashstudios.com";
levs[1][0][0].words = new Array("anticlockcrew", "ngsketchbook", "timetrials", "flashreglounge", "jamrock", "tabletssuck", "brainwash", "murray", "perverto");
levs[1][0][0].rows = 15;
levs[1][0][0].cols = 20;
levs[1][1] = new Array();
levs[1][1].tit = "Denvish";
levs[1][1].locked = true;
levs[1][1][0] = new Array();
levs[1][1][0].tit = "Denvish";
levs[1][1][0].auth = "Denvish";
levs[1][1][0].link = "http://www.denvish.net";
levs[1][1][0].words = new Array("music", "actionscript", "overrun", "chalice", "holdem", "dart", "ragtime");
levs[1][1][0].rows = 13;
levs[1][1][0].cols = 17;
levs[1][2] = new Array();
levs[1][2].tit = "Afro-Ninja";
levs[1][2].locked = true;
levs[1][2][0] = new Array();
levs[1][2][0].tit = "Afro-Ninja";
levs[1][2][0].auth = "Afro-Ninja";
levs[1][2][0].link = "http://www.afro-ninja.com";
levs[1][2][0].words = new Array("bandana", "katana", "ngsim", "territorywar", "ohio", "escape", "blacksheep", "afro", "ninja");
levs[1][2][0].rows = 13;
levs[1][2][0].cols = 17;
levs[1][3] = new Array();
levs[1][3].tit = "Glaiel_Gamer";
levs[1][3].locked = true;
levs[1][3][0] = new Array();
levs[1][3][0].tit = "Glaiel_Gamer";
levs[1][3][0].auth = "Glaiel_Gamer";
levs[1][3][0].link = "http://www.glaielgames.com";
levs[1][3][0].words = new Array("magnetism", "physics", "puzzle", "music", "gecko", "hobby", "paths", "originality");
levs[1][3][0].rows = 12;
levs[1][3][0].cols = 16;
levs[1][4] = new Array();
levs[1][4].tit = "Mindchamber";
levs[1][4].locked = true;
levs[1][4][0] = new Array();
levs[1][4][0].tit = "Mindchamber";
levs[1][4][0].auth = "Mindchamber";
levs[1][4][0].link = "http://www.mindchamber.com";
levs[1][4][0].words = new Array("robotic", "urban", "pico", "robocop", "transformers", "ghetto", "metallic", "rough", "blue");
levs[1][4][0].rows = 13;
levs[1][4][0].cols = 17;
levs[1][5] = new Array();
levs[1][5].tit = "NegativeOne";
levs[1][5].locked = true;
levs[1][5][0] = new Array();
levs[1][5][0].tit = "NegativeOne";
levs[1][5][0].auth = "NegativeOne";
levs[1][5][0].link = "http://www.negativeflash.com";
levs[1][5][0].words = new Array("vanguard", "mercenary", "muscomorpha", "wreckanoid", "rumble", "billy", "speedy", "negative", "platformer", "cynic", "moderator", "forumer", "wiicade", "scripter", "artist", "snarky", "wordy");
levs[1][5][0].rows = 14;
levs[1][5][0].cols = 19;
levs[1][6] = new Array();
levs[1][6].tit = "Armor Games";
levs[1][6].locked = true;
levs[1][6][0] = new Array();
levs[1][6][0].tit = "Armor Games";
levs[1][6][0].auth = "Armor Games";
levs[1][6][0].link = "http://www.armorgames.com";
levs[1][6][0].words = new Array("sword", "castle", "shield", "knight", "princess", "king", "armorstudios", "armorbot", "inglor", "godlimations", "superflashbros");
levs[1][6][0].rows = 15;
levs[1][6][0].cols = 20;
levs[1][7] = new Array();
levs[1][7].tit = "Poxpower";
levs[1][7].locked = true;
levs[1][7][0] = new Array();
levs[1][7][0].tit = "Poxpower";
levs[1][7][0].auth = "Poxpower";
levs[1][7][0].link = "http://500bestsongsever.122mb.com./";
levs[1][7][0].words = new Array("hairmetal", "rammstein", "awesome", "onehitwonder", "catchy", "absoludicrous", "pickleman", "bonjovi", "objectivism");
levs[1][7][0].rows = 14;
levs[1][7][0].cols = 17;
levs[1][8] = new Array();
levs[1][8].tit = "Tom Fulp";
levs[1][8].locked = true;
levs[1][8][0] = new Array();
levs[1][8][0].tit = "Tom Fulp";
levs[1][8][0].auth = "Tom Fulp";
levs[1][8][0].link = "http://www.newgrounds.com./";
levs[1][8][0].words = new Array("pico", "wadolf", "sherbert", "angryfaic", "hominid", "stamper", "uberkids", "tankmen");
levs[1][8][0].rows = 14;
levs[1][8][0].cols = 17;
chkBeats();
_root.pausy = true;
openMenu();
Symbol 16 MovieClip Frame 8
stop();
Symbol 17 MovieClip [tile] Frame 1
stop();
Symbol 27 MovieClip Frame 1
this.dax._visible = false;
Symbol 39 MovieClip Frame 1
stop();
if (this.locked) {
this.lock._visible = true;
} else {
this.lock._visible = false;
}
this.onRollOver = function () {
gotoAndStop ("lit");
};
this.onRollOut = function () {
gotoAndStop ("norm");
};
Symbol 44 MovieClip [menu] Frame 1
function updateTime() {
_root.so.data.totaltime = _root.so.data.totaltime + 1;
_root.so.data.secs = Math.floor(_root.so.data.totaltime / 30);
if (_root.so.data.secs >= 60) {
_root.so.data.mins = _root.so.data.mins + 1;
_root.so.data.totaltime = 0;
}
if (_root.so.data.mins >= 60) {
_root.so.data.hrs = _root.so.data.hrs + 1;
_root.so.data.mins = 0;
}
if (_root.so.data.secs < 10) {
showsecs = "0" + _root.so.data.secs;
} else {
showsecs = _root.so.data.secs;
}
if (_root.so.data.mins < 10) {
showmins = "0" + _root.so.data.mins;
} else {
showmins = _root.so.data.mins;
}
showtime = (((_root.so.data.hrs + ":") + showmins) + ":") + showsecs;
}
function runIt(boo) {
_root.blip.start();
if (opened || (boo)) {
this.but._x = 5;
this.but.arr._xscale = -100;
upDateMask();
opened = false;
} else {
this.but._x = 135;
this.but.arr._xscale = 100;
upDateMask();
opened = true;
}
}
function upDateMask() {
var _local2 = this.but._x + 5;
this.mask._width = _local2;
}
this.opened = true;
updateTime();
block0.nam = "MAIN LEVELS";
block0.locked = false;
block0.onPress = function () {
_root.gotoAndStop("main");
_root.openDiag(0);
_root.bloop.start();
runIt();
};
block1.nam = "GUEST LEVELS";
block1.onPress = function () {
_root.gotoAndStop("main");
_root.openDiag(1);
_root.bloop.start();
runIt();
};
block2.nam = "CUSTOM";
block2.onPress = function () {
_root.runCustom();
_root.bloop.start();
runIt();
};
block4.nam = "CLEAR DATA";
block4.onRelease = function () {
_root.so.clear();
_root.so = SharedObject.getLocal("savedData");
_root.so.data.beats = 0;
_root.so.data.totaltime = 0;
_root.so.data.hrs = 0;
_root.so.data.mins = 0;
_root.so.data.secs = 0;
_root.bloop.start();
updateTime();
};
block3.nam = "MORE GAMES";
block3.onPress = function () {
getURL ("http://www.bomtoons.com", "_blank");
_root.bloop.start();
};
but.onRelease = function () {
runIt();
};
this.onEnterFrame = function () {
if (!_root.pausy) {
_root.so.data.totaltime = _root.so.data.totaltime + 1;
_root.so.data.secs = Math.floor(_root.so.data.totaltime / 30);
if (_root.so.data.secs >= 60) {
_root.so.data.mins = _root.so.data.mins + 1;
_root.so.data.totaltime = 0;
}
if (_root.so.data.mins >= 60) {
_root.so.data.hrs = _root.so.data.hrs + 1;
}
if (_root.so.data.secs < 10) {
showsecs = "0" + _root.so.data.secs;
} else {
showsecs = _root.so.data.secs;
}
if (_root.so.data.mins < 10) {
showmins = "0" + _root.so.data.mins;
} else {
showmins = _root.so.data.mins;
}
showtime = (((_root.so.data.hrs + ":") + showmins) + ":") + showsecs;
}
};
Instance of Symbol 39 MovieClip "block1" in Symbol 44 MovieClip [menu] Frame 1
/* no clip actions */
Instance of Symbol 39 MovieClip "block0" in Symbol 44 MovieClip [menu] Frame 1
/* no clip actions */
Instance of Symbol 39 MovieClip "block2" in Symbol 44 MovieClip [menu] Frame 1
/* no clip actions */
Instance of Symbol 39 MovieClip "block3" in Symbol 44 MovieClip [menu] Frame 1
/* no clip actions */
Instance of Symbol 39 MovieClip "block4" in Symbol 44 MovieClip [menu] Frame 1
/* no clip actions */
Symbol 55 MovieClip [dialogue] Frame 1
function makeMe(id) {
_root.pausy = true;
tit = _root.levs[id].tit;
num = _root.levs[id].length;
b = this.createEmptyMovieClip("opts", 0);
b._x = 79;
b._y = 123;
g = 0;
i = 0;
while (i < num) {
c = b.attachMovie("diagitem", "item" + i, i);
c.id = i;
if (!_root.levs[id][i].locked) {
c.lock._visible = false;
}
if (!_root.levs[id][i].beaten) {
c.checked._visible = false;
}
if (i >= 7) {
c._x = c._width + 3;
c._y = (c._height * g) + (g * 3);
g++;
} else {
c._y = (c._height * i) + (i * 3);
}
c.lit._visible = false;
c.onRollOver = function () {
this.lit._visible = true;
_root.blip.start();
};
c.onRollOut = function () {
this.lit._visible = false;
_root.blip.start();
};
c.onPress = function () {
_root.bleep.start();
if (!_root.levs[id][this.id].locked) {
_root.pausy = false;
this._parent._parent._visible = false;
trace("Hello: " + this._parent._parent);
_root.initLev(id, this.id, 0);
} else {
_root.runError("This puzzle is locked. Beat some other levels to unlock it.");
}
};
c.tit = ((_root.levs[id][c.id].tit + " (") + _root.levs[id][c.id].length) + ")";
i++;
}
}
ex.onRelease = function () {
_root.pausy = false;
this._parent._visible = false;
};
makeMe(this.whichone);
Symbol 101 MovieClip [customthing] Frame 1
function resetBoxes() {
i = 0;
while (i < 8) {
var thing = eval ("meth0.box" + i);
thing.text = ("[ word " + i) + " ]";
i++;
}
}
ex.onPress = function () {
this._parent._visible = false;
};
rad1.checked._visible = false;
meth1._visible = false;
mod = 0;
resetBoxes();
r = 0;
while (r < 2) {
var thing = eval ("rad" + r);
thing.id = r;
thing.onPress = function () {
_root.blip.start();
i = 0;
while (i < 2) {
var booyah = eval ("this._parent.rad" + i);
booyah.checked._visible = false;
var boo = eval ("this._parent.meth" + i);
boo._visible = false;
i++;
}
var sho = eval ("this._parent.meth" + this.id);
sho._visible = true;
if (this.id == 0) {
this._parent.getcode._visible = true;
} else {
this._parent.getcode._visible = false;
}
this.checked._visible = true;
this._parent.mod = this.id;
};
r++;
}
getcode.onPress = function () {
_root.bleep.start();
i = 0;
while (i < 8) {
var thing = eval ("meth0.box" + i);
var t = (("[ word " + i) + " ]");
p = 0;
while (p < thing.text.length) {
var which = thing.text.charAt(p);
if (((((((((which == "1") || (which == "2")) || (which == "3")) || (which == "4")) || (which == "5")) || (which == "6")) || (which == "7")) || (which == "8")) || (which == "9")) {
var fail = true;
var msg = "No Numbers Allowed";
}
p++;
}
if (thing.text == t) {
var fail = true;
var msg = "Please fill out All Fields Completely";
}
if (thing.text.length >= 8) {
var fail = true;
var msg = "One of the words has 8 or more letters";
}
i++;
}
if (!fail) {
var mycode = "";
i = 0;
while (i < 8) {
var thing = eval ("meth0.box" + i);
p = 0;
while (p < thing.text.length) {
var which = thing.text.charAt(p);
if (which != " ") {
j = 0;
while (j < _root.alph.length) {
if ((which == _root.alph[j]) || (which == _root.alph[j].toUpperCase())) {
mycode = mycode + j;
}
j++;
}
if (p != (thing.text.length - 1)) {
mycode = mycode + ",";
}
}
p++;
}
if (i != 7) {
mycode = mycode + "|";
}
i++;
}
_root.showCode(mycode);
} else {
trace("error: " + msg);
_root.runError(msg);
}
};
playit.onPress = function () {
_root.bleep.start();
if (mod == 0) {
i = 0;
while (i < 8) {
var thing = eval ("meth0.box" + i);
var t = (("[ word " + i) + " ]");
p = 0;
while (p < thing.text.length) {
var which = thing.text.charAt(p);
if (((((((((which == "1") || (which == "2")) || (which == "3")) || (which == "4")) || (which == "5")) || (which == "6")) || (which == "7")) || (which == "8")) || (which == "9")) {
var fail = true;
var msg = "No Numbers Allowed";
}
p++;
}
if (thing.text == t) {
var fail = true;
var msg = "Please fill out All Fields Completely";
}
if (thing.text.length >= 8) {
var fail = true;
var msg = "One of the words has 8 or more letters";
}
i++;
}
if (!fail) {
_root.levs[99] = new Array();
_root.levs[99].tit = "CUSTOM";
_root.levs[99][0] = new Array();
_root.levs[99][0].tit = "CUSTOM";
_root.levs[99][0].locked = false;
_root.levs[99][0][0] = new Array();
_root.levs[99][0][0].tit = "CUSTOM";
_root.levs[99][0][0].auth = "CUSTOM";
_root.levs[99][0][0].link = "http://www.bomtoons.com";
_root.levs[99][0][0].words = new Array();
i = 0;
while (i < 8) {
var thing = eval ("meth0.box" + i);
_root.levs[99][0][0].words[i] = thing.text;
i++;
}
_root.levs[99][0][0].rows = 12;
_root.levs[99][0][0].cols = 12;
_root.initLev(99, 0, 0);
_root.pausy = false;
this._parent._visible = false;
} else {
trace("error: " + msg);
_root.runError(msg);
}
} else {
i = 0;
while (i < meth1.dacode.text.length) {
if ((((((((((((meth1.dacode.text.charAt(i) != ",") && (meth1.dacode.text.charAt(i) != "|")) && (meth1.dacode.text.charAt(i) != "1")) && (meth1.dacode.text.charAt(i) != "2")) && (meth1.dacode.text.charAt(i) != "3")) && (meth1.dacode.text.charAt(i) != "4")) && (meth1.dacode.text.charAt(i) != "5")) && (meth1.dacode.text.charAt(i) != "6")) && (meth1.dacode.text.charAt(i) != "7")) && (meth1.dacode.text.charAt(i) != "8")) && (meth1.dacode.text.charAt(i) != "9")) && (meth1.dacode.text.charAt(i) != "0")) {
var fail = true;
var msg = "Invalid Data Format!!!!!!";
}
i++;
}
if (!fail) {
trace(meth1.dacode.text);
var neat = meth1.dacode.text.split("|");
var final = new Array();
n = 0;
while (n < neat.length) {
var which = neat[n];
var myray = which.split(",");
myword = "";
m = 0;
while (m < myray.length) {
num = myray[m];
myword = myword + _root.alph[num];
m++;
}
final.push(myword);
n++;
}
trace("Final: " + final);
if ((final == undefined) || (final.length < 8)) {
fail = true;
msg = "Invalid Data Format!";
}
}
if (!fail) {
trace("success");
_root.levs[99] = new Array();
_root.levs[99].tit = "CUSTOM";
_root.levs[99][0] = new Array();
_root.levs[99][0].tit = "CUSTOM";
_root.levs[99][0].locked = false;
_root.levs[99][0][0] = new Array();
_root.levs[99][0][0].tit = "CUSTOM";
_root.levs[99][0][0].auth = "CUSTOM";
_root.levs[99][0][0].link = "http://www.bomtoons.com";
_root.levs[99][0][0].words = final;
_root.levs[99][0][0].rows = 12;
_root.levs[99][0][0].cols = 12;
_root.initLev(99, 0, 0);
_root.pausy = false;
this._parent._visible = false;
} else {
trace("error: " + msg);
_root.runError(msg);
}
}
};
Symbol 107 MovieClip [error] Frame 70
stop();
Symbol 111 MovieClip [getcode] Frame 1
ex.onPress = function () {
this._parent._visible = false;
};
Symbol 114 MovieClip [fadein] Frame 23
stop();