Instance of Symbol 109 MovieClip [liveinclude] "BiosLoader" in Frame 1
//component parameters
onClipEvent (initialize) {
debug = 0;
minscorevalue = 1;
meterwidthratio = 50;
meterheightratio = 20;
centerx = 430;
centery = 175;
scoresentframe = "gotointro";
metervisible = 1;
custommetercolors = 0;
background = 0;
text1 = 16777215 /* 0xFFFFFF */;
text2 = 16776960 /* 0xFFFF00 */;
text3 = 16777215 /* 0xFFFFFF */;
meter = 10066329 /* 0x999999 */;
marks = 16777215 /* 0xFFFFFF */;
custommetertext = 0;
scoremessage = "Score Pending";
successmessage = "Success Pending";
replaybuttonmessage = "Restart Game";
}
Frame 2
_level0.ttext_loadingthedictionary = "% Loading the Dictionary!";
_level0.ttext_playgame = "<p align='center'><font color='#ffffff' size = '17'>Play Game</font></p>";
_level0.ttext_youmustmakeacopy = "<p align='center'><font color='#ffffff' size = '17'>You must make a copy of this file to your own working directory on the network before editing.</font></p>";
_level0.ttext_endthecurrentgame = "<p align='center'><font color='#ffffff' size = '17'>End the current game.</font></p>";
_level0.ttext_playagain = "<p align='center'><font color='#ffffff' size = '17'>Play Again</font></p>";
_level0.ttext_restartgame = "<p align='center'><font color='#ffffff' size = '17'>Restart Game</font></p>";
_level0.ttext_sendscore = "<p align='center'><font color='#ffffff' size = '17'>Send Score</font></p>";
_level0.ttext_temporaryrestart = "<p align='center'><font color='#ffffff' size = '17'>*Temporary Restart*\nThis will not be seen in final version.</font></p>";
Frame 3
_global.gMyScoringSystem = new _level100.include.ScoringSystem(0);
Object.prototype.toString = gMyScoringSystem.codeBase.object.toString;
ASSetPropFlags(Object.prototype, ["toString"], 1);
Object.prototype.getDuplicate = gMyScoringSystem.codeBase.object.getDuplicate;
ASSetPropFlags(Object.prototype, ["getDuplicate"], 1);
Function.prototype.extend = function (superClass) {
this.prototype.__proto__ = superClass.prototype;
this.prototype.__constructor__ = superClass;
ASSetPropFlags(this.prototype, ["__constructor__"], 1);
};
ASSetPropFlags(Function.prototype, ["extend"], 1);
MovieClip.prototype.mcExtends = function (superClass) {
if (typeof(superClass) == "function") {
this.__proto__ = superClass.prototype;
if (typeof(this.attachMovie) == "undefined") {
var o = this.__proto__;
var p = o.__proto__.__proto__;
while (p != null) {
p = p.__proto__;
o = o.__proto__;
}
o.__proto__ = MovieClip.prototype;
}
arguments.splice(0, 1);
superClass.apply(this, arguments);
} else {
trace("superClass: " + superClass);
trace("mcExtends: Incorrect superClass type or path - " + typeof(superClass));
}
};
ASSetPropFlags(MovieClip.prototype, ["mcExtends"], 1);
Frame 4
_global.gMyNeoStatus = new gMyScoringSystem.NeoStatus(0);
Frame 5
gMyScoringSystem.reset();
_root.sndBeep = new Sound(_root);
_root.sndBeep.attachSound("beepSound");
_root.sndDrop = new Sound(_root);
_root.sndDrop.attachSound("dropSound");
_root.sndWoosh = new Sound(_root);
_root.sndWoosh.attachSound("wooshSound");
_root.sndClunk = new Sound(_root);
_root.sndClunk.attachSound("clunkSound");
_root.sndOut = new Sound(_root);
_root.sndOut.attachSound("outSound");
_root.sndCrowd = new Sound(_root);
_root.sndCrowd.attachSound("crowdSound");
_root.sndUmpLoop = new Sound(_root);
_root.sndUmpLoop.attachSound("umpLoopSound");
Frame 6
stop();
Frame 10
function startgame() {
gMyNeoStatus.sendTag("Sponsor Logo Shown");
_root.GAMESCORE = new Evar(0, "GAMESCORE", "THIS IS THE SCORE");
_root.GAMESTRING = new Evar("this is text", "GAMESTRING", "THIS IS TEXT");
_root.LEVEL = new Evar(1, "LEVEL");
_root.GAMELIVES = new Evar(3);
_root.GAMETILES = new Evar(0);
_root.showTiles = _root.GAMETILES.show();
_root.showScore = _root.GAMESCORE.show();
_root.showLives = _root.GAMELIVES.show();
init();
}
function init() {
_global.tileWidth = 15;
_global.screenWidth = 480;
_global.screenHeight = 320;
_global.tileHeight = 11;
_global.columnTotal = tileWidth * 9;
_global.rowTotal = tileHeight;
_root.screen.createEmptyMovieClip("map", 10);
_root.screen.map._x = -16;
_root.actionTiles = new Array();
_global.hl = _root.screen.map.attachMovie("hl", "hl", 20000);
hl._alpha = 60;
hl.gotoAndStop("o19");
lastCol = 0;
lastRow = 0;
_root.sparks = new Array();
_root.createXML();
_root.createMatrix();
_root.speed = 2;
_global.passer = _root.screen.attachMovie("passby", "passby", 6);
passer._y = 50;
passer._visible = false;
_root.screen.attachMovie("sky", "sky", 5);
_root.screen.sky._alpha = 99;
_global.plr = _root.screen.player;
plr.pFrame = _root.playerFrame;
plr._x = 112;
plr._y = 240;
plr.c = 4;
plr.r = 8;
plr.sc = 0;
plr.action = 2;
_root.selectedTile = "o19";
_root.loadXML.gotoAndPlay(2);
}
function startLevel() {
_root.screen.attachMovie("playerSprite", "player", 20);
_root.screen.map._x = -16;
_root.sndUmpLoop.start(0, 5);
_global.plr = _root.screen.player;
plr.pFrame = _root.playerFrame;
plr._x = 112;
plr._y = 240;
plr.c = 4;
plr.r = 8;
plr.sc = 0;
plr.gotoAndStop("r");
plr.player.stop();
plr.onEnterFrame = plr.pFrame;
Key.addListener(keyWatch);
Mouse.addListener(mouseWatch);
}
function goRight() {
if (Key.isDown(32)) {
_root.speed = 4;
} else {
_root.speed = 2;
}
if (_root.regx <= (columnTotal - tileWidth)) {
_root.screen.sky._x = _root.screen.sky._x - (_root.speed / 2);
if (_root.screen.sky._x < -480) {
_root.screen.sky._x = _root.screen.sky._x + 480;
}
_root.screen.map._x = _root.screen.map._x - _root.speed;
_root.regxVal = _root.regxVal - _root.speed;
if (_root.regxVal <= -32) {
_root.regx = _root.regx + 1;
_root.regxVal = _root.regxVal + 32;
regBt = _root.regy + tileHeight;
regRt = (_root.regx + tileWidth) + 1;
r = _root.regy - 1;
while (r <= (regBt + 1)) {
name = (("o" + (_root.regx - 1)) + "_") + r;
_root.screen.map[name]._visible = false;
name = (("o" + regRt) + "_") + r;
_root.screen.map[name]._visible = true;
r++;
}
}
}
}
function setBackColor(bg) {
_root.backColorValue = bg;
rgb = "0x" + bg;
_root.backColor.setRGB(rgb);
}
function loadTile(c, r, tile) {
var ident = tile.substr(1, 2);
var name = ((("o" + c) + "_") + r);
var tRef = _root.screen.map.attachMovie(tile, name, (1000 + (100 * c)) - r);
tRef._x = columnToX(c) - 16;
tRef._y = rowToY(r) - 16;
tRef.t = tile;
tRef.c = c;
tRef.r = r;
tRef._visible = false;
if ((tile == "o22") || (tile == "o24")) {
_root.actionTiles.push(tRef);
} else if (tile == "o25") {
var name = (("o" + c) + "_1");
var tRef = _root.screen.map.attachMovie("o26", name, (1000 + (100 * c)) - 30);
tRef._x = columnToX(c) - 16;
tRef._y = rowToY(r) - 16;
}
if ((r == 10) && (tile == "o19")) {
tRef.gotoAndStop(2);
}
}
function putTile(c, r, tile) {
var ident = tile.substr(0, 1);
var name = ((("o" + c) + "_") + r);
if ((_root.screen.map[name]._x == null) && (_root.GAMETILES.show() > 0)) {
var tRef = _root.screen.map.attachMovie(tile, name, (1000 + (100 * c)) - r);
tRef._x = columnToX(c) - 16;
tRef._y = rowToY(r) - 16;
tRef.t = ident - 18;
_root.fieldXML.firstChild.childNodes[c - 1].attributes["r" + r] = tile;
_root.GAMETILES.changeby(-1);
_root.showTiles = _root.GAMETILES.show();
tRef.gotoAndStop(1);
if ((r == 10) && (tile == "o19")) {
tRef.gotoAndStop(2);
} else {
tRef.gotoAndStop(1);
}
_root.sndClunk.start();
}
}
function xToColumn(ex) {
column = ((1 + tileWidth) - Math.ceil(((ex + screenWidth) - _root._xmouse) / 32)) - _root.regx;
return(column);
}
function yToRow(why) {
row = Math.ceil(why / 32);
trace("ytoRow " + row);
return(row);
}
function columnToX(column) {
ex = 32 * column;
return(ex);
}
function rowToY(row) {
why = 32 * row;
return(why);
}
function hLight() {
if ((_root._ymouse > _root.screen._y) && (_root._ymouse < (_root.screen._y + screenHeight))) {
if ((_root._xmouse > _root.screen._x) && (_root._xmouse < (_root.screen._x + screenWidth))) {
hl.c = (-Math.ceil(((_root.screen._x + _root.screen.map._x) - _root._xmouse) / 32)) + 1;
hl.r = (-Math.ceil(((_root.screen._y + _root.screen.map._y) - _root._ymouse) / 32)) + 1;
var name = ((("o" + hl.c) + "_") + hl.r);
if (_root.screen.map[name]._x == null) {
hl._x = columnToX(hl.c) - 16;
hl._y = rowToY(hl.r) - 16;
hl._visible = true;
} else {
hl._visible = false;
}
}
}
}
function loadField() {
_root.regx = 1;
_root.regxVal = 0;
_root.regy = 1;
_root.regyVal = 0;
regRt = (regx + 1) + tileWidth;
regBt = (regy + 1) + tileHeight;
_root.GAMETILES.changeto(_root.fieldXML.firstChild.attributes.tiles);
_root.showTiles = _root.GAMETILES.show();
var ctot = _root.fieldXML.firstChild.childNodes.length;
var rtot = rowTotal;
var c = 1;
while (c <= ctot) {
var r = 1;
while (r <= rtot) {
ot = _root.fieldXML.firstChild.childNodes[c - 1].attributes["r" + r];
name = (("o" + c) + "_") + r;
if ((ot == "o22") && (random(4) == 0)) {
ot = null;
_root.fieldXML.firstChild.childNodes[c - 1].attributes["r" + r] = "0";
}
if ((ot != null) && (ot != "0")) {
loadTile(c, r, ot);
if ((c >= _root.regx) && (c <= regRt)) {
if ((r >= _root.regy) && (r <= regBt)) {
_root.screen.map[name]._visible = true;
}
}
} else {
_root.screen.map[name].removeMovieClip();
}
r++;
}
c++;
}
var fLine = _root.screen.map.attachMovie("finishLine", "finishLine", 150001);
fLine._x = columnToX(ctot - 15);
_root.fCol = ctot - 14;
}
function emptyMatrix() {
a = 0;
while (a < tileWidth) {
b = 0;
while (b < tileHeight) {
dMatrix[a][b] = 0;
b++;
}
a++;
}
}
function createMatrix() {
_global.dMatrix = new Array();
a = 0;
while (a <= tileWidth) {
dMatrix[a] = new Array();
b = 0;
while (b <= tileHeight) {
dMatrix[a][b] = 0;
b++;
}
a++;
}
}
_root.keyWatch = new Object();
_root.keyWatch.onKeyDown = function () {
var kcode = Key.getCode();
if (((kcode == 38) || (kcode == 97)) || (kcode == 49)) {
_root.selectedTile = "o20";
hl.gotoAndStop("o20");
_root.swapper.play();
} else if (((kcode == 39) || (kcode == 98)) || (kcode == 50)) {
_root.selectedTile = "o19";
hl.gotoAndStop("o19");
_root.swapper.play();
} else if (((kcode == 40) || (kcode == 99)) || (kcode == 51)) {
_root.selectedTile = "o21";
hl.gotoAndStop("o21");
_root.swapper.play();
}
};
_root.mouseWatch = new Object();
_root.mouseWatch.onMouseDown = function () {
if ((hl._visible == true) && (_root._xmouse > _root.screen._x)) {
_root.putTile(hl.c, hl.r, _root.selectedTile);
}
};
function nextLevel() {
plr.onEnterFrame = undefined;
_root.emptyMatrix();
if ((_root.GAMELIVES.show() <= 0) || (_root.LEVEL.show() > 4)) {
_root.gotoAndPlay("gameoverframe");
}
trace(".............NEXT LEVEL ....................");
_root.LEVEL.changeby(1);
_root.menu.gotoAndPlay("prompt");
_root.menu.promptText = "Starting Level " + _root.LEVEL.show();
_root.loadXML.gotoAndPlay("load");
gMyNeoStatus.sendTag("Reached Level " + _root.LEVEL.show());
_root.CHECKTIMER.changeto(getTimer());
_root.LEVELTOTAL.changeto(400000);
}
function playerFrame() {
_root.hLight();
_root.sparkFrame();
if (passer._visible == true) {
passer._x = passer._x - (4 * _root.speed);
if (passer._x < -100) {
passer._visible = false;
}
}
plr.sc = plr.sc + (_root.speed / 2);
if (plr.sc > 16) {
var scDiff = (plr.sc - 16);
plr.sc = 16;
} else {
var scDiff = 0;
}
if (((plr.sc % 16) == 0) || (scDiff > 0)) {
plr.sc = scDiff;
if (plr.action == 2) {
plr.r--;
} else if (plr.action == 3) {
plr.r++;
}
if (plr.action != 0) {
plr.c++;
}
if (plr.action != 4) {
_root.tileDetect();
}
if (plr.c >= _root.fCol) {
_root.nextLevel();
_root.GAMESCORE.changeby(50 + (_root.GAMETILES.show() * 2));
_root.showScore = _root.GAMESCORE.show();
}
} else if ((plr.sc % 16) == 2) {
_root.actionFrame();
}
if (plr.action != 0) {
_root.goRight();
if (plr.action == 2) {
plr._y = plr._y - _root.speed;
} else if (plr.action == 3) {
plr._y = plr._y + _root.speed;
} else if (plr.action == 4) {
plr.g = plr.g + 1;
plr._y = plr._y + plr.g;
var r1 = Math.ceil((plr._y - 16) / 32);
var r2 = Math.ceil(((plr._y - 16) + (plr.g + _root.speed)) / 32);
if (r1 >= 15) {
_root.plrFall();
} else if (r1 < r2) {
var gWas = plr.g;
var scWas = plr.sc;
plr.r = r1;
_root.tileDetect();
plr.sc = scWas;
if (plr.action == 4) {
plr.g = gWas;
} else {
_root.sndDrop.start();
plr.r = r1;
plr._y = (plr.r * 32) - 16;
if (plr.action == 2) {
plr._y = plr._y - (2 * (plr.sc % 16));
} else if (plr.action == 3) {
plr._y = plr._y + (2 * (plr.sc % 16));
}
}
}
}
}
}
function tileDetect() {
var tNext1 = _root.fieldXML.firstChild.childNodes[plr.c].attributes["r" + (plr.r + 1)];
var tNext2 = _root.fieldXML.firstChild.childNodes[plr.c].attributes["r" + plr.r];
var tNext3 = _root.fieldXML.firstChild.childNodes[plr.c].attributes["r" + (plr.r - 1)];
trace((tNext2 + " ") + tNext3);
if (tNext2 == "o22") {
_root.getPickup(plr.c, plr.r);
tNext2 = "0";
}
if (tNext3 == "o22") {
_root.getPickup(plr.c, plr.r - 1);
tNext3 = "0";
}
if ((tNext2.length < 2) && (tNext3.length < 2)) {
if ((((tNext1 == "o19") || (tNext1 == "o23")) || (tNext1 == "o24")) || (tNext1 == "o25")) {
plr.action = 1;
plr.gotoAndStop("flat");
} else if (tNext1 == "o20") {
plr.action = 2;
plr.gotoAndStop("up");
} else if (tNext1 == "o21") {
plr.action = 3;
plr.gotoAndStop("down");
} else if (tNext1.length < 2) {
if (plr.action != 4) {
plr.g = 0;
}
plr.action = 4;
plr.gotoAndStop("fall");
plr.ump.stop();
}
} else {
trace((("falling ................" + tNext2) + " ") + tNext3);
plr.action = 0;
_root.plrFall();
}
}
function spriteCheck(c, r, rayFlag) {
if (dMatrix[c][r] == 2) {
var len = _root.sprites.length;
var s = 0;
while (s < len) {
var sRef = _root.sprites[s];
if ((sRef.c == c) && (sRef.r == r)) {
_root.killSprite(sRef);
dMatrix[c][r] = 0;
return(true);
}
s++;
}
}
if (rayFlag == 1) {
var rLen = _root.rays.length;
var ray = 0;
while (ray < rLen) {
var rRef = _root.rays[ray];
if (((rRef.c == c) && (rRef.r == r)) && (rRef.t != 1)) {
rRef.vx = 0;
rRef.vy = 0;
rRef.gotoAndPlay("fizzle");
_root.rays.splice(ray, 1);
return(true);
}
ray++;
}
}
return(false);
}
function plrFall() {
_root.stopAllSounds();
trace("................player should fall now ......................");
_root.sndOut.start();
plr.gotoAndStop("fall");
plr.onEnterFrame = undefined;
Key.removeListener(keywatch);
Mouse.removeListener(mousewatch);
_root.LEVEL.changeby(-1);
_root.menu.gotoAndPlay("prompt");
_root.GAMELIVES.changeby(-1);
_root.showLives = _root.GAMELIVES.show();
_root.nextLevel();
}
function getPickup(c, r) {
_root.GAMESCORE.changeby(4);
_root.showScore = _root.GAMESCORE.show();
_root.sndWoosh.start();
_root.fieldXML.firstChild.childNodes[c].attributes["r" + r] = 0;
var name = ((("o" + (c + 1)) + "_") + r);
_root.screen.map[name].removeMovieClip();
}
function actionFrame() {
var aLength = _root.actionTiles.length;
var a = 0;
while (a < aLength) {
var aRef = _root.actionTiles[a];
if (aRef._visible == true) {
if (aRef.t == "o22") {
trace((((("action " + aRef.t) + " ") + plr.c) + " ") + aRef.c);
if (plr.c == (aRef.c - 4)) {
aRef.gotoAndPlay(2);
}
} else if (random(3) == 0) {
var name = ("f" + ((plr.c + plr.r) + random(30)));
fRef = _root.screen.map.attachMovie("fireball", name, 1120 + (100 * c));
fRef._x = columnToX(aRef.c);
fRef._y = rowToY(aRef.r);
fRef.c = aRef.c;
fRef.r = aRef.r;
_root.sparks.push(fRef);
}
}
a++;
}
var rNum = random(10);
if ((rNum == 0) && (passer._visible == false)) {
gMyNeoStatus.sendTag("Sponsor Logo Shown");
passer._x = 600;
passer._visible = true;
passer.gotoAndStop(random(2) + 1);
}
}
function sparkFrame() {
var slen = _root.sparks.length;
var s = 0;
while (s < slen) {
sRef = _root.sparks[s];
sRef._y = sRef._y + (_root.speed * 2);
var r = Math.ceil(sRef._y / 32);
if ((plr.c == sRef.c) && (plr.r == r)) {
_root.plrFall();
} else {
var tNext = _root.fieldXML.firstChild.childNodes[sRef.c].attributes["r" + r];
if ((tNext.length > 1) || (r > 12)) {
_root.sparks.splice(s, 1);
sRef.removeMovieClip();
}
}
s++;
}
}
startGame();
stop();
Instance of Symbol 102 MovieClip [screen] "screen" in Frame 10
/* no clip actions */
Frame 22
if (_root.GAMESCORE.show() > 200) {
this.success._visible = true;
_root.sndCrowd.start();
} else {
this.success._visible = false;
}
gMyNeoStatus.sendTag("Game Finished");
gMyNeoStatus.sendTag("Sponsor Logo Shown");
stop();
Frame 42
stop();
gMyScoringSystem.setScore(_root.GAMESCORE.show());
gMyScoringSystem.submitScore();
Frame 43
_root.gotoAndPlay("resetallframe");
Symbol 55 MovieClip [playerSprite] Frame 1
stop();
Symbol 63 MovieClip [o22] Frame 1
stop();
Symbol 99 MovieClip [passby] Frame 1
stop();
Symbol 99 MovieClip [passby] Frame 2
stop();
Symbol 101 MovieClip [bg] Frame 1
stop();
Symbol 105 MovieClip [o19] Frame 1
stop();
Symbol 106 Button [btnBack]
on (release) {
this.gotoAndStop(1);
_root.sndBeep.start();
}
Symbol 109 MovieClip [liveinclude] Frame 1
this.loadBios = function () {
this.url = "http://images.neopets.com/games/utilities/flash_bios/bios.swf";
System.security.allowDomain("neopets.com");
this.bios.loadMovie(this.url);
};
this._visible = 0;
this.stop();
this._parent.stop();
this.loadBios();
Symbol 114 Button
on (release) {
gMyNeoStatus.sendTag("Game Started");
_root.gotoAndPlay("gameframe");
}
Symbol 129 Button
on (release) {
gMyNeoStatus.sendTag("Game Started");
_root.sndBeep.start();
_root.gotoAndPlay("gameframe");
}
Symbol 135 Button
on (release) {
gMyNeoStatus.processClickGetURL(2767, "blank");
_root.sndBeep.start();
}
Symbol 141 Button
on (release) {
_root.instructions.gotoAndStop(2);
_root.sndBeep.start();
}
Symbol 153 Button
on (release) {
this.gotoAndStop(3);
_root.sndBeep.start();
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 164 Button
on (release) {
_root.gotoAndPlay("gameoverframe");
}
Symbol 171 Button
on (release) {
_root.selectedTile = "o20";
hl.gotoAndStop("o20");
this.play();
}
Symbol 172 Button
on (release) {
_root.selectedTile = "o21";
hl.gotoAndStop("o21");
this.play();
}
Symbol 173 Button
on (release) {
_root.selectedTile = "o19";
hl.gotoAndStop("o19");
this.play();
}
Symbol 174 MovieClip Frame 1
if (_root.selectedTile == "o19") {
stop();
}
Symbol 174 MovieClip Frame 6
if (_root.selectedTile == "o21") {
stop();
}
Symbol 174 MovieClip Frame 11
if (_root.selectedTile == "o20") {
stop();
}
Symbol 210 MovieClip Frame 7
_root.selectedPlayer = 1;
_root.startLevel();
Symbol 210 MovieClip Frame 13
gotoAndStop ("wait");
Symbol 210 MovieClip Frame 40
_root.startLevel();
Symbol 210 MovieClip Frame 48
stop();
Symbol 211 MovieClip Frame 1
_root.mapXML1 = "<field tiles=\"6\"><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o20\" r1=\"0\" /><col r8=\"o20\" r1=\"0\" /><col r7=\"o20\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r6=\"o19\" r1=\"0\" /><col r10=\"o19\" r6=\"o19\" r1=\"0\" /><col r6=\"o20\" r10=\"o19\" r1=\"0\" /><col r10=\"o20\" r5=\"o20\" r1=\"0\" /><col r9=\"o20\" r4=\"o20\" r1=\"0\" /><col r3=\"o19\" r8=\"o20\" r1=\"0\" /><col r2=\"o22\" r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"0\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o20\" r1=\"0\" /><col r6=\"o20\" r1=\"0\" /><col r5=\"o21\" r1=\"0\" /><col r6=\"o21\" r1=\"0\" /><col r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r6=\"o22\" r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\"/><col r8=\"o19\"/><col r8=\"o19\"/><col r8=\"o19\"/><col r8=\"o19\"/></field>";
_root.mapXML2 = "<field tiles=\"20\"><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o20\" r1=\"0\" /><col r8=\"o20\" r1=\"0\" /><col r7=\"o20\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r4=\"o22\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r6=\"o20\" r10=\"o19\" r1=\"0\" /><col r5=\"o20\" r3=\"0\" r4=\"0\" r10=\"o19\" r1=\"0\" /><col r9=\"0\" r4=\"o20\" r3=\"0\" r10=\"0\" r1=\"0\" /><col r10=\"o19\" r3=\"o19\" r1=\"0\" /><col r2=\"o22\" r10=\"o19\" r3=\"o19\" r1=\"0\" /><col r10=\"o20\" r3=\"o19\" r1=\"0\" /><col r9=\"o19\" r3=\"o19\" r1=\"0\" /><col r9=\"o19\" r3=\"o19\" r1=\"0\" /><col r9=\"o19\" r3=\"o21\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r4=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r2=\"o22\" r4=\"o19\" r1=\"0\" /><col r9=\"o19\" r4=\"o19\" r1=\"0\" /><col r9=\"o19\" r4=\"o19\" r1=\"0\" /><col r10=\"o19\" r2=\"o22\" r9=\"o19\" r4=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o20\" r1=\"0\" /><col r8=\"o20\" r1=\"0\" /><col r7=\"o20\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o21\" r1=\"0\" /><col r4=\"o21\" r1=\"0\" /><col r3=\"o22\" r5=\"o21\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r8=\"o19\" r9=\"o19\" r10=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o20\" r1=\"0\" /><col r4=\"o22\" r6=\"o20\" r1=\"0\" /><col r5=\"o20\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /></field>";
_root.mapXML3 = "<field tiles=\"80\"><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r7=\"0\" r8=\"0\" r1=\"0\" /><col r9=\"o19\" r7=\"0\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o20\" r1=\"0\" /><col r8=\"o20\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r5=\"o22\" r6=\"0\" r7=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"0\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o19\" r8=\"o19\" r9=\"o19\" r10=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r4=\"o19\" r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r8=\"o19\" r9=\"o19\" r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r9=\"o22\" r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r8=\"o22\" r9=\"o19\" r10=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r4=\"o22\" r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r9=\"o20\" r10=\"o19\" r1=\"0\" /><col r8=\"o20\" r9=\"0\" r1=\"0\" /><col r7=\"o19\" r8=\"0\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r5=\"o22\" r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r4=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /></field>";
_root.mapXML4 = "<field tiles=\"90\"><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o20\" r1=\"0\" /><col r8=\"o20\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r7=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r5=\"o23\" r4=\"o23\" r3=\"o23\" r1=\"0\" /><col r5=\"o23\" r3=\"o23\" r4=\"o25\" r1=\"0\" /><col r2=\"o22\" r5=\"o23\" r3=\"o23\" r4=\"o24\" r1=\"0\" /><col r1=\"0\" /><col r8=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r8=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r3=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r8=\"o23\" r6=\"o23\" r7=\"o23\" r1=\"0\" /><col r8=\"o23\" r6=\"o23\" r2=\"0\" r7=\"o25\" r1=\"0\" /><col r2=\"o22\" r8=\"o23\" r7=\"o23\" r6=\"o23\" r1=\"0\" /><col r7=\"0\" r1=\"0\" /><col r7=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o23\" r4=\"o24\" r2=\"o23\" r1=\"0\" /><col r4=\"o23\" r2=\"o23\" r3=\"o25\" r1=\"0\" /><col r8=\"o22\" r4=\"o23\" r3=\"o23\" r2=\"o23\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"0\" r8=\"0\" r1=\"0\" /><col r6=\"0\" r7=\"0\" r1=\"0\" /><col r6=\"0\" r1=\"0\" /><col r5=\"0\" r3=\"0\" r4=\"0\" r1=\"0\" /><col r4=\"o21\" r1=\"0\" /><col r3=\"o22\" r4=\"0\" r5=\"o21\" r1=\"0\" /><col r4=\"0\" r5=\"0\" r6=\"o21\" r8=\"0\" r7=\"0\" r1=\"0\" /><col r5=\"o22\" r8=\"0\" r7=\"o21\" r1=\"0\" /><col r8=\"o21\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r5=\"o19\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r3=\"o22\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r9=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r8=\"0\" r7=\"0\" r10=\"0\" r9=\"0\" r1=\"0\" /><col r8=\"0\" r9=\"0\" r1=\"0\" /><col r7=\"0\" r9=\"0\" r8=\"0\" r1=\"0\" /><col r5=\"0\" r7=\"0\" r6=\"0\" r1=\"0\" /><col r4=\"0\" r6=\"0\" r5=\"0\" r1=\"0\" /><col r4=\"0\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r3=\"o22\" r5=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o19\" r6=\"o19\" r5=\"o19\" r4=\"o19\" r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o23\" r6=\"o23\" r1=\"0\" /><col r7=\"o23\" r6=\"o25\" r1=\"0\" /><col r4=\"o22\" r5=\"o22\" r7=\"o23\" r6=\"o23\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"0\" r5=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r6=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r6=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r1=\"0\" /></field>";
_root.mapXML5 = "<field tiles=\"90\"><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r0=\"0\" r9=\"o19\" r1=\"0\" /><col r10=\"0\" r9=\"o19\" r1=\"0\" /><col r9=\"o19\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r1=\"0\" /><col r8=\"0\" r9=\"0\" r1=\"0\" /><col r9=\"0\" r7=\"0\" r8=\"0\" r1=\"0\" /><col r5=\"0\" r6=\"0\" r7=\"0\" r8=\"0\" r1=\"0\" /><col r7=\"0\" r8=\"0\" r4=\"0\" r5=\"0\" r6=\"0\" r1=\"0\" /><col r6=\"0\" r4=\"0\" r5=\"0\" r1=\"0\" /><col r4=\"0\" r3=\"o22\" r10=\"o23\" r9=\"o23\" r8=\"o23\" r7=\"0\" r1=\"0\" /><col r10=\"o23\" r8=\"o23\" r9=\"o25\" r3=\"o23\" r4=\"0\" r2=\"o23\" r7=\"0\" r1=\"o23\" /><col r6=\"o22\" r10=\"o23\" r7=\"0\" r8=\"o23\" r9=\"o23\" r4=\"0\" r2=\"o23\" r3=\"o25\" r1=\"o23\" /><col r7=\"0\" r4=\"0\" r3=\"o24\" r2=\"o23\" r1=\"o23\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r3=\"0\" r1=\"0\" /><col r3=\"0\" r1=\"0\" /><col r9=\"o19\" r10=\"o19\" r5=\"o19\" r4=\"o19\" r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r1=\"0\" /><col r1=\"0\" /><col r4=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r5=\"o19\" r6=\"o19\" r7=\"o19\" r8=\"0\" r1=\"0\" /><col r8=\"o22\" r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r5=\"o19\" r1=\"0\" /><col r4=\"o22\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o19\" r1=\"0\" /><col r3=\"o19\" r1=\"0\" /><col r3=\"o19\" r1=\"0\" /><col r3=\"o23\" r2=\"o24\" r1=\"o23\" /><col r8=\"o22\" r2=\"o23\" r3=\"o25\" r1=\"o23\" /><col r3=\"o23\" r2=\"o24\" r1=\"o23\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"0\" r1=\"0\" /><col r4=\"0\" r2=\"o21\" r3=\"0\" r1=\"0\" /><col r5=\"0\" r3=\"o21\" r4=\"0\" r1=\"0\" /><col r5=\"0\" r4=\"0\" r1=\"0\" /><col r4=\"0\" r5=\"0\" r7=\"o21\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o21\" r1=\"0\" /><col r1=\"0\" /><col r6=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r6=\"0\" r2=\"o22\" r1=\"0\" /><col r6=\"0\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r3=\"o19\" r4=\"o19\" r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r1=\"0\" /><col r1=\"0\" /><col r5=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r7=\"o19\" r6=\"o19\" r5=\"o19\" r4=\"o19\" r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r4=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r9=\"o22\" r1=\"0\" /><col r6=\"o23\" r5=\"o24\" r4=\"o23\" r1=\"0\" /><col r4=\"o23\" r5=\"o23\" r6=\"o25\" r1=\"0\" /><col r5=\"o23\" r6=\"o23\" r4=\"o24\" r1=\"0\" /><col r3=\"o22\" r2=\"o22\" r6=\"o25\" r5=\"o23\" r4=\"o23\" r1=\"0\" /><col r2=\"o22\" r3=\"o22\" r6=\"o23\" r5=\"o24\" r4=\"o23\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r9=\"o22\" r1=\"0\" /><col r1=\"0\" /><col r8=\"0\" r7=\"0\" r9=\"0\" r5=\"o19\" r4=\"o19\" r3=\"o19\" r2=\"o19\" r1=\"o19\" /><col r6=\"0\" r7=\"0\" r8=\"0\" r9=\"0\" r1=\"0\" /><col r8=\"0\" r5=\"0\" r6=\"0\" r7=\"0\" r1=\"0\" /><col r4=\"0\" r5=\"0\" r6=\"0\" r1=\"0\" /><col r3=\"0\" r4=\"0\" r5=\"0\" r1=\"0\" /><col r3=\"0\" r4=\"0\" r1=\"0\" /><col r10=\"o19\" r9=\"o19\" r8=\"o19\" r7=\"o19\" r6=\"o19\" r5=\"o19\" r3=\"o19\" r4=\"o19\" r1=\"0\" /><col r3=\"0\" r1=\"0\" /><col r5=\"o22\" r4=\"o22\" r6=\"o23\" r7=\"o23\" r8=\"o23\" r1=\"0\" /><col r5=\"o22\" r4=\"o22\" r6=\"o23\" r7=\"o23\" r8=\"o25\" r1=\"0\" /><col r5=\"o22\" r4=\"o22\" r6=\"o23\" r7=\"o23\" r8=\"o23\" r1=\"0\" /><col r5=\"o22\" r4=\"o22\" r6=\"o23\" r7=\"o23\" r8=\"o25\" r1=\"0\" /><col r4=\"o22\" r5=\"o22\" r6=\"o23\" r7=\"o23\" r8=\"o23\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r7=\"o22\" r4=\"0\" r2=\"o23\" r3=\"o24\" r1=\"o23\" /><col r8=\"o22\" r4=\"0\" r2=\"o24\" r3=\"o25\" r1=\"o23\" /><col r7=\"o22\" r4=\"0\" r2=\"o23\" r3=\"o24\" r1=\"o23\" /><col r8=\"o22\" r4=\"0\" r2=\"o23\" r3=\"o25\" r1=\"o23\" /><col r7=\"o22\" r4=\"0\" r2=\"o23\" r3=\"o23\" r1=\"o24\" /><col r8=\"o22\" r4=\"0\" r1=\"0\" /><col r1=\"0\" /><col r1=\"0\" /><col r5=\"0\" r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r5=\"0\" r1=\"0\" /><col r10=\"o19\" r9=\"o22\" r4=\"0\" r5=\"0\" r1=\"0\" /><col r4=\"0\" r10=\"o19\" r5=\"0\" r1=\"0\" /><col r3=\"0\" r4=\"0\" r10=\"o19\" r5=\"0\" r1=\"0\" /><col r3=\"0\" r4=\"0\" r10=\"o19\" r5=\"0\" r1=\"0\" /><col r3=\"0\" r10=\"o19\" r5=\"0\" r1=\"0\" /><col r6=\"o23\" r10=\"o19\" r4=\"o23\" r3=\"0\" r2=\"0\" r5=\"o25\" r1=\"0\" /><col r6=\"o23\" r0=\"0\" r2=\"0\" r3=\"0\" r4=\"o23\" r5=\"o23\" r10=\"o19\" r1=\"0\" /><col r6=\"o23\" r0=\"0\" r5=\"o25\" r4=\"o23\" r3=\"0\" r2=\"0\" r10=\"o19\" r1=\"0\" /><col r6=\"0\" r10=\"o19\" r1=\"0\" /><col r10=\"o19\" r1=\"0\" /><col r6=\"o23\" r4=\"o23\" r5=\"o25\" r9=\"0\" r10=\"o19\" r1=\"0\" /><col r6=\"o23\" r4=\"o23\" r5=\"o23\" r9=\"0\" r10=\"o19\" r1=\"0\" /><col r6=\"o23\" r4=\"o23\" r5=\"o25\" r10=\"o19\" r1=\"0\" /></field>";
stop();
Symbol 211 MovieClip Frame 2
_root.fieldXML = new XML();
_root.fieldXML.ignoreWhite = true;
_root.fieldXML.parseXML(_root.mapXML1);
this.gotoAndPlay(3);
Symbol 211 MovieClip Frame 6
_root.loadField();
stop();
Symbol 211 MovieClip Frame 7
_root.fieldXML = new XML();
_root.fieldXML.ignoreWhite = true;
var xName = ("mapXML" + _root.LEVEL.show());
_root.fieldXML.parseXML(_root[xName]);
this.gotoAndPlay(3);
Symbol 212 Button
on (release) {
_root.gotoAndPlay("resetallframe");
}
Symbol 213 Button
on (release) {
_root.gotoAndPlay("sendscoreframe");
}
Symbol 225 Button
on (release) {
_root.gotoAndPlay("sendscoreframe");
}
Symbol 232 Button
on (release) {
_root.gotoAndPlay("resetallframe");
}
Symbol 237 Button
on (release) {
_root.challenge.gotoAndStop(2);
}
Symbol 244 Button
on (release, keyPress "<Enter>") {
gPlayList.playSound("buttonSound");
var errorMsg = [];
trace(this.iName);
trace(this.iMail);
if (this.senderName == undefined) {
trace("no name");
errorMsg.push("Your Name");
}
if (this.iName == undefined) {
trace("no name");
errorMsg.push("Friend's Name");
}
if (this.iMail == undefined) {
trace("no email");
errorMsg.push("Email");
}
if (errorMsg.length > 0) {
var max = errorMsg.length;
var message = "You forgot the following information:\n ";
var x = 0;
while (x < max) {
message = message + errorMsg[x];
if (x < (max - 1)) {
message = message + ", ";
}
x++;
}
this.errorMessage.play();
this.errorMessage.bg.gotoAndStop("error");
this.errorMessage.tText = ("<P ALIGN='CENTER'>Error. " + message) + "</P>";
return(undefined);
}
if (this.dataListener != undefined) {
this.dataListener.removeMovieClip();
}
this.createEmptyMovieClip("dataListener", 9999);
this.dataListener.onData = function () {
var num = 1;
for (var x in this) {
trace((((num + ") ") + x) + ":") + this[x]);
num++;
}
trace(this.str);
trace("this.success: " + this.success);
var message = "";
trace("returned : " + this.str);
if (this.success != 1) {
message = "Error -- please try again.";
var messageBox = this._parent.errorMessage;
messageBox.play();
messageBox.bg.gotoAndStop("error");
messageBox.tText = ("<P ALIGN='CENTER'>Error. " + message) + "</P>";
return(undefined);
}
var messageBox = this._parent.errorMessage;
messageBox.play();
messageBox.tText = "<P ALIGN='CENTER'>Challenge Card Sent</P>";
messageBox.bg.gotoAndStop("success");
this._parent.senderName = "";
this._parent.iMail = "";
this._parent.iName = "";
};
this.sender_emai = _level0.sender_email;
this.senderName = this.senderName;
var x_score = _root.eScore.show();
var x_recipient = this.iName;
var x_email = this.iMail;
var x_pictureID = 596;
trace("x_extra_text: " + x_extra_text);
var x_card_state = (("I earned " + _root.GAMESCORE.show()) + " points in the Cinnamon Toast Crunch game \"The Umpire Strike Out\". Can you beat me?");
var theurl = ((((((((((("http://www.neopets.com/process_sendgreeting.phtml?flash=1&sender_email=" + x_sender) + "&recipient_name=") + x_recipient) + "+&recipient_email=") + x_email) + "&sender_name=") + x_senderName) + "&extra_text=") + x_extra_text) + "&picture_id=") + x_pictureID);
trace("URL = " + theurl);
loadVariables (theurl, this.dataListener, "GET");
}
Symbol 245 Button
on (release) {
_parent.btnc._visible = true;
_parent.btna._visible = true;
_parent.btns._visible = true;
gPlayList.playSound("buttonSound");
this.prevFrame();
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
if (((_parent.iName != null) && (_parent.iMail != null)) && (_parent.senderName != null)) {
_parent.msgError.gotoAndStop(1);
this.flash = 1;
this.sender_email = _parent.senderEmail;
this.recipient_name = _parent.iName;
this.recipient_email = _parent.iMail;
this.sender_name = _parent.senderName;
this.extra_text = ((("I got to level " + _root.LEVEL.show()) + " and earned ") + _root.GAMESCORE.show()) + " points in the Cinnamon Toast Crunch game \"The Umpire Strikes Out\". Think you can beat me?";
this.picture_id = 596;
loadVariables ("http://www.neopets.com/process_sendgreeting.phtml", this, "POST");
_parent.sending.gotoAndPlay(2);
} else {
_parent.errorMessage.play();
_parent.errorMessage.tText = "You need to fill out all three fields.";
gotoAndStop (1);
}
Symbol 249 MovieClip Frame 4
trace("looping ... " + success);
if (success == null) {
this.gotoAndPlay(3);
} else {
_parent.sending.gotoAndStop(1);
if (success != 1) {
_parent.errorMessage.gotoAndPlay(2);
_parent.errorMessage.tText = "An error has occurred. Please try again.";
} else {
_parent.gotoAndPlay("success");
}
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 14
this.gotoAndPlay(2);
Symbol 255 Button
on (release, keyPress "<Enter>") {
this.sendCardProcess.gotoAndPlay(2);
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
this.sending.tabEnabled = false;
this.errorMessage.tabEnabled = false;
this.sendCardProcess.tabEnabled = false;
_parent.btnc.tabEnabled = false;
_parent.btna.tabEnabled = false;
_parent.btns.tabEnabled = false;
_parent.btnc._visible = false;
_parent.btna._visible = false;
_parent.btns._visible = false;
stop();
Instance of Symbol 268 MovieClip "errorMessage" in Symbol 271 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
Symbol 271 MovieClip Frame 3
_parent.btnc._visible = true;
_parent.btna._visible = true;
_parent.btns._visible = true;
Symbol 272 Button
on (release) {
_root.gotoAndPlay("resetallframe");
}