Frame 1
_root.current = 2;
stop();
_root.onEnterFrame = function () {
_root._xscale = 150;
_root._yscale = 150;
_root._x = -5;
_root._y = -6;
};
function soundPlayer() {
if (_root.mouseUp == 1) {
Song.stop();
Song.setVolume(50);
Song.start(Math.ceil(_root.seekmouse));
delete _root.mouseUp;
}
timeLimit = Song.position / 999;
seconds = Math.abs(Math.floor(timeLimit - (min * 60)));
seconds1 = Math.abs(Math.floor(seconds / 10));
min = Math.abs(Math.floor(timeLimit / 60));
seconds2 = Math.abs(seconds - (seconds1 * 10));
totalTimer = (((min + ":") + seconds1) + "") + seconds2;
Song.onSoundComplete = function () {
tune++;
if (tune == 2) {
Song.attachSound("song2");
soundTimer = Song.position;
soundDuration = Song.duration;
Song.start();
songName = "Deal in Happi";
} else if (tune == 3) {
Song.attachSound("song3");
soundTimer = Song.position;
soundDuration = Song.duration;
Song.start();
songName = "Maybe One Day";
} else if (tune == 4) {
Song.attachSound("song4");
soundTimer = Song.position;
soundDuration = Song.duration;
Song.start();
songName = "Cyclist thing";
} else if (tune == 5) {
Song.attachSound("song1");
soundTimer = Song.position;
soundDuration = Song.duration;
Song.start();
songName = "Victory Spoils";
tune = 1;
}
};
if (mp3Start == null) {
trace("soundPlayer");
Song = new Sound();
Song.attachSound("song1");
trace(Math.ceil((Song1.duration / 2) / 1000));
Song.start();
songName = "Victory Spoils";
Song.setVolume(50);
tune = 1;
mp3Start = 1;
}
}
Instance of Symbol 81 MovieClip in Frame 1
onClipEvent (load) {
start = -9999;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 1) {
this._visible = false;
this._x + start;
} else {
if (_root._currentframe == 2) {
this._visible = true;
this._x - start;
}
this.swapDepths(9000);
}
}
Instance of Symbol 116 MovieClip "soundbgm" in Frame 1
onClipEvent (load) {
_root.current = 2;
_root.BGM = 1;
if (_root.BGM == 1) {
gotoAndStop(_root.current);
}
}
onClipEvent (data) {
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
_root._xscale = 200;
_root._yscale = 200;
_root._x = -284;
_root._y = -149;
_root.chat("1", 30, 7);
_root.chat("2", 30, 7);
_root.chat("3", 30, 7);
_root.chat("4", 30, 7);
_root.chat("5", 30, 7);
_root.chat("6", 30, 7);
_root.chat("this is a test line of dialogue, blah blah blah blah", 30, 7);
_root.chat("Nexus Flash Clone: by carbonlad, aka NUAC", 30, 7);
_root.chat("11-21-2024: Added Chat Bar", 30, 7);
}
Frame 2
stop();
function chat(text, textLimit, textMaxLine) {
if (userLog == null) {
userLog = new Array();
z_Infotext_input = new Array();
}
var linLimit = 30;
linOutput = text;
var count = (count + 1);
z_Infotext_input.push(((name + "") + text) + count);
if (userLine >= textLimit) {
delete userLog[userLine - textLimit];
ch_display++;
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
} else if (userLine >= textMaxLine) {
ch_display++;
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
} else {
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
}
ch_display = _root.ch_display;
ch_display = userLine - textMaxLine;
chatOutput = ((((((((((((((((((((((userLog[1 + ch_display] + "<br>") + userLog[2 + ch_display]) + "<br>") + userLog[3 + ch_display]) + "<br>") + userLog[4 + ch_display]) + "<br>") + userLog[5 + ch_display]) + "<br>") + userLog[6 + ch_display]) + "<br>") + userLog[7 + ch_display]) + "<br>") + userLog[8 + ch_display]) + "<br>") + userLog[9 + ch_display]) + "<br>") + userLog[10 + ch_display]) + "<br>") + userLog[11 + ch_display]) + "<br>") + userLog[12 + ch_display]) + "<br>";
}
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
_root._xscale = 200;
_root._yscale = 200;
_root._x = -284;
_root._y = -149;
_root.chat("1", 30, 7);
_root.chat("2", 30, 7);
_root.chat("3", 30, 7);
_root.chat("4", 30, 7);
_root.chat("5", 30, 7);
_root.chat("6", 30, 7);
_root.chat("this is a test line of dialogue, blah blah blah blah", 30, 7);
_root.chat("Nexus Flash Clone: by DISCOPHRENIA", 30, 7);
_root.chat("11-21-2024: Added Chat Bar", 30, 7);
_root.onLoad = function () {
BGM = 1;
SFX = 1;
limit = _root.enemyCount;
};
_root.onEnterFrame = function () {
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -216;
};
function soundfx() {
if (SFX == 1) {
if (soundLoad == null) {
_root.soundmelee.duplicateMovieClip("soundmelee_1", 906);
_root.sounditem.duplicateMovieClip("sounditem_1", 903);
_root.soundeffect.duplicateMovieClip("soundeffect_1", 902);
_root.soundspell.duplicateMovieClip("soundspell_1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice_1", 905);
soundLoad = 1;
}
}
}
function mobReset() {
if (nmekoCount >= limit) {
if (Key.isDown(65)) {
delete resetmobTimer;
}
if (resetmobTimer >= 125) {
roomClear();
delete nmeCount;
delete nmekoCount;
delete reSpawn;
delete resetmobTimer;
} else {
resetmobTimer++;
}
}
}
function respawnFunc(mob, obj) {
if (strt == null) {
reSpawnArrayx = new Array();
reSpawnArrayy = new Array();
strt = 1;
}
debug = _root.mon1._x;
if (mob._x > (obj._x + 144)) {
if (_root.road.path.hitTest(mob._x + (obj._x - 96), mob._y, true)) {
mob._x = obj._x - 96;
} else {
mob._y = obj._y;
}
}
if (mob._x < (obj._x - 120)) {
if (_root.road.path.hitTest(mob._x + (obj._x - 120), mob._y, true)) {
mob._x = obj._x + 120;
} else {
mob._y = obj._y;
}
}
if (mob._y < (obj._y - 72)) {
if (_root.road.path.hitTest(mob._x, mob._y + (obj._y + 96), true)) {
mob._y = obj._y + 96;
} else {
mob._x = obj._x;
}
}
if (mob._y > (obj._y + 96)) {
if (_root.road.path.hitTest(mob._x, mob._y + (obj._y - 120), true)) {
mob._y = obj._y - 120;
} else {
mob._x = obj._x;
}
}
}
function doubleSpell(nme) {
cost = 5;
if ((attacks >= 2) && (_root.plyMana >= cost)) {
_root.plyMana = _root.plyMana - cost;
var doubleScan = 1;
while (doubleScan < (nmeCount + 1)) {
if ((Math.abs(_root.obj._x - _root["mon" + doubleScan]._x) < 72) && (Math.abs(_root.obj._y - _root["mon" + doubleScan]._y) < 72)) {
_root["mon" + doubleScan].vita = _root["mon" + doubleScan].vita - 20;
_root["mon" + doubleScan].nmeVitaTimer = 50;
mc_zerk.duplicateMovieClip("zerk" + doubleScan, 6000 + doubleScan);
_root["zerk" + doubleScan].gotoAndPlay(1);
_root["zerk" + doubleScan]._x = _root["mon" + doubleScan]._x;
_root["zerk" + doubleScan]._y = _root["mon" + doubleScan]._y - 12;
trace(_root["mon" + doubleScan]);
delete attacks;
_root.soundspell_1.gotoAndStop(8);
_root.soundmelee_1.gotoAndStop(2);
_root.obj.char.gotoAndStop(_root.obj.char._currentframe - 4);
_root.obj.char.anim.gotoAndPlay(1);
trace("DOUBLEATK");
}
doubleScan++;
}
}
}
function colorFunc(nme, ply) {
plwhiteTransform = {ra:"100", rb:plwhiteVrb, ga:"100", gb:plwhiteVrb, ba:"100", bb:plwhiteVrb, aa:"100", ab:"0"};
whiteTransform = {ra:"100", rb:whiteVrb, ga:"100", gb:whiteVrb, ba:"100", bb:whiteVrb, aa:"100", ab:"0"};
hitObjMob = new Color(_root.nmeguy);
hitObjPly = new Color(ply);
hitObjMob.setTransform(whiteTransform);
hitObjPly.setTransform(plwhiteTransform);
}
function nmeClear(nme) {
if (_root.atkbox.hitTest(nme.hb)) {
if (_root.plyMana >= _root.maxmana) {
_root.plyMana = _root.maxmana;
} else {
_root.plyMana = _root.plyMana + 1;
}
plydmg = Math.ceil(Math.random() * 0) + 3;
nmeguy = nme._name;
_root.atkbox._x = -999;
nme.vita = nme.vita - plydmg;
nme.nmeVitaTimer = 50;
_root.whiteBox.gotoAndPlay(1);
_root.soundmelee_1.gotoAndStop(5);
_root.soundmelee_1.gotoAndStop(1);
}
if (nme.nmeVitaTimer >= 1) {
nme.nmeVitaTimer = nme.nmeVitaTimer - 1;
} else {
delete nme.nmeVitaTimer;
}
if (nme.vita <= 0) {
nme.vita = 0;
delete nme.plyHtd;
delete nme.atk;
duplicateMovieClip ("pkgfx", "pk_Icon" + partnum, 4000 + partnum);
partnum = nme._name.slice(nme._name.length - 1, nme._name.length);
_root["pk_Icon" + partnum]._x = nmeguy._x;
_root["pk_Icon" + partnum]._y = nmeguy._y - 24;
if (nme.RemTimer >= 13) {
if (((nmekoCount >= limit) && (nmeCount >= limit)) && (reSpawn >= limit)) {
delete reSpawn;
delete nmekoCount;
trace("NMEKO");
}
if (nmekoCount >= limit) {
delete reSpawn;
delete nmekoCount;
} else {
nmekoCount++;
}
removeMovieClip(nme);
delete nme.RemTimer;
} else {
nme.RemTimer++;
}
}
}
function alignX(obj, mob) {
if (Math.abs(mob._x - obj._x) < 48) {
if (Math.abs(mob._x - obj._x) < 6) {
mob.plyHtd = 1;
delete mob.monAtmx1;
mob._x = obj._x;
mob.Htdx1 = 1;
mob.Htdx2 = 1;
} else if ((mob._x > obj._x) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._x = mob._x - mobSpd;
mob.gotoAndStop(2);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
} else if ((mob._x < obj._x) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._x = mob._x + mobSpd;
mob.gotoAndStop(3);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
}
}
}
function alignY(obj, mob) {
if (Math.abs(mob._y - obj._y) < 48) {
if (Math.abs(mob._y - obj._y) < 6) {
mob.plyHtd = 1;
delete mob.monAtmx1;
mob._y = obj._y;
} else if ((mob._y > obj._y) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._y = mob._y - mobSpd;
mob.gotoAndStop(4);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
} else if ((mob._y < obj._y) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._y = mob._y + mobSpd;
mob.gotoAndStop(1);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
}
}
}
function mobTurn(mob, atk) {
if (mob.plyHtd == 1) {
if (mob.coolDown >= (8 / _root.gameSpd)) {
mob.anim.gotoAndStop(8);
}
if (mob.coolDown >= (25 / _root.gameSpd)) {
delete mob.atk;
delete mob.coolDown;
} else {
mob.coolDown++;
}
if (mob._x < atk._x) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(7);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee_1.gotoAndStop(4);
}
} else if (mob._x > atk._x) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(6);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee_1.gotoAndStop(4);
}
} else if (mob._y > atk._y) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(8);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee_1.gotoAndStop(4);
}
} else if (mob._y < atk._y) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(5);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee_1.gotoAndStop(4);
}
}
} else {
plwhiteVrb = 0;
}
}
function faceNmex(obj, nme) {
if (attacks >= 2) {
if (obj._x < nme._x) {
obj.char.gotoAndStop(6);
}
if (obj._y < nme._x) {
obj.char.gotoAndStop(5);
}
if (obj._y > nme._y) {
obj.char.gotoAndStop(8);
}
if (obj._x > nme._x) {
obj.char.gotoAndStop(7);
}
}
}
function faceTurn(obj) {
if (Key.isDown(40) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(1);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(38) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(4);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(37) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(3);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(39) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(2);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else {
delete faceset;
if (obj.mous_input == null) {
delete obj.mous_Counter;
}
}
}
function roomClear() {
mobClear = 1;
while (mobClear < (limit + 1)) {
_root["mon" + mobClear].removeMovieClip();
delete nmeCount;
delete reSpawn;
delete _root.obj.plHdy;
delete _root.obj.plHdx;
delete _root.obj.plHdx2;
delete _root.obj.plHdy2;
mobClear++;
}
}
function kbMovement(mc) {
if (doubleLimit == null) {
doubleLimit = 6;
}
atkLimit = 12 / _root.gameSpd;
if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
if (atkCancel == null) {
delete plyerAtk;
delete atkCounter;
_root.atkbox._y = -999;
mc.char.anim.gotoAndStop(8);
_root.targ._x = mc._x;
_root.targ._y = mc._y;
atkCancel = 1;
}
}
if (Key.isDown(65) || (Key.isDown(32))) {
if (a_input == null) {
if (attacks >= 2) {
} else {
attacks++;
}
a_input = 1;
}
plyerAtk = 1;
delete atkCancel;
} else {
delete a_input;
if (doubleAtk >= doubleLimit) {
delete attacks;
delete doubleAtk;
} else {
if (attacks == 2) {
trace(attacks);
trace("doubleAtkDone");
delete doubleAtk;
delete attacks;
doubleSpellCheck = 1;
}
if (attacks == 1) {
doubleAtk++;
}
}
}
if (!Key.isDown(Key.getCode())) {
_root.targ._alpha = 100;
}
if (plyerAtk == 1) {
if (atkCounter == 1) {
if (atkInput == null) {
mc.char.gotoAndStop(mc.char._currentframe + 4);
atkInput = 1;
}
mc.char.anim.play();
_root.obj.kb_input = 1;
if (mc.char._currentframe == 5) {
_root.atkbox._x = mc._x;
_root.atkbox._y = mc._y + 12;
} else if (mc.char._currentframe == 7) {
_root.atkbox._x = mc._x - 24;
_root.atkbox._y = mc._y - 12;
} else if (mc.char._currentframe == 6) {
_root.atkbox._x = mc._x + 24;
_root.atkbox._y = mc._y - 12;
} else if (mc.char._currentframe == 8) {
_root.atkbox._x = mc._x;
_root.atkbox._y = mc._y - 32;
}
}
if (atkCounter == 2) {
_root.atk.box._x = -999;
}
if (atkCounter >= 5) {
_root.atkbox._y = -999;
mc.char.gotoAndStop(mc.char._currentframe - 4);
mc.char.anim.gotoAndStop(8);
delete atkInput;
}
if (atkCounter >= atkLimit) {
delete plyerAtk;
delete atkCounter;
} else {
atkCounter++;
}
} else if (plyerAtk == null) {
if (Key.isDown(40)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x;
_root.targ._y = mc._y + 24;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(38)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x;
_root.targ._y = mc._y - 24;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(37)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x - 36;
_root.targ._y = mc._y;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(39)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x + 24;
_root.targ._y = mc._y;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else {
delete _root.obj.kb_input;
}
}
}
function spwCheck(obj) {
if (varSpawn >= 3) {
varSpawn = 1;
} else {
varSpawn++;
}
if (_root.road.path.hitTest(obj._x + (mobDist * varSpawn), obj._y + (mobDist * varSpawn), true)) {
if (spawnCounter >= 1) {
_root.monSpawn();
delete spawnCounter;
} else {
_root.monSpawn();
varSpawn++;
spawnCounter++;
}
}
}
function monSpawn() {
trace(limit);
limit = _root.enemyCount;
nmeHealth = Math.ceil(Math.random() * 5) + 2;
if (nmeCount >= limit) {
if (reSpawn >= limit) {
} else {
reSpawn++;
_root.mob.duplicateMovieClip("mon" + reSpawn, 1000 + reSpawn);
_root["mon" + nmeCount]._.visible = false;
_root["mon" + reSpawn]._x = nmePoint._x + (varSpawn * mobDist);
_root["mon" + reSpawn]._y = nmePoint._y + mobDist;
_root["mon" + reSpawn].vita = nmeHealth;
}
} else {
delete reSpawn;
_root.nmeCount++;
_root.mob.duplicateMovieClip("mon" + nmeCount, 1000 + nmeCount);
_root["mon" + nmeCount]._.visible = false;
_root["mon" + nmeCount]._x = nmePoint._x;
_root["mon" + nmeCount]._y = nmePoint._y;
_root["mon" + nmeCount].vita = nmeHealth;
}
}
function mobMove(obj) {
mobReset();
colorFunc(nmeguy, obj);
var mobMvnt = 1;
while (mobMvnt < (nmeCount + 1)) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._visible = true;
} else {
_root["mon" + mobMvnt]._x = obj._x + 144;
_root["mon" + mobMvnt]._y = obj._y;
_root["mon" + mobMvnt]._visible = false;
}
respawnFunc(_root["mon" + mobMvnt], _root.obj);
faceNme(_root.obj, _root["mon" + mobMvnt]);
if (doubleSpellCheck == 1) {
doubleSpell(_root["mon" + mobMvnt]);
}
nmeClear(_root["mon" + mobMvnt]);
mobTurn(_root["mon" + mobMvnt], obj);
mobmvLimit = 3 / _root.gameSpd;
mobSpd = 8 * _root.gameSpd;
mobDist = 24 / _root.gameSpd;
if ((Math.abs(_root["mon" + mobMvnt]._x - obj._x) < 32) && (Math.abs(_root["mon" + mobMvnt]._y - obj._y) < 32)) {
if (_root["mon" + mobMvnt]._y < obj._y) {
_root.alignX(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._y > obj._y) {
_root.alignX(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._x < obj._x) {
_root.alignY(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._x > obj._x) {
_root.alignY(obj, _root["mon" + mobMvnt]);
}
} else {
delete _root["mon" + mobMvnt].plyHtd;
if ((_root["mon" + mobMvnt]._x < (obj._x - mobDist)) && (_root["mon" + mobMvnt].Htdx1 == null)) {
if (_root["mon" + mobMvnt].monAtmx1 >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x + mobDist, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._x = _root["mon" + mobMvnt]._x + mobSpd;
_root["mon" + mobMvnt].gotoAndStop(3);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmx1;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._x + mobDist) < _root["mon" + mobHd]._x) && (_root["mon" + mobMvnt]._y == _root["mon" + mobHd]._y)) {
_root["mon" + mobMvnt].Htdx1 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmx1++;
}
} else if ((_root["mon" + mobMvnt]._x > (obj._x + mobDist)) && (_root["mon" + mobMvnt].Htdx2 == null)) {
if (_root["mon" + mobMvnt].monAtmx2 >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x - mobDist, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._x = _root["mon" + mobMvnt]._x - mobSpd;
_root["mon" + mobMvnt].gotoAndStop(2);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmx2;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._x - mobDist) == _root["mon" + mobHd]._x) && (_root["mon" + mobMvnt]._y == _root["mon" + mobHd]._y)) {
_root["mon" + mobMvnt].Htdx2 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmx2++;
}
} else if ((_root["mon" + mobMvnt]._y < (obj._y - mobDist)) && (_root["mon" + mobMvnt].Htdy1 == null)) {
if (_root["mon" + mobMvnt].monAtmy >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y + mobDist, true)) {
_root["mon" + mobMvnt]._y = _root["mon" + mobMvnt]._y + mobSpd;
_root["mon" + mobMvnt].gotoAndStop(1);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmy;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._y + mobDist) == _root["mon" + mobHd]._y) && (_root["mon" + mobMvnt]._x == _root["mon" + mobHd]._x)) {
_root["mon" + mobMvnt].Htdy1 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmy++;
}
} else if ((_root["mon" + mobMvnt]._y > (obj._y + mobDist)) && (_root["mon" + mobMvnt].Htdy2 == null)) {
if (_root["mon" + mobMvnt].monAtmy >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y - mobDist, true)) {
_root["mon" + mobMvnt]._y = _root["mon" + mobMvnt]._y - mobSpd;
_root["mon" + mobMvnt].gotoAndStop(4);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmy;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._y - mobDist) == _root["mon" + mobHd]._y) && (_root["mon" + mobMvnt]._x == _root["mon" + mobHd]._x)) {
_root["mon" + mobMvnt].Htdy2 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmy++;
}
} else if (_root["mon" + mobMvnt].atk == null) {
_root["mon" + mobMvnt].anim.gotoAndStop(8);
}
}
mobMvnt++;
}
}
function follTarg() {
dest_y = Math.ceil(_root.targ._y / mov_spd) * mov_spd;
dest_x = Math.ceil(_root.targ._x / mov_spd) * mov_spd;
player_y = Math.ceil(this._y / mov_spd) * mov_spd;
player_x = Math.ceil(this._x / mov_spd) * mov_spd;
}
function follAnim() {
if ((Math.abs(dest_x - player_x) / mov_spd) >= 1) {
if ((((dest_x / mov_spd) > (player_x / mov_spd)) && (_root.road.hitTest(player_x + mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x + mov_spd, this._y, true))) {
_root.obj.char.gotoAndStop(2);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + (-mov_spd);
pl_cordx++;
} else if ((((dest_x / mov_spd) < (player_x / mov_spd)) && (_root.road.hitTest(player_x - mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x - mov_spd, this._y, true))) {
_root.obj.char.gotoAndStop(3);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + mov_spd;
pl_cordx--;
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
if ((Math.abs(dest_y - player_y) / mov_spd) >= 1) {
if ((((dest_y / mov_spd) > (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y + mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y + mov_spd, true))) {
_root.obj.char.gotoAndStop(1);
_root.obj.char.anim.play();
_root.road._y = _root.road._y + (-mov_spd);
} else if ((((dest_y / mov_spd) < (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y - mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y - mov_spd, true))) {
_root.obj.char.gotoAndStop(4);
_root.obj.char.anim.play();
_root.road._y = _root.road._y + mov_spd;
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
}
Instance of Symbol 253 MovieClip "targ" in Frame 2
onClipEvent (load) {
this._x = _root.obj._x;
this._y = _root.obj._y;
}
onClipEvent (enterFrame) {
if (this._x < Math.ceil((_root._xmouse / 24) * 24)) {
this._x = this._x + 24;
}
if (this._x > Math.ceil((_root._xmouse / 24) * 24)) {
this._x = this._x - 24;
}
if (this._y < Math.ceil((_root._ymouse / 24) * 24)) {
this._y = this._y + 24;
}
if (this._y > Math.ceil((_root._ymouse / 24) * 24)) {
this._y = this._y - 24;
}
}
Instance of Symbol 255 MovieClip "nmePoint" in Frame 2
onClipEvent (enterFrame) {
if ((((((!Key.isDown(38)) && (!Key.isDown(Key.Down))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (_root.nmeCount < 9)) && (_root.m_input == null)) {
if (spawnTimer >= 10) {
if (_root.obj.dir >= 4) {
_root.obj.dir = 1;
} else {
_root.obj.dir++;
_root.spwCheck(this);
}
delete spawnTimer;
} else {
spawnTimer++;
}
} else {
if (_root.obj.dir == 1) {
this._x = _root.obj._x;
this._y = _root.obj._y + 120;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 2) {
this._x = _root.obj._x + 144;
this._y = _root.obj._y;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 3) {
this._x = _root.obj._x - 120;
this._y = _root.obj._y;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 4) {
this._x = _root.obj._x;
this._y = _root.obj._y - 96;
_root.spwCheck(this);
delete _root.obj.dir;
}
}
}
Instance of Symbol 165 MovieClip "obj" in Frame 2
onClipEvent (load) {
_root.BGM = 1;
_root.SFX = 1;
_root.limit = _root.enemyCount;
_root.enemyCount = 8;
_root.gameSpd = 1;
if (_root.strtx == null) {
_root.strtx = _root.road._x;
_root.strty = _root.road._y;
_root.obj.char.anim.gotoAndStop(8);
}
_root.road._x = _root.map_x;
_root.road._y = _root.map_y;
_root.road.gotoAndStop(_root.map_cf);
_root.road.path.gotoAndStop(_root.map_cfp);
_root.road.exits.gotoAndStop(_root.map_cfe);
_root.obj._x = _root.arrow_x;
_root.obj._y = _root.arrow_y;
delete _root.map_x;
}
onClipEvent (enterFrame) {
_root.soundfx();
_root.faceTurn(this);
_root.mobMove(this);
_root.coordX = Math.abs(Math.floor(_root.road.path._width / 24) - Math.floor(_root._xmouse / 24));
_root.coordY = Math.floor(_root.road.path._height / 24);
mov_spd = 8 * _root.gameSpd;
if (_root.road.path._currentframe >= 8) {
_root.gotoAndStop("56");
}
mousLimit = 2 / _root.gameSpd;
if (mous_input == 1) {
if (mous_Counter >= mousLimit) {
delete mous_Counter;
} else {
mous_Counter++;
}
}
_root.kbMovement(this);
if (((mous_input == 1) && (mous_Counter >= mousLimit)) || ((kb_input == 1) && (mous_Counter >= mousLimit))) {
_root.mobEncounter++;
dest_y = Math.ceil(_root.targ._y / mov_spd) * mov_spd;
dest_x = Math.ceil(_root.targ._x / mov_spd) * mov_spd;
player_y = Math.ceil(this._y / mov_spd) * mov_spd;
player_x = Math.ceil(this._x / mov_spd) * mov_spd;
if (((Math.abs(dest_x - player_x) / mov_spd) >= 1) && ((Math.abs(dest_y - player_y) / mov_spd) >= 1)) {
_root.obj.char.anim.gotoAndStop(8);
} else {
if ((Math.abs(dest_x - player_x) / mov_spd) >= 1) {
if (((((dest_x / mov_spd) > (player_x / mov_spd)) && (_root.road.hitTest(player_x + mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x + mov_spd, this._y, true))) && (_root.obj.plHdx == null)) {
_root.obj.char.gotoAndStop(2);
_root.obj.char.anim.gotoAndPlay(_root.obj.char.anim._currentframe + _root.gameSpd);
_root.road._x = _root.road._x + (-mov_spd);
pl_cordx++;
dir = 2;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._x = _root["mon" + moveMob]._x - mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else if (((((dest_x / mov_spd) < (player_x / mov_spd)) && (_root.road.hitTest(player_x - mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x - mov_spd, this._y, true))) && (_root.obj.plHdx2 == null)) {
_root.obj.char.gotoAndStop(3);
_root.obj.char.anim.gotoAndPlay(_root.obj.char.anim._currentframe + _root.gameSpd);
_root.road._x = _root.road._x + mov_spd;
pl_cordx--;
dir = 3;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._x = _root["mon" + moveMob]._x + mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
if ((Math.abs(dest_y - player_y) / mov_spd) >= 1) {
if (((((dest_y / mov_spd) > (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y + mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y + mov_spd, true))) && (_root.obj.plHdy == null)) {
_root.obj.char.gotoAndStop(1);
_root.obj.char.anim.gotoAndPlay(_root.obj.char.anim._currentframe + _root.gameSpd);
_root.road._y = _root.road._y + (-mov_spd);
dir = 1;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._y = _root["mon" + moveMob]._y - mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else if (((((dest_y / mov_spd) < (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y - mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y - mov_spd, true))) && (_root.obj.plHdy2 == null)) {
_root.obj.char.gotoAndStop(4);
_root.obj.char.anim.gotoAndPlay(_root.obj.char.anim._currentframe + _root.gameSpd);
dir = 4;
_root.road._y = _root.road._y + mov_spd;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._y = _root["mon" + moveMob]._y + mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
}
}
if ((mous_input == null) && (kb_input == null)) {
_root.obj.char.anim.gotoAndStop(8);
}
moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
if (((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (mous_input == null)) {
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y - 24)) {
delete _root.obj.plHdy;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x - 24, _root["mon" + moveMob]._y - 12)) {
delete _root.obj.plHdx;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x + 24, _root["mon" + moveMob]._y - 12)) {
delete _root.obj.plHdx2;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y + 12)) {
delete _root.obj.plHdy2;
}
}
if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y - 24)) {
_root.obj.plHdy = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x - 24, _root["mon" + moveMob]._y - 12)) {
_root.obj.plHdx = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x + 24, _root["mon" + moveMob]._y - 12)) {
_root.obj.plHdx2 = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y + 12)) {
_root.obj.plHdy2 = 1;
}
moveMob++;
}
if (_root.mobEncounter >= _root.mobCaught) {
delete _root.mobCaught;
delete _root.mobEncounter;
delete _root.map_x;
if (_root.map_x == null) {
_root.map_x = _root.road._x;
_root.map_y = _root.road._y;
_root.map_cf = _root.road._currentframe;
_root.map_cfp = _root.road.path._currentframe;
_root.map_cfe = _root.road.exits._currentframe;
_root.arrow_x = this._x;
_root.arrow_y = this._y;
}
} else {
_root.stop();
}
}
onClipEvent (mouseUp) {
delete mous_input;
delete _root.m_input;
}
onClipEvent (mouseDown) {
mous_input = 1;
_root.m_input = 1;
}
Instance of Symbol 162 MovieClip "shadow" in Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.char._currentframe);
this.anim.gotoAndStop(_parent.char.anim._currentframe);
}
Instance of Symbol 221 MovieClip "plWhiteBox" in Frame 2
onClipEvent (load) {
this.gotoAndStop(14);
}
Instance of Symbol 116 MovieClip "soundbgm" in Frame 2
onClipEvent (enterFrame) {
_root.soundPlayer();
}
onClipEvent (load) {
_root.current = 3;
_root.BGM = 1;
if (_root.BGM == 1) {
Song.start(100, 1);
}
}
onClipEvent (data) {
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
_root._xscale = 200;
_root._yscale = 200;
_root._x = -284;
_root._y = -149;
_root.chat("1", 30, 7);
_root.chat("2", 30, 7);
_root.chat("3", 30, 7);
_root.chat("4", 30, 7);
_root.chat("5", 30, 7);
_root.chat("6", 30, 7);
_root.chat("this is a test line of dialogue, blah blah blah blah", 30, 7);
_root.chat("Nexus Flash Clone: by carbonlad, aka NUAC", 30, 7);
_root.chat("11-21-2024: Added Chat Bar", 30, 7);
}
Symbol 24 Button
on (press) {
gotoAndStop (1);
}
Symbol 25 Button
on (press) {
gotoAndStop (2);
}
Symbol 26 Button
on (press) {
gotoAndStop (3);
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 46 Button
on (press) {
m = 1;
}
on (release, dragOut, releaseOutside) {
delete m;
}
Symbol 50 Button
on (press) {
m = 1;
}
on (release, dragOut, releaseOutside) {
_root.mouseUp = 1;
delete m;
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 3
stop();
Instance of Symbol 35 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (enterFrame) {
trace(_root.SFX);
if (_root.SFX == null) {
this.gotoAndStop(2);
_root.SFX = 1;
}
if (_root.SFX == 2) {
if (soundUnload == null) {
removeMovieClip(_root.soundeffect_1);
removeMovieClip(_root.sounditem_1);
removeMovieClip(_root.soundspell_1);
removeMovieClip(_root.soundvoice_1);
removeMovieClip(_root.soundmelee_1);
soundUnload = 1;
}
this.gotoAndStop(1);
}
if (_root.SFX == 1) {
if (soundLoad == null) {
_root.soundeffect.duplicateMovieClip("soundeffect_1", 902);
_root.sounditem.duplicateMovieClip("sounditem_1", 903);
_root.soundspell.duplicateMovieClip("soundspell_1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice_1", 905);
_root.soundmelee.duplicateMovieClip("soundmelee_1", 906);
soundLoad = 1;
}
this.gotoAndStop(2);
} else if (_root.SFXstart == null) {
this.gotoAndStop(1);
_root.SFX = 2;
_root.SFXstart = 1;
} else if (_root.sound1._x == null) {
this.gotoAndStop(1);
_root.SFX = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
if (soundfx == null) {
if (_root.SFX >= 2) {
_root.SFX = 1;
} else {
_root.SFX++;
}
if (_root.SFX == 2) {
removeMovieClip(_root.soundeffect_1);
removeMovieClip(_root.sounditem_1);
removeMovieClip(_root.soundspell_1);
removeMovieClip(_root.soundvoice_1);
removeMovieClip(_root.soundmelee_1);
this.gotoAndStop(2);
}
if (_root.SFX == 1) {
_root.soundeffect.duplicateMovieClip("soundeffect_1", 902);
_root.sounditem.duplicateMovieClip("sounditem_1", 903);
_root.soundspell.duplicateMovieClip("soundspell_1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice_1", 905);
_root.soundmelee.duplicateMovieClip("soundmelee_1", 906);
_root.soundmelee_1.gotoAndPlay(2);
this.gotoAndStop(1);
}
soundfx = 1;
}
} else {
delete soundfx;
}
}
Instance of Symbol 35 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.BGM == null) {
this.gotoAndStop(2);
_root.BGM = 1;
}
if (_root.BGM == 1) {
this.gotoAndStop(2);
} else if (_root.BGMstart == null) {
this.gotoAndStop(1);
_root.BGM = 2;
_root.BGMstart = 1;
} else if (_root.soundbgm1._x == null) {
this.gotoAndStop(1);
_root.BGM = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
_root.mouseReset();
if (muzie == null) {
if (_root.BGM >= 2) {
_root.BGM = 1;
} else {
_root.BGM++;
}
if (_root.BGM == 2) {
stopAllSounds();
removeMovieClip(_root.soundbgm1);
}
if (_root.BGM == 1) {
_root.Song.start();
_root.tune = 1;
}
muzie = 1;
}
} else {
delete muzie;
}
}
Instance of Symbol 47 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
this.m = 0;
this.vrb = _root.doubleLimit;
this.scrub._x = (_root.doubleLimit * 48.3) / 12;
}
onClipEvent (enterFrame) {
if (this.m == null) {
this.vrb = _root.doubleLimit;
this.m = 2;
}
if (this.m == 1) {
this.vrb = _root.doubleLimit;
_root.doubleLimit = Math.ceil((this._xmouse * 12) / 48.3);
if (this._xmouse > 48.3) {
_root.doubleLimit = 12;
} else if (this._xmouse < 0) {
_root.doubleLimit = 1;
} else {
this.scrub._x = this._xmouse;
}
}
}
Instance of Symbol 47 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
_root.gameSpd = 1;
this.m = 0;
this.vrb = _root.gameSpd;
this.scrub._x = (_root.gameSpdt * 48.3) / 12;
}
onClipEvent (enterFrame) {
if (this.m == null) {
this.vrb = _root.gameSpd;
this.m = 2;
}
if (this.m == 1) {
this.vrb = _root.gameSpd;
_root.gameSpd = Math.ceil((this._xmouse * 3) / 48.3);
if (this._xmouse > 48.3) {
_root.gameSpd = 3;
} else if (this._xmouse < 0) {
_root.gameSpd = 1;
} else {
this.scrub._x = this._xmouse;
}
}
}
Instance of Symbol 47 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
maxLimit = 16;
_root.enemyCount = 8;
this.m = 0;
this.vrb = _root.enemyCount;
this.scrub._x = (_root.enemyCount * 48.3) / maxLimit;
}
onClipEvent (enterFrame) {
if (this.m == null) {
this.vrb = _root.enemyCount;
this.m = 2;
}
if (this.m == 1) {
this.vrb = _root.enemyCount;
_root.enemyCount = Math.ceil((this._xmouse * 16) / 48.3);
if (this._xmouse > 48.3) {
_root.enemyCount = maxLimit;
} else if (this._xmouse < 0) {
_root.enemyCount = 1;
} else {
this.scrub._x = this._xmouse;
}
}
}
Instance of Symbol 53 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
this.scrub._x = 0;
}
onClipEvent (enterFrame) {
if (this.m == 1) {
this.scrub._x = _xmouse;
_root.seekmouse = Math.ceil(((_xmouse * _root.Song.duration) / 45.5) / 1000);
_root.mouseUp = 1;
} else {
delete _root.mouseUp;
if (this.m == null) {
this.scrub._x = (_root.Song.position * 45.5) / _root.Song.duration;
}
if (this.scrub._x < 0) {
this.scrub = 0;
}
if (this.scrub._x >= 45.5) {
this.scrub._x = 45.5;
}
}
}
Instance of Symbol 47 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
this.m = 0;
this.vrb = _root.Song.getVolume();
this.scrub._x = (_root.Song.getVolume() * 48.3) / 100;
}
onClipEvent (enterFrame) {
if (this.m == null) {
this.m = 2;
}
if (this.m == 1) {
this.vrb = _root.Song.getVolume();
_root.Song.setVolume(Math.ceil((this._xmouse * 100) / 48.3));
if (this._xmouse > 48.3) {
_root.Song.setVolume(100);
} else if (this._xmouse < 0) {
_root.Song.setVolume(0);
} else {
this.scrub._x = this._xmouse;
}
}
}
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip Frame 3
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.debugGame == null) {
_alpha = 100;
if (counter == null) {
counter = 1;
}
if (getTimer() >= (999 * counter)) {
counter++;
_root.fps = "FPS:" + rate;
delete rate;
} else {
rate++;
}
} else {
_visible = false;
}
}
Instance of Symbol 63 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.plyHealth < 0) {
_root.plyHealth = 0;
} else {
this._width = (_root.plyHealth * 60) / _root.maxhealth;
}
}
Instance of Symbol 72 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.plyMana < 0) {
this._width = 0;
} else {
this._width = (_root.plyMana * 60) / _root.maxmana;
}
}
Instance of Symbol 69 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
_root.maxhealth = 200;
_root.plyHealth = _root.maxhealth;
}
Instance of Symbol 78 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
_root.maxmana = 20;
_root.plyMana = _root.maxmana;
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
gotoAndStop (1);
Symbol 91 MovieClip Frame 3
gotoAndStop (1);
Symbol 91 MovieClip Frame 4
gotoAndStop (1);
Symbol 91 MovieClip Frame 5
gotoAndStop (1);
Symbol 91 MovieClip Frame 6
gotoAndStop (1);
Symbol 91 MovieClip Frame 7
gotoAndStop (1);
Symbol 91 MovieClip Frame 8
gotoAndStop (1);
Symbol 91 MovieClip Frame 9
gotoAndStop (1);
Symbol 91 MovieClip Frame 10
gotoAndStop (1);
Symbol 97 MovieClip Frame 1
gotoAndStop (1);
Symbol 97 MovieClip Frame 2
gotoAndStop (1);
Symbol 97 MovieClip Frame 3
gotoAndStop (1);
Symbol 97 MovieClip Frame 4
gotoAndStop (1);
Symbol 97 MovieClip Frame 5
gotoAndStop (1);
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
gotoAndStop (1);
Symbol 102 MovieClip Frame 3
gotoAndStop (1);
Symbol 102 MovieClip Frame 4
gotoAndStop (1);
Symbol 102 MovieClip Frame 5
gotoAndStop (1);
Symbol 109 MovieClip Frame 1
gotoAndStop (1);
Symbol 109 MovieClip Frame 2
gotoAndStop (1);
Symbol 109 MovieClip Frame 3
gotoAndStop (1);
Symbol 109 MovieClip Frame 4
gotoAndStop (1);
Symbol 109 MovieClip Frame 5
gotoAndStop (1);
Symbol 109 MovieClip Frame 6
gotoAndStop (1);
Symbol 109 MovieClip Frame 7
gotoAndStop (1);
Symbol 109 MovieClip Frame 8
gotoAndStop (1);
Symbol 109 MovieClip Frame 9
gotoAndStop (1);
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
gotoAndStop (1);
Symbol 112 MovieClip Frame 3
stop();
gotoAndStop (1);
Symbol 112 MovieClip Frame 4
stop();
gotoAndStop (1);
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
gotoAndStop (1);
Symbol 116 MovieClip Frame 3
gotoAndStop (1);
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
stop();
Symbol 129 MovieClip Frame 3
stop();
Symbol 129 MovieClip Frame 4
stop();
Symbol 129 MovieClip Frame 5
stop();
Symbol 129 MovieClip Frame 6
stop();
Symbol 129 MovieClip Frame 7
stop();
Symbol 129 MovieClip Frame 8
stop();
Symbol 129 MovieClip Frame 9
stop();
Symbol 129 MovieClip Frame 10
stop();
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 131 MovieClip "f_exit" in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.r_strtx;
_root.road._y = _root.r_strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 132 MovieClip Frame 2
stop();
Instance of Symbol 131 MovieClip "b_exit" in Symbol 132 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
if (_root.r_strtx == null) {
_root.r_strtx = _root.road._x;
_root.r_strty = _root.road._y - 49;
}
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe - 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe - 1);
}
}
Instance of Symbol 131 MovieClip "f_exit" in Symbol 132 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 132 MovieClip Frame 3
stop();
Instance of Symbol 131 MovieClip "b_exit" in Symbol 132 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
if (_root.r_strtx == null) {
_root.r_strtx = _root.road._x;
_root.r_strty = _root.road._y - 72;
}
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe - 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe - 1);
}
}
Instance of Symbol 131 MovieClip "f_exit" in Symbol 132 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 132 MovieClip Frame 4
stop();
Instance of Symbol 131 MovieClip "f_exit" in Symbol 132 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 132 MovieClip Frame 5
stop();
Symbol 132 MovieClip Frame 6
stop();
Symbol 132 MovieClip Frame 7
stop();
Symbol 133 MovieClip Frame 1
stop();
Instance of Symbol 120 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
this._width = 9000;
this._height = 9000;
}
Instance of Symbol 129 MovieClip "path" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
if (_root.map_cf == null) {
this.gotoAndStop(2);
}
}
Instance of Symbol 132 MovieClip "exits" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
if (_root.map_cf == null) {
this.gotoAndStop(2);
}
}
Symbol 133 MovieClip Frame 2
stop();
Symbol 133 MovieClip Frame 3
stop();
Symbol 133 MovieClip Frame 4
stop();
Symbol 133 MovieClip Frame 5
stop();
Symbol 133 MovieClip Frame 6
stop();
Symbol 133 MovieClip Frame 7
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
stop();
Symbol 162 MovieClip Frame 3
stop();
Symbol 162 MovieClip Frame 4
stop();
Symbol 162 MovieClip Frame 5
stop();
Symbol 162 MovieClip Frame 6
stop();
Symbol 162 MovieClip Frame 7
stop();
Symbol 162 MovieClip Frame 8
stop();
Instance of Symbol 162 MovieClip "shadow" in Symbol 165 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.char._currentframe);
this.anim.gotoAndStop(_parent.char.anim._currentframe);
}
Symbol 180 MovieClip Frame 8
stop();
Symbol 183 MovieClip Frame 8
stop();
Symbol 188 MovieClip Frame 8
stop();
Symbol 193 MovieClip Frame 8
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 3
stop();
Symbol 194 MovieClip Frame 4
stop();
Symbol 194 MovieClip Frame 5
stop();
Symbol 194 MovieClip Frame 6
stop();
Symbol 194 MovieClip Frame 7
stop();
Symbol 194 MovieClip Frame 8
stop();
Instance of Symbol 199 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (_parent._parent.vita < 0) {
_parent._parent.vita = 0;
}
if (((_parent._parent.vita * 100) / 5) > 50) {
this.gotoandStop(1);
}
if (((_parent._parent.vita * 100) / 5) < 50) {
this.gotoandStop(2);
}
if (((_parent._parent.vita * 100) / 5) < 25) {
this.gotoandStop(3);
}
if (_parent._parent.nmeVitaTimer > 1) {
this._width = (_parent._parent.vita * 28.8) / 5;
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 201 MovieClip Frame 1
stop();
Instance of Symbol 194 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
this.anim.gotoAndStop(_parent.anim);
}
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 201 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 7
stop();
Symbol 201 MovieClip Frame 8
stop();
Symbol 216 MovieClip Frame 16
this._x = -999;
Symbol 221 MovieClip Frame 2
_root.plwhiteVrb = 255;
Symbol 221 MovieClip Frame 6
_root.plwhiteVrb = 0;
Symbol 221 MovieClip Frame 15
stop();
Symbol 222 MovieClip Frame 2
_root.whiteVrb = 255;
Symbol 222 MovieClip Frame 6
_root.whiteVrb = 0;
Symbol 222 MovieClip Frame 14
stop();
Instance of Symbol 81 MovieClip "hud" in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(9000);
}
Instance of Symbol 162 MovieClip "shadow" in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.char._currentframe);
this.anim.gotoAndStop(_parent.char.anim._currentframe);
}
Instance of Symbol 219 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (keyDown) {
_parent._parent.nextFrame();
}
onClipEvent (mouseDown) {
_parent._parent.nextFrame();
}
Instance of Symbol 221 MovieClip "plWhiteBox" in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(14);
}
Instance of Symbol 222 MovieClip "whiteBox" in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (14);
}
Symbol 236 Button
on (press) {
if (mousePress >= 2) {
delete mousePress;
gotoAndStop (3);
} else {
mousePress++;
}
}
Symbol 250 Button
on (press) {
if (mousePress >= 2) {
delete mousePress;
_parent.nextFrame();
} else {
mousePress++;
}
}
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 223 MovieClip "demo" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
if (_root._curentframe == 3) {
this._y = -999;
}
}
onClipEvent (load) {
soundm = [1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 4, 1, 4, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 5, 4, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 5, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
whitebox1 = [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 1, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 1, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 1, 1, 2, 3, 4, 5, 1, 2, 3];
whitebox2 = [14, 14, 14, 14, 14, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14];
playerx = [264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7];
playery = [188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188];
playerf = [2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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 7, 7, 0, 1, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 0, 1, 3, 4, 5, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 1, 2, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
mapx = [-56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -64, -64, -64, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -80, -80, -80, -88, -88, -88, -96, -96, -96, -104, -104, -104, -112, -112, -112, -120, -120, -120, -128, -128, -128, -136, -136, -136, -144, -144, -144, -152, -152, -152, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -160, -152, -152, -152, -144, -144, -144, -136, -136, -136, -128, -128, -128, -120, -120, -120, -112, -112, -112, -104, -104, -104, -96, -96, -96, -88, -88, -88, -80, -80, -80, -72, -72, -72, -64, -64, -64, -56, -56, -56, -48, -48, -48, -40, -40, -40, -32, -32, -32, -24, -24, -24, -16, -16, -16, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 8, 8, 8, 16, 16, 16, 24, 24, 24, 32, 32, 32, 40, 40, 40, 48, 48, 48, 56, 56, 56, 64, 64, 64, 72, 72, 72, 80, 80, 80, 88, 88, 88, 96, 96, 96, 104, 104, 104, 112, 112, 112, 120, 120, 120, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128];
mapy = [94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 94.05, 102.05, 102.05, 102.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 110.05, 102.05, 102.05, 102.05, 94.05, 94.05, 94.05, 86.05, 86.05, 86.05, 78.05, 78.05, 78.05, 70.05, 70.05, 70.05, 62.05, 62.05, 62.05, 54.05, 54.05, 54.05, 46.05, 46.05, 46.05, 38.05, 38.05, 38.05, 30.05, 30.05, 30.05, 22.05, 22.05, 22.05, 14.05, 14.05, 14.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05, 6.05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, 3, 3, 3, 3, 3, 3];
e1x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e1y = [999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e1f = [-9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e1a = [9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e2x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e2y = [999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e2f = [9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e2a = [9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e3x = [-999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e3y = [-999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e3f = [-9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e3a = [9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e4x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e4y = [999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e4f = [-9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e4a = [-9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e5x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e5y = [999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e5f = [-9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e5a = [9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e6x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e6y = [-999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e6f = [9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e6a = [9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e7x = [-999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
e7y = [-999188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 332, 68, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 180, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, 332, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -999, -999, -999, -999, -999, -999, -999];
e7f = [-9992, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -999, -999, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, -999, -999, -999, -999, -999, -999, -999];
e7a = [-9992, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, -999, -999, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -999, -999, -999, -999, -999, -999, -999];
e8x = [999336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, -999, 288.7, 288.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 400.7, 408.7, 416.7, 408.7, 400.7, 416.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 416.7, 416.7, 424.7, 416.7, 416.7, 424.7, 424.7, 416.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 432.7, 424.7, 424.7, 432.7, 432.7, 424.7, 432.7, 432.7, 432.7, 424.7, 424.7, 424.7, 424.7, 416.7, 416.7, 416.7, 416.7, 408.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 392.7, 384.7, 384.7, 384.7, 384.7, 376.7, 376.7, 376.7, 376.7, 368.7, 368.7, 368.7, 368.7, 360.7, 360.7, 360.7, 360.7, 352.7, 352.7, 352.7, 352.7, 344.7, 344.7, 344.7, 344.7, 336.7, 336.7, 336.7, 336.7, 328.7, 328.7, 328.7, 328.7, 320.7, 320.7, 320.7, 320.7, 312.7, 312.7, 312.7, 312.7, 304.7, 304.7, 304.7, 304.7, 296.7, 296.7, 296.7, 296.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, 288.7, -999, -999, 336.7, 408.7, 408.7, 408.7, 400.7, 400.7, 400.7, 400.7, 392.7, 392.7, 392.7, 400.7, 392.7, 392.7, 400.7, 400.7, 392.7, 400.7, 400.7, 400.7, 400.7, 400.7, 400.7, 408.7, 400.7, 400.7, 408.7, 408.7, 400.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 416.7, 408.7, 408.7, 416.7, 416.7, 408.7, 416.7, 416.7, 416.7, 416.7, 168.7, 168.7, 176.7, 184.7, 184.7, 192.7, 192.7, 200.7, 208.7, 208.7, 208.7, 224.7, 224.7, 224.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, 232.7, -999, -999, -999, -999, -999, -999, -999];
}
onClipEvent (enterFrame) {
if (ply >= playerx.length) {
_root.titlescreen._xscale = 100;
_root.titlescreen._yscale = 100;
_root.titlescreen._x = 246;
_root.titlescreen._y = 272;
_parent.nextFrame();
} else {
_root.titlescreen._xscale = 200;
_root.titlescreen._yscale = 200;
_root.titlescreen._x = 218;
_root.titlescreen._y = 334;
}
ply++;
_root.titlescreen.demo.player.char.gotoAndStop(playerf[ply]);
_root.titlescreen.demo.player.char.anim.gotoAndStop(playera[ply]);
_root.titlescreen.demo.road._x = mapx[ply];
_root.titlescreen.demo.road._y = mapy[ply];
_root.titlescreen.demo.road.path.gotoAndStop(mapf[ply]);
_root.titlescreen.demo.road.exits.gotoAndStop(mape[ply]);
_root.titlescreen.demo.mon1._x = e1x[ply];
_root.titlescreen.demo.mon1._y = e1y[ply];
_root.titlescreen.demo.mon1.gotoAndStop(e1f[ply]);
_root.titlescreen.demo.mon1.anim.gotoAndStop(e1a[ply]);
_root.titlescreen.demo.mon2._x = e2x[ply];
_root.titlescreen.demo.mon2._y = e2y[ply];
_root.titlescreen.demo.mon2.gotoAndStop(e2f[ply]);
_root.titlescreen.demo.mon2.anim.gotoAndStop(e2a[ply]);
_root.titlescreen.demo.mon3._x = e3x[ply];
_root.titlescreen.demo.mon3._y = e3y[ply];
_root.titlescreen.demo.mon3.gotoAndStop(e3f[ply]);
_root.titlescreen.demo.mon3.anim.gotoAndStop(e3a[ply]);
_root.titlescreen.demo.mon4._x = e4x[ply];
_root.titlescreen.demo.mon4._y = e4y[ply];
_root.titlescreen.demo.mon4.gotoAndStop(e4f[ply]);
_root.titlescreen.demo.mon4.anim.gotoAndStop(e4a[ply]);
_root.titlescreen.demo.mon5._x = e5x[ply];
_root.titlescreen.demo.mon5._y = e5y[ply];
_root.titlescreen.demo.mon5.gotoAndStop(e5f[ply]);
_root.titlescreen.demo.mon5.anim.gotoAndStop(e5a[ply]);
_root.titlescreen.demo.mon6._x = e6x[ply];
_root.titlescreen.demo.mon6._y = e6y[ply];
_root.titlescreen.demo.mon6.gotoAndStop(e6f[ply]);
_root.titlescreen.demo.mon6.anim.gotoAndStop(e6a[ply]);
_root.titlescreen.demo.mon7._x = e7x[ply];
_root.titlescreen.demo.mon7._y = e7y[ply];
_root.titlescreen.demo.mon7.gotoAndStop(e7f[ply]);
_root.titlescreen.demo.mon7.anim.gotoAndStop(e7a[ply]);
_root.titlescreen.demo.mon8._x = e8x[ply];
_root.titlescreen.demo.mon8._y = e8y[ply];
_root.titlescreen.demo.mon8.gotoAndStop(e8f[ply]);
_root.titlescreen.demo.mon8.anim.gotoAndStop(e8a[ply]);
}
Symbol 251 MovieClip Frame 2
_root.titlescreen._xscale = 100;
_root.titlescreen._yscale = 100;
_root.titlescreen._x = 246;
_root.titlescreen._y = 272;
Instance of Symbol 234 MovieClip in Symbol 251 MovieClip Frame 2
onClipEvent (enterFrame) {
if (demoClock >= 200) {
_parent.prevFrame();
delete demoClock;
} else {
demoClock++;
}
}
Instance of Symbol 219 MovieClip in Symbol 251 MovieClip Frame 2
onClipEvent (keyDown) {
_parent.nextFrame();
}
Instance of Symbol 35 MovieClip in Symbol 251 MovieClip Frame 2
onClipEvent (enterFrame) {
trace(_root.SFX);
if (_root.SFX == null) {
this.gotoAndStop(2);
_root.SFX = 1;
}
if (_root.SFX == 2) {
if (soundUnload == null) {
removeMovieClip(_root.soundeffect_1);
removeMovieClip(_root.sounditem_1);
removeMovieClip(_root.soundspell_1);
removeMovieClip(_root.soundvoice_1);
removeMovieClip(_root.soundmelee_1);
soundUnload = 1;
}
this.gotoAndStop(1);
}
if (_root.SFX == 1) {
if (soundLoad == null) {
_root.soundeffect.duplicateMovieClip("soundeffect_1", 902);
_root.sounditem.duplicateMovieClip("sounditem_1", 903);
_root.soundspell.duplicateMovieClip("soundspell_1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice_1", 905);
_root.soundmelee.duplicateMovieClip("soundmelee_1", 906);
soundLoad = 1;
}
this.gotoAndStop(2);
} else if (_root.SFXstart == null) {
this.gotoAndStop(1);
_root.SFX = 2;
_root.SFXstart = 1;
} else if (_root.sound1._x == null) {
this.gotoAndStop(1);
_root.SFX = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
if (soundfx == null) {
if (_root.SFX >= 2) {
_root.SFX = 1;
} else {
_root.SFX++;
}
if (_root.SFX == 2) {
removeMovieClip(_root.soundeffect_1);
removeMovieClip(_root.sounditem_1);
removeMovieClip(_root.soundspell_1);
removeMovieClip(_root.soundvoice_1);
removeMovieClip(_root.soundmelee_1);
this.gotoAndStop(2);
}
if (_root.SFX == 1) {
_root.soundeffect.duplicateMovieClip("soundeffect_1", 902);
_root.sounditem.duplicateMovieClip("sounditem_1", 903);
_root.soundspell.duplicateMovieClip("soundspell_1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice_1", 905);
_root.soundmelee.duplicateMovieClip("soundmelee_1", 906);
_root.soundmelee_1.gotoAndPlay(2);
this.gotoAndStop(1);
}
soundfx = 1;
}
} else {
delete soundfx;
}
}
Instance of Symbol 35 MovieClip in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
_root.current = 2;
}
onClipEvent (enterFrame) {
if (_root.BGM == null) {
this.gotoAndStop(_root.current);
_root.BGM = 1;
}
if (_root.BGM == 1) {
this.gotoAndStop(2);
} else if (_root.BGMstart == null) {
this.gotoAndStop(1);
_root.BGM = 2;
_root.BGMstart = 1;
} else if (_root.soundbgm1._x == null) {
this.gotoAndStop(1);
_root.BGM = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
_root.mouseReset();
if (muzie == null) {
if (_root.BGM >= 2) {
_root.BGM = 1;
} else {
_root.BGM++;
}
if (_root.BGM == 2) {
stopAllSounds();
removeMovieClip(_root.soundbgm1);
}
if (_root.BGM == 1) {
_root.soundbgm.duplicateMovieClip("soundbgm1", 104);
_root.soundbgm1.gotoAndStop(_root.song);
_root.soundbgm1.gotoAndStop(1);
}
muzie = 1;
}
} else {
delete muzie;
}
}
onClipEvent (mouseDown) {
_root.m_input = 1;
}
onClipEvent (mouseUp) {
delete _root.m_input;
}
Symbol 251 MovieClip Frame 3
stopAllSounds();
stop();
Instance of Symbol 219 MovieClip in Symbol 251 MovieClip Frame 3
onClipEvent (mouseDown) {
trace(mouseNext);
if (mouseNext >= 2) {
_parent._parent.nextFrame();
delete mouseNext;
} else {
mouseNext++;
}
}
onClipEvent (keyDown) {
if (mouseNext >= 2) {
_parent._parent.nextFrame();
delete mouseNext;
} else {
mouseNext++;
}
}
Symbol 258 MovieClip Frame 1
removeMovieClip(this);