Frame 1
function itemHandler2(obj, item) {
getURL ("http://www.glaielgames.com", "_blank");
}
function itemHandler3(obj, item) {
getURL ("http://orb.newgrounds.com", "_blank");
}
function itemHandler4(obj, item) {
getURL ("http://www.newgrounds.com", "_blank");
}
function itemHandler45(obj, item) {
getURL ("http://www.theswain.com", "_blank");
}
function itemHandler5(obj, item) {
_quality = "high";
}
function itemHandler6(obj, item) {
_quality = "medium";
}
function itemHandler7(obj, item) {
_quality = "low";
}
function itemHandler12(obj, item) {
allsounds.setVolume(0);
}
function itemHandler13(obj, item) {
allsounds.setVolume(100);
}
stop();
music = 1;
allsounds = new Sound(_root);
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
bbb_cmi = new ContextMenuItem("Glaiel Games", itemHandler2);
ccc_cmi = new ContextMenuItem("Orb", itemHandler3);
ddd_cmi = new ContextMenuItem("Newgrounds", itemHandler4);
ddd2_cmi = new ContextMenuItem("The Swain", itemHandler45);
eee_cmi = new ContextMenuItem("High Quality", itemHandler5);
fff_cmi = new ContextMenuItem("Mid Quality", itemHandler6);
ggg_cmi = new ContextMenuItem("Low Quality", itemHandler7);
lll_cmi = new ContextMenuItem("Sound Off", itemHandler12);
mmm_cmi = new ContextMenuItem("Sound On", itemHandler13);
eee_cmi.separatorBefore = true;
hhh_cmi.separatorBefore = true;
lll_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, ddd2_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi, lll_cmi, mmm_cmi);
_root.menu = root_cm;
Instance of Symbol 6 MovieClip in Frame 1
//component parameters
onClipEvent (construct) {
colorr = 16777215 /* 0xFFFFFF */;
}
Instance of Symbol 35 MovieClip in Frame 1
onClipEvent (load) {
if (!(((_url == "http://www.glaielgames.com/games/blockslide2.swf") || (_url == "http://glaielgames.com/games/blockslide2.swf")) || (_url == "http://www.glaielgames.com/Blockslide/blockslide2.swf"))) {
} else {
_visible = false;
_x = -1000;
}
}
Frame 2
stop();
Frame 3
function audSwitch(id) {
if ((audb1.currentS != (id - 1)) && (audb1.shuffle)) {
audb1.currentS = id - 1;
audb1.auds[id - 1].start(0, 65535);
audb1.auds[id - 1].setVolume(0);
}
}
function audSwitchF(id) {
if (audb1.currentS != (id - 1)) {
audb1.currentS = id - 1;
audb1.auds[id - 1].start(0, 65535);
audb1.auds[id - 1].setVolume(0);
}
}
if (nam == undefined) {
nam = "Tyler";
}
stop();
savefile = SharedObject.getLocal("bs2dat");
if (savefile.data.locked == undefined) {
savefile.data.locked = true;
savefile.data.nam = "Tyler";
savefile.data.unlocked = new Array();
var i = 0;
while (i < 6) {
savefile.data.unlocked[i] = new Array();
var j = 0;
while (j < 25) {
savefile.data.unlocked[i][j] = false;
j++;
}
i++;
}
savefile.data.unlocked[0][0] = true;
}
nam = savefile.data.nam;
gnnn.text = nam;
Instance of Symbol 97 MovieClip "audb1" in Frame 3
onClipEvent (load) {
auds = new Array();
a1 = new Sound(_root.audb1);
a1.attachSound("aud1");
a2 = new Sound(_root.audb2);
a2.attachSound("aud2");
a3 = new Sound(_root.audb3);
a3.attachSound("aud3");
a4 = new Sound(_root.audb4);
a4.attachSound("aud4");
a5 = new Sound(_root.audb5);
a5.attachSound("aud5");
auds = [a1, a2, a3, a4, a5];
shuffle = true;
a1.setVolume(0);
a2.setVolume(0);
a3.setVolume(0);
a4.setVolume(0);
a5.setVolume(0);
currentS = random(5);
auds[currentS].start(0, 65535);
}
onClipEvent (enterFrame) {
var i = 0;
while (i < 5) {
if (currentS == i) {
if (auds[i].getVolume() < 60) {
auds[i].setVolume(auds[i].getVolume() + 1);
}
} else {
auds[i].setVolume(auds[i].getVolume() - 1);
if (auds[i].getVolume() <= 0) {
auds[i].stop();
}
}
i++;
}
}
Instance of Symbol 121 MovieClip in Frame 3
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (_currentframe != 20) {
timer = 0;
} else if (!hitTest(_root._xmouse, _root._ymouse, true)) {
timer = timer + 1;
if (timer >= 200) {
play();
}
} else {
timer = 0;
}
}
Frame 4
function nextLevel() {
currentLevel = currentLevel + 1;
if (currentLevel >= 25) {
if (currentSet == 0) {
sets[1][0][4] = true;
sets[2][0][4] = true;
sets[3][0][4] = true;
sets[4][0][4] = true;
sets[5][0][4] = true;
savefile.data.unlocked[1][0] = true;
savefile.data.unlocked[2][0] = true;
savefile.data.unlocked[3][0] = true;
savefile.data.unlocked[4][0] = true;
savefile.data.unlocked[5][0] = true;
savefile.data.locked = false;
winMessage = "Congratulatons! You've beaten the tutorial. Are you ready for some real levels now? You just unlocked 5 more level sets, and the level editor! That's 125 levels! \n Type \"Flamingo\" on the title screen to skip the tutorial in the future.";
}
if (currentSet == 1) {
winMessage = "Congratulations! Level Set A is complete! Have you beaten the others yet?";
}
if (currentSet == 2) {
winMessage = "Congratulations! Level Set B is complete! Have you beaten the others yet?";
}
if (currentSet == 3) {
winMessage = "Congratulations! Level Set C is complete! You Defeated Evil King Swain!";
}
if (currentSet == 4) {
winMessage = "Congratulations! Fan Level Set A is complete! Have you beaten the others yet?";
}
if (currentSet == 5) {
winMessage = "Congratulations! Fan Level Set B is complete! Have you beaten the others yet?";
}
menubox.gotoAndStop(3);
} else {
sets[currentSet][currentLevel][4] = true;
savefile.data.unlocked[currentSet][currentLevel] = true;
}
}
stop();
for (i in _root) {
_root[i].removeMovieClip();
}
previousScreen = "menu";
currentSet = 0;
currentLevel = 0;
overrid = 0;
if (sets == undefined) {
sets = new Array();
var i = 0;
while (i < 6) {
sets[i] = new Array();
var j = 0;
while (j < 25) {
sets[i][j] = new Array();
j++;
}
i++;
}
sets[0][0] = ["m000000000s000000000000000000000000000000ickc0000000000ckckck000a00000cckckck000k000000jkcce00ckc0ck0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Pushing Blocks", "Tyler Glaiel", "Walk up to a block and press \"d\". The block will move in the direction the arrow faces. Spiked blocks can not be pushed and medium colored blocks can only be pushed once. Press \"Shift\" to hide the blocks. Hold \"s\" to run.", true, "http://www.glaielgames.com", 0];
sets[0][1] = ["s00hh000s00h000h00000khh000kk0000kkk000kkk000kkk0eaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Dynamite", "Tyler Glaiel", "Time to blow stuff up! Grab the dynamite then press \"a\" to blow up blocks. Stone blocks can not be blown up.", false, "http://www.glaielgames.com", 0];
sets[0][2] = ["mkkkkkkkkkkk00000000kk00000000kk00ddd000kk000d0000kk000000000k0000000cg01k0000000c0k000000sc0kkkkkkkkceaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Purple Gate Blocks", "Tyler Glaiel", "This is a gate block. It corresponds to a button. If a block is on top of the button, the gate block dissapears.", false, "http://www.glaielgames.com", 0];
sets[0][3] = ["m0000000000000000s000000000000000j00000000jhj00000000j0cjc0000000c0c0000000cpc0000000cpc000000pcecp00aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Yellow Gate Blocks", "Tyler Glaiel", "Yellow gate blocks have no button. Instead, all yellow gate blocks disappear when all medium colored blocks are pushed. Don't blow up a medium colored block before you push it!", false, "http://www.glaielgames.com", 0];
sets[0][4] = ["l0kkkkkkk000000h0kkkkkkk00000000kk0v0kk00000000kk000kk000000000kiiik00k000k0000kkk000c000c0000000000ccccc0000000000cc0cc0000000s00cc0cc0000000000cc0cc0cc0000000cc0cc0ccc00000cc000cceg01000000cc000ccccc000000cc0cc0cc0000000ccccc0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Power Gloves", "Tyler Glaiel", "When you grab a power glove, you can push spiked blocks until your power runs out (5 pushes per glove).", false, "http://www.glaielgames.com", 2];
sets[0][5] = ["m000c0000ce000c0000c0000cc000cg01000rj30000cg02cra2c00ri2000g0300c0ri1vri30000c000ri000000000000ccg040000c00c0000s0000chhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab04aaaaaaaaab01aaaaaaaab02aaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "One Way Blocks", "Tyler Glaiel", "If a block has an arrow on it, it can only be pushed in the direction of the arrow.", false, "http://www.glaielgames.com", 2];
sets[0][6] = ["l000000000phg01vg02e000j000000ccccc000j0000000000000j0jj000000000000j0000000000000000000j0000000000k00jdj00000000khk00000c0000000k00000c0c000000rd300jdj0c000000ri2ri1000j0000000000rj000000000000000000000000000s00ra20000000000000000000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Review I", "Tyler Glaiel", "Here's your first test. Use what you know to get the diamond.", false, "http://www.glaielgames.com", 0];
sets[0][7] = ["m0000c0c0000000cac000s000c0c00000l0c0c0000000ckcccc000000k0a0g03c00ckccccg02c00c0c000g01c00cac000ec0hc0c000aaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaa", "Explosive Blocks", "Tyler Glaiel", "When you use dynamite on an explosive block, it blows up all blocks that are touching it too. This can lead to some interesting chain reactions.", false, "http://www.glaielgames.com", 3];
sets[0][8] = ["m00000ccccc00l00ka00000l00cccccs0l00lllll00000lllll000l0lllllg03c0l0lllllg02c0l0cccccg01c0l0ka000ec00hcccccaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaa", "Chain Reactions", "Tyler Glaiel", "I know you want to blow them all up. It is awesome, trust me.", false, "http://www.glaielgames.com", 2];
sets[0][9] = ["sek00000kcc000000cc0000s0ccm00000cc0000m0000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Death Blocks", "Tyler Glaiel", "When 2 death blocks touch each other, they explode. But, you get a dynamite when 2 explode, so it's worth it.", false, "http://www.glaielgames.com", 3];
sets[0][10] = ["s00000m00s00m000000m00000m0000000000ccc0000ekkk000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Death Block Efficiency", "Tyler Glaiel", "If more than 2 death blocks touch each other at once, you get bonuses in the form of extra dynamite. 3 death blocks at once = 2 dynamite, 4 at once = 3 dynamite, 5 at once = 4 dynamite.", false, "http://www.glaielgames.com", 3];
sets[0][11] = ["l000000000000c0c000000000000c0c00000000000c0000000s000000c000000000000qqc00000000a00000c00000000000000c00000000000000c00000q00000000c00000000000000c00000000000000c000000000q0000c000g02c0000000000000g01c0000000000000ec0000000000000aaaaaaaaaaaaab01aaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Ice Blocks", "Tyler Glaiel", "If you push an ice block, it keeps moving until it hits another block.", false, "http://www.glaielgames.com", 4];
sets[0][12] = ["m00rd100p000e00rd2rd10p0000000rd20p000000000p000000000ppppp0a000000000a000000j00as00000j00aaaa000j000000000j0aaaaaadddaaaaaaaddddaaaaaaddddaaaaaaddddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Water Tiles", "Tyler Glaiel", "Push a block into water and it makes a platform. Will an ice block make a slippery platform? You'll find out later.", false, "http://www.glaielgames.com", 5];
sets[0][13] = ["m000c000g010e0m00c0cccc0000c000000000c000000000c00q0a00l0lk000a00l00ri200000llm0ri2000000l00ri20000s0l0lkc000aaaaddaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01", "Review II", "Tyler Glaiel", "Here's another review. Use your knowledge to its full potential to solve this one.", false, "http://www.glaielgames.com", 5];
sets[0][14] = ["m00000000000v0000000000000ri00c00000q000cc000000ccccc0000c0pg010e00000cccccj000000cc00s000ri20c000000j00000dddaaaaaaadadaaaaaaadddaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Lava Tiles", "Tyler Glaiel", "How do you get past the lava? You should try to dry it up with blocks. 5 should do it.", false, "http://www.glaielgames.com", 4];
sets[0][15] = ["m0c00000g02g01e0ccca0ra00cc000000000000c000a0ra1000c000a00000c00000a000c00000c000ccccc0c000000000ccs000000000b01aaeeeeeeeaaaeeeeeeeaaaeeeeeeeaaaeeeeeeeaaaeeeeeeeaaaeeeeeeeaaaeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02", "Ice Tiles", "Tyler Glaiel", "Ice tiles are very slippery and make all blocks slide.", false, "http://www.glaielgames.com", 0];
sets[0][16] = ["m0000000c0000a0000c0000000000000000000c000000000ccc0000000000000000000000000s000000q0000ccc0000000g01g02eeeeeeeeeeeeeeeeeeeeeeeeeeeeb01b02eeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "The Irony", "Tyler Glaiel", "Ironically, ice blocks are the only blocks that don't slide along ice tiles.", false, "http://www.glaielgames.com", 0];
sets[0][17] = ["m000000c00000s00c0c000000000000000000000m000qkk0000000000p00000000000000000000000g01c0000rd2000ec0m00000haaaaaaaaaaaaaaaab01aaaaaaaaaeaaaaaaaaaeaaaaaaaaadaaeaaaaaaeaaeaaaaaaeaaeaaaaaaeaaeaaaaaaaaaeaaaaeeeeea", "Sunken Ice Blocks", "Tyler Glaiel", "Guess what happens when an ice block sinks? That's right, it becomes an ice tile.", false, "http://www.glaielgames.com", 4];
sets[0][18] = ["mm000m00cce0000pa0ccg01000pap000000b010p0000000000000000000000000000000000000j00000000jrd2j0s00000j0j000000aaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaeeeaeeeeeeedeeaaaaaaeeeaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaa", "Button Blocks", "Tyler Glaiel", "There's a button on a block? How will you press it?", false, "http://www.glaielgames.com", 0];
sets[0][19] = ["scccccccccccccc00000ccsb01mcjccg020t00ccg01cm00ccec0kvccaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaab02aaaaaaaaa", "Fire Blocks", "Tyler Glaiel", "Fire blocks will melt ice tiles into water tiles.", false, "http://www.glaielgames.com", 2];
sets[0][20] = ["l000000ccccc0000000000ccccc0000000000cc0cc00000000a00c0c00a0000000000c0000000qmq000kkk000p000000000000cpvp0000000000000p00c00000s000000c0c00000000q0000g04c00000b030000000g03c00d0000000000g02c0d0d000000000g01cddddd0000000mec0000000k000m0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaab04aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad", "Review III", "Tyler Glaiel", "Another review. How well can you do?", false, "http://www.glaielgames.com", 2];
sets[0][21] = ["m00000000000q000000q0000000000000000000000m000000m000000000000000000000kc00000s00kc000m0000ec00000000aaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaeeeeedeeeeaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaa", "Strategy I", "Tyler Glaiel", "Death blocks will explode if they pass each other while sliding on ice. This can be used to your advantage.", false, "http://www.glaielgames.com", 0];
sets[0][22] = ["m000000000h0h000000h0kkkkkkkk00kkkkkkkk00khkkhkkk0skkkkkkhk00kkkk00kk000k0k0kkk00kkkkkkkkh0ek0kkkkk00aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Strategy II", "Tyler Glaiel", "Often not every item is used.", false, "http://www.glaielgames.com", 0];
sets[0][23] = ["mekkkk00000cccc0000000000j0000000000j000000000j00p000ppp00ptp0pmmmp00p000pmp0000000pmp00000000p000s00aaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Strategy III", "Tyler Glaiel", "Maximize death block efficiency. Remember, the more you destroy in one push, the more dynamite you get.", false, "http://www.glaielgames.com", 2];
sets[0][24] = ["m000000c000000000c000000000cs000a00ccc00000000000000c0000000000000b0100cg0200000c00ch0000kq00cg0100000000ceeeeeeeeeaaeeeeedeeaaeeeeedeeaaeeeeeeeeaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaa", "Strategy IV", "Tyler Glaiel", "It's not that hard. The hard levels come in the sets that you will unlock by beating this.", false, "http://www.glaielgames.com", 0];
sets[1][0] = ["smllllleg01lllllkmlkkklkslklklkg02lklklkg04g06kllllg03g05klkkkaaaab05aaaaaaab06aaaaaaaaaaaaaaaaab01ab04aaaaaaaaaaaab02aab03", "Bam", "Tyler Glaiel", "And it begins...", false, "http://www.glaielgames.com", 0];
sets[1][1] = ["mklk0klceclvl0v0l0g010llllklllklllklklklklklklklklklklklllklllkm0kl0k0l0000kl000l00m0kl000l00s0klk0klk0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Bam Bam", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][2] = ["s00000ce00q000g01000q0q00s000000000q0000q00000000000aaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaa", "Rookie Slider", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[1][3] = ["ms0hc0c0c00000cici0i00000klk0cccc00l0lki00ikl0l00ccccl0l0lki00ikl0lllccc000000ki0c0cccccccc0g08g07g06g05g04g03g02g01eaaaab08ab07aaaaaaaaaaaab06aaaaaaaaaaaaaaaaaaab05b01aaaaaaaaaaaaaaaaaab04b02aaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaa", "Bam Bam Bam", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[1][4] = ["mekvkc00c0hccc0c00c0000000000cc00mm00000000mm00000000mm000000000m0000000000000000000000000000000000s0aaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Rash Attack", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[1][5] = ["ms0000000000000000000000000000000000q00000000000000000q00q0cc000q00000e000q0q00cc00000000000000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "The Meltinator", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[1][6] = ["svd00ckeg02d0t0cpg04iib04b020c0ml0lt000llih0q0m0idjsq000g03haab03aaaaaaaaeaaaaaaaeadaaaaaaaaaaaaaaaaaaaaaaaadaa", "The Intoxicator", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[1][7] = ["l000k00000c000khm00k00000c00qk0000k00000c000kg04g06kkk00ri300g0200000g05k0000000c0000i000000000c00000000000000cccccc000000m00cccccc0s0000000c00000000000000c0000i000000000c00000000000ri300g0100000cc0000000c000kg0300ccc0000c00qk0e00kkk000c000khaaaaaaaaaaaaaab05aaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab04aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab06", "Solitary Confinement", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][8] = ["ss0000000000j000rj10rj3rj2j0rj00rj2rj20000jrj30j0000j0j0p00000peaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Convoluted", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][9] = ["meg01p0c0c000cc00c0c0000000c0c0000000i0i00000000000000000i0i000000i000i0000000rj200000000000000000000000saaaeeb01eeaaaaaaaeaaaaaaeeaeaeaaaaaaeeeaaaeeeeefeeeeaaaaeeeaaaaaeeaeaeaaaaaeaeaeaaaaaaaeaaaaaaaaaeaaaa", "Fire Seed", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][10] = ["mekkk000000ccc00000s00000000000000m000000000000m0000000q0000000m000000000000m000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeaeaeeeeeeeeaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Frozen Ballet", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][11] = ["ms0000000000000000000000ll0ll000l0lkrj1kl000l00rj0hrj20000l0lkrj3kl000m0ll0ll000l000000000llmlll00p00000000ceaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaadaaaaaaaaa", "Bam Bam Bam Bam", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[1][12] = ["l00000pep000000000s000p0000000000000000000000000j0j0j0j0j0j00000d0d0d0d0d00000j0j0j0j0j0j00000d0d0d0d0d00000j0j0j0j0j0j00000d0d0d0d0d00000j0j0j0j0j0j00000d0d0d0d0d00000j0j0j0j0j0j00000000000000000000000000000000000000000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Simple", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[1][13] = ["m00000000ce00000000cg02000000000g0100llllll000m0lkkl00000l0b01b0200000m0lkkl00000llllll000000s000000000000000aaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaa", "Bamx5", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 4];
sets[1][14] = ["m00000000000c0t0mtt00g04c00000b02b040g03c0qqqq0t0g02c0q00q00sg01c0q00q000kc0qqqq0t00c00000b01b0300c0t0mtt00ec00000000aaaaeeaaaaaaaaeeaaaaaaaaeeaaaaaaaaaaaaaaeeeaddaeeeeeeaddaeeeaaaaaaaaaaaaaaeeaaaaaaaaeeaaaaaaaaeeaaaa", "Fire Slider", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[1][15] = ["m00000000000000000000000mjjjm00000j0p0j00000jpepj00000j0p0j00000mjjjm0000m00000000000000000s000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaa", "Corners", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][16] = ["mhp0000000sc00m0b030ii000t0000000rj00000000000c000b020cg01c0c0000cc0cg03c00q00c0cg02c0000tc0ckc00000c0cec00000cmceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeb01eeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Freezerbox", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][17] = ["ms0000000000m00000000c0i0000000hg0100000000cccc0000q0eccc00b01rj3q0kk000000q0c0000000000m000000000000000000aaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaaaaaaddaaaa", "The Grand Canyon", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][18] = ["m00000000pe000j00000p0j00j0000000jjjjj00000j0ij0j0000jjjhj0000j00j0hjj000j0jjj000000j000j00s000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Complex", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[1][19] = ["l0000000c0000000000j000c0000j000j00j00c000jj00j0jj000c0mjjv000jj0j00c000j0j0j00j000c00000000jj00jc00jj00000000jg010j000jj0000s00jc00000j00000j000c000j0000000000c0mjj00000ijjj0c000j00000jj000c0000jj0000j000cp00jj000000000cep00000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Backtracker", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[1][20] = ["l00000000000000000000000m00000000000000s00000000000000000000000000m00000m00000000000000000000000000000000000000000000000000000000m00000000000000m00000000000000g02000000g01ccccccctcccccci000000c0cccccc0000000c0cccccc0000000000kkkkeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Backtalker", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[1][21] = ["m000000000i00000000000sm0000m0i00000000000i0i00i0i000i00000000000ii000000m0i00m000000000aaa000000iiieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Super Slider", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][22] = ["sm0hccceg0200kkg01pm00j0cc0ljb01j00000j0m0000l000s0000ttaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaa", "Uptown", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[1][23] = ["lccccccccccccccc00000000000000c00000000000000c00000s00000000c00000000000000cpc00000jjj0jj0cec000jj000j000cc0000j00hj0j00c000jj0jjjj0j00c000j0dhji00j00c000jj0jaji0j00c00000j00rj3rj20j00c0000j0j000jj00c00000jj0000jj0c00000000000000caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Wooden Devil", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[1][24] = ["lvp00000j0000c0hp000000j00000g01c0000j0j0s0000rj20000jkj00000j0000000j00jj00000000000jjj00jj00000jjj00c000000000j000cec0jjj0000jj0j0c00j0j000000jj00jj0jj000000ijjjj000jj000000j000j00j000rj0000jjj000000ccg030000000000rj3g020h0c0000000000chaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Wrath of Orb", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[2][0] = ["m000000000erj2rj2rj2rj2rj2rj2rj2rj2rj2p0g01g02g03g04g05g06g07g0800000000000000000000000000000000000000000000s00000000000000000000000000b01b02b03b04b05b06b07b08aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Slow Start", "Tyler Glaiel", "Here is the start of set B. Good Luck.", false, "http://www.glaielgames.com", 0];
sets[2][1] = ["s000000s00000q0cc0000000000c000000000000000e0c0000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaadaaaaa", "Still Easy", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[2][2] = ["m00000000000000000000000j00s00000jj0c00000jj0cec0000j000c00000jj000000000jj000000p00jj00000vp00000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Passgate", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][3] = ["s0j0j0j0j0j0j0j0rj20rj10rj30j0rj0erj00j0j0rj10j0j0rj30rj00j0jsj0j0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Claustrophobic", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][4] = ["l000000000000000000000000000000000000000000q00000t0000000q0000000000000000000000000000000000000000000000000000000e00000000000000000000000s00000v0000000000000000000000000q0000000q00000q0000000000000000000c0000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaeeeeaaaaaaaaaaaeeeeaadddddddaaeeeeaadddddddaaeeeeaaddfffddaaeeeeaaddfafddaaeeeeaaddfffddaaeeeeaadddadddaaeeeeaadddddddaaeeeeaaaaaaaaaaaeeeeaaaaaaaaaaaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Tiki Island", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[2][5] = ["seg0100000c000000000s0000000j000q000000b01000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedeeeeeeeeeeeeeeeee", "Frozen Guide", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][6] = ["ss000000000q00000j0j000q000q0g010j0j00pc0q000ec00000aeaeaeaeaeaeaeaeaeaeaeaeb01eaeaeaeaeaeaeaeaeaeaeaea", "Defrosting", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][7] = ["m000ri3000ich00c0000ic000c0000g020000cri200cicc0mck0mci0es0cri000cicc00c0000g010000c0000ic000c0000ic0000ri3000ichaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaa", "Railroad", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][8] = ["m000000000000000000000000jjjj000000j00j000s00j00j000000jjjj000000000000000000000000000ccccc0000g04g03g02g01peaaaaaaaaaaaaaaaaaaaaaaaab01aab02aaaaaaaaaaaaaaaaaaaaaaaaaab04aab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Pandora's Box", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[2][9] = ["s000000s000mj0000jj0000jjm00000jijj00jjjj0p00000peaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Keystone", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][10] = ["m00000000ce00000000ck00000000ck000m0000ck00mmm000ck0mmmmm00ck0mmmm000ck0m0m0s00ck00000000ck00000000kkaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Ex-Tutorial", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 2];
sets[2][11] = ["m0000000000000j0000000j000jjsj00jj0p000000j0pep0j000j00p00j000jjj00jjj0jj0jjjj000000j00j0000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "The FroZone", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][12] = ["s00m0m00s0mmmm000mmmm0000m0m0k000000kcccccckkkkkkeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "This is War", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[2][13] = ["l0000000000000c0000c0000c00000000000c0000000000c0000000c00000000000000ec0000000000000c00000000000000000c00c0000000000000c00000000000c000000000000s0000000c00q00000000000000000000000000000000000000000c0000000c00000000c0000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Oblox", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][14] = ["m000000000000q0q0q0q000000000000q000000q0000aaa00000q00s000q0000a0a000000000000q00000q0q00g0100000000ceaaaaaaaaaaaeeeeeeeeaaeffffffeaaefaaaafeaaefb01aaafeaaefaaaafeaaefaaaafeaaeffffffeaaeeeeeeeeaaaaaaaaaaa", "Dinner in Hell", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][15] = ["mekccc0g06ckhkg02kcc000g01kckg03000000ccc0000000g05cc00k0k000v0j0mlm000jj000k00000j00cccccp000cch0ccg04s00cc00c00aaaaaab02aaaaaaaaaaab04aaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaab06b05aaaaaaaaaaaaaaaaaaaaaaa", "The Gatekeeper", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][16] = ["m00000000k000000s0kri0k0b01m00k00000b020mkri0k00000000k0000000m00000000m0000000g02000000000g01c00000000ec00000000eeeeaaaaaaeeeaaaaaaaeeeaaaaadaeeeaaaadddeeaaaaadddeeaaadddddeaaaddddddaaaaddddddaaadddddddaaaddddddd", "Atlantis", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[2][17] = ["mec0c000000g0200cq0q0q00s0c00q00000g010ri300000000c000q00000c000000000c000000000c000000cg0300ri100000000c000000aaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaa", "Harmonic Oscillator", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 4];
sets[2][18] = ["mc00l0l00000k0l0l00q0ci0l0l00000k0l0l00s0ci0l0l000g050k0l0l00cg04ci0l0l00cg030k0lmlm0cg02ci0l0l00cg010k0l0l00ceaaaaaaaaaab01aaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaab04aaaaaaaaaaaaaaaaaaab05aaaaaaaaa", "Railgun", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][19] = ["ms00c000c00kk0acmc0j0ek00cg02c00jkk000000j0000b02t0tb010j00000000j0000000000j0000cg01c0j0p00acmc00jvp0c000c00aaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaa", "Clash", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[2][20] = ["s000000s0i0rj00i000000000rj3000rj100i000000iirj200p00000peeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Focus Point", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][21] = ["lep0000000000000p0rj0000000000rj0000rj300000000000rj10000000jg03j0000000000jg120k0g10j00000000g110kkk0g090000000j0kk0kk0j000000g04kkhshkkg02000000j0kk0kk0j0000000g050kkk0g0800000000jg060k0g07j0000000q00jg01j00q0000rj300000000000rj1000rj2000000000rj200000000000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeeeaaaaeaaaaaaaaaeaaaaeaaaab03aaaaeaaaaeaaab12ab10aaaeaaaaeaab11aaab09aaeaaaaeab04aaaaab02aeaaaaeaab05aaab08aaeaaaaeaaab06ab07aaaeaaaaeaaaab01aaaaeaaaaeaaaaaaaaaeaaaaeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Trapped", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[2][22] = ["s0j0rj10jsj0j0j0j0rj30j0j0j0rj20rj00j0j0j0j0rj20j0j0p0j0j0pedadadaaadadadadadadadadadadadadadadadadadadadadaa", "Quicksand", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 0];
sets[2][23] = ["l0000000000000000000000q0000000000000000000000000q0000q00000000000qq0000q00000000q00000000000000q00q00000000q00q000sq000000000q00000000000000qq0q00q00g05000000qqq0000cg040000000q00000cg0100q00000q0000cg030000000000000cg020000000000000ceaaaaaaaaaaaaaaaaaaaaaaaaab04aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab05aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaa", "Springtime", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 5];
sets[2][24] = ["l0000000000000000000000000rj00000000j00j0rj1jjjj00000jjjjjj000j0000jj00000j00j0000rj000p000jj0j000jj0pep00j00rj2000j000p00jj0jj000jj00000rj200j00000jj00jrj300j00000000jj0rj20jj0000000rj1j0jjjj0000000000j00000000000000jjj000s000000000000000000eaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeae", "Wrath of Glaiel", "Tyler Glaiel", "", false, "http://www.glaielgames.com", 3];
sets[3][0] = ["m0000000000000000000000000000rj3rj3000000000e0000rj3000rj3rj3hg0100rj300000g02000rj3000000000rj3000000s00rj3000000000rj300000aaaaadddddaaaadddaaaaaadddaaaadddddaaaaaddddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaab02aaaa", "Find the Village", "Tyler Glaiel", "You need a key in the village, but first you need to find the village. \n P.S. I'm sorry for this cheesy story.", false, "http://www.glaielgames.com", 0];
sets[3][1] = ["m000000k00k0q0ri10kj00000000k00000q000jj00e00s000k00000000kk00000000jg010000000k000000g02000kk00000000jj00kaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaa", "Enter the Village", "Tyler Glaiel", "Time to get into the village. It's heavily guarded.", false, "http://www.glaielgames.com", 0];
sets[3][2] = ["l000000000000g02g03h00000kkk00000ch00000k0k000k00c00000kkk00jjj00000000000kjejk000000iii00jjj0000000i0i000k0000s000iii00000000000000000000000000000000000000ccc000kkk000000c0c000kvk000000ccc000kkk0000000000000000000c0000000000000g01haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Find the Right House", "Tyler Glaiel", "Now that you're in, you need to find which house has the junkyard key.", false, "http://www.glaielgames.com", 0];
sets[3][3] = ["mkkkkkkkkkkk000i00kekk0m0ii0kkkk000i0000kks00ii00mkk000i0000kk000ii000kk000i0000kk000ii000kkkkkkkkkkkaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Search the House for the Key", "Tyler Glaiel", "Time to get that key.", false, "http://www.glaielgames.com", 0];
sets[3][4] = ["l0000000000000000000j00000000000c00000c0000000000000000000000000h0k000000000000000000000000000j0000q00000000d0000000000000000c000000000000000s00000000000000000000000p000d00q000000cc0d0000000000g02g01e000000k000000cc00k00000000000pffaaaaaaaaaaaaaafaaaaaaaaaaaaafaafaaaafaafaaaaffaaaaaafafaaafaaafaaaaaaaaaafafaaafaaaaaaaafaaaaaaaaaaaaaaffaaafafffaaaaaafaaaaaaaaaaaaafaaaaaaaaaaaaaaaffaaaaaaafaaab01ffaaafaaafaaaaaaaaafaaafaaaaaafaaaafaaaaaaaaaffaaaaaaaaaaaab02", "Escape the Burning Village", "Tyler Glaiel", "Oh No! The Key was booby-trapped! Now the village is on fire! ESCAPE!", false, "http://www.glaielgames.com", 0];
sets[3][5] = ["s00000ke00i000ks0m00000i00m000i0000000000000000000aaaddaaaaaddaaaaaddaaaaddaaaaadddaaaaadddaaaaadda", "Cross the River", "Tyler Glaiel", "The volcano is far away, and requires passing through the junkyard. Get to that junkyard.", false, "http://www.glaielgames.com", 0];
sets[3][6] = ["m00jjhii000a0000il00a0d0dji0a0i0d00ii0jh0a0j0mj00mc0i00l0l0ce00l0i0ja0g01s00j0ai00a0000iid0000iadd00l00aaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Navigate through the Junkyard", "Tyler Glaiel", "Now that you're in, we need to get through it as fast as you can. There's these rumors of a monster...", false, "http://www.glaielgames.com", 0];
sets[3][7] = ["m00q000cccc00q00q0hhh00qq0qcccc00q000c00000q0qcg01k0es0q0qkg02c0000q000c00000q0q0cccc00qq0q0hhh00q000ccccfaaaaaaaaaaaaaaafaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaab02faaaaaaaaa", "Defeat the Junkyard Beast", "Tyler Glaiel", "Uh-oh, the rumors were right, and you encountered the beast. You'll have to slay it to pass.", false, "http://www.glaielgames.com", 0];
sets[3][8] = ["lk000kkkk000000kk0k000000kkqk0kkg04k0kkk0k0i0b040kkg03k000kkk0k0k0kkg02k0k00000kk000eg01k0kkkkkkkk0k0kkk00k000kk00k00000000k0kk000kkk0kkkk000k0k0kk000kkk0k000k0kkkik0000kk0kk0kk0000kk0k00k000kk0kk0k000k00k0s000000k0kkib01kkkkkkkkkk0000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad", "Find the Junkyard Exit", "Tyler Glaiel", "Time to get out of here!", false, "http://www.glaielgames.com", 0];
sets[3][9] = ["m00000000ce00000000ck000000000k0qb0100000000i00000000000000mg0100s00000mm00000000000000000000000000000000aaaaaddaaaaaaadddaaaaaaaddaaaaaaaaddaaaaaaadddaaaaaaaddaaaaaaaadddaaaaaaaadddaaaaaaadddaaaaaaadddaaa", "Cross the River", "Tyler Glaiel", "Another river? Man there's a lot of these things.", false, "http://www.glaielgames.com", 0];
sets[3][10] = ["mi00c00t00ei0cmc00k00i0000ckvk0000000g01k0t00000i0c000000i000c000000000m000i00000c00000000000s000000iiiaaaaafafaaaaab01aafaaaaaaeaaaaafaaaeaaaafaaaaeaaaaafaaaeaaaaaaadeeeeeeeaaaaeaaaaaaaaadaaaaaaaaaaaaaaaa", "To the Volcano", "Tyler Glaiel", "Here is the volcano. The legendary sword lies within.", false, "http://www.glaielgames.com", 2];
sets[3][11] = ["m00000000000jj0000jj00j0llll0j000ll00ll000jls0h0lj000l0000l0000ll00ll000j0llll0j00jj0pppjj00000pep000fafaaaafafaaaaaaaaaafaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaafaaaaaaaaaafafaaaafaf", "Descend into the Volcano", "Tyler Glaiel", "You know what to do. It's dangerous, and you might die.", false, "http://www.glaielgames.com", 0];
sets[3][12] = ["s0t00000illak000h0l0l0lk0l0s0kliia000ka00l0ecv0la0aaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaa", "Get the Sword in the Volcano's Core", "Tyler Glaiel", "There's the sword! Man, it's getting hot in here...", false, "http://www.glaielgames.com", 2];
sets[3][13] = ["l00000t00t000q0e00000t00t00000000000t00t00000q00000t00t00000000000000q00000000000q00000000000000000q0qtttt00000q000000000000000000000000tt000q0q0q0tttt0000000000000000s000000000000000000000000000000000t00000000000000t000000000aaaaaaaaaaafaeeaaaaaaaaaaffaeeaaaaaaaaaaafaaaaaaaaaffaaaafffaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Defeat the Dragon", "Tyler Glaiel", "What? A Dragon? And it's trying to kill you!", false, "http://www.glaielgames.com", 2];
sets[3][14] = ["m00000000ce000b03000tcg01sb04000i00cg02000iii00cg030000ti00ch0b01000i00cg040t0i0ii000000000000000i0b02000000000000t00aeaeaeaeeeeaeaeaeaeeaeaeaeaeeeeaeaeaeeeeaeaeaeaeeeeaeaeaeaeeaeaeaeaeeeeaeaeaeeeeaeaeaeaeeeeaeaeaeaee", "Escape", "Tyler Glaiel", "With the dragon slain, you need to find a way out of here.", false, "http://www.glaielgames.com", 3];
sets[3][15] = ["mqqqqqqqqqqq0000qq00qqm000i000qq000jjs00qq000jj0m0qq000jj000qq000jj000qq00mjj000qq0000i00qqqqqqqqqqqeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Find a Way Out of the Ice Cavern", "Tyler Glaiel", "The escape path just led to a very cold cave. Brrrrr.", false, "http://www.glaielgames.com", 0];
sets[3][16] = ["lqqqqqqqqqqqsqqq00000000000000000t0m000m0000m00000000000m00000000q0q000000000q00qqq0m00q000qq00qqq0000qq00qqqqqqqq0qqqqq0qqqqqqqqqqqqqqqqqqqq0qqqqqqqqqq0qq00qqqqqqqqqq00000qqq00000qq0000000000000qq0000000000000qqqqqqq0e0qqqqqqeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Blast Through the Ice Wall", "Tyler Glaiel", "This wall of ice is a hinderance. You should blow it up.", false, "http://www.glaielgames.com", 0];
sets[3][17] = ["mqqqqqqqqqq00j00000sq0j000j000q0jj0j0j00q0j0qj00j0qj0j00jj0jq0j0jj00j0q00j00jjj0qp0jj0j000qep00j0000qeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "More Ice", "Tyler Glaiel", "This cavern is very large isn't it?", false, "http://www.glaielgames.com", 0];
sets[3][18] = ["m00t0t00000000t0000s00000t0b050b060g0600t000000g05c00t0b020b010g01c0t000000g02c00t0b030b040g03c0t000000g04c00t00000ec0t0t0000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Melt Your Way Out", "Tyler Glaiel", "Fire? You can melt your way out now!", false, "http://www.glaielgames.com", 3];
sets[3][19] = ["lvg01g02g03g040g05kqq00000cccc0cckqq000000c000cekqq00t00c000b030cqq000b01000000000qq00000000m0000qq000000000000qq00m0000000000qq0000m0000000000000000s0b040000q00000000000000qq000b02000000000qq00000000000000qq00000000m0000qq0000000000000qq000000aaaaaaaaeeeeeeeaaaaaaaaeeeeeeeb05aaaaaaaeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaedeeeeeeeeeaaaaeeeeeeeeeeeaaaaeeeeeeeeeeeaaaaaeeeeeeeeeeaaadeeeeeeeeeeeaaaedaeeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeee", "The End of the Ice Cavern", "Tyler Glaiel", "Finally you're out! And there's the castle!", false, "http://www.glaielgames.com", 5];
sets[3][20] = ["l000000pep0000000ddg02d00p000d0000d0dd00000ddd00c000d00d0g01d000c00b020dddd0dd0000000000d0d0000000000000000000000000000000000000000000000000000q000000000q000000000000000000000000000000000000000q00s0000000000000000i0000j0j0j0j0j0j0j0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaddaaaaaaaaaaadddddaaaaaaaadddddddddaaaaddddddaddddddddddddaaaadddddddddaaaaaaaadddddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaa", "Cross the Moat", "Tyler Glaiel", "The moat is dangerous, full of creatures that want you for lunch.", false, "http://www.glaielgames.com", 0];
sets[3][21] = ["m0h0kceck00dddkklkkdd000kklkk000j0kklkk00dddkklkkdg0100000c000d0000jqj0d0d0b010d0d0d00m00sm000p00000000pvaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaddddddddaa", "Open the Gate", "Tyler Glaiel", "You need to get into the castle!", false, "http://www.glaielgames.com", 0];
sets[3][22] = ["lcaaaaaaaaaaaaaca00000p0ep0000aa00000pppp0000aa0000000000000aa00ddd0000ddd0aa0000dd00dd000aa00000dddd0000aa00000d00d0000aa00000d00d0000aa0000dddddd000aa00ddd0000ddd0aa0000d0000d000aa0000000000000aa00000s0000000ac0000000000000caaaaaaaaaaaaaaaafaaafaaaafaafaaaaaafaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaafaaaaaaaaaaaaaaaa", "Breach the Main Tower", "Tyler Glaiel", "The king is at the top of the tower, you need to get there and kill him to reclaim your power.", false, "http://www.glaielgames.com", 0];
sets[3][23] = ["mcaaaaaaaaca0000d000ca00dg02d0p00a00dd0pep0a0dg010d0p00c0dd00d00c000dd0d00a00000ddd0a00s000000a0000caaaaceeeeeeeeeeaaaab02aaaaaeeeeeeeeeeaaaaadaaaaeeeeeeeeeeaaaaab01aaaaeeeeeeeeeeaaaaaaaaaaeeeeeeeeeeaaaaaaaaaa", "Get to the King's Room", "Tyler Glaiel", "You're almost there...", false, "http://www.glaielgames.com", 1];
sets[3][24] = ["l000ccccccccc0000000000000000000000m0000000000cccc0000000sq0ccv000000q0q000ccccc0000000q00cc00rd1000rd3000000cc0rd2clllcrd200q00cc00llkll000000cc00lkekl0000p0cc00llkll000pmpcc0rd0clllcrd0000p0c000rd1000rd30000000000000000000000000ccccccccc000fffaaaaaaaaaffffaaaeaaaaaaaaaffeeeeeeeeeeeeefaaaafaaaaaaaaaaaaaafaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaafaaaeaaaaaaaaaffaaaeaaaaaaaaaffffaaaaaaaaafff", "Defeat King Swain", "Tyler Glaiel", "At last, the king himself! Kill him with the legendary sword and reclaim your power! And, it's the end of the cheesy story!", false, "http://www.glaielgames.com", 2];
sets[4][0] = ["m00000000ce00000000cg0100000000cg02c0c0c0c0000i0i0i0000c0c0c0c0000i0i0i0000c0c0c0c000000i0i0000s0c0c0c000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaa", "The Grid", "Cloud668", "", false, "http://square-online.info", 0];
sets[4][1] = ["mhh000000hhhh000000hh000jjljj00000liiij00000jieil00000jiiij00000jjjlj000000000000hh000000hhsh000000hhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "The Ka-Boom Funroom", "Masonr92", "", false, "", 0];
sets[4][2] = ["l000k000000c0000dd0ccccc0kc0000000000000000000000000000000000000i0i0id0di000000iai0i000i000000i0i0id0di000000000000000mc0000000000d000c0ddd000000d000c000d000000k000c0p0d00000k0k0mcg01hcd0000000000cecc0ccccccb01cccccs00000000000khhddaaaaaaadaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Bing Bang Boom", "Artemis", "", false, "", 0];
sets[4][3] = ["ssv00000c000c0c0c0c000c00000c000c000c00000000hc0keaadddaaadaaadadadadddadddddadddadddadaddddddaadaa", "Floodzone", "Jarret McNamara", "", false, "", 0];
sets[4][4] = ["m000000g010rd30rd0ccc00cj000b010cc0c0cccc00c0cg02g03e0cc0lhc0cc0hc0ccc00c0cck00cdqp0cclchc000dcckccc0cksd0lhcccc0aaaaaaaaab02aaaaaaaaaadaaaaaadaaaaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaaaaaeaaaaaadaaeaaaaaadaaaadaaaaaab03", "Water Maze", "Alex Wyvill", "", false, "", 0];
sets[4][5] = ["l0000000000000is0iiiii0ig01iiiiii000000000k00vi0000000000k000i000000000b03k000i0000000000kkkki000000000b050b0400g0200000000000000i00000000000000000000000000000i00000000000000i00000000000000i000000g03g05g0400000i00000g06000g070000i00000g080e0g09000000aaaaaaab01eeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaefaaaaaaadaaaaaeb08faaaaab06adaaaaeb09faaaaadb07aaaaab02faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafffaaaaaaaaaaaafafaaaaaaa", "Potty Mouth", "ControlBasher92", "", false, "", 2];
sets[4][6] = ["l0000000ri300hhch00ccccccc00cc0g03c0000000c0000i00ccccc00c000000b030000000c000000000c00iciccc000000c000cis0c000000cccccii0cri0ri300c000000000c0hc00icccccccccccccri0cc000ec00ri10i0000c0000ri100c0i0000cccccccc0cccg0200i0c00ri300ri2c00000c00ri30c00i0000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeee", "Dynamyt3", "Declan Prendergast", "", false, "http://cheeseballz.piczo.com", 3];
sets[4][7] = ["lsi0q00000000000cc000jjjj00j0000c00000000ji000cc00000000000000c00000000000000kkvkk0000000000kkkkk0000000000kk0kk0000000000000c000c000000kg01c0c0c0cv00000chc0000rj200000000ic0000c0000000tc0c0000000000000ri300cccccccicp00c0000000000ceaadafffffdaaaaaaafafaaaadaaaaab01afafaaaddaaaaaaafafdddddaaaaaaafafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaadaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Welcome to Hell", "Peter Walsh", "", false, "", 2];
sets[4][8] = ["lccccccccc000000c0m000000000cc0c0ccccc0000ccc0c0000c000ccccc0c0000000ccc00c0c0000000ccc00c0c0000c000000000ci0i0ic0c00ccc0c0i0i0ccc0cccccci0i0ic0c000000cciri0icc000000c00cra3era1c0000000c0000ra20c00000cmc000000ccccccc0c0s00000000000000aaaaaaaaaaaaaaaaaaeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Blast to Pass", "Ghost-Halo", "", false, "http://ghosthalo.newgrounds.com", 0];
sets[4][9] = ["m000hhv0cce00000q0cc00000000ccg02cccpcccccg010000000000did00t00000000d00kkkjj00i00k0000k0d00k0b02shj0000k00ddaaaaaaaab01edeeaaaaaddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae", "Brain Strain", "Bartek", "", false, "http://tacofreak.newgrounds.com", 2];
sets[4][10] = ["mcccccccccchkdckpcdpck00ckcdcdcdk0cccmddmhk0000000chkh000000ccdckcd0c00cccvccd0ccd00cmkh0kvel0dkmd0dseaeeeeeaeaeaeeeeeeeaeeeeeeeeeaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeaeeeeeeeeeeeeeeeeeeeeeeeedee", "Anyone Got a Tank?", "Barno", "", false, "http://www.barnoproductions.co.uk/", 0];
sets[4][11] = ["lcccccccccccccccc00000mcec0000cc000c00cic000g01cc000c00cic0000cc00g03c00cic0000cc000c00hc000m0cc000000000b03000cc0000000000000cc0i0000q00ii0vcc000000000i000cc00i000000000dcc0000lll00000hcc0s00lhl000000cc0000lll000000ccccccccccccccccaaaaaaaaaaaaaaaaaaab01faaaaaaaaaaaaaafeaaaaffaaaaaaafeaaaafaaaaaaaafeaaaafaaaadddafaaaaafafaaaaaaaaaaaafafaaaaaaaaaafdfafaaaaaaaaaafaaaaaaaaaaaaaaaaffdaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Trapped!", "Andrej Boban", "", false, "", 2];
sets[4][12] = ["l0c00000rd300000perd2ckcccccc0000p0hk000cccccccccccccc0chc000c000chcc0cg04c000c0crd00rd1k0000c000c000cccccckc000c0crd00rd10chc0c000c000tc0cg02c0c000c0crd0000c000c000c0000c0crd0c0c000c0crd0b01c0c0c0ccc0rd10000c0c0c0c0ccc0crd00c0ccc0crd2g03000c0s000g0100k0ccchchaaeeeeeedeeeeaaaaaaaaaaaeeeeaaaaaaaaaaaaaaaaaaaaaaaaadddaaaaaaaaaaaadddaaaeaaaaaaaadddaaaeaaaaaaaadddaaaedaaaaaaadddaaaeeaaaaaaadddaaaeeaaaaaaadddaaaeeaaaeaaadddaaaeaaaaeaaaaab04aaaeaaaab02aaab03aaaaaeaaaaaaaaaaaaaafaaaaaaaaaaaaaaa", "Goliath", "Alex Wyvill", "", false, "", 0];
sets[4][13] = ["secc0cc0pg02g0400cb020ccq0000000000000q0g03cqqcc0dcsg01d000caaab03aadaaaaaaab01aaaaaaab04aaaaaaaaaaaaaaaaaaaaaaaaaa", "Tiny Terror", "Alex Wyvill", "", false, "", 5];
sets[4][14] = ["lllllllllllllllel0000000000000ll0lllllllllll0ll0l0i000ccc0l0ll0l00000chc0l0ll0l0000ccg02c0l0ll0l00000cg03c0llllll0000q0000l0ll0l0000000i0l0ll0l000t00000l0ll0l00tst0b02b030l0ll0l000t00000l0ll0lllllllllll0ll0000000000000lllllllllllllllleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedeeeeeeeeeeeeeedeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Nuke Arctica", "Horseboy", "", false, "", 0];
sets[4][15] = ["m0lll00000sllll000000lldl0000m0llll0ii000000ddii00000b02d0rd0000000c000000000t0000kck00t000kg02hpm0t00kg01hpedaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaa", "Mod", "Horseboy", "", false, "", 3];
sets[4][16] = ["m00d00000000d0d00q0m000d000000g010d0ak000k00000k000kj0000ks0mk00000kkkkk000ib03000kkk0000000kg03g020000000jg05eaaaaaaaafb02aaaaaaaaaaaaaaaaeeaaaaaaaaeeaaaaaaaaadaaaaaaaab01aab05aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Medieval Maze", "Jaycee Appi", "", false, "", 0];
sets[4][17] = ["lh00c000000c0m0m000c0000b020c0m0m000c000000c0000000c000000ccccg01g04cccccittcc00000000000000000000000000g03000s00b04cc000000000000000ccl00000i0t0000000t0i0i0000000ccl0000000000cc0000000ccccc0000000000cii0c00000cc0ccc0cg02cc00i0b01000t00c00eaaaeaaaaaeaaaaaaaaeaaaaaeaaaaaaaaaaaaeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaafaaaaaaaafffafffaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeb03aeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaa", "Labyrinth", "David Garrow", "", false, "", 2];
sets[4][18] = ["l0000c00qc0q0q0hmcm0c00q00q0q000000c00q00q0qc00000c00q00qcq00b02ccccqq00ccccccmc0000cccc000000c000ckkkkg020e000c000c0kcc000000c000cckc0000000c000cckc0000m00000000k00000i0mih00000000ccc00000m000000chc0rd0m0000000b040cg04c00si00m000000mm0daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaafdddfeaaaeaaaaaadadfeaaaeaaaaafdddfeaaaeaaaaafffffeaaaeaaaaaaaaaaefaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeaad", "Break and Enter", "Horseboy", "", false, "", 5];
sets[4][19] = ["le0c000000c0000000c0iri0ii0g0300b030000g040000rj30c00000cccc0ri0000c000000v0c0rj3000c00000000c0rj0000c00000c0cc00000c00000000g0500q00c0q0q0q00c00000ccc0q0000ccccccc0g020i0000c0000000c000rd0rd0rd0c000q000cccc000c00ri00000c0rj30000c0000000c000000c0000000g010qsaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadddddaaaaaaaaaadddddaaaaaaaaaadddddadaafffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaab05aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaaaab02aaaaab04aaaaaaaaaaaaa", "Puzzle Room", "Hoeloe", "", false, "", 3];
sets[4][20] = ["l000c00000000d0c000g020000000d0c0000c00000a00g0300000c00000d0c000000cpc00d0c0000000c0ccccc00000000ccc00mc0000000000k00cc0000000qccccmc000q00000c0c0sc000000000c0c00c000000000c0ccccccccc0000c0000000i0c0000c00000q000cc000q000000000g01eeeeaaaaaaaaaaaaeeaaaaeaaaaaaaaeeaaeeeeeaaaaaaaaaaeeeeeaaaaaaaaaaaaeeaaafaaaaaaab03aaaaaffaaaaaaaaaaaaaffaaaaaaaaaaaaafaaaaaaaaaaaaaffaaafaaaab02aaaaffaaafaaaaaaaaaffffffaaaaaaaaaaaaaafaaaaaaaaaaaaeafaaaaaaaaaaeaeaaaadb01daaaaaaeeaa", "The Castle Gate", "Hoeloe", "", false, "", 2];
sets[4][21] = ["lc00000000000c0e0c00000000000g02000c000000000q0c000c000q0q000000000c000q00000000000c000000000000000c000000000000000g01000000q0i000i00c0000000rj3ri00ii000c0000000ri30000000c00q00000i000000c0000000rj3rj0000000c000ri300ri200000000c0s0000000000b0100caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffaaaaaaaaaaaaafaaaaaaaaaaeaaafaaaaaaaaaaeaaafaaada", "Out of the Frying Pan", "Hoeloe", "", false, "", 2];
sets[4][22] = ["l000000000000csc000000000000cqc000000000000c0c0000ccccccccc0c000c0m00000mc0c00c0g05c000000c0c00ccg03m0000m000000c00c000ri0b020q00000c0000000c0q00000cccg04cj0cc0c000000cjc00c0g020000000c0cccc0g0100000000c0000ckc000000000000kpp000000000000kpeddddddddddddaaaddddddddddddaaaddddddddddddaaaddddaaaaaaaaaaadddaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaab04aaaaaaaddaaaaaaaaaaaaadddaaaab05adaab01aaddddaaaaaaaaadaddddddaaaaaaaaaddddddab03aaaaaaadddddddaddddaaaddddddddddddaaaddddddddddddaaa", "Slippery Death Cape", "Earthsea", "", false, "http://earthsea.newgrounds.com", 0];
sets[4][23] = ["l0cec0j0000j0j00ccpcc0j000b0100000j0j0j000jj0000cj0jc0j000j0jjj0j0j0j000000000ccg01cc0000000000c000cc000000000000000000000000c000cc000000000cc0cc0000000000c000cj000000000c0j0c000jj0ji00c000cj0000jj00jcj0jc0jj0i0ij00c0s0c00000000j0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeedeeeeeeeeeeeeeeaaaaaeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Glacier River", "FullMetal", "", false, "", 5];
sets[4][24] = ["l00000c0c00c000c00000cg02c00c0cb01c0mrj00000ri0rj30c0c000000000000000000000000000ri000ri10s00000000rj300000000q00ccc00c0cri2000cccc0b0200crj2c0000g030ec0c0cclc0000cccc0g01000l00000000ccc000l000000000rj30q0clc0m0q0q0q0q00chc000000000q00ccc0000000000000000aaaaaab03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadafaeaaeaaaaaaaeaaaeaaeaaaaaaaaaaaeaaeaaaaaaaaeeeeaaeaaaaaaaeaadaaaeaaaaaaaeaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "This May Take Awhile", "Ivaron", "", false, "http://ivaron.newgrounds.com", 5];
sets[5][0] = ["s000000e0i000000000000000jij00000000i000i00s000000ddddddaaadddddadaddddadaaaadddaaaadaddaaadaddaadd", "Lily Pond", "Arfan Dar", "", false, "", 0];
sets[5][1] = ["l00000000000000s00000000000i000000000000000i00j0j0jc0cc0i00i0jj0j0c00000i000j0j0jcccccc0000jj0jj0000000000j0j0j00000000000k00i000000000000kkk00000000000000k00000000000000k00000000000000k00000000000000k0000000000e00g02g010000000000aaaaaafaaaaaaaaaaaaaaafaaaaaaaaaaaaaaafaaaaaaaaaaaaaaafaaaaaaaaaaaaaaafaaaaaaaaaaaaaaafaaaaaaaaeeeeeeefffaaaaaeeeeeeeeb01faaaaaeeeeeeeeafaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeb02a", "Fire Wall, Ice Lake", "Fionmaster", "", false, "http://fion.newgrounds.com/", 3];
sets[5][2] = ["s0j0k0000j000e0g02j0k000g01kkkkkk0b01000000t0i0i0s00000kaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaaeb02aaaaae", "Wooden Dungeon", "Matthew Boehler", "", false, "http://www.mcsmstudios.com", 0];
sets[5][3] = ["l000000000000cce000c000000ra20ccg02lccc000i0000000000c000000rj3000c0l0c0000000000c0rj10cccc000ra3b0200c000000m00000ra20chrj2rj20ri00l0000000c0rj30rj10000cc0000crj2rd2rd30rd20000cccccc000000000ccc0cc0c0c000000000hc0000000c0000g0100c0c0c00c0000000s00000cccccc00hafaaafaaafaaaaaaaaaafafaaaaaaaaaaaaaaaafaaaaaaaaaafafaaaaaaafafaaaaaafaaaaab01aaaaaaaaaaaaaafddfaaafafadaaaaaadafafaaaaaaadadadfaaaaaaaaaaaaaaffaaaaaaaaaaaaaaaaaaaafaaaaaaaafaaaafaaaaaaaaafaaaaaafaaaaaaafaaaaaaaaaaaaaaaaaaaaaaa", "Annoying View", "Josh McAdams", "", false, "", 0];
sets[5][4] = ["sh000a00aa00a0q0q00a000a00i0q0a000q00a0ri30rj30saaaaaeaaaaaaeaaaaaaeeedaaeeaaaaaeeaaaaaeeaaaaaafaaaaaaa", "Toddler Tactics", "Masonr92", "", false, "", 0];
sets[5][5] = ["m0000000000000g04hg0200e00000kj000000000jjg050000000ljjg0300000000kv0000i0000g01000000000000s000000000000000000fffffffffffb02eab05aeeeffb03aeaaaaeffeeeeaaaeffaaeaaaaaffeeeeaeaaffaaeeeeeaffeeaeaeaeffaeaeaeb04b01fffffffffff", "Walkabout, Don't Runabout", "Jaycee Appi", "", false, "", 0];
sets[5][6] = ["ssrj30rj30rj30000000000q0q000q0000000000000000000000000eeedededdddddeeeeedeedeeeddddeedddeeeedddeeeedddee", "Slip 'n' Slide", "Tim Nadeau", "", false, "", 0];
sets[5][7] = ["ss000g01vk0a00kkk0000k0kqqt0k0e0000kkk000b0100k000000kaadaaaaaadaaaadddaaaaaaaaaaaeeeaaaaeeeaaaaaaaaaaa", "Over the River and Through the Spiked Boxes", "Jaycee Appi", "", false, "", 0];
sets[5][8] = ["l0000000000000000m0000000000000000000000000000m0000000000000000m0000000000000000000000i0000s000000000iiaa0000000c000ivig01a0m0000000iiiaie000000000000aaa000000000000000000000000000000000000000k0000000000000000000000000000000v000eeeeeeeeeeeeeeeeeeeeaeeeeeaeeeeeeeeeeeeeeeeeeeaeeeeeaeeeaeeeaeeeeeeeeeeeeeeeeaeeeeeeaeeeeeeeeeeeeeeeeeeeeeeeeeeeeedeeeeeeeeeaaeeeeaeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeeeeeaeeeeeeaeeeeeeaeeeeeeeeeeeeeeeeeeeb01eeeeeaffeeeeeeeeeeeefefee", "Don't Slip", "David March", "", false, "http://dreamstohack.livejournal.com", 0];
sets[5][9] = ["lscccccccccccccc00000000000000ccccccccccccmi0cc0000vcm000000cc00000cccc0000ccccc00000clllccc00ccg02cccckkkccc000000000000cc0000i0000i000ccc000000i0000cccc0000ccccc0ccccc0cccc00000g0100cccc00000000cc0cc0b0100000000cc0cccccccccccccc0eaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeaaaaaaaaaaaaaeeeeeeeeeeaaaaeeeeeeeeeeaaaaaaeeeeeeeeaaaaaaadeeeaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "The Inner Chamber", "Hoeloe", "", false, "", 4];
sets[5][10] = [" l000000000000c0e0000ri3000ri0000g01000000qrj000000iccc000000000000000000000000000000000000000000000000i0ri30000i0ib010000000rj000000000000000000000000000000000000000000000000t0i00000000i00000000000000000000ri20000000000ri20000000s00000000000000eeeeeeeeeeeeeeeeeeeedeeeeeeeeeeeeeeaeeeeeeeeeeeeedeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeefeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "Ice Slider", "Hoeloe", "", false, "", 0];
sets[5][11] = ["l000000000000c0e0000000000000g02000000000b0200000c00000000000000000cc000000i00ii0c00c00000000000c0qc0ccc0i00000c00cccsc00000i0c00cc0qccc00i00c00cc000cc0i000c000000c00cg01cc0c000000cri000000cccccccg03c000000000000t000000000000000000000b010eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaeeeeeeeeeeeeaaaaeeeeeeeeeeeaaaaeaaaeeeeeeeaaaaaaaaeeeeeeeaaaaaaaaaaeeeeeaaaaaadb03aaeeeeeaaeaaaaaaaaaaadaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeeeeeaa", "The Encampment", "Hoeloe", "", false, "", 0];
sets[5][12] = ["l0i0000000000000000000i000000i00b0100000000i00000000000000000000000000000000000000000000000000i000000000000000000000000000000000000000000i0000i000i0000i0000000000cccccc0000000ic0j00ce00000000g01j0j00pi0000iiic0j0j00si000000c000j00eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaaeeeeeeeeaaaaaaa", "FMLV1", "FullMetal", "", false, "", 4];
sets[5][13] = ["l00i0i0i0i00000s0000000000000q00000000000000q0000000000000000000000000000j000000000000000000000000000000q00000000000000q00000000000000q0cccccc000000000g11g07g10pg04c000000000g06cccg03ccc0000000g12g08g01c00000q000q0ccg09c0j00b040000q0eg02g05c0j00b030000q0ab09ab05ab10ab11ab12aaaaab08aaaaaaaaaaaaaaaaaaaaaaaaaaaaab06aaaaaaaaaaaaaaaaaaaaaaaaaaaaab07aaaaaaaaaaaaaaaaaaaaaaaaaaaaab02aaaaaaaaaaaaaab01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaadaaaaaaaaaaaaaadaaaaaaa", "Slidin' Ice", "GameFreak", "", false, "", 5];
sets[5][14] = ["lcccckkkk00ccc0ec000000k0i0g01kk0k000i00k0000ccc0000k0kk000iccck000kk000000000ck0000q000i00b040c0q0000000000ccc0000000i00000v0q000cccc0000cc00000c00c000j0000000cg020cri2c00000000cc0d0sccg04ccc000c00cccc00cc0cc0c0ccc000000hcc0ccch0j000i0aaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaab02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab01aaaaaaaadaaaaaaaaaaaaaaaaaaaaaafaaaaaa", "The Megalomaniac Challenge", "Ivaron", "", false, "http://ivaron.newgrounds.com", 0];
sets[5][15] = ["lsq000000000i000q0000b01000000i0000000000000i000000000000000ii000000000000000ig01cccccccc00000000000000ccccccccc00i0i0000000ccc000i00c00cc0ccc00i0i0c00i00ccc000000cccc000cccccccccccc000cccccccc00000000ccccccc000ccc0e0000000g02000000aadeeeeeeafaaadaddeeeeeeafaaaadddeeeeeeafaaaaeeeeeaaaaafaaaaeeeeeaaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaadddddaaaaaaaaaadaaaaaeaaaaaaaadaaeeeeeaaaaaaaaaaeeeeeaaaaaaaaaaeeeeeaaaaaaaaab02eeeeeaaaaaaaaaaeeeeeaaaaaaaaaaeeeee", "Freezing Lava", "Cloud668", "", false, "http://square-online.info", 0];
sets[5][16] = ["lasa0a00a00000g01ea0aaa00ag02aaaaaaa000a00a00000a0a000a00a0aa00aaa0h0a00a00a00a0a000a00a0aaa0a0a0a0a00aaa0a0a0a0a0a00a0a0a0a00000000aaa000a00000000a0a000a0ag03aaa00a00000a0aaaaa00aaaaa0a00000a00000000a000aaa00aaaaa0i00000a00aaaaaaaaaaab03addaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaab01aaaaaddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaaadddddddaaaaaaaadddddddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaaaaaaaaddaaaaaaab02aaaaaddaaaaaaaa", "Zombie Eastbay River Castle", "Roger Kelley", "", false, "http://www.freewebs.com/ebboy", 0];
sets[5][17] = ["lcc00000000ccchlc000000000000clc0c00jb0100j0c00lc0000000kk00c0lc00000000000c0lc00ikk0kk0j0c0lcg090g01g02g030sk0b030c0lhg100jk000kkk0c0l000g0400j0j000c0ljc0000b02kv000c0l0ce0000000c0c0l0cpcji0ib100g08d0g05l0qg070000000k00cl000ccccccclkcclc0g06llllllllllllaaaaaaaaaaaaaaaaaaddddddaaaaaaaaadaaaadaaaaaaaaddaaaaaaddaaaaadaaaaaaaadaaaaadaaaaaaaadaaaaadaaaaaaaadaaaaadb07aaaaaaadaaadadaaaaab04addaaab09addaaaaadddaaaaaadddddddaaaaaaaaaaaaaaaab05aaaaaaaaaaaab06aaaaaaaaaaaaaaaab08aaaaaaaaaaaaaaaaaa", "Escape the Fortress", "Ivaron", "", false, "http://ivaron.newgrounds.com", 0];
sets[5][18] = ["lhj00jc00j000hde00jj0ct0t0000dj000j0c0000j00djjjj00b020000000djt0tccccc00m00d0cg01cc000c00000d00000000cm0m00g02000q000ccccccccc00000b01c0000000m00000000000t000ccccccjjjc0mt00t00000000c00h00s0i00cccccccccc00000i0i0i0i0i0t0j000000000000aaaaaaddaaafaaaadaaaaaaafdfaaaaaaaaaaaaaafdaaaaaaaaaaaaaffaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaafaaaaaaaaaaaaaadaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaaaaaaaafeeeeeeeeeeaaaaaaaaaaaaaaaaa", "Fire Temple", "Matthew Boehler", "", false, "http://www.mcsmstudios.com", 2];
sets[5][19] = ["l0j0j00000000cpec000c00000000g01c0jjj0000000000c000000000jj00000jj0000000jj000j00j0000000j0000jj000000000000000000000000000000000000000000000000000jjj0j0000j000000rj30rj0j000jb01j0000j0i0j0000j00000jrj20rj100000000000j0jjj0s00000000000000aaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaeeeaaaaaaaaaaaeeeeeaaaaaaaaaeeeeeeeaaaaeeeeeeedeeeeeeeaaaaeeeeeeeaaaaaaaaaeeeeeaaaaaaaaaaaeeeaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaaaaaaaaaeaaaaaaa", "Glacier Pond", "FullMetal", "", false, "", 0];
sets[5][20] = ["leg01g02g03g04g06g05g07g08g12g10g11g09g13g14ccccccccccccccg15s000000000000cg1600000000q000mcg170q0000q000q00cg180000m00000000cg19000m0000q0m00cg2000000q0000000cg210m0000qmq00q0cg22000000000000qcg23000q000m00000cg2400000m0000q000000q0000000000q0000000q000m0000000000000000000aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab23aaaaaaab08b17aaaab04aaaaaaaaaaaab14aaaaaaaaab11aab01aaaaab06aaaaaaab09ab19ab07aaaaaaaaaaab16aaaaaaaaaab24ab02aaaaaab03aaaaaab18aaab05ab21aaaaaaaaaab22ab12aaaaaaaaaaab13aaaab10aab15aaaaaaaab20aaaaaaaaaaaaaaaaaaaaaaaa", "Frostbite", "Mattias Anderson", "", false, "http://killer-of-cows.newgrounds.com/", 4];
sets[5][21] = ["lcec0000j00cchhg04cpccqjq00icccc0cg10c00000iic000icg09c000000000i00cg08c000000000000c0k00000cc0cc0jcg05cc0q00g06j0jg07000j0c00cjcc0cc0c00cc00c0c0b090cvcc0c000c0c000cccc0k000c0c0j0000cg01cc00c0c00q0qb100j0c00c0cc0000000cc0cc00cccqi00sg0200c0j0g03hc000aaab08dedaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab07aaaaaaaaaafaaaaab05b04aaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaddddaaaaaaaaaaaaaaaab01b02aaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaab03b06aaaaaaa", "Are We There Yet?", "Ivaron", "", false, "http://ivaron.newgrounds.com", 0];
sets[5][22] = ["l0rj10rj30c0l0j0c00g0400000ck0j00k0hj000i0c0j0j0k000000i0cl0j00c0ccccg01cccccccg03c0d000000q00000c0d0q0000qc0000j0ccs0000q00000j0peq0000qc0000j0cc00000q000000000ccg02ccc0000000000i000c00000000c00irj20c00000j000i0000c00j00j0b02000000c0000lk000eeeeeaaaaaaaeeeeedeeaaaaaaaeeedeeeeaaaaaaaeeeb03deeeaaaaaaaeeaaaaaaaaaaaaaeeddb04aaaeaaaaaaeedaaaaaeaaaadaeaaeeeeeeeeeedaeaaaaaaaeaaaadaeaadaaaaedaaaaaeedaaaaaadadaaaeedeeeeb01adadaaaeeaddeeeadeeeaaeeeedeeeadeeeaaeeeeeeeeadeeeaaeee", "Ice Temple", "Matthew Boehler", "", false, "http://www.mcsmstudios.com", 4];
sets[5][23] = ["m0rj10rj30g01rj10rj300rj20rj20rj0rj20j0hrj10rj300rj10rj100rj30rj00rj2b03000j00rj100rj30rj2rj0000rj20rj0rj00rj100rj1rj0rj300rj1000hrj00j0rj200rj1g03rj0j0rj100rd3rj00p00js0rj1h0ceaaaaaaaaaadeeeeeeeaaaaaaefeeaadaaaaaaaaaaaeaaaaeaaaaaaaaaaaaaaaaaaaaaaaaaeaaaaaaaaeaaaaeaaaab01eeaaaaa", "Move It", "Mattias Anderson", "", false, "http://killer-of-cows.newgrounds.com/", 0];
sets[5][24] = ["lc0kc00d0000kkkecb03lc0ki0000cccc00lcd000i00mcch00lc00000000cc000lc00000000g03p00ilc0tmt0000cc000lk0000000mcchkcccccccccccccc0c0m0m0cm0000m0g02c0000000qiiiq00000000c0000000ccc0cg01cccccc0ccm000c0000c00000s000j0jm0j0b01000m000c0000c0i000adaaaaaaaeeaaaaaaaaaaaaafeaaaaaaaaaaaaafeaaaaaaaaaaaaafefaaaaaaaaaaaaeeeaaaaaaaaaaaafefaaaaaaaaaaaafeaaaab02aaaaaaaaaaaaaaaafafafaaaaaaaaaaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaaaaaafaaaaaaaaaaaaaaaadaaaaaaaaaaaaaadaaaaaaaaaaaaaad", "Temple of Death", "Matthew Boehler", "", false, "http://www.mcsmstudios.com", 2];
var i = 0;
while (i < 6) {
var j = 0;
while (j < 25) {
sets[i][j][4] = savefile.data.unlocked[i][j];
j++;
}
i++;
}
}
Instance of Symbol 168 MovieClip in Frame 4
onClipEvent (load) {
var lastK = 0;
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.edit.enabled = false;
} else {
_visible = false;
}
}
onClipEvent (keyDown) {
if (_visible) {
if ((lastK == 7) && (Key.isDown(79))) {
_root.sets[1][0][4] = true;
_root.sets[2][0][4] = true;
_root.sets[3][0][4] = true;
_root.sets[4][0][4] = true;
_root.sets[5][0][4] = true;
_root.savefile.data.unlocked[1][0] = true;
_root.savefile.data.unlocked[2][0] = true;
_root.savefile.data.unlocked[3][0] = true;
_root.savefile.data.unlocked[4][0] = true;
_root.savefile.data.unlocked[5][0] = true;
_root.savefile.data.locked = false;
_visible = false;
_root.edit.enabled = true;
play();
} else if ((lastK == 6) && (Key.isDown(71))) {
lastK++;
} else if ((lastK == 5) && (Key.isDown(78))) {
lastK++;
} else if ((lastK == 4) && (Key.isDown(73))) {
lastK++;
} else if ((lastK == 3) && (Key.isDown(77))) {
lastK++;
} else if ((lastK == 2) && (Key.isDown(65))) {
lastK++;
} else if ((lastK == 1) && (Key.isDown(76))) {
lastK++;
} else if ((lastK == 0) && (Key.isDown(70))) {
lastK++;
} else {
lastK = 0;
}
}
}
Instance of Symbol 168 MovieClip in Frame 4
onClipEvent (load) {
if (!(((_url == "http://www.glaielgames.com/games/blockslide2.swf") || (_url == "http://glaielgames.com/games/blockslide2.swf")) || (_url == "http://www.glaielgames.com/Blockslide/blockslide2.swf"))) {
_root.sl.enabled = false;
} else {
_visible = false;
}
}
Frame 5
stop();
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (load) {
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.sa.enabled = false;
} else {
_visible = false;
}
}
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (load) {
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.sb.enabled = false;
} else {
_visible = false;
}
}
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (load) {
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.sc.enabled = false;
} else {
_visible = false;
}
}
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (load) {
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.fsa.enabled = false;
} else {
_visible = false;
}
}
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (load) {
zzz._visible = false;
if (_root.savefile.data.locked == true) {
_root.fsb.enabled = false;
} else {
_visible = false;
}
}
Frame 6
stop();
Selected = 0;
tit = "";
aut = "";
link = "";
code = "";
desc = "";
Instance of Symbol 232 MovieClip "lv1" in Frame 6
onClipEvent (load) {
level = 1;
txt = "Level 1";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv2" in Frame 6
onClipEvent (load) {
level = 2;
txt = "Level 2";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv3" in Frame 6
onClipEvent (load) {
level = 3;
txt = "Level 3";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv4" in Frame 6
onClipEvent (load) {
level = 4;
txt = "Level 4";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv5" in Frame 6
onClipEvent (load) {
level = 5;
txt = "Level 5";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv6" in Frame 6
onClipEvent (load) {
level = 6;
txt = "Level 6";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv7" in Frame 6
onClipEvent (load) {
level = 7;
txt = "Level 7";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv8" in Frame 6
onClipEvent (load) {
level = 8;
txt = "Level 8";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv9" in Frame 6
onClipEvent (load) {
level = 9;
txt = "Level 9";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv10" in Frame 6
onClipEvent (load) {
level = 10;
txt = "Level 10";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv11" in Frame 6
onClipEvent (load) {
level = 11;
txt = "Level 11";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv12" in Frame 6
onClipEvent (load) {
level = 12;
txt = "Level 12";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv13" in Frame 6
onClipEvent (load) {
level = 13;
txt = "Level 13";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv14" in Frame 6
onClipEvent (load) {
level = 14;
txt = "Level 14";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv15" in Frame 6
onClipEvent (load) {
level = 15;
txt = "Level 15";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv16" in Frame 6
onClipEvent (load) {
level = 16;
txt = "Level 16";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv17" in Frame 6
onClipEvent (load) {
level = 17;
txt = "Level 17";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv18" in Frame 6
onClipEvent (load) {
level = 18;
txt = "Level 18";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv19" in Frame 6
onClipEvent (load) {
level = 19;
txt = "Level 19";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv20" in Frame 6
onClipEvent (load) {
level = 20;
txt = "Level 20";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv21" in Frame 6
onClipEvent (load) {
level = 21;
txt = "Level 21";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv22" in Frame 6
onClipEvent (load) {
level = 22;
txt = "Level 22";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv23" in Frame 6
onClipEvent (load) {
level = 23;
txt = "Level 23";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv24" in Frame 6
onClipEvent (load) {
level = 24;
txt = "Level 24";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 232 MovieClip "lv25" in Frame 6
onClipEvent (load) {
level = 25;
txt = "Level 25";
stop();
if (!_root.sets[_root.currentSet][level - 1][4]) {
lock._visible = true;
locked = true;
tit = "Locked";
desc = ("Beat Level " + (level - 1)) + " to unlock.";
aut = "locked";
link = null;
} else {
lock._visible = false;
locked = false;
tit = _root.sets[_root.currentSet][level - 1][1];
desc = _root.sets[_root.currentSet][level - 1][3];
aut = _root.sets[_root.currentSet][level - 1][2];
link = _root.sets[_root.currentSet][level - 1][5];
}
code = _root.sets[_root.currentSet][level - 1][0];
}
onClipEvent (enterFrame) {
if (_root.Selected != level) {
gotoAndStop (1);
}
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.Selected != level)) {
gotoAndStop (2);
}
if ((_root.Selected == level) && (_currentframe != 3)) {
gotoAndStop (3);
}
}
on (press) {
_root.Selected = level;
}
Instance of Symbol 234 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.Selected != 0) {
_root.tit = _root["lv" + _root.Selected].tit;
_root.desc = _root["lv" + _root.Selected].desc;
_root.aut = _root["lv" + _root.Selected].aut;
_root.link = _root["lv" + _root.Selected].link;
_root.code = _root["lv" + _root.Selected].code;
}
}
Frame 8
function getcodes(page) {
var _local3 = 0;
while (_local3 < 10) {
var _local2 = _root["bt" + (_local3 + 1)];
_local2.enabled = false;
_local2.tit = "Loading...";
_local2.aut = "";
_local2.gotoAndStop("_up");
_local3++;
}
sender.page = page;
sender.sendAndLoad("http://www.glaielgames.com/Blockslide/getcodes.php", loader, "POST");
}
function trimArray() {
while (arr[0][0] == "false") {
arr.splice(0, 1);
}
while (arr.length < 10) {
arr.push(["false", 0, 0, 0]);
}
}
stop();
sender = new LoadVars();
loader = new LoadVars();
arr = new Array();
page = 1;
pageE = 1;
previousScreen = "server";
for (i in _root) {
_root[i].removeMovieClip();
}
loader.onLoad = function (success) {
arr[0] = [loader.entry1, loader.title1, loader.name1, loader.code1];
arr[1] = [loader.entry2, loader.title2, loader.name2, loader.code2];
arr[2] = [loader.entry3, loader.title3, loader.name3, loader.code3];
arr[3] = [loader.entry4, loader.title4, loader.name4, loader.code4];
arr[4] = [loader.entry5, loader.title5, loader.name5, loader.code5];
arr[5] = [loader.entry6, loader.title6, loader.name6, loader.code6];
arr[6] = [loader.entry7, loader.title7, loader.name7, loader.code7];
arr[7] = [loader.entry8, loader.title8, loader.name8, loader.code8];
arr[8] = [loader.entry9, loader.title9, loader.name9, loader.code9];
arr[9] = [loader.entry10, loader.title10, loader.name10, loader.code10];
trimArray();
var _local3 = 0;
while (_local3 < 10) {
var _local2 = _root["bt" + (_local3 + 1)];
if (arr[_local3][0] == "true") {
_local2.tit = arr[_local3][1];
_local2.aut = arr[_local3][2];
_local2.code = arr[_local3][3];
_local2.enabled = true;
} else {
_local2.enabled = false;
_local2.tit = "";
_local2.aut = "";
_local2.gotoAndStop("_up");
}
_local3++;
}
};
getcodes(1);
Instance of Symbol 267 MovieClip "bt1" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt2" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt3" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt4" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt5" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt6" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt7" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt8" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt9" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 267 MovieClip "bt10" in Frame 8
onClipEvent (load) {
stop();
}
on (release) {
if (tit != "") {
_root.code = code;
_root.tit = tit;
_root.aut = aut;
_root.gotoAndPlay("decode2");
}
}
Instance of Symbol 283 MovieClip "bg" in Frame 13
onClipEvent (load) {
gotoAndStop (7);
}
Frame 15
function getNmbr(e) {
var _local1 = 0;
while (_local1 < key.length) {
if (key.charAt(_local1) == e) {
return(_local1);
}
_local1++;
}
error = true;
return(0);
}
ptr = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
error = false;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
Lsize = code.charAt(ptr);
grid = new Array(new Array());
tiles = new Array(new Array());
if (Lsize == "l") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "m") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "s") {
grid[0] = [0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0];
}
l = grid.length;
if ((code.length < (((l * l) * 2) + 1)) || (((Lsize != "l") && (Lsize != "m")) && (Lsize != "s"))) {
error = true;
}
ele = 0;
ptr++;
key = "0acdefhijklmnopqtuv";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "s") {
val = 99;
} else if (code.charAt(ptr) == "g") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = 17 + (Number(tt) / 100);
} else if (code.charAt(ptr) == "r") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = getNmbr(code.charAt(ptr)) * 100;
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = val + Number(code.charAt(ptr));
val = Math.round(val);
} else {
val = getNmbr(code.charAt(ptr));
}
grid[Math.floor(ele / l)][ele % l] = val;
if ((grid[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(grid[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr = ptr + 1;
}
ele = 0;
key = "acdefg";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else {
val = getNmbr(code.charAt(ptr));
}
tiles[Math.floor(ele / l)][ele % l] = val;
if ((tiles[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(tiles[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr++;
}
if (error) {
gotoAndStop ("err");
}
Frame 16
function getPos(x, y) {
r = (((((bw / bh) * y) - ((bw / bh) * Y)) + x) - X) / (bw + bw);
c = (((x - ((bw / bh) * y)) - X) + ((bw / bh) * Y)) / (bw + bw);
return(new Object({x:r, y:c}));
}
function getItem(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(-1);
}
if (((grid[Math.floor(r)][Math.floor(c)] == 4) || (grid[Math.floor(r)][Math.floor(c)] == 6)) || (grid[Math.floor(r)][Math.floor(c)] == 18)) {
return(0);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 2) {
return(42);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 4) {
return(43);
}
return(grid[Math.floor(r)][Math.floor(c)]);
}
function testDyn(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 6) {
return(true);
}
return(false);
}
function testPwr(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 18) {
return(true);
}
return(false);
}
dynamite = 0;
gloves = 0;
singleNmbr = 0;
nmbr = 0;
nmbr2 = 2000;
stop();
hidden = false;
if (!((_root.link != null) && (_root.link != ""))) {
_root.autB.enabled = false;
}
_global.X = (600 - (grid.length * 40)) / 2;
_global.Y = 200;
_global.bh = 10;
_global.bw = 20;
var icetotal = 0;
var firetotal = 0;
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
duplicateMovieClip (gridP, (("g" + j) + "_") + i, nmbr);
_root[(("g" + j) + "_") + i]._x = (X + (j * bw)) + (i * bw);
_root[(("g" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("g" + j) + "_") + i].r = j;
_root[(("g" + j) + "_") + i].c = i;
_root[(("g" + j) + "_") + i].val = 0;
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (grid.length - 1);
while (i >= 0) {
var j = 0;
while (j < grid.length) {
if (grid[j][i] != 0) {
if (grid[j][i] == 99) {
char.r = j;
char.c = i;
char.XY();
grid[j][i] = 0;
} else {
if (grid[j][i] == 4) {
}
if ((grid[j][i] == 3) || (grid[j][i] == 8)) {
singleNmbr = singleNmbr + 1;
}
duplicateMovieClip (item, (("b" + j) + "_") + i, nmbr2);
_root[(("b" + j) + "_") + i]._x = (X + (i * bw)) + (j * bw);
_root[(("b" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("b" + j) + "_") + i].r = j;
_root[(("b" + j) + "_") + i].c = i;
_root[(("b" + j) + "_") + i].val = grid[j][i];
if (grid[j][i] == 15) {
icetotal = icetotal + 0.7;
}
if (grid[j][i] == 16) {
firetotal = firetotal + 1;
}
_root[(("b" + j) + "_") + i].res = 5;
if (Math.round(grid[j][i]) != grid[j][i]) {
if (grid[j][i] > 17) {
_root[(("b" + j) + "_") + i].val = 17;
_root[(("b" + j) + "_") + i].butt = Math.round((grid[j][i] - 17) * 100);
grid[j][i] = 17;
} else {
_root[(("b" + j) + "_") + i].val = 5;
_root[(("b" + j) + "_") + i]._name = "gate" + (grid[j][i] * 100);
grid[j][i] = 5;
}
}
if (grid[j][i] >= 100) {
_root[(("b" + j) + "_") + i].res = (grid[j][i] - (Math.round(grid[j][i] / 100) * 100)) + 1;
grid[j][i] = Math.round(grid[j][i] / 100);
if ((grid[j][i] == 3) || (grid[j][i] == 8)) {
singleNmbr = singleNmbr + 1;
}
_root[(("b" + j) + "_") + i].val = grid[j][i];
}
nmbr2++;
}
}
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
if (tiles[j][i] != 0) {
if (Math.round(tiles[j][i]) != tiles[j][i]) {
_root[(("g" + j) + "_") + i].val = 3;
_root[(("g" + j) + "_") + i].tgt = Math.round(tiles[j][i] * 100);
_root[(("g" + j) + "_") + i].Btn();
}
if (tiles[j][i] == 2) {
_root[(("g" + j) + "_") + i].val = 4;
}
if (tiles[j][i] == 3) {
icetotal = icetotal + 1;
_root[(("g" + j) + "_") + i].val = 7;
}
if (tiles[j][i] == 4) {
firetotal = firetotal + 1;
_root[(("g" + j) + "_") + i].val = 5;
_root[(("g" + j) + "_") + i].amount = 5;
duplicateMovieClip (item, (("b" + j) + "_") + i, nmbr2);
_root[(("b" + j) + "_") + i]._x = (X + (i * bw)) + (j * bw);
_root[(("b" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("b" + j) + "_") + i].r = j;
_root[(("b" + j) + "_") + i].c = i;
_root[(("b" + j) + "_") + i].res = 5;
_root[(("b" + j) + "_") + i].val = 12;
nmbr2++;
}
}
j++;
}
i--;
}
var sizetotal = 0;
if (grid.length == 7) {
sizetotal = 49;
}
if (grid.length == 10) {
sizetotal = 100;
}
if (grid.length == 15) {
sizetotal = 255;
}
var iceX = 0;
var grassX = 1;
var fireX = 0;
if ((icetotal / sizetotal) > 0.75) {
iceX = 1;
grassX = 0;
}
if (((icetotal / sizetotal) <= 0.75) && ((icetotal / sizetotal) > 0.2)) {
iceX = 1;
grassX = 1;
}
if ((firetotal / sizetotal) > 0.1) {
fireX = 1;
grassX = 0;
}
if (overrid != 0) {
bg.gotoAndStop(overrid);
} else {
if (((iceX == 0) && (grassX == 0)) && (fireX == 1)) {
bg.gotoAndStop("fire");
}
if (((iceX == 0) && (grassX == 1)) && (fireX == 0)) {
bg.gotoAndStop("grass");
_root.audSwitch(1);
}
if (((iceX == 1) && (grassX == 0)) && (fireX == 0)) {
bg.gotoAndStop("ice");
}
if (((iceX == 1) && (grassX == 0)) && (fireX == 1)) {
bg.gotoAndStop("fireice");
}
if (((iceX == 1) && (grassX == 1)) && (fireX == 0)) {
bg.gotoAndStop("grassice");
}
}
Instance of Symbol 297 MovieClip in Frame 16
on (release) {
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
onClipEvent (load) {
s = false;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(16) && (!s)) {
s = true;
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
if (!Key.isDown(16)) {
s = false;
}
}
Instance of Symbol 365 MovieClip "gridP" in Frame 16
onClipEvent (load) {
function Btn() {
if (tgt != undefined) {
var _local2 = _root.getItem(r + 0.01, c + 0.01);
if (((((((_local2 == 0) || (_local2 == 5)) || (_local2 == 6)) || (_local2 == 14)) || (_local2 == 18)) && (!((Math.abs(_root["gate" + tgt].c - _root.char.c) < 0.7) && (Math.abs(_root["gate" + tgt].r - _root.char.r) < 0.7)))) && (_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] == undefined)) {
if (_root.getItem(_root["gate" + tgt].r + 0.01, _root["gate" + tgt].c + 0.01) == 0) {
_root["gate" + tgt].visi = true;
_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = 5;
}
} else if (_root.getItem(_root["gate" + tgt].r + 0.01, _root["gate" + tgt].c + 0.01) == 5) {
if (_root["gate" + tgt].visi) {
s_click.start();
}
_root["gate" + tgt].visi = false;
((_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] == undefined) ? ((_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = 0)) : 0);
}
if (_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] != undefined) {
_root["gate" + tgt].visi = false;
_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = _root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c].val;
}
}
gotoAndStop(val);
}
function dec() {
amount = amount - 1;
if (amount == 0) {
val = 6;
_root.tiles[r][c] = 0;
gotoAndStop(val);
_root[(("b" + r) + "_") + c].removeMovieClip();
}
}
s_click = new Sound(this);
s_click.attachSound("click");
s_click.setVolume(200);
gotoAndStop(val);
}
onClipEvent (enterFrame) {
Btn();
}
Instance of Symbol 2875 MovieClip "char" in Frame 16
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
function pushani() {
movable = false;
pxzt = ani.kni._currentframe;
ani.gotoAndStop(2);
ani.kni.gotoAndStop(((((_root.sel._currentframe == 1) * 2) + ((_root.sel._currentframe == 2) * 8)) + ((_root.sel._currentframe == 3) * 6)) + ((_root.sel._currentframe == 4) * 4));
}
function dynani() {
movable = false;
pxzt = ani.kni._currentframe;
ani.gotoAndStop(3);
ani.kni.gotoAndStop(pxzt);
}
speed = 0.0625;
val = 1;
gotoAndStop(val);
this.swapDepths((_y * 1000) + _x);
skim = 0.2;
skim2 = 0.2;
msel = false;
selx = 0;
sely = 0;
ani.kni.stop();
movable = true;
s_col = new Sound(this);
s_col.attachSound("collect");
}
onClipEvent (enterFrame) {
gotoAndStop(val);
msel = false;
if ((ani._currentframe == 2) && (ani.kni.zz._currentframe == 34)) {
pxzt = ani.kni._currentframe;
ani.gotoAndStop(1);
ani.kni.gotoAndStop(pxzt);
movable = true;
}
if (ani._currentframe == 3) {
ani.kni.zz.gotoAndPlay(ani.kni.zz._currentframe + 2);
if (ani.kni.zz._currentframe <= 60) {
} else {
(ani.kni.zz.gotoAndPlay(60));// not popped
}
}
if ((ani._currentframe == 3) && ((ani.kni.zz._currentframe == 60) || (ani.kni.zz._currentframe == 59))) {
pxzt = ani.kni._currentframe;
ani.gotoAndStop(1);
ani.kni.gotoAndStop(pxzt);
movable = true;
}
if (Key.isDown(83)) {
speed = 0.1;
} else {
speed = 0.0625;
}
if (movable) {
if (((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(38))) || (Key.isDown(40))) {
ani.kni.zz.play();
} else {
ani.kni.zz.gotoAndStop(1);
}
(Key.isDown(37) ? ((c = c - speed)(r = r - speed)(msel = true)) : 0);
(Key.isDown(39) ? ((c = c + speed)(r = r + speed)(msel = true)) : 0);
(Key.isDown(38) ? ((r = r - speed)(c = c + speed)(msel = true)) : 0);
(Key.isDown(40) ? ((r = r + speed)(c = c - speed)(msel = true)) : 0);
pxzt = ani.kni.zz._currentframe;
(Key.isDown(40) ? (ani.kni.gotoAndStop(1)(_root.hidden = false)) : 0);
(Key.isDown(39) ? (ani.kni.gotoAndStop(3)(_root.hidden = false)) : 0);
(Key.isDown(38) ? (ani.kni.gotoAndStop(5)(_root.hidden = false)) : 0);
(Key.isDown(37) ? (ani.kni.gotoAndStop(7)(_root.hidden = false)) : 0);
((Key.isDown(40) && (Key.isDown(39))) ? (ani.kni.gotoAndStop(2)(_root.hidden = false)) : 0);
((Key.isDown(39) && (Key.isDown(38))) ? (ani.kni.gotoAndStop(4)(_root.hidden = false)) : 0);
((Key.isDown(37) && (Key.isDown(38))) ? (ani.kni.gotoAndStop(6)(_root.hidden = false)) : 0);
((Key.isDown(37) && (Key.isDown(40))) ? (ani.kni.gotoAndStop(8)(_root.hidden = false)) : 0);
ani.kni.zz.gotoAndPlay(pxzt);
} else {
msel = true;
}
if (msel == true) {
_root.sel._visible = false;
}
var p1 = false;
var p2 = false;
var p3 = false;
var p4 = false;
if (movable) {
var side1 = ((_root.getItem(r, (c + 0.5) - skim) != 0) || (_root.getItem(r, (c + 0.5) + skim2) != 0));
if (side1) {
if (((Key.isDown(38) || (Key.isDown(37))) || (Key.isDown(38) && (Key.isDown(37)))) && ((!Key.isDown(39)) && (!Key.isDown(40)))) {
var g = _root.getItem(r, c + 0.5);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r);
_root.sel.c = Math.floor(c + 0.5);
_root.sel.XY();
}
}
r = Math.floor(r - 0.01) + 1;
}
var side2 = ((_root.getItem(r + 1, (c + 0.5) - skim) != 0) || (_root.getItem(r + 1, (c + 0.5) + skim2) != 0));
if (side2) {
if (((Key.isDown(40) || (Key.isDown(39))) || (Key.isDown(40) && (Key.isDown(39)))) && ((!Key.isDown(38)) && (!Key.isDown(37)))) {
var g = _root.getItem(r + 1, c + 0.5);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 1);
_root.sel.c = Math.floor(c + 0.5);
_root.sel.XY();
}
}
r = Math.floor(r + 0.01);
}
var side3 = ((_root.getItem((r + 0.5) - skim, c) != 0) || (_root.getItem((r + 0.5) + skim2, c) != 0));
if (side3) {
if (((Key.isDown(40) || (Key.isDown(37))) || (Key.isDown(40) && (Key.isDown(37)))) && ((!Key.isDown(39)) && (!Key.isDown(38)))) {
var g = _root.getItem(r + 0.5, c);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 0.5);
_root.sel.c = Math.floor(c);
_root.sel.XY();
}
}
c = Math.floor(c - 0.01) + 1;
}
var side4 = ((_root.getItem((r + 0.5) - skim, c + 1) != 0) || (_root.getItem((r + 0.5) + skim2, c + 1) != 0));
if (side4) {
if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(38) && (Key.isDown(39)))) && ((!Key.isDown(37)) && (!Key.isDown(40)))) {
var g = _root.getItem(r + 0.5, c + 1);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 0.5);
_root.sel.c = Math.floor(c + 1);
_root.sel.XY();
}
}
c = Math.floor(c + 0.01);
}
}
if (_root[(("b" + _root.sel.r) + "_") + _root.sel.c].moving) {
_root.sel._visible = false;
}
if (_root.testDyn(r + 0.501, c + 0.501)) {
_root[(("b" + Math.floor(r + 0.501)) + "_") + Math.floor(c + 0.501)].explode();
_root.dynamite = _root.dynamite + 1;
s_col.start();
}
if (_root.testPwr(r + 0.501, c + 0.501)) {
_root[(("b" + Math.floor(r + 0.501)) + "_") + Math.floor(c + 0.501)].explode();
_root.gloves = _root.gloves + 5;
s_col.start();
}
if ((_root.grid[Math.round(r)][Math.round(c)] == 4) && (movable)) {
movable = false;
ani.gotoAndStop(4);
_root[(("b" + Math.round(r)) + "_") + Math.round(c)]._visible = false;
}
XY();
if ((ani._currentframe == 2) && ((_y / 10) < Math.round(_y / 10))) {
this.swapDepths(((_y + 10) * 1000) + _x);
} else {
this.swapDepths((_y * 1000) + _x);
}
}
Instance of Symbol 2875 MovieClip "item" in Frame 16
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
function beginMove(cs, rs, frames) {
if (((((moving == 0) && (!(((res < 5) && (res != _root.sel.dir)) && (!ice)))) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) && (_root.grid[Math.floor((r + (rs * frames)) + 0.01)][Math.floor((c + (cs * frames)) + 0.01)] != 4)) {
if (((((_root.getItem(r + (rs * frames), c + (cs * frames)) == 0) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 42)) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 43)) && (!_root.testDyn(r + (rs * frames), c + (cs * frames)))) && (!_root.testPwr(r + (rs * frames), c + (cs * frames)))) {
if ((val == 2) || (val == 9)) {
_root.gloves--;
}
moving = 1;
cspeed = cs;
rspeed = rs;
timer = frames;
oldr = r;
oldc = c;
_root.sel._visible = false;
s_push.play();
} else {
rspeed = 0;
cspeed = 0;
timer = 0;
}
}
}
function testMove(cs, rs, frames) {
if (((((moving == 0) && (!(((res < 5) && (res != _root.sel.dir)) && (!ice)))) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) && (_root.grid[Math.floor((r + (rs * frames)) + 0.01)][Math.floor((c + (cs * frames)) + 0.01)] != 4)) {
if (((((_root.getItem(r + (rs * frames), c + (cs * frames)) == 0) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 42)) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 43)) && (!_root.testDyn(r + (rs * frames), c + (cs * frames)))) && (!_root.testPwr(r + (rs * frames), c + (cs * frames)))) {
_root.sel._visible = false;
return(true);
}
return(false);
}
return(false);
}
function dyn() {
if ((((((((val == 7) || (val == 8)) || (val == 9)) || (val == 10)) || (val == 11)) || (val == 15)) || (val == 16)) || (val == 17)) {
if (((moving == 0) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) {
boom.gotoAndPlay(2);
}
}
}
function dyn2(dpp) {
if (((moving == 0) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) {
boom.gotoAndStop(100);
boom2.gotoAndPlay(2);
(dpp ? ((_root.dynamite = _root.dynamite + 1)) : 0);
}
}
function spread() {
if (val == 10) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("b" + rT) + "_") + (cT - 1)].dyn();
_root[(("b" + rT) + "_") + (cT + 1)].dyn();
_root[(("b" + (rT + 1)) + "_") + cT].dyn();
_root[(("b" + (rT - 1)) + "_") + cT].dyn();
}
}
function explode() {
_root.grid[r][c] = 0;
removeMovieClip(this);
}
function premelt() {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
if (pvalue != 16) {
_root[(("g" + rT) + "_") + cT].dec();
}
}
function melt() {
removeMovieClip(this);
}
function sink() {
_root.tiles[r][c] = 0;
if (val == 15) {
_root.tiles[r][c] = 3;
}
if (val == 17) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].tgt = butt;
}
depths = false;
sunken = true;
}
function steam() {
_root.tiles[r][c] = 2;
_root.grid[r][c] = 0;
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].val = 4;
removeMovieClip(_root[(("b" + rT) + "_") + cT]);
removeMovieClip(_root[(("null" + rT) + "_") + cT]);
this.removeMovieClip();
}
function fsteam() {
_root.tiles[r][c] = 2;
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].val = 4;
}
gotoAndStop(val + 1);
cspeed = 0;
rspeed = 0;
moving = 0;
depths = true;
visi = true;
sunken = false;
ice = false;
this.swapDepths((_y * 1000) + _x);
}
onClipEvent (enterFrame) {
if (timer > 0) {
r = r + rspeed;
c = c + cspeed;
timer = timer - 1;
if (timer <= 0) {
var deleted = false;
moving = 0;
r = Math.round(r);
c = Math.round(c);
_root.grid[oldr][oldc] = 0;
if (val == 3) {
val = 2;
_root.singleNmbr = _root.singleNmbr - 1;
}
if (val == 8) {
val = 9;
_root.singleNmbr = _root.singleNmbr - 1;
}
gotoAndStop(val + 1);
_name = ((("b" + r) + "_") + c);
if (_root.getItem(r + 0.01, c + 0.01) == 42) {
ani.play();
ani.pp = "OMG";
if (val == 16) {
_name = ((("nullx" + r) + "_") + c);
} else {
_name = ((("null" + r) + "_") + c);
removeMovieClip(_root[(("b" + r) + "_") + c]);
deleted = true;
s_sink = new Sound(this);
s_sink.attachSound("splas");
s_sink.start(0.21);
}
}
if ((_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] == 3) && (val == 16)) {
ani.play();
_name = ((("nullx" + r) + "_") + c);
}
if (val == 11) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
if ((((_root[(("b" + rT) + "_") + (cT - 1)].val == 11) && (_root[(("b" + rT) + "_") + (cT - 1)].boom._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT - 1)].boom2._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT - 1)].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + rT) + "_") + (cT - 1)].dyn2(true);
}
if ((((_root[(("b" + rT) + "_") + (cT + 1)].val == 11) && (_root[(("b" + rT) + "_") + (cT + 1)].boom._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT + 1)].boom2._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT + 1)].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + rT) + "_") + (cT + 1)].dyn2(true);
}
if ((((_root[(("b" + (rT + 1)) + "_") + cT].val == 11) && (_root[(("b" + (rT + 1)) + "_") + cT].boom._currentframe == 1)) && (_root[(("b" + (rT + 1)) + "_") + cT].boom2._currentframe == 1)) && (_root[(("b" + (rT + 1)) + "_") + cT].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + (rT + 1)) + "_") + cT].dyn2(true);
}
if ((((_root[(("b" + (rT - 1)) + "_") + cT].val == 11) && (_root[(("b" + (rT - 1)) + "_") + cT].boom._currentframe == 1)) && (_root[(("b" + (rT - 1)) + "_") + cT].boom2._currentframe == 1)) && (_root[(("b" + (rT - 1)) + "_") + cT].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + (rT - 1)) + "_") + cT].dyn2(true);
}
if ((_root[(("null" + rT) + "_") + cT].val == 11) && (_root[(("null" + rT) + "_") + cT] != this)) {
dyn2(false);
_root[(("null" + rT) + "_") + cT].removeMovieClip();
_root.dynamite = _root.dynamite + 1;
_root.tiles[rT][cT] = 2;
}
}
if ((_root.getItem(r + 0.01, c + 0.01) == 43) && (boom2._currentframe == 1)) {
burn.play();
_name = ((("null" + r) + "_") + c);
deleted = true;
}
((!deleted) ? ((_root.grid[r][c] = val)) : 0);
if ((!deleted) && (((val == 15) && (_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] != 3)) || ((val != 15) && (_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] == 3)))) {
if (val != 16) {
ice = true;
beginMove(cspeed, rspeed, 1 / _root.sel.spd);
ice = false;
if ((moving == 1) && ((val == 2) || (val == 9))) {
_root.gloves++;
}
}
} else {
cspeed = 0;
rspeed = 0;
}
}
}
XY();
if (((_root.singleNmbr <= 0) && (val == 14)) && (this._visible == true)) {
visi = false;
}
if (((((_root.hidden && (val != 4)) && (val != 6)) && (val != 13)) && (val != 19)) && (!sunken)) {
gotoAndStop (25);
} else {
gotoAndStop(val + 1);
}
if ((depths && (val != 13)) && (val != 12)) {
this.swapDepths((_y * 1000) + _x);
} else if ((((((val == 1) || (val == 2)) || (val == 3)) || (val == 9)) || (val == 12)) || (val == 13)) {
this.swapDepths(((_y - 9.95) * 1000) + _x);
} else {
this.swapDepths(_root[(("g" + Math.round(r)) + "_") + Math.round(c)].getDepth() + 1);
}
if ((visi == false) && (_visible == true)) {
_alpha = (_alpha - 25);
((_alpha <= 0) ? (_visible = falsefalse) : 0);
if ((!_visible) && (val == 14)) {
_root.grid[r][c] = 0;
_name = ((("null" + r) + "_") + c);
}
}
if ((visi == true) && (_alpha < 100)) {
_alpha = (_alpha + 25);
((_alpha > 0) ? (_visible = truetrue) : 0);
}
}
Instance of Symbol 2592 MovieClip "sel" in Frame 16
onClipEvent (load) {
function XY() {
r2 = Math.round(_root.char.r);
c2 = Math.round(_root.char.c);
if ((r2 < r) && (c2 == c)) {
dir = 1;
}
if ((r2 > r) && (c2 == c)) {
dir = 3;
}
if ((r2 == r) && (c2 < c)) {
dir = 4;
}
if ((r2 == r) && (c2 > c)) {
dir = 2;
}
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
this.swapDepths(500000);
_y = (_y - 10);
gotoAndStop(dir);
g = _root.getItem(r, c);
if (!(((((((((((g == 1) || (g == 2)) || (g == 3)) || (g == 7)) || (g == 8)) || (g == 9)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17))) {
_visible = false;
}
}
_visible = false;
r = 0;
c = 0;
dir = 1;
spd = 0.25;
time = -1;
time2 = -1;
}
onClipEvent (enterFrame) {
XY();
if (Key.isDown(68)) {
if (_visible == true) {
var g = _root.getItem(r, c);
if ((((((((((g == 1) || (g == 3)) || (g == 7)) || (g == 8)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17)) || ((_root.gloves > 0) && ((g == 2) || (g == 9)))) {
if (_root[(("b" + r) + "_") + c].testMove((((dir == 2) * -1) * spd) + ((dir == 4) * spd), ((dir == 1) * spd) + (((dir == 3) * -1) * spd), 1 / spd)) {
_root.char.pushani();
time = 13;
d2 = dir;
}
}
}
}
time--;
time2--;
if (time == 0) {
_root[(("b" + r) + "_") + c].beginMove((((d2 == 2) * -1) * spd) + ((d2 == 4) * spd), ((d2 == 1) * spd) + (((d2 == 3) * -1) * spd), 1 / spd);
}
if (time2 == 0) {
_root[(("b" + r) + "_") + c].dyn();
_root.dynamite--;
}
if (Key.isDown(65)) {
if (_visible == true) {
var g = _root.getItem(r, c);
if (((((((((g == 7) || (g == 8)) || (g == 9)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17)) && (_root.dynamite > 0)) {
if ((_root[(("b" + r) + "_") + c].moving == 0) && (_root[(("b" + r) + "_") + c].boom._currentframe == 1)) {
_root.char.dynani();
time2 = 15;
}
}
}
}
}
Instance of Symbol 2889 MovieClip "menubox" in Frame 16
onClipEvent (load) {
swapDepths(999999);
sb = false;
}
Instance of Symbol 2895 MovieClip "popupd" in Frame 16
onClipEvent (load) {
if (((_root.previousScreen == "server") || (_root.previousScreen == "custom")) || (_root.desc == "")) {
_visible = false;
}
swapDepths(999998);
}
onClipEvent (enterFrame) {
if (((Key.isDown(38) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) {
_visible = false;
}
}
onClipEvent (keyDown) {
_visible = false;
}
Instance of Symbol 2916 MovieClip "help" in Frame 16
onClipEvent (load) {
_visible = false;
swapDepths(999997);
stop();
}
onClipEvent (enterFrame) {
_visible = false;
_x = _root._xmouse;
_y = _root._ymouse;
var nn = _root.grid[Math.floor(_root.getPos(_x, _y).x)][Math.floor(_root.getPos(_x, _y).y)];
if (nn == undefined) {
nn = -1;
}
if (_root.tiles[Math.floor(_root.getPos(_x, _y).x)][Math.floor(_root.getPos(_x, _y).y)] == 2) {
nn = 42;
}
if (_root.tiles[Math.floor(_root.getPos(_x, _y).x)][Math.floor(_root.getPos(_x, _y).y)] == 4) {
nn = 43;
}
if ((nn != 0) && (nn != -1)) {
_visible = true;
gotoAndStop(nn + 1);
}
if (nn == 42) {
gotoAndStop ("water");
}
if (nn == 43) {
gotoAndStop ("fire");
}
}
Frame 24
stop();
code = undefined;
Frame 25
grid = new Array(new Array());
tiles = new Array(new Array());
if (Lsize == "l") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "m") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "s") {
grid[0] = [0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0];
}
Frame 27
for (i in _root) {
_root[i].removeMovieClip();
}
if (code != undefined) {
ptr = 0;
Lsize = code.charAt(ptr);
grid = new Array(new Array());
tiles = new Array(new Array());
if (Lsize == "l") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "m") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "s") {
grid[0] = [0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0];
}
l = grid.length;
ele = 0;
ptr++;
key = "0acdefhijklmnopqtuv";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "s") {
val = 99;
} else if (code.charAt(ptr) == "g") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = 17 + (Number(tt) / 100);
} else if (code.charAt(ptr) == "r") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = getNmbr(code.charAt(ptr)) * 100;
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = val + Number(code.charAt(ptr));
val = Math.round(val);
} else {
val = getNmbr(code.charAt(ptr));
}
grid[Math.floor(ele / l)][ele % l] = val;
if ((grid[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(grid[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr = ptr + 1;
}
ele = 0;
key = "acdefg";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else {
val = getNmbr(code.charAt(ptr));
}
tiles[Math.floor(ele / l)][ele % l] = val;
if ((tiles[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(tiles[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr++;
}
}
Frame 28
function getPos(x, y) {
var _local2 = (((((bw / bh) * y) - ((bw / bh) * Y)) + x) - X) / (bw + bw);
var _local1 = (((x - ((bw / bh) * y)) - X) + ((bw / bh) * Y)) / (bw + bw);
return(new Object({x:_local2, y:_local1}));
}
function getItem(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(-1);
}
if (((grid[Math.floor(r)][Math.floor(c)] == 4) || (grid[Math.floor(r)][Math.floor(c)] == 6)) || (grid[Math.floor(r)][Math.floor(c)] == 18)) {
return(0);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 2) {
return(42);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 4) {
return(43);
}
return(grid[Math.floor(r)][Math.floor(c)]);
}
function testDyn(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 6) {
return(true);
}
return(false);
}
function testPwr(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 18) {
return(true);
}
return(false);
}
dynamite = 0;
gloves = 0;
singleNmbr = 0;
nmbr = 0;
nmbr2 = 2000;
hidden = false;
stop();
_global.X = (600 - (grid.length * 40)) / 2;
_global.Y = 200;
_global.bh = 10;
_global.bw = 20;
gates = new Array();
i = 1;
while (i < 100) {
gates[i] = 0;
i++;
}
sel.btns = new Array();
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
duplicateMovieClip (gridP, (("g" + j) + "_") + i, nmbr);
_root[(("g" + j) + "_") + i]._x = (X + (j * bw)) + (i * bw);
_root[(("g" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("g" + j) + "_") + i].r = j;
_root[(("g" + j) + "_") + i].c = i;
_root[(("g" + j) + "_") + i].val = 0;
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (grid.length - 1);
while (i >= 0) {
var j = 0;
while (j < grid.length) {
if (grid[j][i] != 0) {
if ((grid[j][i] == 3) || (grid[j][i] == 8)) {
singleNmbr = singleNmbr + 1;
}
duplicateMovieClip (item, (("b" + j) + "_") + i, nmbr2);
_root[(("b" + j) + "_") + i]._x = (X + (i * bw)) + (j * bw);
_root[(("b" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("b" + j) + "_") + i].r = j;
_root[(("b" + j) + "_") + i].c = i;
_root[(("b" + j) + "_") + i].val = grid[j][i];
_root[(("b" + j) + "_") + i].res = 5;
if (grid[j][i] == 4) {
sel.end = _root[(("b" + j) + "_") + i];
sel.endR = j;
sel.endC = i;
}
if (grid[j][i] == 99) {
_root[(("b" + j) + "_") + i].val = 0;
sel.sta = _root[(("b" + j) + "_") + i];
sel.staR = j;
sel.staC = i;
}
if (Math.round(grid[j][i]) != grid[j][i]) {
if (grid[j][i] > 17) {
_root[(("b" + j) + "_") + i].val = 17;
_root[(("b" + j) + "_") + i].butt = Math.round((grid[j][i] - 17) * 100);
sel.btns[_root[(("b" + j) + "_") + i].butt] = true;
} else {
_root[(("b" + j) + "_") + i].val = 5;
gates[Math.round(grid[j][i] * 100)] = _root[(("b" + j) + "_") + i];
}
}
if (grid[j][i] >= 100) {
_root[(("b" + j) + "_") + i].res = (grid[j][i] - (Math.round(grid[j][i] / 100) * 100)) + 1;
_root[(("b" + j) + "_") + i].val = Math.round(grid[j][i] / 100);
}
nmbr2++;
}
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
if (tiles[j][i] != 0) {
if (Math.round(tiles[j][i]) != tiles[j][i]) {
_root[(("g" + j) + "_") + i].val = 3;
_root[(("g" + j) + "_") + i].tgt = Math.round(tiles[j][i] * 100);
sel.btns[_root[(("g" + j) + "_") + i].tgt] = true;
_root[(("g" + j) + "_") + i].Btn();
}
if (tiles[j][i] == 2) {
_root[(("g" + j) + "_") + i].val = 4;
}
if (tiles[j][i] == 3) {
_root[(("g" + j) + "_") + i].val = 7;
}
if (tiles[j][i] == 4) {
_root[(("g" + j) + "_") + i].val = 5;
_root[(("g" + j) + "_") + i].amount = 5;
}
}
j++;
}
i--;
}
Instance of Symbol 2955 MovieClip in Frame 28
onClipEvent (load) {
sb = false;
stop();
}
onClipEvent (enterFrame) {
if (((sb == false) && (Key.isDown(32))) && (_root.sel.tgt == 100)) {
_root.men.play();
sb = true;
}
if (!Key.isDown(32)) {
sb = false;
}
}
on (release) {
if (_root.sel.tgt == 100) {
_root.men.play();
}
}
Instance of Symbol 297 MovieClip in Frame 28
on (release) {
if (_root.sel.tgt == 100) {
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
}
onClipEvent (load) {
s = false;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(16) && (!s)) {
s = true;
if (_root.sel.tgt == 100) {
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
}
if (!Key.isDown(16)) {
s = false;
}
}
Instance of Symbol 365 MovieClip "gridP" in Frame 28
onClipEvent (load) {
function Btn() {
gotoAndStop(val);
if ((tgt2 == undefined) && (val == 3)) {
tgt2 = _root.gates[tgt];
tgt2.tgt2 = this;
tgt2.tgt = this;
}
}
function die() {
_root.tiles[r][c] = 0;
tgt2.die2();
val = 1;
_root.sel.btns[tgt] = false;
tgt = undefined;
}
gotoAndStop(val);
Btn();
}
onClipEvent (enterFrame) {
Btn();
}
Instance of Symbol 2875 MovieClip "item" in Frame 28
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
function die() {
if (val == 0) {
_root.sel.sta = 0;
}
if (val == 4) {
_root.sel.end = 0;
}
_root.grid[r][c] = 0;
if (tgt != undefined) {
tgt.die();
}
if (tgt2 != undefined) {
tgt2.die2();
_root.sel.btns[tgt] = false;
}
removeMovieClip(this);
}
function die2() {
_root.grid[r][c] = 0;
removeMovieClip(this);
}
gotoAndStop(val + 1);
cspeed = 0;
rspeed = 0;
moving = 0;
depths = true;
this.swapDepths((_y * 1000) + _x);
}
onClipEvent (enterFrame) {
XY();
if ((tgt2 == undefined) && (val == 17)) {
tgt2 = _root.gates[butt];
tgt2.tgt2 = this;
tgt2.tgt = this;
}
if (_root.hidden) {
gotoAndStop (25);
} else {
gotoAndStop(val + 1);
}
if (depths && (val != 13)) {
this.swapDepths((_y * 1000) + _x);
} else {
this.swapDepths(((_y - 9.5) * 1000) + _x);
}
}
Instance of Symbol 365 MovieClip "gridI" in Frame 28
onClipEvent (load) {
function Btn() {
gotoAndStop(val);
}
gotoAndStop(val);
this.swapDepths(_root.nmbr + 5);
Btn();
}
onClipEvent (enterFrame) {
Btn();
XY();
if (_root.sel.typ == "t") {
gotoAndStop(_root.sel.itemID);
_x = _root.sel._x;
_y = _root.sel._y;
} else {
_x = 5000;
}
}
Instance of Symbol 2875 MovieClip "itemI" in Frame 28
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
gotoAndStop(val + 1);
cspeed = 0;
rspeed = 0;
moving = 0;
depths = true;
res = 5;
this.swapDepths((_y * 1000) + _x);
}
onClipEvent (enterFrame) {
XY();
if (_root.sel.typ == "b") {
res = _root.sel.res;
gotoAndStop(_root.sel.itemID);
_x = _root.sel._x;
_y = _root.sel._y;
} else {
_x = 5000;
}
this.swapDepths(((_y + 1) * 1000) + _x);
}
Instance of Symbol 2957 MovieClip "sel" in Frame 28
onClipEvent (load) {
itemID = 1;
typ = "b";
md = false;
i = 1;
while (i < 100) {
if (btns[i] == undefined) {
btns[i] = false;
}
i++;
}
res = 5;
if (sta == undefined) {
sta = 0;
staR = 0;
staC = 0;
end = 0;
endR = 0;
endC = 0;
}
tgt = 100;
}
onClipEvent (enterFrame) {
p = new Object();
p = _root.getPos(_root._xmouse, _root._ymouse);
r = Math.floor(p.x);
c = Math.floor(p.y);
if (_root.grid[r][c] == undefined) {
r = 500;
c = 500;
}
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
this.swapDepths(((_y - 1) * 1000) + _x);
r = Math.floor(r + 0.01);
c = Math.floor(c + 0.01);
if ((typ == "b") && (itemID != 26)) {
_root.hidden = false;
}
if (md == true) {
if ((typ == "t") && (r <= 25)) {
if (_root[(("g" + r) + "_") + c].val == 3) {
_root[(("g" + r) + "_") + c].tgt2.die();
}
if (itemID == 4) {
_root.tiles[r][c] = 2;
_root[(("b" + r) + "_") + c].die();
}
if (itemID == 1) {
_root.tiles[r][c] = 0;
}
if (itemID == 5) {
_root.tiles[r][c] = 4;
_root[(("b" + r) + "_") + c].die();
}
if (itemID == 7) {
_root.tiles[r][c] = 3;
}
_root[(("g" + r) + "_") + c].val = itemID;
if (itemID == 3) {
if ((_root[(("b" + r) + "_") + c].val == 4) && (_root[(("b" + r) + "_") + c].val != undefined)) {
_root[(("b" + r) + "_") + c].die();
}
}
if (itemID == 3) {
tgt = 100;
var i = 1;
while (i < 100) {
if (btns[i] == false) {
tgt = i;
i = 200;
}
i++;
}
if (tgt != 100) {
btns[tgt] = true;
_root.tiles[r][c] = tgt / 100;
_root[(("g" + r) + "_") + c].tgt = tgt;
md = false;
itemID = 6;
typ = "b";
tgt2 = _root[(("g" + r) + "_") + c];
} else {
_root[(("g" + r) + "_") + c].val = 1;
_root.tiles[r][c] = 0;
}
}
}
if ((((((typ == "b") && ((_root.tiles[r][c] < 1) || (_root.tiles[r][c] == 3))) && (r <= 25)) && (md)) && ((_root[(("g" + r) + "_") + c].tgt != tgt) || (_root[(("g" + r) + "_") + c].tgt == undefined))) && ((_root[(("b" + r) + "_") + c].tgt != tgt) || (_root[(("b" + r) + "_") + c].tgt == undefined))) {
if (itemID == 1) {
if (sta != 0) {
sta.die();
_root.grid[staR][staC] = 0;
}
}
if (itemID == 5) {
if (end != 0) {
end.die();
_root.grid[endR][endC] = 0;
}
}
if ((_root[(("b" + r) + "_") + c] == sta) && (itemID != 1)) {
sta = 0;
}
if ((_root[(("b" + r) + "_") + c] == end) && (itemID != 5)) {
end = 0;
}
_root[(("b" + r) + "_") + c].die();
if (itemID != 26) {
duplicateMovieClip (_root.item, (("b" + r) + "_") + c, _root.nmbr2);
_root[(("b" + r) + "_") + c]._x = (X + (c * bw)) + (r * bw);
_root[(("b" + r) + "_") + c]._y = (Y + (r * bh)) - (c * bh);
_root[(("b" + r) + "_") + c].r = r;
_root[(("b" + r) + "_") + c].c = c;
_root[(("b" + r) + "_") + c].val = Math.round(itemID - 1);
_root.grid[r][c] = Math.round(itemID - 1);
} else {
_root.grid[r][c] = 0;
}
if (res != 5) {
_root.grid[r][c] = (((itemID - 1) * 100) + res) - 1;
}
_root[(("b" + r) + "_") + c].res = res;
_root.nmbr2++;
if (itemID == 1) {
if ((sta != 0) && (sta != _root[(("b" + r) + "_") + c])) {
sta.die();
_root.grid[staR][staC] = 0;
}
sta = _root[(("b" + r) + "_") + c];
staR = r;
staC = c;
_root.grid[r][c] = 99;
}
if (itemID == 5) {
if ((end != 0) && (end != _root[(("b" + r) + "_") + c])) {
end.die();
_root.grid[endR][endC] = 0;
}
end = _root[(("b" + r) + "_") + c];
endR = r;
endC = c;
_root.grid[r][c] = 4;
if (_root[(("g" + r) + "_") + c].val == 3) {
_root[(("g" + r) + "_") + c].die();
}
}
if (itemID == 6) {
_root.grid[r][c] = tgt / 100;
_root[(("b" + r) + "_") + c].tgt = tgt2;
tgt2.tgt2 = _root[(("b" + r) + "_") + c];
tgt = 100;
md = false;
if (tgt2.res == undefined) {
itemID = 3;
typ = "t";
} else {
itemID = 18;
typ = "b";
}
} else if (itemID == 18) {
tgt = 100;
var i = 1;
while (i < 100) {
if (btns[i] == false) {
tgt = i;
i = 200;
}
i++;
}
if (tgt != 100) {
btns[tgt] = true;
_root.grid[r][c] = (tgt / 100) + 17;
_root[(("b" + r) + "_") + c].tgt = tgt;
md = false;
itemID = 6;
typ = "b";
tgt2 = _root[(("b" + r) + "_") + c];
} else {
_root[(("b" + r) + "_") + c].die = 1;
_root.grid[r][c] = 0;
}
}
}
}
}
onClipEvent (mouseDown) {
if (_root.men._currentframe == 1) {
md = true;
}
}
onClipEvent (mouseUp) {
md = false;
}
Instance of Symbol 2959 MovieClip "men" in Frame 28
onClipEvent (load) {
swapDepths(999999);
sb = false;
}
Instance of Symbol 2961 MovieClip "err1" in Frame 28
onClipEvent (load) {
swapDepths(999998);
}
Instance of Symbol 2963 MovieClip "err2" in Frame 28
onClipEvent (load) {
swapDepths(999997);
}
Frame 29
for (i in _root) {
_root[i].removeMovieClip();
}
Frame 30
code = "";
if (grid.length == 7) {
code = code + "s";
}
if (grid.length == 10) {
code = code + "m";
}
if (grid.length == 15) {
code = code + "l";
}
l = grid.length;
ptr = 0;
key = "0acdefhijklmnopqtuv";
while (ptr < (l * l)) {
gg = grid[Math.floor(ptr / l)][ptr % l];
gg2 = key.charAt(gg);
if (gg == 99) {
gg2 = "s";
}
if ((gg < 1) && (Math.round(gg) != gg)) {
gg2 = "g";
if ((gg * 100) < 10) {
gg2 = gg2 + 0;
}
gg2 = gg2 + (gg * 100);
}
if ((gg > 17) && (Math.round(gg) != gg)) {
gg2 = "b";
if (((gg - 17) * 100) < 10) {
gg2 = gg2 + 0;
}
gg2 = gg2 + Math.round((gg - 17) * 100);
}
if (gg >= 100) {
gg2 = "r";
gg2 = gg2 + key.charAt(Math.round(gg / 100));
gg2 = gg2 + Math.round(gg - (Math.round(gg / 100) * 100));
}
code = code + gg2;
ptr++;
}
ptr = 0;
key = "acdefg";
while (ptr < (l * l)) {
gg = tiles[Math.floor(ptr / l)][ptr % l];
gg2 = key.charAt(gg);
if ((gg < 1) && (Math.round(gg) != gg)) {
gg2 = "b";
if ((gg * 100) < 10) {
gg2 = gg2 + 0;
}
gg2 = gg2 + (gg * 100);
}
code = code + gg2;
ptr++;
}
Instance of Symbol 283 MovieClip "bg" in Frame 31
onClipEvent (load) {
gotoAndStop (6);
}
Frame 33
function getNmbr(e) {
var _local1 = 0;
while (_local1 < key.length) {
if (key.charAt(_local1) == e) {
return(_local1);
}
_local1++;
}
error = true;
return(0);
}
ptr = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
error = false;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
Lsize = code.charAt(ptr);
grid = new Array(new Array());
tiles = new Array(new Array());
if (Lsize == "l") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[11] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "m") {
grid[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
grid[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
tiles[9] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (Lsize == "s") {
grid[0] = [0, 0, 0, 0, 0, 0, 0];
grid[1] = [0, 0, 0, 0, 0, 0, 0];
grid[2] = [0, 0, 0, 0, 0, 0, 0];
grid[3] = [0, 0, 0, 0, 0, 0, 0];
grid[4] = [0, 0, 0, 0, 0, 0, 0];
grid[5] = [0, 0, 0, 0, 0, 0, 0];
grid[6] = [0, 0, 0, 0, 0, 0, 0];
tiles[0] = [0, 0, 0, 0, 0, 0, 0];
tiles[1] = [0, 0, 0, 0, 0, 0, 0];
tiles[2] = [0, 0, 0, 0, 0, 0, 0];
tiles[3] = [0, 0, 0, 0, 0, 0, 0];
tiles[4] = [0, 0, 0, 0, 0, 0, 0];
tiles[5] = [0, 0, 0, 0, 0, 0, 0];
tiles[6] = [0, 0, 0, 0, 0, 0, 0];
}
l = grid.length;
if ((code.length < (((l * l) * 2) + 1)) || (((Lsize != "l") && (Lsize != "m")) && (Lsize != "s"))) {
error = true;
}
ele = 0;
ptr++;
key = "0acdefhijklmnopqtuv";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "s") {
val = 99;
} else if (code.charAt(ptr) == "g") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = 17 + (Number(tt) / 100);
} else if (code.charAt(ptr) == "r") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = getNmbr(code.charAt(ptr)) * 100;
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
val = val + Number(code.charAt(ptr));
val = Math.round(val);
} else {
val = getNmbr(code.charAt(ptr));
}
grid[Math.floor(ele / l)][ele % l] = val;
if ((grid[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(grid[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr = ptr + 1;
}
ele = 0;
key = "acdefg";
while (ele < (l * l)) {
var val = 0;
var inc = 1;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
if (code.charAt(ptr) == "b") {
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
var tt = code.charAt(ptr);
ptr++;
while ((code.charAt(ptr) == " ") || (code.charAt(ptr) == "\r")) {
ptr++;
}
tt = tt + code.charAt(ptr);
val = Number(tt) / 100;
} else {
val = getNmbr(code.charAt(ptr));
}
tiles[Math.floor(ele / l)][ele % l] = val;
if ((tiles[Math.floor(ele / l)][ele % l] == undefined) || (isNaN(tiles[Math.floor(ele / l)][ele % l]))) {
error = true;
}
ele++;
ptr++;
}
if (error) {
gotoAndStop ("err");
}
Frame 34
function getPos(x, y) {
r = (((((bw / bh) * y) - ((bw / bh) * Y)) + x) - X) / (bw + bw);
c = (((x - ((bw / bh) * y)) - X) + ((bw / bh) * Y)) / (bw + bw);
return(new Object({x:r, y:c}));
}
function getItem(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(-1);
}
if (((grid[Math.floor(r)][Math.floor(c)] == 4) || (grid[Math.floor(r)][Math.floor(c)] == 6)) || (grid[Math.floor(r)][Math.floor(c)] == 18)) {
return(0);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 2) {
return(42);
}
if (tiles[Math.floor(r)][Math.floor(c)] == 4) {
return(43);
}
return(grid[Math.floor(r)][Math.floor(c)]);
}
function testDyn(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 6) {
return(true);
}
return(false);
}
function testPwr(r, c) {
if (grid[Math.floor(r)][Math.floor(c)] == undefined) {
return(false);
}
if (grid[Math.floor(r)][Math.floor(c)] == 18) {
return(true);
}
return(false);
}
dynamite = 0;
gloves = 0;
singleNmbr = 0;
nmbr = 0;
nmbr2 = 2000;
stop();
hidden = false;
tit = "Testing...";
_global.X = (600 - (grid.length * 40)) / 2;
_global.Y = 200;
_global.bh = 10;
_global.bw = 20;
var icetotal = 0;
var firetotal = 0;
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
duplicateMovieClip (gridP, (("g" + j) + "_") + i, nmbr);
_root[(("g" + j) + "_") + i]._x = (X + (j * bw)) + (i * bw);
_root[(("g" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("g" + j) + "_") + i].r = j;
_root[(("g" + j) + "_") + i].c = i;
_root[(("g" + j) + "_") + i].val = 0;
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (grid.length - 1);
while (i >= 0) {
var j = 0;
while (j < grid.length) {
if (grid[j][i] != 0) {
if (grid[j][i] == 99) {
char.r = j;
char.c = i;
char.XY();
grid[j][i] = 0;
} else {
if (grid[j][i] == 4) {
}
if ((grid[j][i] == 3) || (grid[j][i] == 8)) {
singleNmbr = singleNmbr + 1;
}
duplicateMovieClip (item, (("b" + j) + "_") + i, nmbr2);
_root[(("b" + j) + "_") + i]._x = (X + (i * bw)) + (j * bw);
_root[(("b" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("b" + j) + "_") + i].r = j;
_root[(("b" + j) + "_") + i].c = i;
_root[(("b" + j) + "_") + i].val = grid[j][i];
if (grid[j][i] == 15) {
icetotal = icetotal + 0.7;
}
if (grid[j][i] == 16) {
firetotal = firetotal + 1;
}
_root[(("b" + j) + "_") + i].res = 5;
if (Math.round(grid[j][i]) != grid[j][i]) {
if (grid[j][i] > 17) {
_root[(("b" + j) + "_") + i].val = 17;
_root[(("b" + j) + "_") + i].butt = Math.round((grid[j][i] - 17) * 100);
grid[j][i] = 17;
} else {
_root[(("b" + j) + "_") + i].val = 5;
_root[(("b" + j) + "_") + i]._name = "gate" + (grid[j][i] * 100);
grid[j][i] = 5;
}
}
if (grid[j][i] >= 100) {
_root[(("b" + j) + "_") + i].res = (grid[j][i] - (Math.round(grid[j][i] / 100) * 100)) + 1;
grid[j][i] = Math.round(grid[j][i] / 100);
if ((grid[j][i] == 3) || (grid[j][i] == 8)) {
singleNmbr = singleNmbr + 1;
}
_root[(("b" + j) + "_") + i].val = grid[j][i];
}
nmbr2++;
}
}
nmbr = nmbr + 3;
j++;
}
i--;
}
var i = (tiles.length - 1);
while (i >= 0) {
var j = 0;
while (j < tiles.length) {
if (tiles[j][i] != 0) {
if (Math.round(tiles[j][i]) != tiles[j][i]) {
_root[(("g" + j) + "_") + i].val = 3;
_root[(("g" + j) + "_") + i].tgt = Math.round(tiles[j][i] * 100);
_root[(("g" + j) + "_") + i].Btn();
}
if (tiles[j][i] == 2) {
_root[(("g" + j) + "_") + i].val = 4;
}
if (tiles[j][i] == 3) {
icetotal = icetotal + 1;
_root[(("g" + j) + "_") + i].val = 7;
}
if (tiles[j][i] == 4) {
firetotal = firetotal + 1;
_root[(("g" + j) + "_") + i].val = 5;
_root[(("g" + j) + "_") + i].amount = 5;
duplicateMovieClip (item, (("b" + j) + "_") + i, nmbr2);
_root[(("b" + j) + "_") + i]._x = (X + (i * bw)) + (j * bw);
_root[(("b" + j) + "_") + i]._y = (Y + (j * bh)) - (i * bh);
_root[(("b" + j) + "_") + i].r = j;
_root[(("b" + j) + "_") + i].c = i;
_root[(("b" + j) + "_") + i].res = 5;
_root[(("b" + j) + "_") + i].val = 12;
nmbr2++;
}
}
j++;
}
i--;
}
var sizetotal = 0;
if (grid.length == 7) {
sizetotal = 49;
}
if (grid.length == 10) {
sizetotal = 100;
}
if (grid.length == 15) {
sizetotal = 255;
}
var iceX = 0;
var grassX = 1;
var fireX = 0;
if ((icetotal / sizetotal) > 0.75) {
iceX = 1;
grassX = 0;
}
if (((icetotal / sizetotal) <= 0.75) && ((icetotal / sizetotal) > 0.2)) {
iceX = 1;
grassX = 1;
}
if ((firetotal / sizetotal) > 0.1) {
fireX = 1;
grassX = 0;
}
if (((iceX == 0) && (grassX == 0)) && (fireX == 1)) {
bg.gotoAndStop("fire");
}
if (((iceX == 0) && (grassX == 1)) && (fireX == 0)) {
bg.gotoAndStop("grass");
_root.audSwitch(1);
}
if (((iceX == 1) && (grassX == 0)) && (fireX == 0)) {
bg.gotoAndStop("ice");
}
if (((iceX == 1) && (grassX == 0)) && (fireX == 1)) {
bg.gotoAndStop("fireice");
}
if (((iceX == 1) && (grassX == 1)) && (fireX == 0)) {
bg.gotoAndStop("grassice");
}
Instance of Symbol 297 MovieClip in Frame 34
on (release) {
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
onClipEvent (load) {
s = false;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(16) && (!s)) {
s = true;
if (((_root.hidden == false) && (_root.sel.typ == "b")) && (_root.sel.itemID != 26)) {
_root.sel.typ = "t";
_root.sel.itemID = 1;
}
_root.hidden = !_root.hidden;
}
if (!Key.isDown(16)) {
s = false;
}
}
Instance of Symbol 365 MovieClip "gridP" in Frame 34
onClipEvent (load) {
function Btn() {
if (tgt != undefined) {
var _local2 = _root.getItem(r + 0.01, c + 0.01);
if (((((((_local2 == 0) || (_local2 == 5)) || (_local2 == 6)) || (_local2 == 14)) || (_local2 == 18)) && (!((Math.abs(_root["gate" + tgt].c - _root.char.c) < 0.7) && (Math.abs(_root["gate" + tgt].r - _root.char.r) < 0.7)))) && (_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] == undefined)) {
if (_root.getItem(_root["gate" + tgt].r + 0.01, _root["gate" + tgt].c + 0.01) == 0) {
_root["gate" + tgt].visi = true;
_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = 5;
}
} else if (_root.getItem(_root["gate" + tgt].r + 0.01, _root["gate" + tgt].c + 0.01) == 5) {
if (_root["gate" + tgt].visi) {
s_click.start();
}
_root["gate" + tgt].visi = false;
((_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] == undefined) ? ((_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = 0)) : 0);
}
if (_root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c] != undefined) {
_root["gate" + tgt].visi = false;
_root.grid[_root["gate" + tgt].r][_root["gate" + tgt].c] = _root[(("b" + _root["gate" + tgt].r) + "_") + _root["gate" + tgt].c].val;
}
}
gotoAndStop(val);
}
function dec() {
amount = amount - 1;
if (amount == 0) {
val = 6;
_root.tiles[r][c] = 0;
gotoAndStop(val);
_root[(("b" + r) + "_") + c].removeMovieClip();
}
}
s_click = new Sound(this);
s_click.attachSound("click");
s_click.setVolume(200);
gotoAndStop(val);
}
onClipEvent (enterFrame) {
Btn();
}
Instance of Symbol 2875 MovieClip "char" in Frame 34
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
function pushani() {
movable = false;
pxzt = ani.kni._currentframe;
ani.gotoAndStop(2);
ani.kni.gotoAndStop(((((_root.sel._currentframe == 1) * 2) + ((_root.sel._currentframe == 2) * 8)) + ((_root.sel._currentframe == 3) * 6)) + ((_root.sel._currentframe == 4) * 4));
}
function dynani() {
movable = false;
pxzt = ani.kni._currentframe;
ani.gotoAndStop(3);
ani.kni.gotoAndStop(pxzt);
}
speed = 0.0625;
val = 1;
gotoAndStop(val);
this.swapDepths((_y * 1000) + _x);
skim = 0.2;
skim2 = 0.2;
msel = false;
selx = 0;
sely = 0;
ani.kni.stop();
movable = true;
s_col = new Sound(this);
s_col.attachSound("collect");
}
onClipEvent (enterFrame) {
gotoAndStop(val);
msel = false;
if ((ani._currentframe == 2) && (ani.kni.zz._currentframe == 34)) {
pxzt = ani.kni._currentframe;
ani.gotoAndStop(1);
ani.kni.gotoAndStop(pxzt);
movable = true;
}
if (ani._currentframe == 3) {
ani.kni.zz.gotoAndPlay(ani.kni.zz._currentframe + 2);
if (ani.kni.zz._currentframe <= 60) {
} else {
(ani.kni.zz.gotoAndPlay(60));// not popped
}
}
if ((ani._currentframe == 3) && ((ani.kni.zz._currentframe == 60) || (ani.kni.zz._currentframe == 59))) {
pxzt = ani.kni._currentframe;
ani.gotoAndStop(1);
ani.kni.gotoAndStop(pxzt);
movable = true;
}
if (Key.isDown(83)) {
speed = 0.1;
} else {
speed = 0.0625;
}
if (movable) {
if (((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(38))) || (Key.isDown(40))) {
ani.kni.zz.play();
} else {
ani.kni.zz.gotoAndStop(1);
}
(Key.isDown(37) ? ((c = c - speed)(r = r - speed)(msel = true)) : 0);
(Key.isDown(39) ? ((c = c + speed)(r = r + speed)(msel = true)) : 0);
(Key.isDown(38) ? ((r = r - speed)(c = c + speed)(msel = true)) : 0);
(Key.isDown(40) ? ((r = r + speed)(c = c - speed)(msel = true)) : 0);
pxzt = ani.kni.zz._currentframe;
(Key.isDown(40) ? (ani.kni.gotoAndStop(1)(_root.hidden = false)) : 0);
(Key.isDown(39) ? (ani.kni.gotoAndStop(3)(_root.hidden = false)) : 0);
(Key.isDown(38) ? (ani.kni.gotoAndStop(5)(_root.hidden = false)) : 0);
(Key.isDown(37) ? (ani.kni.gotoAndStop(7)(_root.hidden = false)) : 0);
((Key.isDown(40) && (Key.isDown(39))) ? (ani.kni.gotoAndStop(2)(_root.hidden = false)) : 0);
((Key.isDown(39) && (Key.isDown(38))) ? (ani.kni.gotoAndStop(4)(_root.hidden = false)) : 0);
((Key.isDown(37) && (Key.isDown(38))) ? (ani.kni.gotoAndStop(6)(_root.hidden = false)) : 0);
((Key.isDown(37) && (Key.isDown(40))) ? (ani.kni.gotoAndStop(8)(_root.hidden = false)) : 0);
ani.kni.zz.gotoAndPlay(pxzt);
} else {
msel = true;
}
if (msel == true) {
_root.sel._visible = false;
}
var p1 = false;
var p2 = false;
var p3 = false;
var p4 = false;
if (movable) {
var side1 = ((_root.getItem(r, (c + 0.5) - skim) != 0) || (_root.getItem(r, (c + 0.5) + skim2) != 0));
if (side1) {
if (((Key.isDown(38) || (Key.isDown(37))) || (Key.isDown(38) && (Key.isDown(37)))) && ((!Key.isDown(39)) && (!Key.isDown(40)))) {
var g = _root.getItem(r, c + 0.5);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r);
_root.sel.c = Math.floor(c + 0.5);
_root.sel.XY();
}
}
r = Math.floor(r - 0.01) + 1;
}
var side2 = ((_root.getItem(r + 1, (c + 0.5) - skim) != 0) || (_root.getItem(r + 1, (c + 0.5) + skim2) != 0));
if (side2) {
if (((Key.isDown(40) || (Key.isDown(39))) || (Key.isDown(40) && (Key.isDown(39)))) && ((!Key.isDown(38)) && (!Key.isDown(37)))) {
var g = _root.getItem(r + 1, c + 0.5);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 1);
_root.sel.c = Math.floor(c + 0.5);
_root.sel.XY();
}
}
r = Math.floor(r + 0.01);
}
var side3 = ((_root.getItem((r + 0.5) - skim, c) != 0) || (_root.getItem((r + 0.5) + skim2, c) != 0));
if (side3) {
if (((Key.isDown(40) || (Key.isDown(37))) || (Key.isDown(40) && (Key.isDown(37)))) && ((!Key.isDown(39)) && (!Key.isDown(38)))) {
var g = _root.getItem(r + 0.5, c);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 0.5);
_root.sel.c = Math.floor(c);
_root.sel.XY();
}
}
c = Math.floor(c - 0.01) + 1;
}
var side4 = ((_root.getItem((r + 0.5) - skim, c + 1) != 0) || (_root.getItem((r + 0.5) + skim2, c + 1) != 0));
if (side4) {
if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(38) && (Key.isDown(39)))) && ((!Key.isDown(37)) && (!Key.isDown(40)))) {
var g = _root.getItem(r + 0.5, c + 1);
if (g >= 1) {
_root.sel._visible = true;
_root.sel.r = Math.floor(r + 0.5);
_root.sel.c = Math.floor(c + 1);
_root.sel.XY();
}
}
c = Math.floor(c + 0.01);
}
}
if (_root[(("b" + _root.sel.r) + "_") + _root.sel.c].moving) {
_root.sel._visible = false;
}
if (_root.testDyn(r + 0.501, c + 0.501)) {
_root[(("b" + Math.floor(r + 0.501)) + "_") + Math.floor(c + 0.501)].explode();
_root.dynamite = _root.dynamite + 1;
s_col.start();
}
if (_root.testPwr(r + 0.501, c + 0.501)) {
_root[(("b" + Math.floor(r + 0.501)) + "_") + Math.floor(c + 0.501)].explode();
_root.gloves = _root.gloves + 5;
s_col.start();
}
if ((_root.grid[Math.round(r)][Math.round(c)] == 4) && (movable)) {
movable = false;
ani.gotoAndStop(4);
_root[(("b" + Math.round(r)) + "_") + Math.round(c)]._visible = false;
}
XY();
if ((ani._currentframe == 2) && ((_y / 10) < Math.round(_y / 10))) {
this.swapDepths(((_y + 10) * 1000) + _x);
} else {
this.swapDepths((_y * 1000) + _x);
}
}
Instance of Symbol 2875 MovieClip "item" in Frame 34
onClipEvent (load) {
function XY() {
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
}
function beginMove(cs, rs, frames) {
if (((((moving == 0) && (!(((res < 5) && (res != _root.sel.dir)) && (!ice)))) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) && (_root.grid[Math.floor((r + (rs * frames)) + 0.01)][Math.floor((c + (cs * frames)) + 0.01)] != 4)) {
if (((((_root.getItem(r + (rs * frames), c + (cs * frames)) == 0) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 42)) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 43)) && (!_root.testDyn(r + (rs * frames), c + (cs * frames)))) && (!_root.testPwr(r + (rs * frames), c + (cs * frames)))) {
if ((val == 2) || (val == 9)) {
_root.gloves--;
}
moving = 1;
cspeed = cs;
rspeed = rs;
timer = frames;
oldr = r;
oldc = c;
_root.sel._visible = false;
s_push.play();
} else {
rspeed = 0;
cspeed = 0;
timer = 0;
}
}
}
function testMove(cs, rs, frames) {
if (((((moving == 0) && (!(((res < 5) && (res != _root.sel.dir)) && (!ice)))) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) && (_root.grid[Math.floor((r + (rs * frames)) + 0.01)][Math.floor((c + (cs * frames)) + 0.01)] != 4)) {
if (((((_root.getItem(r + (rs * frames), c + (cs * frames)) == 0) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 42)) || (_root.getItem(r + (rs * frames), c + (cs * frames)) == 43)) && (!_root.testDyn(r + (rs * frames), c + (cs * frames)))) && (!_root.testPwr(r + (rs * frames), c + (cs * frames)))) {
_root.sel._visible = false;
return(true);
}
return(false);
}
return(false);
}
function dyn() {
if ((((((((val == 7) || (val == 8)) || (val == 9)) || (val == 10)) || (val == 11)) || (val == 15)) || (val == 16)) || (val == 17)) {
if (((moving == 0) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) {
boom.gotoAndPlay(2);
}
}
}
function dyn2(dpp) {
if (((moving == 0) && (boom._currentframe == 1)) && (boom2._currentframe == 1)) {
boom.gotoAndStop(100);
boom2.gotoAndPlay(2);
(dpp ? ((_root.dynamite = _root.dynamite + 1)) : 0);
}
}
function spread() {
if (val == 10) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("b" + rT) + "_") + (cT - 1)].dyn();
_root[(("b" + rT) + "_") + (cT + 1)].dyn();
_root[(("b" + (rT + 1)) + "_") + cT].dyn();
_root[(("b" + (rT - 1)) + "_") + cT].dyn();
}
}
function explode() {
_root.grid[r][c] = 0;
removeMovieClip(this);
}
function premelt() {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
if (pvalue != 16) {
_root[(("g" + rT) + "_") + cT].dec();
}
}
function melt() {
removeMovieClip(this);
}
function sink() {
_root.tiles[r][c] = 0;
if (val == 15) {
_root.tiles[r][c] = 3;
}
if (val == 17) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].tgt = butt;
}
depths = false;
sunken = true;
}
function steam() {
_root.tiles[r][c] = 2;
_root.grid[r][c] = 0;
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].val = 4;
removeMovieClip(_root[(("b" + rT) + "_") + cT]);
removeMovieClip(_root[(("null" + rT) + "_") + cT]);
this.removeMovieClip();
}
function fsteam() {
_root.tiles[r][c] = 2;
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
_root[(("g" + rT) + "_") + cT].val = 4;
}
gotoAndStop(val + 1);
cspeed = 0;
rspeed = 0;
moving = 0;
depths = true;
visi = true;
sunken = false;
ice = false;
this.swapDepths((_y * 1000) + _x);
}
onClipEvent (enterFrame) {
if (timer > 0) {
r = r + rspeed;
c = c + cspeed;
timer = timer - 1;
if (timer <= 0) {
var deleted = false;
moving = 0;
r = Math.round(r);
c = Math.round(c);
_root.grid[oldr][oldc] = 0;
if (val == 3) {
val = 2;
_root.singleNmbr = _root.singleNmbr - 1;
}
if (val == 8) {
val = 9;
_root.singleNmbr = _root.singleNmbr - 1;
}
gotoAndStop(val + 1);
_name = ((("b" + r) + "_") + c);
if (_root.getItem(r + 0.01, c + 0.01) == 42) {
ani.play();
ani.pp = "OMG";
if (val == 16) {
_name = ((("nullx" + r) + "_") + c);
} else {
_name = ((("null" + r) + "_") + c);
removeMovieClip(_root[(("b" + r) + "_") + c]);
deleted = true;
s_sink = new Sound(this);
s_sink.attachSound("splas");
s_sink.start(0.21);
}
}
if ((_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] == 3) && (val == 16)) {
ani.play();
_name = ((("nullx" + r) + "_") + c);
}
if (val == 11) {
rT = Math.floor(r + 0.01);
cT = Math.floor(c + 0.01);
if ((((_root[(("b" + rT) + "_") + (cT - 1)].val == 11) && (_root[(("b" + rT) + "_") + (cT - 1)].boom._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT - 1)].boom2._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT - 1)].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + rT) + "_") + (cT - 1)].dyn2(true);
}
if ((((_root[(("b" + rT) + "_") + (cT + 1)].val == 11) && (_root[(("b" + rT) + "_") + (cT + 1)].boom._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT + 1)].boom2._currentframe == 1)) && (_root[(("b" + rT) + "_") + (cT + 1)].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + rT) + "_") + (cT + 1)].dyn2(true);
}
if ((((_root[(("b" + (rT + 1)) + "_") + cT].val == 11) && (_root[(("b" + (rT + 1)) + "_") + cT].boom._currentframe == 1)) && (_root[(("b" + (rT + 1)) + "_") + cT].boom2._currentframe == 1)) && (_root[(("b" + (rT + 1)) + "_") + cT].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + (rT + 1)) + "_") + cT].dyn2(true);
}
if ((((_root[(("b" + (rT - 1)) + "_") + cT].val == 11) && (_root[(("b" + (rT - 1)) + "_") + cT].boom._currentframe == 1)) && (_root[(("b" + (rT - 1)) + "_") + cT].boom2._currentframe == 1)) && (_root[(("b" + (rT - 1)) + "_") + cT].burn._currentframe == 1)) {
dyn2(false);
_root[(("b" + (rT - 1)) + "_") + cT].dyn2(true);
}
if ((_root[(("null" + rT) + "_") + cT].val == 11) && (_root[(("null" + rT) + "_") + cT] != this)) {
dyn2(false);
_root[(("null" + rT) + "_") + cT].removeMovieClip();
_root.dynamite = _root.dynamite + 1;
_root.tiles[rT][cT] = 2;
}
}
if ((_root.getItem(r + 0.01, c + 0.01) == 43) && (boom2._currentframe == 1)) {
burn.play();
_name = ((("null" + r) + "_") + c);
deleted = true;
}
((!deleted) ? ((_root.grid[r][c] = val)) : 0);
if ((!deleted) && (((val == 15) && (_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] != 3)) || ((val != 15) && (_root.tiles[Math.floor(r + 0.01)][Math.floor(c + 0.01)] == 3)))) {
if (val != 16) {
ice = true;
beginMove(cspeed, rspeed, 1 / _root.sel.spd);
ice = false;
if ((moving == 1) && ((val == 2) || (val == 9))) {
_root.gloves++;
}
}
} else {
cspeed = 0;
rspeed = 0;
}
}
}
XY();
if (((_root.singleNmbr <= 0) && (val == 14)) && (this._visible == true)) {
visi = false;
}
if (((((_root.hidden && (val != 4)) && (val != 6)) && (val != 13)) && (val != 19)) && (!sunken)) {
gotoAndStop (25);
} else {
gotoAndStop(val + 1);
}
if ((depths && (val != 13)) && (val != 12)) {
this.swapDepths((_y * 1000) + _x);
} else if ((((((val == 1) || (val == 2)) || (val == 3)) || (val == 9)) || (val == 12)) || (val == 13)) {
this.swapDepths(((_y - 9.95) * 1000) + _x);
} else {
this.swapDepths(_root[(("g" + Math.round(r)) + "_") + Math.round(c)].getDepth() + 1);
}
if ((visi == false) && (_visible == true)) {
_alpha = (_alpha - 25);
((_alpha <= 0) ? (_visible = falsefalse) : 0);
if ((!_visible) && (val == 14)) {
_root.grid[r][c] = 0;
_name = ((("null" + r) + "_") + c);
}
}
if ((visi == true) && (_alpha < 100)) {
_alpha = (_alpha + 25);
((_alpha > 0) ? (_visible = truetrue) : 0);
}
}
Instance of Symbol 2592 MovieClip "sel" in Frame 34
onClipEvent (load) {
function XY() {
r2 = Math.round(_root.char.r);
c2 = Math.round(_root.char.c);
if ((r2 < r) && (c2 == c)) {
dir = 1;
}
if ((r2 > r) && (c2 == c)) {
dir = 3;
}
if ((r2 == r) && (c2 < c)) {
dir = 4;
}
if ((r2 == r) && (c2 > c)) {
dir = 2;
}
_x = ((X + (c * bw)) + (r * bw));
_y = ((Y + (r * bh)) - (c * bh));
this.swapDepths(500000);
_y = (_y - 10);
gotoAndStop(dir);
g = _root.getItem(r, c);
if (!(((((((((((g == 1) || (g == 2)) || (g == 3)) || (g == 7)) || (g == 8)) || (g == 9)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17))) {
_visible = false;
}
}
_visible = false;
r = 0;
c = 0;
dir = 1;
spd = 0.25;
time = -1;
time2 = -1;
}
onClipEvent (enterFrame) {
XY();
if (Key.isDown(68)) {
if (_visible == true) {
var g = _root.getItem(r, c);
if ((((((((((g == 1) || (g == 3)) || (g == 7)) || (g == 8)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17)) || ((_root.gloves > 0) && ((g == 2) || (g == 9)))) {
if (_root[(("b" + r) + "_") + c].testMove((((dir == 2) * -1) * spd) + ((dir == 4) * spd), ((dir == 1) * spd) + (((dir == 3) * -1) * spd), 1 / spd)) {
_root.char.pushani();
time = 13;
d2 = dir;
}
}
}
}
time--;
time2--;
if (time == 0) {
_root[(("b" + r) + "_") + c].beginMove((((d2 == 2) * -1) * spd) + ((d2 == 4) * spd), ((d2 == 1) * spd) + (((d2 == 3) * -1) * spd), 1 / spd);
}
if (time2 == 0) {
_root[(("b" + r) + "_") + c].dyn();
_root.dynamite--;
}
if (Key.isDown(65)) {
if (_visible == true) {
var g = _root.getItem(r, c);
if (((((((((g == 7) || (g == 8)) || (g == 9)) || (g == 10)) || (g == 11)) || (g == 15)) || (g == 16)) || (g == 17)) && (_root.dynamite > 0)) {
if ((_root[(("b" + r) + "_") + c].moving == 0) && (_root[(("b" + r) + "_") + c].boom._currentframe == 1)) {
_root.char.dynani();
time2 = 15;
}
}
}
}
}
Instance of Symbol 2978 MovieClip "menubox" in Frame 34
onClipEvent (load) {
swapDepths(999999);
sb = false;
}
Frame 36
function submit() {
if (!submitten) {
sender.Title = tit;
sender.Name = nam;
sender.Code = code;
sender.sendAndLoad("http://www.glaielgames.com/Blockslide/submitlevel.php", loader, "POST");
submitten = true;
}
}
stop();
for (i in _root) {
_root[i].removeMovieClip();
}
tit = nam + "'s Awesome Level";
added = "kkkk";
sender = new LoadVars();
loader = new LoadVars();
submitten = false;
loader.onLoad = function (success) {
if (success) {
added = loader.added;
} else {
added = "loser";
}
};
Instance of Symbol 168 MovieClip in Frame 36
onClipEvent (load) {
if (!(((_url == "http://www.glaielgames.com/games/blockslide2.swf") || (_url == "http://glaielgames.com/games/blockslide2.swf")) || (_url == "http://www.glaielgames.com/Blockslide/blockslide2.swf"))) {
_root.sl.sl.enabled = false;
} else {
_visible = false;
}
}
Frame 39
stop();
code = "CODE";
Instance of Symbol 3006 MovieClip in Frame 39
onClipEvent (mouseDown) {
if ((_root.code == "CODE") && (hitTest(_root._xmouse, _root._ymouse, true))) {
_root.code = "";
}
}
Frame 41
stop();
Instance of Symbol 35 MovieClip in Frame 41
onClipEvent (load) {
if (!(((_url == "http://www.glaielgames.com/games/blockslide2.swf") || (_url == "http://glaielgames.com/games/blockslide2.swf")) || (_url == "http://www.glaielgames.com/Blockslide/blockslide2.swf"))) {
} else {
_visible = false;
_x = -1000;
}
}
Symbol 6 MovieClip Frame 1
_root.createEmptyMovieClip("l1", 1);
_root.createEmptyMovieClip("l2", 2);
perc = "0%";
p1 = 0;
col = colorr;
aTF = new TextFormat();
aTF.color = col;
txtbox.setTextFormat(aTF);
_root.stop();
_x = 275;
_y = 170;
te.swapDepths(100);
removeMovieClip(te);
onEnterFrame = function () {
den = _root.getBytesTotal();
num = _root.getBytesLoaded();
p1 = (num / den) * 100;
p2 = Math.round(p1);
perc = ("" + p2) + "%";
txtbox.text = perc;
txtbox.setTextFormat(aTF);
_root.l1.clear();
_root.l1.moveTo(275, 200);
_root.l1.lineStyle(2, Number(col), 100);
_root.l1.lineTo(_root._xmouse, _root._ymouse);
_root.l2.clear();
_root.l2.moveTo(275, 200);
_root.l2.lineStyle(15, Number(col), 100);
xd = _root._xmouse - 275;
yd = _root._ymouse - 200;
x = ((xd * p1) / 100) + 275;
y = ((yd * p1) / 100) + 200;
_root.l2.lineTo(x, y);
if (p1 >= 100) {
removeMovieClip(_root.l1);
removeMovieClip(_root.l2);
_root.play();
}
};
Symbol 15 Button
on (release) {
getURL ("http://www.glaielgames.com", "_blank");
}
Symbol 21 Button
on (release) {
getURL ("http://orb.newgrounds.com", "_blank");
}
Symbol 27 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://www.theswain.com", "_blank");
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 20
stop();
Symbol 48 MovieClip Frame 25
stop();
Symbol 86 MovieClip Frame 1
_root.stop();
Symbol 86 MovieClip Frame 443
_root.play();
Symbol 95 Button
on (release) {
savefile.data.nam = nam;
play();
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 107 Button
on (press) {
_root.audSwitchF(1);
}
Symbol 109 Button
on (press) {
_root.audSwitchF(2);
}
Symbol 111 Button
on (press) {
_root.audSwitchF(3);
}
Symbol 113 Button
on (press) {
_root.audSwitchF(4);
}
Symbol 115 Button
on (press) {
_root.audSwitchF(5);
}
Instance of Symbol 100 MovieClip "slider" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
function ton() {
vol = cv;
_x = ((ix - w) + ((vol * w) / 100));
_root.audio.setVolume(vol);
_parent.loads(_parent.cs);
}
function off() {
cv = _root.audio.getVolume();
_x = (ix - w);
_root.audio.setVolume(0);
}
w = 100;
ix = _x;
if (_root.audio == undefined) {
_root.audio = new Sound(_root);
}
vol = _root.audio.getVolume();
_x = ((ix - w) + ((vol * w) / 100));
if (_x > ix) {
_x = ix;
}
if (_x < (ix - w)) {
_x = (ix - w);
}
dragging = false;
cv = vol;
}
onClipEvent (enterFrame) {
if (dragging) {
_x = _parent._xmouse;
if (_x > ix) {
_x = ix;
}
if (_x < (ix - w)) {
_x = (ix - w);
}
_root.audio.setVolume((100 / w) * ((_x + w) - ix));
} else {
vol = _root.audio.getVolume();
_x = ((ix - w) + ((vol * w) / 100));
if (_x > ix) {
_x = ix;
}
if (_x < (ix - w)) {
_x = (ix - w);
}
}
}
on (press) {
dragging = true;
}
onClipEvent (mouseUp) {
dragging = false;
}
Instance of Symbol 104 MovieClip in Symbol 116 MovieClip Frame 1
on (press) {
if (_currentframe == 1) {
_root.audb1.shuffle = false;
} else {
_root.audb1.shuffle = true;
}
play();
}
Symbol 120 Button
on (press) {
play();
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 20
stop();
Symbol 127 Button
on (release) {
gotoAndStop ("set");
}
Symbol 132 Button
on (release) {
gotoAndStop ("size");
}
Symbol 137 Button
on (release) {
gotoAndStop ("enterC");
}
Symbol 142 Button
on (release) {
gotoAndStop ("server");
}
Symbol 147 Button
on (release) {
getURL ("http://www.glaielgames.com", "_blank");
}
Symbol 152 Button
on (release) {
getURL ("http://www.glaielgames.com", "_blank");
}
Symbol 157 Button
on (release) {
getURL ("http://orb.newgrounds.com", "_blank");
}
Symbol 162 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 184 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 189 Button
on (release) {
_root.currentSet = 0;
_root.gotoAndStop("levels");
}
Symbol 194 Button
on (release) {
_root.currentSet = 1;
_root.gotoAndStop("levels");
}
Symbol 199 Button
on (release) {
_root.currentSet = 2;
_root.gotoAndStop("levels");
}
Symbol 204 Button
on (release) {
_root.currentSet = 3;
_root.gotoAndStop("levels");
}
Symbol 209 Button
on (release) {
_root.currentSet = 4;
_root.gotoAndStop("levels");
}
Symbol 214 Button
on (release) {
_root.currentSet = 5;
_root.gotoAndStop("levels");
}
Symbol 224 Button
on (release) {
if ((_root.link != null) && (_root.link != "")) {
getURL (_root.link, "_blank");
}
}
Symbol 231 MovieClip Frame 4
stop();
Symbol 238 Button
on (release) {
if ((_root.Selected != 0) && (_root.tit != "Locked")) {
_root.currentLevel = Selected - 1;
_root.overrid = _root.sets[_root.currentSet][_root.currentLevel][6];
gotoAndPlay ("decode2");
}
}
Symbol 245 Button
on (release) {
_root.page = _root.page + 1;
_root.getcodes(_root.page);
}
Symbol 250 Button
on (release) {
_root.page = _root.page - 1;
_root.getcodes(_root.page);
}
Symbol 255 Button
on (release) {
_root.page = _root.pageE;
if (_root.pageE <= 0) {
_root.pageE = 0;
_root.bbbbggh.text = "0";
}
_root.getcodes(_root.page);
}
Symbol 283 MovieClip Frame 2
_root.audSwitch(2);
Symbol 283 MovieClip Frame 3
_root.audSwitch(3);
Symbol 283 MovieClip Frame 4
_root.audSwitch(4);
Symbol 283 MovieClip Frame 5
_root.audSwitch(5);
Symbol 283 MovieClip Frame 6
stop();
Symbol 283 MovieClip Frame 7
stop();
Symbol 290 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 294 Button
on (release, keyPress "<Backspace>") {
gotoAndPlay ("decode2");
}
Symbol 365 MovieClip Frame 1
stop();
Instance of Symbol 314 MovieClip in Symbol 365 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(10) + 1);
}
Instance of Symbol 356 MovieClip in Symbol 365 MovieClip Frame 4
onClipEvent (load) {
gotoAndPlay(random(19) + 1);
}
Symbol 632 MovieClip Frame 1
stop();
Symbol 2256 MovieClip Frame 50
stop();
_root.menubox.play();
Symbol 2257 MovieClip Frame 1
stop();
Symbol 2390 MovieClip Frame 1
stop();
Symbol 2390 MovieClip Frame 4
_parent.spread();
Symbol 2390 MovieClip Frame 10
_parent.val = 50;
Symbol 2390 MovieClip Frame 68
stop();
_parent.explode();
Symbol 2475 MovieClip Frame 1
stop();
Symbol 2475 MovieClip Frame 4
_parent.spread();
Symbol 2475 MovieClip Frame 10
_parent.val = 50;
Symbol 2475 MovieClip Frame 43
stop();
_parent.explode();
Symbol 2476 MovieClip Frame 1
stop();
Symbol 2585 MovieClip Frame 1
stop();
Symbol 2585 MovieClip Frame 26
_parent.pvalue = _parent.val;
_parent.val = 50;
_parent.premelt();
Symbol 2585 MovieClip Frame 56
_parent.melt();
stop();
Instance of Symbol 2592 MovieClip "sel" in Symbol 2593 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2596 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2596 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2592 MovieClip "sel" in Symbol 2599 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2600 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2600 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2592 MovieClip "sel" in Symbol 2601 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2602 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2602 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2630 MovieClip in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(13) + 1);
}
Instance of Symbol 2592 MovieClip "sel" in Symbol 2635 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2636 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2636 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2592 MovieClip "sel" in Symbol 2637 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2638 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2638 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2592 MovieClip "sel" in Symbol 2641 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.res == undefined) {
gotoAndStop (5);
}
gotoAndStop(_parent._parent._parent.res);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.res);
}
Symbol 2642 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2642 MovieClip Frame 10
stop();
_parent.sink();
Symbol 2645 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2645 MovieClip Frame 10
stop();
_parent.sink();
Symbol 2649 MovieClip Frame 1
stop();
Symbol 2649 MovieClip Frame 10
stop();
_parent.sink();
Instance of Symbol 2734 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(13) + 1);
}
Symbol 2739 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2739 MovieClip Frame 10
stop();
_parent.sink();
Symbol 2866 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2866 MovieClip Frame 8
_parent.fsteam();
Symbol 2866 MovieClip Frame 41
stop();
_parent.steam();
Symbol 2870 MovieClip Frame 1
if (pp == undefined) {
stop();
}
Symbol 2870 MovieClip Frame 10
stop();
_parent.sink();
Symbol 2882 Button
on (release) {
_root.currentLevel = _root.currentLevel - 1;
_root.gotoAndPlay("decode2");
}
Symbol 2885 Button
on (release, keyPress "<Enter>") {
if ((_root.previousScreen != "server") && (_root.previousScreen != "custom")) {
_root.code = _root.sets[_root.currentSet][_root.currentLevel][0];
_root.tit = _root.sets[_root.currentSet][_root.currentLevel][1];
_root.aut = _root.sets[_root.currentSet][_root.currentLevel][2];
_root.link = _root.sets[_root.currentSet][_root.currentLevel][5];
_root.desc = _root.sets[_root.currentSet][_root.currentLevel][3];
_root.overrid = _root.sets[_root.currentSet][_root.currentLevel][6];
_root.gotoAndPlay("decode2");
} else if (_root.previousScreen == "server") {
_root.gotoAndStop("server");
} else {
_root.gotoAndStop("custom");
}
}
Symbol 2886 Button
on (release) {
if (_root.previousScreen != "server") {
_root.gotoAndStop("menu");
} else {
_root.gotoAndStop("server");
}
}
Symbol 2889 MovieClip Frame 1
stop();
Symbol 2889 MovieClip Frame 2
stop();
if ((_root.previousScreen != "server") && (_root.previousScreen != "custom")) {
_root.nextLevel();
}
Symbol 2889 MovieClip Frame 3
stop();
Symbol 2892 Button
on (release) {
_root.popupd._visible = false;
}
Instance of Symbol 356 MovieClip in Symbol 2916 MovieClip Frame 13
onClipEvent (load) {
gotoAndPlay(random(19) + 1);
}
Instance of Symbol 356 MovieClip in Symbol 2916 MovieClip Frame 14
onClipEvent (load) {
gotoAndPlay(random(19) + 1);
}
Symbol 2930 Button
on (release) {
_root.Lsize = "s";
play();
}
Symbol 2935 Button
on (release) {
_root.Lsize = "m";
play();
}
Symbol 2940 Button
on (release) {
_root.Lsize = "l";
play();
}
Symbol 2948 Button
on (release) {
_root.gotoAndPlay("size");
}
Symbol 2949 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 2950 Button
on (release) {
if (_root.sel.tgt == 100) {
if (_root.sel.sta == 0) {
_root.err1.play();
_root.sel.itemID = 1;
_root.sel.typ = "b";
} else if (_root.sel.end == 0) {
_root.err2.play();
_root.sel.itemID = 5;
_root.sel.typ = "b";
} else {
play();
}
}
}
Symbol 2959 MovieClip Frame 1
stop();
Symbol 2959 MovieClip Frame 2
stop();
Instance of Symbol 365 MovieClip in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 1;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.typ = "t";
_parent.play();
}
Instance of Symbol 365 MovieClip in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 3;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.typ = "t";
_parent.play();
}
Instance of Symbol 365 MovieClip in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.typ = "t";
_parent.play();
}
Instance of Symbol 365 MovieClip in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.typ = "t";
_parent.play();
}
Instance of Symbol 365 MovieClip in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 7;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.typ = "t";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 1;
gotoAndStop(val);
ani.stop();
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 2;
gotoAndStop(val);
res = 5;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 3;
gotoAndStop(val);
res = 5;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 5;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 7;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 8;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 9;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 10;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 11;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 12;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 15;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 16;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 17;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 19;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 18;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 2;
gotoAndStop(val);
res = 1;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
res = 1;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 8;
res = 1;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 9;
res = 1;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 2;
gotoAndStop(val);
res = 2;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
res = 2;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 8;
res = 2;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 9;
res = 2;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 2;
gotoAndStop(val);
res = 3;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
res = 3;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 8;
res = 3;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 9;
res = 3;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 2;
gotoAndStop(val);
res = 4;
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 4;
res = 4;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 8;
res = 4;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 9;
res = 4;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = val;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Instance of Symbol 2875 MovieClip "itemI" in Symbol 2959 MovieClip Frame 2
onClipEvent (load) {
val = 26;
res = 5;
gotoAndStop(val);
}
on (release) {
_root.sel.itemID = 26;
_root.sel.res = res;
_root.sel.typ = "b";
_parent.play();
}
Symbol 2961 MovieClip Frame 1
stop();
Symbol 2963 MovieClip Frame 1
stop();
Symbol 2966 Button
on (release, keyPress "<Backspace>") {
gotoAndPlay ("decode");
}
Symbol 2970 Button
on (release) {
gotoAndPlay ("edit");
}
Symbol 2974 Button
on (release) {
_root.gotoAndPlay("edit");
}
Symbol 2977 Button
on (release) {
_root.gotoAndPlay("share");
}
Symbol 2978 MovieClip Frame 1
stop();
Symbol 2978 MovieClip Frame 2
stop();
Symbol 2988 Button
on (release) {
gotoAndPlay ("edit");
}
Symbol 2993 Button
on (release) {
_root.gotoAndPlay("size");
}
Symbol 2998 Button
on (release) {
_root.submit();
play();
}
Symbol 3000 MovieClip Frame 1
stop();
Symbol 3000 MovieClip Frame 2
stop();
Symbol 3008 Button
on (release) {
_root.tit = "Custom Level";
_root.previousScreen = "custom";
gotoAndPlay ("decode2");
}