STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
218823
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2392 · P4784

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/51148680?noj=FRM51148680-17DC" width="1" height="1"></div>

MW Premium.swf

This is the info page for
Flash #239122

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 12 { frame 1 { stop(); } } movieClip 16 { } movieClip 18 { } movieClip 19 { } movieClip 23 { } movieClip 27 characterswindow { } movieClip 29 delete button { } movieClip 37 save links { frame 1 { stop(); } frame 15 { stop(); } } movieClip 40 { } movieClip 63 { } movieClip 98 { frame 1 { stop(); } } movieClip 110 { frame 1 { stop(); } } movieClip 118 { frame 1 { stop(); } } movieClip 136 { frame 1 { stop(); } } movieClip 150 { frame 1 { stop(); } } movieClip 164 { frame 1 { stop(); } } movieClip 176 { frame 1 { stop(); } } movieClip 188 { frame 1 { stop(); } } movieClip 195 { frame 1 { stop(); } } movieClip 202 { frame 1 { stop(); } } movieClip 209 { frame 1 { stop(); } } movieClip 210 { frame 1 { stop(); } frame 46 { } } movieClip 214 { frame 1 { stop(); } frame 15 { stop(); } } movieClip 215 inventory_items { } movieClip 224 remove_effect { frame 25 { this.removeMovieClip(); } } movieClip 231 add_effect { frame 25 { this.removeMovieClip(); } } movieClip 234 postername { } movieClip 235 equip_item { } movieClip 236 txttiming { frame 1 { var timelapse = 0; _parent._alpha = 100; } frame 1 { stop(); } frame 2 { stop(); var curr_time = 0; onEnterFrame = function () { ++curr_time; if (curr_time >= this._x - 10) { _parent._alpha = (this._x - curr_time) * 10; } if (curr_time >= this._x) { _parent._visible = false; this.removeMovieClip(); } }; } } movieClip 243 { } movieClip 250 { } movieClip 257 { } movieClip 258 { } movieClip 280 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 301 { } movieClip 322 { } movieClip 323 { } movieClip 330 { } movieClip 337 { } movieClip 344 { } movieClip 345 { } movieClip 366 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 387 { } movieClip 408 { } movieClip 409 { } movieClip 416 { } movieClip 423 { } movieClip 430 { } movieClip 431 { } movieClip 452 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 473 { } movieClip 494 { } movieClip 495 { } movieClip 502 { } movieClip 509 { } movieClip 516 { } movieClip 517 { } movieClip 538 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 559 { } movieClip 580 { } movieClip 581 { } movieClip 588 { } movieClip 595 { } movieClip 602 { } movieClip 603 { } movieClip 624 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 645 { } movieClip 666 { } movieClip 667 { } movieClip 670 { } movieClip 673 { } movieClip 676 { } movieClip 677 { } movieClip 678 { frame 1 { function colorChar() { var v3 = new Color(char.part1); var v2 = _level0.getEquippedTop(); var v1 = _level0.getEquippedBottom(); var v5 = 100; var v9 = 100; var v7 = 100; var v4 = 100; var v8 = 100; var v6 = 100; if (v2) { v5 = v2.r; v9 = v2.g; v7 = v2.b; } if (v1) { v4 = v1.r; v8 = v1.g; v6 = v1.b; } v3.setTransform({'ra': v5, 'rb': 0, 'ga': v9, 'gb': 0, 'ba': v7, 'bb': 0, 'aa': 100, 'ab': 0}); v3 = new Color(char.part2); v3.setTransform({'ra': v4, 'rb': 0, 'ga': v8, 'gb': 0, 'ba': v6, 'bb': 0, 'aa': 100, 'ab': 0}); } stop(); } frame 1 { colorChar(); } frame 7 { colorChar(); } frame 12 { colorChar(); } frame 18 { colorChar(); } frame 24 { colorChar(); } frame 30 { colorChar(); } frame 36 { colorChar(); } frame 42 { colorChar(); } frame 47 { colorChar(); } frame 53 { colorChar(); } frame 59 { colorChar(); } frame 65 { colorChar(); } frame 71 { colorChar(); } frame 77 { colorChar(); } frame 83 { colorChar(); } frame 89 { colorChar(); } frame 95 { colorChar(); } } movieClip 679 { frame 1 { function colorChar() { var v2 = new Color(char.part1); v2.setTransform({'ra': _parent.r1, 'ga': _parent.g1, 'ba': _parent.b1}); v2 = new Color(char.part2); v2.setTransform({'ra': _parent.r2, 'ga': _parent.g2, 'ba': _parent.b2}); } stop(); } frame 1 { colorChar(); } frame 7 { colorChar(); } frame 12 { colorChar(); } frame 18 { colorChar(); } frame 24 { colorChar(); } frame 30 { colorChar(); } frame 36 { colorChar(); } frame 42 { colorChar(); } frame 47 { colorChar(); } frame 53 { colorChar(); } frame 59 { colorChar(); } frame 65 { colorChar(); } frame 71 { colorChar(); } frame 77 { colorChar(); } frame 83 { colorChar(); } frame 89 { colorChar(); } frame 95 { colorChar(); } } movieClip 686 { } movieClip 693 { } movieClip 700 { } movieClip 701 { } movieClip 722 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 743 { } movieClip 764 { } movieClip 765 { } movieClip 772 { } movieClip 779 { } movieClip 786 { } movieClip 787 { } movieClip 808 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 829 { } movieClip 850 { } movieClip 851 { } movieClip 858 { } movieClip 865 { } movieClip 872 { } movieClip 873 { } movieClip 894 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 915 { } movieClip 936 { } movieClip 937 { } movieClip 944 { } movieClip 951 { } movieClip 958 { } movieClip 959 { } movieClip 980 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 1001 { } movieClip 1022 { } movieClip 1023 { } movieClip 1030 { } movieClip 1037 { } movieClip 1044 { } movieClip 1045 { } movieClip 1066 { frame 3 { _level0.playSound('walk_r'); } frame 13 { _level0.playSound('walk_l'); } } movieClip 1087 { } movieClip 1108 { } movieClip 1109 { } movieClip 1110 { } movieClip 1111 { } movieClip 1112 { } movieClip 1113 { } movieClip 1114 { frame 1 { function colorChar() { var v3 = new Color(char.part1); var v2 = _level0.getEquippedTop(); var v1 = _level0.getEquippedBottom(); var v5 = 100; var v9 = 100; var v7 = 100; var v4 = 100; var v8 = 100; var v6 = 100; if (v2) { v5 = v2.r; v9 = v2.g; v7 = v2.b; } if (v1) { v4 = v1.r; v8 = v1.g; v6 = v1.b; } v3.setTransform({'ra': v5, 'rb': 0, 'ga': v9, 'gb': 0, 'ba': v7, 'bb': 0, 'aa': 100, 'ab': 0}); v3 = new Color(char.part2); v3.setTransform({'ra': v4, 'rb': 0, 'ga': v8, 'gb': 0, 'ba': v6, 'bb': 0, 'aa': 100, 'ab': 0}); } stop(); } frame 1 { colorChar(); } frame 7 { colorChar(); } frame 12 { colorChar(); } frame 18 { colorChar(); } frame 24 { colorChar(); } frame 30 { colorChar(); } frame 36 { colorChar(); } frame 42 { colorChar(); } frame 47 { colorChar(); } frame 53 { colorChar(); } frame 59 { colorChar(); } frame 65 { colorChar(); } frame 71 { colorChar(); } frame 77 { colorChar(); } frame 83 { colorChar(); } frame 89 { colorChar(); } frame 95 { colorChar(); } } movieClip 1115 { frame 1 { function colorChar() { var v2 = new Color(char.part1); v2.setTransform({'ra': _parent.r1, 'ga': _parent.g1, 'ba': _parent.b1}); v2 = new Color(char.part2); v2.setTransform({'ra': _parent.r2, 'ga': _parent.g2, 'ba': _parent.b2}); } stop(); } frame 1 { colorChar(); } frame 7 { colorChar(); } frame 12 { colorChar(); } frame 18 { colorChar(); } frame 24 { colorChar(); } frame 30 { colorChar(); } frame 36 { colorChar(); } frame 42 { colorChar(); } frame 47 { colorChar(); } frame 53 { colorChar(); } frame 59 { colorChar(); } frame 65 { colorChar(); } frame 71 { colorChar(); } frame 77 { colorChar(); } frame 83 { colorChar(); } frame 89 { colorChar(); } frame 95 { colorChar(); } } movieClip 1122 { } movieClip 1123 { frame 1 { stop(); } } movieClip 1130 { } movieClip 1151 { } movieClip 1158 { } movieClip 1179 { } movieClip 1180 { frame 1 { stop(); } } movieClip 1187 { } movieClip 1194 { } movieClip 1201 { } movieClip 1204 { } movieClip 1207 { } movieClip 1210 { } movieClip 1213 { } movieClip 1219 { } movieClip 1223 { } movieClip 1224 { } movieClip 1231 { } movieClip 1238 { } movieClip 1245 { } movieClip 1248 { } movieClip 1251 { } movieClip 1254 { } movieClip 1257 { } movieClip 1260 { } movieClip 1267 { } movieClip 1274 { } movieClip 1281 { } movieClip 1284 { } movieClip 1287 { } movieClip 1290 { } movieClip 1293 { } movieClip 1296 { } movieClip 1303 { } movieClip 1310 { } movieClip 1317 { } movieClip 1320 { } movieClip 1323 { } movieClip 1326 { } movieClip 1329 { } movieClip 1332 { } movieClip 1339 { } movieClip 1346 { } movieClip 1353 { } movieClip 1356 { } movieClip 1359 { } movieClip 1362 { } movieClip 1365 { } movieClip 1368 { } movieClip 1369 { frame 1 { function colorBot() { c = new Color(bot.part1); c.setTransform({'ra': _global.part1r, 'rb': 0, 'ga': _global.part1g, 'gb': 0, 'ba': _global.part1b, 'bb': 0, 'aa': 100, 'ab': 0}); c = new Color(bot.part2); c.setTransform({'ra': _global.part2r, 'rb': 0, 'ga': _global.part2g, 'gb': 0, 'ba': _global.part2b, 'bb': 0, 'aa': 100, 'ab': 0}); c = new Color(bot.part3); c.setTransform({'ra': _global.part3r, 'rb': 0, 'ga': _global.part3g, 'gb': 0, 'ba': _global.part3b, 'bb': 0, 'aa': 100, 'ab': 0}); } stop(); } frame 1 { colorBot(); } frame 7 { colorBot(); } frame 12 { colorBot(); } frame 18 { colorBot(); } frame 24 { colorBot(); } frame 30 { colorBot(); } frame 36 { colorBot(); } frame 42 { colorBot(); } frame 47 { colorBot(); } frame 53 { colorBot(); } frame 59 { colorBot(); } frame 65 { colorBot(); } frame 71 { colorBot(); } frame 77 { colorBot(); } frame 83 { colorBot(); } frame 89 { colorBot(); } } movieClip 1373 { } movieClip 1376 { } movieClip 1379 { } movieClip 1386 { } movieClip 1390 { } movieClip 1393 { } movieClip 1396 { } movieClip 1401 { } movieClip 1405 { } movieClip 1408 { } movieClip 1411 { } movieClip 1414 { } movieClip 1417 { } movieClip 1420 { } movieClip 1423 { } movieClip 1424 { } movieClip 1425 { } movieClip 1429 { } movieClip 1432 { } movieClip 1435 { } movieClip 1438 { } movieClip 1442 { } movieClip 1445 { } movieClip 1448 { } movieClip 1451 { } movieClip 1455 { } movieClip 1458 { } movieClip 1461 { } movieClip 1464 { } movieClip 1468 { } movieClip 1471 { } movieClip 1474 { } movieClip 1477 { } movieClip 1481 { } movieClip 1484 { } movieClip 1487 { } movieClip 1490 { } movieClip 1494 { } movieClip 1497 { } movieClip 1500 { } movieClip 1503 { } movieClip 1504 { frame 1 { function colorChar() { c = new Color(char.part1); c.setTransform({'ra': _global.part1r, 'ga': _global.part1g, 'ba': _global.part1b}); c = new Color(char.part2); c.setTransform({'ra': _global.part2r, 'ga': _global.part2g, 'ba': _global.part2b}); c = new Color(char.part3); c.setTransform({'ra': _global.part3r, 'ga': _global.part3g, 'ba': _global.part3b}); } stop(); } frame 1 { colorChar(); } frame 7 { colorChar(); } frame 12 { colorChar(); } frame 18 { colorChar(); } frame 24 { colorChar(); } frame 30 { colorChar(); } frame 36 { colorChar(); } frame 42 { colorChar(); } frame 47 { colorChar(); } frame 53 { colorChar(); } frame 59 { colorChar(); } frame 65 { colorChar(); } frame 71 { colorChar(); } frame 77 { colorChar(); } frame 83 { colorChar(); } frame 89 { colorChar(); } } movieClip 1507 { } movieClip 1508 worldChar { frame 1 { stop(); } frame 13 { var c = new Color(char.part1); c.setTransform({'ra': 70, 'ga': 10, 'ba': 10}); c = new Color(char.part2); c.setTransform({'ra': 75, 'ga': 40, 'ba': 20}); c = new Color(char.part3); c.setTransform({'ra': 80, 'ga': 80, 'ba': 70}); } frame 60 { var c = new Color(char.part1); c.setTransform({'ra': 70, 'ga': 20, 'ba': 20}); c = new Color(char.part2); c.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); c = new Color(char.part3); c.setTransform({'ra': 80, 'ga': 30, 'ba': 70}); } } movieClip 1510 { } movieClip 1513 { } movieClip 1515 { } movieClip 1516 bubbletxt { frame 1 { function popup_text(txt, wid, color, xcoor, ycoor, objwith, objheight) { this.poptxt = txt; var v6 = pop.getTextFormat(); pop.autoSize = true; pop._x = 10; pop._y = 5; pop._width = wid + 5; corner_left_top._x = 0; corner_left_top._y = 9; chcolor = new Color(corner_left_top); chcolor.setRGB(color); corner_left_bottom._x = 9; corner_left_bottom._y = pop._height + 9; chcolor = new Color(corner_left_bottom); chcolor.setRGB(color); left._x = 0; left._y = 9; left._height = pop._height - 9; left._width = 9; chcolor = new Color(left); chcolor.setRGB(color); middle._x = 9; middle._y = 0; middle._width = wid; middle._height = pop._height + 9; chcolor = new Color(middle); chcolor.setRGB(color); corner_right_top._x = wid + 9; corner_right_top._y = 0; chcolor = new Color(corner_right_top); chcolor.setRGB(color); right._x = wid + 9; right._y = 9; right._height = pop._height - 9; right._width = 9; chcolor = new Color(right); chcolor.setRGB(color); corner_right_bottom._x = wid + 18; corner_right_bottom._y = pop._height; chcolor = new Color(corner_right_bottom); chcolor.setRGB(color); if (xcoor + wid + 18 > 400) { this._x = xcoor - wid; pointer._xscale = -100; pointer._x = wid; } else { pointer._xscale = 100; pointer._x = 20; this._x = xcoor - 20; } if (ycoor - (pop._height + 25) < 0) { this._y = ycoor + 25 + objheight; pointer._yscale = -100; pointer._y = 0; } else { pointer._yscale = 100; pointer._y = pop._height + 9; this._y = ycoor - (pop._height + 25); } chcolor = new Color(pointer); chcolor.setRGB(color); this._visible = true; } function settimer(timelag) { this.attachMovie('txttiming', 'txttimer', 0, {'_x': timelag}); txttimer.gotoAndStop(2); } stop(); } } movieClip 1519 { } movieClip 1521 { } movieClip 1523 { } movieClip 1524 loadbar { } frame 1 { function globalErrorHandler(errorEvent) { mdm.Exception.resetHandler(); if (errorEvent.command.toLowerCase() !== 'mdm.filesystem.saveFileUnicode') { } else { throw new Error(errorEvent.message); } } background.loadMovie('tt_intro.mod'); _global.gamePaused = false; mdm.Menu.Context.enable(); mdm.Menu.Context.insertItem('High Quality'); mdm.Menu.Context.insertItem('Medium Quality'); mdm.Menu.Context.insertItem('Low Quality'); mdm.Menu.Context.insertDivider(); mdm.Menu.Context.insertItem('Sound On'); mdm.Menu.Context.insertItem('Sound Off'); mdm.Menu.Context.onContextMenuClick_High_Quality = function () { _quality = 'HIGH'; }; mdm.Menu.Context.onContextMenuClick_Medium_Quality = function () { _quality = 'MEDIUM'; }; mdm.Menu.Context.onContextMenuClick_Low_Quality = function () { _quality = 'LOW'; }; mdm.Menu.Context.onContextMenuClick_Sound_On = function () { _global.musicSetting = true; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } }; mdm.Menu.Context.onContextMenuClick_Sound_Off = function () { _global.musicSetting = false; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); stopAllSounds(); }; mdm.Application.enableExitHandler(); mdm.Application.onAppExit = function () { var v1 = mdm.Dialogs.promptModal('Are you sure you want to Exit?', 'yesno', 'alert'); if (v1) { mdm.Application.minimize(); mdm.Application.exit(); } }; mdm.Exception.enableHandler(); mdm.Application.onMDMScriptException = globalErrorHandler; mdm.Application.onAppChangeFocus = function (focus) { var v2; if (typeof focus.status == 'string') { v2 = focus.status.toLowerCase() == 'true'; } else { v2 = focus.status; } if (v2) { try { mdm.System.DirectX.enable(800, 600, 32); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); mdm.Dialogs.prompt('Exception occured while enabling DirectX mode: ' + e.message); } else { throw v0; } } } else { stopAllSounds(); _global.gamePaused = true; mdm.Application.minimize(); try { mdm.System.DirectX.disable(); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); mdm.Dialogs.prompt('Exception occured while disabling DirectX mode: ' + e.message); } else { throw v0; } } } }; mdm.Application.onAppRestore = function () { unpauseMusic(); _global.gamePaused = false; }; stop(); } frame 1 { function unpauseMusic() { if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOn() { _global.musicSetting = true; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOff() { _global.musicSetting = false; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); stopAllSounds(); } function bgMusic(newMusic, noloop) { if (_global.musicSetting) { if (currentMusic != newMusic) { if (newMusic == undefined) { newMusic = _root.areaMusic; } currentMusic = newMusic; stopAllSounds(); var v3 = new MovieClipLoader(); var v5 = new Object(); v3.addListener(v5); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v5.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } } function battleMusic() { if (_global.musicSetting) { if (_level0.combatmusic) { currentMusic = _level0.combatmusic; } else { currentMusic = 'battle' + (random(2) + 1); } var v3 = new MovieClipLoader(); var v4 = new Object(); v3.addListener(v4); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v4.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } function playSound(s) { if (_global.musicSetting) { sflag = !sflag; if (sflag) { soundfx.gotoAndStop(1); soundfx.gotoAndStop(s); } else { soundfx2.gotoAndStop(1); soundfx2.gotoAndStop(s); } } } TIME_MORNING = 7; TIME_AFTERNOON = 12; TIME_NIGHT = 18; MAX_INVENTORY_SPACE = 48; MODE = 'PREMIUM2'; sflag = true; stopAllSounds(); currentMusic = ''; areaMusic = 'title'; _global.musicSetting = true; bgMusic(areaMusic); } movieClip 1637 { frame 1 { stop(); } } movieClip 1639 { frame 1 { stop(); } } movieClip 1641 { } frame 4 { function AES_set_encrypt_key(userkey, bits, key) { var v3; var v4 = 0; var v1 = 0; if (userkey == undefined || key == undefined) { return -1; } if (bits != 128 && bits != 192 && bits != 256) { return -2; } if (bits == 128) { key.rounds = 10; } else { if (bits == 192) { key.rounds = 12; } else { key.rounds = 14; } } key.rd_key[0] = parseInt('0x' + userkey.slice(0, 8)); key.rd_key[1] = parseInt('0x' + userkey.slice(8, 16)); key.rd_key[2] = parseInt('0x' + userkey.slice(16, 24)); key.rd_key[3] = parseInt('0x' + userkey.slice(24, 32)); if (bits == 128) { for (;;) { v3 = key.rd_key[3 + v1]; key.rd_key[4 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[5 + v1] = key.rd_key[1 + v1] ^ key.rd_key[4 + v1]; key.rd_key[6 + v1] = key.rd_key[2 + v1] ^ key.rd_key[5 + v1]; key.rd_key[7 + v1] = key.rd_key[3 + v1] ^ key.rd_key[6 + v1]; if (++v4 == 10) { return 0; } v1 += 4; } } key.rd_key[4] = parseInt('0x' + userkey.slice(32, 40)); key.rd_key[5] = parseInt('0x' + userkey.slice(40, 48)); if (bits == 192) { for (;;) { v3 = key.rd_key[5 + v1]; key.rd_key[6 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[7 + v1] = key.rd_key[1 + v1] ^ key.rd_key[6 + v1]; key.rd_key[8 + v1] = key.rd_key[2 + v1] ^ key.rd_key[7 + v1]; key.rd_key[9 + v1] = key.rd_key[3 + v1] ^ key.rd_key[8 + v1]; if (++v4 == 8) { return 0; } key.rd_key[10 + v1] = key.rd_key[4 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[5 + v1] ^ key.rd_key[10 + v1]; v1 += 6; } } key.rd_key[6] = parseInt('0x' + userkey.slice(48, 56)); key.rd_key[7] = parseInt('0x' + userkey.slice(56, 64)); if (bits == 256) { for (;;) { v3 = key.rd_key[7 + v1]; key.rd_key[8 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[9 + v1] = key.rd_key[1 + v1] ^ key.rd_key[8 + v1]; key.rd_key[10 + v1] = key.rd_key[2 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[3 + v1] ^ key.rd_key[10 + v1]; if (++v4 == 7) { return 0; } v3 = key.rd_key[11 + v1]; key.rd_key[12 + v1] = key.rd_key[4 + v1] ^ Te4[v3 >> 24 & 255] & 4278190080.0 ^ Te4[v3 >> 16 & 255] & 16711680 ^ Te4[v3 >> 8 & 255] & 65280 ^ Te4[v3 & 255] & 255; key.rd_key[13 + v1] = key.rd_key[5 + v1] ^ key.rd_key[12 + v1]; key.rd_key[14 + v1] = key.rd_key[6 + v1] ^ key.rd_key[13 + v1]; key.rd_key[15 + v1] = key.rd_key[7 + v1] ^ key.rd_key[14 + v1]; v1 += 8; } } return 0; } function AES_set_decrypt_key(userkey, bits, key) { var v5; var v3 = 0; var v4 = 0; var v2 = 0; status = AES_set_encrypt_key(userkey, bits, key); if (status < 0) { return undefined; } v3 = 0; v4 = 4 * key.rounds; while (v3 < v4) { v5 = key.rd_key[v3]; key.rd_key[v3] = key.rd_key[v4]; key.rd_key[v4] = v5; v5 = key.rd_key[v3 + 1]; key.rd_key[v3 + 1] = key.rd_key[v4 + 1]; key.rd_key[v4 + 1] = v5; v5 = key.rd_key[v3 + 2]; key.rd_key[v3 + 2] = key.rd_key[v4 + 2]; key.rd_key[v4 + 2] = v5; v5 = key.rd_key[v3 + 3]; key.rd_key[v3 + 3] = key.rd_key[v4 + 3]; key.rd_key[v4 + 3] = v5; v3 += 4; v4 -= 4; } v3 = 1; while (v3 < key.rounds) { v2 += 4; key.rd_key[v2] = Td0[Te4[key.rd_key[v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[v2] & 255] & 255]; key.rd_key[1 + v2] = Td0[Te4[key.rd_key[1 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[1 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[1 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[1 + v2] & 255] & 255]; key.rd_key[2 + v2] = Td0[Te4[key.rd_key[2 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[2 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[2 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[2 + v2] & 255] & 255]; key.rd_key[3 + v2] = Td0[Te4[key.rd_key[3 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[3 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[3 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[3 + v2] & 255] & 255]; ++v3; } return 0; } function AES_encrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[4]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[5]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[6]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[7]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[8]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[9]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[10]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[11]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[12]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[13]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[14]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[15]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[16]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[17]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[18]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[19]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[20]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[21]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[22]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[23]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[24]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[25]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[26]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[27]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[28]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[29]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[30]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[31]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[32]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[33]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[34]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[35]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[36]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[37]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[38]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[40]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[41]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[42]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[43]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[44]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[45]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[46]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[48]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[49]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[50]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[51]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[52]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[53]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[54]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Te4[v9 >> 24 & 255] & 4278190080.0 ^ Te4[v8 >> 16 & 255] & 16711680 ^ Te4[v7 >> 8 & 255] & 65280 ^ Te4[v6 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Te4[v8 >> 24 & 255] & 4278190080.0 ^ Te4[v7 >> 16 & 255] & 16711680 ^ Te4[v6 >> 8 & 255] & 65280 ^ Te4[v9 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Te4[v7 >> 24 & 255] & 4278190080.0 ^ Te4[v6 >> 16 & 255] & 16711680 ^ Te4[v9 >> 8 & 255] & 65280 ^ Te4[v8 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Te4[v6 >> 24 & 255] & 4278190080.0 ^ Te4[v9 >> 16 & 255] & 16711680 ^ Te4[v8 >> 8 & 255] & 65280 ^ Te4[v7 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_decrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[4]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[5]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[6]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[7]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[8]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[9]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[10]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[11]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[12]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[13]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[14]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[15]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[16]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[17]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[18]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[19]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[20]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[21]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[22]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[23]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[24]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[25]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[26]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[27]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[28]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[29]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[30]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[31]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[32]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[33]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[34]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[35]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[36]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[37]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[38]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[40]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[41]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[42]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[43]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[44]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[45]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[46]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[48]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[49]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[50]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[51]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[52]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[53]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[54]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Td4[v9 >> 24 & 255] & 4278190080.0 ^ Td4[v6 >> 16 & 255] & 16711680 ^ Td4[v7 >> 8 & 255] & 65280 ^ Td4[v8 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Td4[v8 >> 24 & 255] & 4278190080.0 ^ Td4[v9 >> 16 & 255] & 16711680 ^ Td4[v6 >> 8 & 255] & 65280 ^ Td4[v7 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Td4[v7 >> 24 & 255] & 4278190080.0 ^ Td4[v8 >> 16 & 255] & 16711680 ^ Td4[v9 >> 8 & 255] & 65280 ^ Td4[v6 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Td4[v6 >> 24 & 255] & 4278190080.0 ^ Td4[v7 >> 16 & 255] & 16711680 ^ Td4[v8 >> 8 & 255] & 65280 ^ Td4[v9 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_ecb_encrypt(bin, key, enc) { if (bin == undefined || key == undefined) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } if (enc == 'AES_ENCRYPT') { bout = AES_encrypt(bin, key); return bout; } bout = AES_decrypt(bin, key); return bout; } function AES_cbc_encrypt(bin, key, ivec, enc) { var v7; var v1; var v5; var v8; var v4; var v2; var v3; if (bin == undefined || key == undefined || ivec == undefined) { return undefined; } v7 = bin.length; if (v7 % 32 != 0) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } v2 = bin; if (enc == 'AES_ENCRYPT') { while (v7 > 0) { v5 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v2.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v5 += byte2hex(v3); v1 += 2; } v4 = AES_encrypt(v5, key); ivec = v4; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } while (v7 > 0) { v5 = AES_decrypt(v2, key); v4 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v5.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v4 += byte2hex(v3); v1 += 2; } ivec = v2; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } function byte2hex(byte) { if ((byte.toString(16)).length < 2) { return '0' + (byte.toString(16)).toUpperCase(); } else { return (byte.toString(16)).toUpperCase(); } } function string2hex(s) { var v3 = ''; var v1 = 0; while (v1 < s.length) { if (((s.charCodeAt(v1)).toString(16)).length < 2) { v3 += '0' + ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } else { v3 += ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } ++v1; } return v3; } function hex2string(hex) { var v3 = ''; if (hex.length % 2 == 1) { stop(); } var v1 = 0; while (v1 < hex.length) { v3 += String.fromCharCode(parseInt('0x' + hex.slice(v1, v1 + 2))); v1 += 2; } return v3; } function decryptfile(decodefile) { var v1 = decodefile; AES_set_decrypt_key(decrypt_key, 128, aes_key); var v2 = ''; while (v1.length > 16) { tmpcry = v1.substr(0, 32); v1 = v1.substr(32, v1.length); plain = AES_ecb_encrypt(tmpcry, aes_key, 'AES_DECRYPT'); v2 += hex2string(plain); } return v2; } function encryptfile(filecontent) { AES_set_encrypt_key(decrypt_key, 128, aes_key); var v4 = ''; while (filecontent.length > 0) { var v2 = ''; if (filecontent.length >= 16) { v2 = substring(filecontent, 0, 16); filecontent = substring(filecontent, 17, filecontent.length); } else { v2 = substring(filecontent, 0, filecontent.length); filecontent = ''; } while (v2.length != 16) { v2 += ' '; } var v3 = AES_ecb_encrypt(string2hex(v2), aes_key, 'AES_ENCRYPT'); v4 += v3; } return v4; } function saveToFile_old(filename, datastr) { var v2 = mdm.System.Paths.appData + 'mobileweapon\\'; var v5 = v2 + filename; var v3 = mdm.FileSystem.folderExists(v2); if (!v3) { mdm.FileSystem.makeFolder(v2); } datastr = encryptfile(datastr); _root.path = v5; fscommand('mdm.mdm.saveutf8_filename', path); fscommand('mdm.saveutf8', datastr); _level0.savebox.zincmessage.text = 'Saved to file: ' + filename; } function saveToFile(filename, datastr) { var v1 = mdm.System.Paths.appData + 'mobileweapon\\'; var v3 = v1 + filename; var v2 = mdm.FileSystem.folderExists(v1); if (!v2) { mdm.FileSystem.makeFolder(v1); } try { mdm.FileSystem.saveFileUnicode(v3, encryptfile(datastr)); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); mdm.Dialogs.prompt('Exception occured while saving file: ' + e.message); } else { throw v0; } } _level0.savebox.zincmessage.text = 'Saved to file: ' + filename; } function loadFromFile(filename) { var v3 = mdm.System.Paths.appData + 'mobileweapon\\'; var v4 = v3 + filename; var v2 = mdm.FileSystem.folderExists(v3); if (!v2) { _level0.savebox.zincmessage.text = 'Saves folder missing!'; return ''; } v2 = mdm.FileSystem.fileExists(v4); if (!v2) { _level0.savebox.zincmessage.text = 'Error: Save file does not exists - ' + filename; return ''; } _level0.savebox.zincmessage.text = 'Loaded file: ' + filename; var v1; try { v1 = mdm.FileSystem.loadFileUnicode(v4); v1 = str_replace('\n', '', v1); v1 = str_replace(' ', '', v1); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); mdm.Dialogs.prompt('Exception occured while loading file: ' + e.message); return decryptfile(v1); } throw v0; } return decryptfile(v1); } function str_replace(search, replace, string) { var v1 = string.split(search); return v1.join(replace); } function deleteFile(filename) { var v2 = mdm.System.Paths.appData + 'mobileweapon\\'; var v3 = v2 + filename; var v1 = mdm.FileSystem.folderExists(v2); if (!v1) { _level0.savebox.zincmessage.text = 'Folder not found.'; return ''; } v1 = mdm.FileSystem.fileExists(v3); if (!v1) { _level0.savebox.zincmessage.text = 'File not found: ' + filename; return ''; } _level0.savebox.zincmessage.text = 'Deleted file: ' + filename; try { mdm.FileSystem.deleteFile(v3); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); mdm.Dialogs.prompt('Exception occured while deleting file: ' + e.message); } else { throw v0; } } } function MD5(src) { return binl2hex(core_md5(str2binl(src), src.length * 8)); } function core_md5(x, len) { x[len >> 5] |= 128 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var v4 = 1732584193; var v3 = -271733879; var v2 = -1732584194; var v1 = 271733878; var v5 = 0; while (v5 < x.length) { var v10 = v4; var v9 = v3; var v8 = v2; var v7 = v1; v4 = md5_ff(v4, v3, v2, v1, x[v5 + 0], 7, -680876936); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 1], 12, -389564586); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 2], 17, 606105819); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 3], 22, -1044525330); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 4], 7, -176418897); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 5], 12, 1200080426); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 6], 17, -1473231341); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 7], 22, -45705983); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 8], 7, 1770035416); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 9], 12, -1958414417); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 10], 17, -42063); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 11], 22, -1990404162); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 12], 7, 1804603682); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 13], 12, -40341101); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 14], 17, -1502002290); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 15], 22, 1236535329); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 1], 5, -165796510); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 6], 9, -1069501632); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 11], 14, 643717713); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 0], 20, -373897302); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 5], 5, -701558691); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 10], 9, 38016083); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 15], 14, -660478335); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 4], 20, -405537848); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 9], 5, 568446438); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 14], 9, -1019803690); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 3], 14, -187363961); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 8], 20, 1163531501); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 13], 5, -1444681467); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 2], 9, -51403784); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 7], 14, 1735328473); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 12], 20, -1926607734); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 5], 4, -378558); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 8], 11, -2022574463); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 11], 16, 1839030562); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 14], 23, -35309556); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 1], 4, -1530992060); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 4], 11, 1272893353); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 7], 16, -155497632); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 10], 23, -1094730640); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 13], 4, 681279174); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 0], 11, -358537222); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 3], 16, -722521979); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 6], 23, 76029189); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 9], 4, -640364487); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 12], 11, -421815835); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 15], 16, 530742520); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 2], 23, -995338651); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 0], 6, -198630844); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 7], 10, 1126891415); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 14], 15, -1416354905); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 5], 21, -57434055); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 12], 6, 1700485571); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 3], 10, -1894986606); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 10], 15, -1051523); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 1], 21, -2054922799); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 8], 6, 1873313359); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 15], 10, -30611744); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 6], 15, -1560198380); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 13], 21, 1309151649); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 4], 6, -145523070); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 11], 10, -1120210379); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 2], 15, 718787259); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 9], 21, -343485551); v4 = safe_add(v4, v10); v3 = safe_add(v3, v9); v2 = safe_add(v2, v8); v1 = safe_add(v1, v7); v5 += 16; } return new Array(v4, v3, v2, v1); } function md5_cmn(q, a, b, x, s, t) { return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b); } function md5_ff(a, b, c, d, x, s, t) { return md5_cmn(b & c | ~b & d, a, b, x, s, t); } function md5_gg(a, b, c, d, x, s, t) { return md5_cmn(b & d | c & ~d, a, b, x, s, t); } function md5_hh(a, b, c, d, x, s, t) { return md5_cmn(b ^ c ^ d, a, b, x, s, t); } function md5_ii(a, b, c, d, x, s, t) { return md5_cmn(c ^ (b | ~d), a, b, x, s, t); } function bit_rol(num, cnt) { return num << cnt | num >>> 32 - cnt; } function safe_add(x, y) { var v1 = (x & 65535) + (y & 65535); var v2 = (x >> 16) + (y >> 16) + (v1 >> 16); return v2 << 16 | v1 & 65535; } function str2binl(str) { var v3 = new Array(); var v4 = 255; var v1 = 0; while (v1 < str.length * 8) { v3[v1 >> 5] |= (str.charCodeAt(v1 / 8) & v4) << v1 % 32; v1 += 8; } return v3; } function binl2hex(binarray) { var v4 = new String(''); var v3 = new String('0123456789abcdef'); var v1 = 0; while (v1 < binarray.length * 4) { v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15); ++v1; } return v4; } function getMonthName(mon) { switch (mon) { case '01': return 'January'; case '02': return 'February'; case '03': return 'March'; case '04': return 'April'; case '05': return 'May'; case '06': return 'June'; case '07': return 'July'; case '08': return 'August'; case '09': return 'September'; case '10': return 'October'; case '11': return 'November'; case '12': return 'December'; } } function convertdatetime(origdate) { newstr = origdate.substr(8, 2) + ' ' + getMonthName(origdate.substr(5, 2)) + ' ' + origdate.substr(0, 4); if (origdate.substr(11, 2) > 12) { var v3 = 'pm'; var v2 = origdate.substr(11, 2) - 12; } if (origdate.substr(11, 2) == 12) { v3 = 'pm'; v2 = origdate.substr(11, 2); } if (origdate.substr(11, 2) < 12) { v3 = 'am'; v2 = origdate.substr(11, 2); } newstr += ', ' + v2 + ':' + origdate.substr(14, 2) + ' ' + v3; return newstr; } function preparesave() { _level0.saveQuests(); _level0.saveMapDetails(); _root.savebox.gotoAndStop(1); _root.savebox.message.text = ''; _root.savebox.yesbutt._visible = false; _root.savebox.usetype = 'save'; _root.savebox.savetext.text = 'SAVE DATA'; _root.savebox._visible = true; _root.SaveList.listAllSaves(); } function prepareload() { _root.savebox.gotoAndStop(1); _root.savebox.newsavelink._visible = false; _root.savebox.message.text = ''; _root.savebox.yesbutt._visible = false; _root.savebox.usetype = 'load'; _root.savebox.savetext.text = 'LOAD DATA'; _root.savebox._visible = true; if (_root.SaveList == undefined) { _root.savebox.gotoAndStop(4); } else { _root.SaveList.listAllSaves(); } } function preparenewsave() { _root.savebox.gotoAndStop(3); } function savenewgame(savename) { _root.savebox.errtext.text = ''; if (savename == '') { _root.savebox.errtext.text = 'Please enter a name for your save data.'; return undefined; } var v3 = 0; while (v3 < _root.tempsave.length) { if (_root.tempsave[v3] == savename) { _root.savebox.errtext.text = 'Another save data with the same name has been found. Please use a new save name.'; return undefined; } ++v3; } var v5 = _root.SaveList.createNewSave(_global.mainsave, savename); v5.save(); _global.mainsave = v5; _root.savebox.gotoAndStop(2); _root.savebox.message.text = 'Data saved'; } function clear_savelist() { var v2 = 1; while (_root.savebox.savelistholder['save' + v2]) { _root.savebox.savelistholder['save' + v2].removeMovieClip(); _root.savebox.savelistholder['deletesave' + v2].removeMovieClip(); ++v2; } } function renewUser(username, password) { _root.SaveList = new SaveListObj(username, password); _root.SaveList.addListener(_root.listenerobject); _root.SaveList.connect(); _root.savebox.gotoAndStop(6); _root.savebox.errtext.text = 'Connecting'; } function getEquipStats(charId, stats) { var v4 = _root.listallItems(); var v6 = 0; var v2 = 0; while (v2 < v4.length) { if (charId == v4[v2].getAttribute('equip')) { var v3 = _root.getItemProp(v4[v2].getAttribute('id')); if (v3[stats] != undefined) { v6 += parseFloat(v3[stats]); } } ++v2; } return v6; } function refresh_stats(charid) { _level0.inventory.characterdetails.credits.text = _level0.getCredits(); _level0.inventory.characterdetails.fame.text = _level0.getFame(); _level0.inventory.characterdetails.rank.text = _level0.rankCheck(); _level0.inventory.characterdetails.rank_image.gotoAndStop(_level0.rankImageCheck()); _level0.inventory.characterdetails.statbox.basereflex.text = _level0['char' + charid].basereflex; _level0.inventory.characterdetails.statbox.baseaccuracy.text = _level0['char' + charid].baseaccuracy; _level0.inventory.characterdetails.statbox.basetechnique.text = _level0['char' + charid].basetechnique; _level0.inventory.characterdetails.statbox.basedefense.text = _level0['char' + charid].basedefense; _level0.inventory.characterdetails.statbox.hp.text = _level0['char' + charid].hp; _level0.inventory.characterdetails.statbox.baseenergy.text = _level0['char' + charid].baseenergy; _level0.inventory.characterdetails.statbox.basecapacity.text = _level0['char' + charid].basecapacity; _level0.inventory.characterdetails.statbox.totalreflex.text = _level0['char' + charid].reflex; _level0.inventory.characterdetails.statbox.totalaccuracy.text = _level0['char' + charid].accuracy; _level0.inventory.characterdetails.statbox.totaltechnique.text = _level0['char' + charid].technique; _level0.inventory.characterdetails.statbox.totaldefense.text = _level0['char' + charid].defense; _level0.inventory.characterdetails.statbox.totalenergy.text = _level0['char' + charid].energy; _level0.inventory.characterdetails.statbox.totalcapacity.text = _level0['char' + charid].capacity; } function generate_newstats(charobj, botobj) { var v6 = getEquipStats(charobj.getAttribute('id'), 'reflex'); var v8 = getEquipStats(charobj.getAttribute('id'), 'accuracy'); var v4 = getEquipStats(charobj.getAttribute('id'), 'technique'); var v7 = getEquipStats(charobj.getAttribute('id'), 'defense'); var v3 = getEquipStats(charobj.getAttribute('id'), 'hp'); var v5 = getEquipStats(charobj.getAttribute('id'), 'addenergy'); var v9 = getEquipStats(charobj.getAttribute('id'), 'capacity'); if (!_level0['char' + charobj.getAttribute('id')]) { _level0['char' + charobj.getAttribute('id')] = new Object(); } _level0['char' + charobj.getAttribute('id')].xp = parseInt(charobj.getAttribute('xp')); _level0['char' + charobj.getAttribute('id')].hp = parseInt(botobj.getAttribute('hp')) + v3; _level0['char' + charobj.getAttribute('id')].energy = parseFloat(botobj.getAttribute('energy')); _level0['char' + charobj.getAttribute('id')].capacity = parseInt(botobj.getAttribute('capacity')); if (!_level0['char' + charobj.getAttribute('id')].lastWeap) { _level0['char' + charobj.getAttribute('id')].lastWeap = 0; } _level0['char' + charobj.getAttribute('id')].reflex = parseInt(charobj.getAttribute('reflex')) + v6; _level0['char' + charobj.getAttribute('id')].accuracy = parseInt(charobj.getAttribute('accuracy')) + v8; _level0['char' + charobj.getAttribute('id')].technique = parseInt(charobj.getAttribute('technique')) + v4; _level0['char' + charobj.getAttribute('id')].defense = parseInt(botobj.getAttribute('defense')) + v7; _level0['char' + charobj.getAttribute('id')].energy = parseFloat(botobj.getAttribute('energy')) + v5; _level0['char' + charobj.getAttribute('id')].capacity = parseFloat(botobj.getAttribute('capacity')) + v9; _level0['char' + charobj.getAttribute('id')].basereflex = parseInt(charobj.getAttribute('reflex')); _level0['char' + charobj.getAttribute('id')].baseaccuracy = parseInt(charobj.getAttribute('accuracy')); _level0['char' + charobj.getAttribute('id')].basetechnique = parseInt(charobj.getAttribute('technique')); _level0['char' + charobj.getAttribute('id')].basedefense = parseInt(botobj.getAttribute('defense')); _level0['char' + charobj.getAttribute('id')].baseenergy = parseFloat(botobj.getAttribute('energy')); _level0['char' + charobj.getAttribute('id')].basecapacity = parseFloat(botobj.getAttribute('capacity')); if (charobj.getAttribute('id') == 'A001') { if (charobj.getAttribute('gender') == 'm') { _level0['char' + charobj.getAttribute('id')].portrait = 'jin'; } else { _level0['char' + charobj.getAttribute('id')].portrait = 'yun'; } } else { _level0['char' + charobj.getAttribute('id')].portrait = charobj.getAttribute('name'); } } function sorter(a, b) { if (a.getAttribute('active') < b.getAttribute('active')) { return -1; } else { if (a.getAttribute('active') > b.getAttribute('active')) { return 1; } else { return 0; } } } function populate_inventory() { _root.inventory.gotoAndStop(1); _root.inventory.characterdetails.removeMovieClip(); var v17 = _global.mainsave; _root.inventory.gotoAndStop(2); var v4 = 0; while (v4 < 4) { _root.inventory['charwin' + v4].removeMovieClip(); ++v4; } var v8 = _level0.getActiveCharacters(); v8.sort(sorter); v4 = 0; while (v4 < v8.length) { _root.inventory.attachMovie('characterswindow', 'charwin' + v4, 10 - v4); _root.inventory['charwin' + v4].pilot.text = v8[v4].getAttribute('name'); _root.inventory['charwin' + v4]._x = 16; _root.inventory['charwin' + v4]._y = 15 + v4 * 60; _root.inventory['charwin' + v4].x = _root.inventory['charwin' + v4]._x; _root.inventory['charwin' + v4].y = _root.inventory['charwin' + v4]._y; _root.inventory['charwin' + v4].details = v8[v4]; if (!v8[v4].getAttribute('combat') || v8[v4].getAttribute('combat') == 'false') { _root.inventory['charwin' + v4]._x -= 10; _root.inventory['charwin' + v4].charwin_activate_btn._xscale = -100; var v13 = new Color(_root.inventory['charwin' + v4].charwin_base_btn); v13.setTransform({'ra': 40, 'ga': 40, 'ba': 40}); v13 = new Color(_root.inventory['charwin' + v4].portrait); v13.setTransform({'ra': 40, 'ga': 40, 'ba': 40}); } if (v8[v4].getAttribute('id') == 'A001') { if (v8[v4].getAttribute('gender') == 'm') { _root.inventory['charwin' + v4].portrait.gotoAndStop('jin'); } else { _root.inventory['charwin' + v4].portrait.gotoAndStop('yun'); } } else { _root.inventory['charwin' + v4].portrait.gotoAndStop(v8[v4].getAttribute('name')); } var v6 = v8[v4].getItemList('bot'); var v5 = 0; while (v5 < v6.length) { if (v6[v5].getAttribute('active')) { _root.inventory['charwin' + v4].activebot = v6[v5]; var v10 = v6[v5].getAttribute('currhp') * 100 / v6[v5].getAttribute('hp'); v10 = Math.round(v10); _root.inventory['charwin' + v4].hpbar.barvalue._xscale = v10; _root.inventory['charwin' + v4].currhp.text = v6[v5].getAttribute('currhp') + ' / ' + v6[v5].getAttribute('hp'); _root.inventory['charwin' + v4].currhpval = v6[v5].getAttribute('currhp'); _root.inventory['charwin' + v4].hpval = v6[v5].getAttribute('hp'); } ++v5; } _root.generate_newstats(v8[v4], _root.inventory['charwin' + v4].activebot); _root.inventory['charwin' + v4].charwin_activate_btn.onRelease = function () { _level0.playSound('confirmSound'); if (this._parent.details.getAttribute('combat') == 'true') { if (_level0.inactivateCombatCharacter(this._parent.details.getAttribute('id'))) { this._parent._x = this._parent.x - 10; this._parent.details.setAttribute('combat', 'false'); this._xscale = -100; var v2 = new Color(this._parent.charwin_base_btn); v2.setTransform({'ra': 40, 'ga': 40, 'ba': 40}); v2 = new Color(this._parent.portrait); v2.setTransform({'ra': 40, 'ga': 40, 'ba': 40}); } } else { if (_level0.activateCombatCharacter(this._parent.details.getAttribute('id'))) { this._parent._x = this._parent.x; this._parent.details.setAttribute('combat', 'true'); this._xscale = 100; var v2 = new Color(this._parent.charwin_base_btn); v2.setTransform({'ra': 78, 'ga': 86, 'ba': 86}); v2 = new Color(this._parent.portrait); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); } } }; _root.inventory['charwin' + v4].charwin_base_btn.onRelease = function () { if (this._parent.details.getAttribute('sp') == '0') { this._parent._parent.characterdetails.statpt._visible = false; this._parent._parent.characterdetails.reflex_add._visible = false; this._parent._parent.characterdetails.accuracy_add._visible = false; this._parent._parent.characterdetails.technique_add._visible = false; } else { this._parent._parent.characterdetails.statpt._visible = true; this._parent._parent.characterdetails.statpt.remainpt.text = this._parent.details.getAttribute('sp'); this._parent._parent.characterdetails.reflex_add._visible = true; this._parent._parent.characterdetails.accuracy_add._visible = true; this._parent._parent.characterdetails.technique_add._visible = true; var v4 = new Array('reflex', 'accuracy', 'technique'); var v3 = 0; while (v3 < v4.length) { this._parent._parent.characterdetails[v4[v3] + '_add'].addattrib = v4[v3]; this._parent._parent.characterdetails[v4[v3] + '_add'].onRelease = function () { var v3 = parseInt(this._parent.selectedclip.details.getAttribute(this.addattrib)); _level0.playSound('grab'); this._parent.selectedclip.details.setAttribute(this.addattrib, v3 + 1); --this._parent.statpt.remainpt.text; this._parent.selectedclip.details.setAttribute('sp', this._parent.statpt.remainpt.text); ++this._parent.statbox['base' + this.addattrib].text; ++this._parent.statbox['total' + this.addattrib].text; var v2 = getEquipStats(this._parent.selectedclip.details.getAttribute('id'), this.addattrib); _level0['char' + this._parent.selectedclip.details.getAttribute('id')]['base' + this.addattrib] = parseInt(this._parent.selectedclip.details.getAttribute(this.addattrib)); _level0['char' + this._parent.selectedclip.details.getAttribute('id')][this.addattrib] = parseInt(this._parent.selectedclip.details.getAttribute(this.addattrib)) + v2; if (this._parent.statpt.remainpt.text == 0) { this._parent.statpt._visible = false; this._parent.reflex_add._visible = false; this._parent.accuracy_add._visible = false; this._parent.technique_add._visible = false; } }; ++v3; } } this._parent._parent.characterdetails.bot_butt.gotoAndStop(this._parent.activebot.getAttribute('botid')); this._parent._parent.characterdetails.bot_butt.onRelease = function () { _level0.playSound('confirmSound'); this._parent._parent.characterdetails.equipbox.gotoAndStop(1); this._parent._parent.characterdetails.equip_highlight.gotoAndStop(1); _root.create_equip_icons(); }; this._parent._parent.characterdetails.char_butt.gotoAndStop(this._parent.details.getAttribute('gender')); this._parent._parent.characterdetails.char_butt.onRelease = function () { _level0.playSound('confirmSound'); this._parent._parent.characterdetails.equipbox.gotoAndStop(2); this._parent._parent.characterdetails.equip_highlight.gotoAndStop(2); _root.create_equip_icons(); }; this._parent._parent.characterdetails.swapDepths(this._parent.getDepth() + 1); this._parent._parent.characterdetails.selectedclip = this._parent; this._parent._parent.characterdetails.arrow._y = this._parent._y - 3; this._parent._parent.characterdetails.botname.text = this._parent.activebot.getAttribute('name'); this._parent._parent.characterdetails.pilotname.text = 'Pilot: ' + this._parent.details.getAttribute('name'); this._parent._parent.characterdetails.leveltxt.text = this._parent.details.getAttribute('level'); this._parent._parent.characterdetails.statbox.xp.text = parseInt(this._parent.details.getAttribute('xp')); this._parent._parent.characterdetails.supertext.text = 'No Overdrive learnt.'; if (int(this._parent.details.getAttribute('level')) >= 8) { this._parent._parent.characterdetails.supertext.text = 'Learnt: ' + _level0['super_' + this._parent.details.getAttribute('id') + '_1'].botid.toUpperCase() + '\'s ' + _level0['super_' + this._parent.details.getAttribute('id') + '_1'].sname.toUpperCase(); } if (int(this._parent.details.getAttribute('level')) >= 15) { this._parent._parent.characterdetails.supertext.text += '\nLearnt: ' + _level0['super_' + this._parent.details.getAttribute('id') + '_2'].botid.toUpperCase() + '\'s ' + _level0['super_' + this._parent.details.getAttribute('id') + '_2'].sname.toUpperCase(); } _root.refresh_stats(this._parent.details.getAttribute('id')); _root.create_equip_icons(); }; ++v4; } _root.inventory.charwin0.charwin_base_btn.onRelease(); _root.inventory.characterdetails.selectedclip = _root.inventory.charwin0; _root.create_inventory(); } function create_equip_icons() { var v6 = new Array('armor', 'left', 'right', 'back', 'module1', 'module2', 'top', 'headgear', 'bottom', 'footwear', 'accessory'); var v5 = 0; while (v5 < v6.length) { _root.inventory.characterdetails.equipbox[v6[v5]].itemimage.removeMovieClip(); delete _root.inventory.characterdetails.equipbox[v6[v5]].onRollOver; delete _root.inventory.characterdetails.equipbox[v6[v5]].onRollOut; delete _root.inventory.characterdetails.equipbox[v6[v5]].onPress; delete _root.inventory.characterdetails.equipbox[v6[v5]].onRelease; delete _root.inventory.characterdetails.equipbox[v6[v5]].onReleaseOutside; _root.inventory.characterdetails.equipbox[v6[v5]].itemobj = null; ++v5; } var v4 = _root.listallItems(); var v3 = 0; while (v3 < v4.length) { if (_root.inventory.characterdetails.selectedclip.details.getAttribute('id') == v4[v3].getAttribute('equip')) { var itemprop = _root.getItemProp(v4[v3].getAttribute('id')); _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].attachMovie('equip_item', 'itemimage', 1); _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemimage._x += 20; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemimage._y += 20; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemimage.itemimage.gotoAndStop(itemprop.type + itemprop.equip); _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemimage.itemimage.clip.gotoAndStop(itemprop.image); _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemobj = v4[v3]; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].itemprop = itemprop; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].onPress = function () { this._parent._parent._parent.attachMovie('equip_item', 'hover_inven', this._parent._parent._parent.getNextHighestDepth()); this._parent._parent._parent.hover_inven._visible = false; this._parent._parent._parent.hover_inven.itemobj = this.itemobj; this._parent._parent._parent.hover_inven.itemimage.gotoAndStop(this.itemprop.type + this.itemprop.equip); this._parent._parent._parent.hover_inven.itemimage.clip.gotoAndStop(this.itemprop.image); this._parent._parent._parent.hover_inven.startDrag(true); this._parent._parent._parent.hover_inven._alpha = 50; this._parent._parent._parent.hover_inven.onMouseMove = function () { this._visible = true; }; this._parent._parent.txtbubble._visible = false; }; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].onReleaseOutside = function () { var v2 = this._parent._parent._parent.hover_inven._droptarget; if (v2.indexOf('/inventory/characterdetails/inventorybox') != -1) { this.itemobj.removeAttribute('equip'); this.itemobj.setAttribute('location', 'none'); this._parent._parent._parent.hover_inven.removeMovieClip(); _level0.generate_newstats(this._parent._parent.selectedclip.details, this._parent._parent.selectedclip.activebot); _level0.refresh_stats(this._parent._parent.selectedclip.details.getAttribute('id')); this.itemimage.removeMovieClip(); this.itemobj = null; this.itemprop = null; _level0.checkRequirements(); delete this.onRollOver; delete this.onRollOut; delete this.onPress; delete this.onRelease; delete this.onReleaseOutside; } else { this._parent._parent._parent.hover_inven.removeMovieClip(); } }; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].onRelease = function () { this._parent._parent._parent.hover_inven.removeMovieClip(); }; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].onRollOver = function () { var v2 = '[' + this.itemprop.name + ']\n' + this.itemprop.description; this._parent._parent.txtbubble.popup_text(v2, 150, '0xD6E1E9', this._parent._x + this._x + 20, this._parent._y + this._y + 5, this._width, this._height, true); this._parent._parent.txtbubble.settimer(90); }; _root.inventory.characterdetails.equipbox[v4[v3].getAttribute('location')].onRollOut = function () { this._parent._parent.txtbubble._visible = false; }; } ++v3; } } function create_inventory() { var v4 = 0; while (_root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4]) { _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].removeMovieClip(); ++v4; } _root.inventory.characterdetails.status.status.text = ''; _root.inventory.characterdetails.status.dropbutt._visible = false; _root.inventory.characterdetails.inventorybox.inventoryspace.text = _level0.getInventorySpace() + '/' + _level0.MAX_INVENTORY_SPACE; var v12 = _root.listallItems(); v4 = 0; var v8 = 0; while (v8 < v12.length) { if (v12[v8].getAttribute('equip')) { } else { var itemprop = _root.getItemProp(v12[v8].getAttribute('id')); _root.inventory.characterdetails.inventorybox.inventorycontent.attachMovie('inventory_items', 'items' + v4, 10 + v4); _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].itemobj = v12[v8]; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].itemprop = itemprop; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].itemname.text = _root.getItemName(v12[v8].getAttribute('id')); _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].numcounter.counter.text = v12[v8].getAttribute('number'); _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].itemimage.gotoAndStop(itemprop.type + itemprop.equip); _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].itemimage.clip.gotoAndStop(itemprop.image); _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4]._x = (v4 % 3) * 134 + 20; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4]._y = Math.floor(v4 / 3) * 42 + 22; if (v12[v8].getAttribute('number') > 1) { _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].numcounter._visible = true; } else { _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].numcounter._visible = false; } _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].onPress = function () { if (!this.selected) { this._parent.selectitem.mouseover.gotoAndStop(1); this._parent.selectitem.selected = false; this.mouseover.gotoAndStop(15); this.selected = true; this._parent.selectitem = this; this._parent._parent._parent._parent.characterdetails.status.status.text = this.itemprop.description; if (this.itemprop.undroppable) { this._parent._parent._parent._parent.characterdetails.status.dropbutt._visible = false; } else { this._parent._parent._parent._parent.characterdetails.status.dropbutt._visible = true; } this._parent._parent._parent._parent.characterdetails.status.itemobj = this.itemobj; this._parent._parent._parent._parent.characterdetails.status.dropbutt.onPress = function () { this._parent._parent._parent.alertbox.swapDepths(this._parent._parent._parent.getNextHighestDepth()); this._parent._parent._parent.alertbox._visible = true; this._parent._parent._parent.alertbox.itemobj = this._parent.itemobj; this._parent._parent._parent.alertbox.alertmsg.text = 'Do you really wish to discard ' + getItemName(this._parent.itemobj.getAttribute('id')) + '?'; this._parent._parent._parent.alertbox.dropbutt.alertbutttext.text = 'Drop item'; this._parent._parent._parent.alertbox.dropbutt.onPress = function () { _root.removeItem(this._parent.itemobj.getAttribute('id'), 1); _root.create_inventory(); this._parent._parent._parent.characterdetails.status.status.text = ''; this._parent._parent._parent.characterdetails.status.dropbutt._visible = false; this._parent._visible = false; }; }; } _root.inventory.characterdetails.txtbubble._visible = false; this._parent._parent.attachMovie('equip_item', 'hover_inven', this._parent._parent._parent.getNextHighestDepth()); this._parent._parent._parent.swapDepths(50); this._parent._parent.hover_inven._visible = false; this._parent._parent.hover_inven.itemobj = this.itemobj; this._parent._parent.hover_inven.itemimage.gotoAndStop(this.itemprop.type + this.itemprop.equip); this._parent._parent.hover_inven.itemimage.clip.gotoAndStop(this.itemprop.image); this._parent._parent.hover_inven.startDrag(true); this._parent._parent.hover_inven._alpha = 50; this._parent._parent.hover_inven.onMouseMove = function () { this._visible = true; }; if (this.itemprop.equip == 'MELEE' || this.itemprop.equip == 'LIGHTARMS' || this.itemprop.equip == 'SPECIAL') { this._parent._parent._parent.equipbox.right.gotoAndStop(2); this._parent._parent._parent.equipbox.left.gotoAndStop(2); } if (this.itemprop.equip == 'GENERATOR') { this._parent._parent._parent.equipbox.back.gotoAndStop(2); } if (this.itemprop.equip == 'ARMOR') { this._parent._parent._parent.equipbox.armor.gotoAndStop(2); } if (this.itemprop.equip == 'MODULE') { this._parent._parent._parent.equipbox.module1.gotoAndStop(2); this._parent._parent._parent.equipbox.module2.gotoAndStop(2); } if (this.itemprop.equip == 'TOP') { this._parent._parent._parent.equipbox.top.gotoAndStop(2); } if (this.itemprop.equip == 'BOTTOM') { this._parent._parent._parent.equipbox.bottom.gotoAndStop(2); } if (this.itemprop.equip == 'FOOTWEAR') { this._parent._parent._parent.equipbox.footwear.gotoAndStop(2); } if (this.itemprop.equip == 'HEADGEAR') { this._parent._parent._parent.equipbox.headgear.gotoAndStop(2); } if (this.itemprop.equip == 'ACCESSORY') { this._parent._parent._parent.equipbox.accessory.gotoAndStop(2); } }; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].onRelease = function () { this._parent._parent._parent.equipbox.right.gotoAndStop(1); this._parent._parent._parent.equipbox.left.gotoAndStop(1); this._parent._parent._parent.equipbox.back.gotoAndStop(1); this._parent._parent._parent.equipbox.armor.gotoAndStop(1); this._parent._parent._parent.equipbox.module1.gotoAndStop(1); this._parent._parent._parent.equipbox.module2.gotoAndStop(1); this._parent._parent._parent.equipbox.top.gotoAndStop(1); this._parent._parent._parent.equipbox.bottom.gotoAndStop(1); this._parent._parent._parent.equipbox.footwear.gotoAndStop(1); this._parent._parent._parent.equipbox.headgear.gotoAndStop(1); this._parent._parent._parent.equipbox.accessory.gotoAndStop(1); this._parent._parent.hover_inven.removeMovieClip(); }; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].onRollOver = function () { var v4 = this.itemprop.description; var v5 = _root.inventory.characterdetails.inventorybox._x; var v3 = _root.inventory.characterdetails.inventorybox._y + _root.inventory.characterdetails.inventorybox.inventorycontent._y; _root.inventory.characterdetails.txtbubble.popup_text(v4, 150, '0xD6E1E9', v5 + this._x + 15, v3 + this._y, this._width, this._height, true); _root.inventory.characterdetails.txtbubble.settimer(90); if (!this.selected) { this.mouseover.gotoAndPlay(2); } }; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].onRollOut = function () { _root.inventory.characterdetails.txtbubble._visible = false; if (!this.selected) { this.mouseover.gotoAndStop(1); } }; _root.inventory.characterdetails.inventorybox.inventorycontent['items' + v4].onReleaseOutside = function () { this._parent._parent._parent.equipbox.right.gotoAndStop(1); this._parent._parent._parent.equipbox.left.gotoAndStop(1); this._parent._parent._parent.equipbox.back.gotoAndStop(1); this._parent._parent._parent.equipbox.armor.gotoAndStop(1); this._parent._parent._parent.equipbox.module1.gotoAndStop(1); this._parent._parent._parent.equipbox.module2.gotoAndStop(1); this._parent._parent._parent.equipbox.top.gotoAndStop(1); this._parent._parent._parent.equipbox.bottom.gotoAndStop(1); this._parent._parent._parent.equipbox.footwear.gotoAndStop(1); this._parent._parent._parent.equipbox.headgear.gotoAndStop(1); this._parent._parent._parent.equipbox.accessory.gotoAndStop(1); var v5 = this._parent._parent.hover_inven._droptarget; if (v5.indexOf('/inventory/characterdetails/equipbox/right') != -1 && (this.itemprop.equip == 'MELEE' || this.itemprop.equip == 'LIGHTARMS' || this.itemprop.equip == 'SPECIAL')) { var v8 = 'right'; } if (v5.indexOf('/inventory/characterdetails/equipbox/left') != -1 && (this.itemprop.equip == 'MELEE' || this.itemprop.equip == 'LIGHTARMS' || this.itemprop.equip == 'SPECIAL')) { v8 = 'left'; } if (v5.indexOf('/inventory/characterdetails/equipbox/back') != -1 && this.itemprop.equip == 'GENERATOR') { v8 = 'back'; } if (v5.indexOf('/inventory/characterdetails/equipbox/armor') != -1 && this.itemprop.equip == 'ARMOR') { v8 = 'armor'; } if (v5.indexOf('/inventory/characterdetails/equipbox/module1') != -1 && this.itemprop.equip == 'MODULE') { v8 = 'module1'; } if (v5.indexOf('/inventory/characterdetails/equipbox/module2') != -1 && this.itemprop.equip == 'MODULE') { v8 = 'module2'; } if (v5.indexOf('/inventory/characterdetails/equipbox/top') != -1 && this.itemprop.equip == 'TOP') { v8 = 'top'; } if (v5.indexOf('/inventory/characterdetails/equipbox/bottom') != -1 && this.itemprop.equip == 'BOTTOM') { v8 = 'bottom'; } if (v5.indexOf('/inventory/characterdetails/equipbox/footwear') != -1 && this.itemprop.equip == 'FOOTWEAR') { v8 = 'footwear'; } if (v5.indexOf('/inventory/characterdetails/equipbox/headgear') != -1 && this.itemprop.equip == 'HEADGEAR') { v8 = 'headgear'; } if (v5.indexOf('/inventory/characterdetails/equipbox/accessory') != -1 && this.itemprop.equip == 'ACCESSORY') { v8 = 'accessory'; } if (v5.indexOf('/inventory/characterdetails/equipbox/') != -1 && v8 != undefined) { var v7 = true; var v9 = ''; if (v8 == 'right' || v8 == 'left' || v8 == 'back' || v8 == 'armor') { v7 = false; var v3 = 0; while (v3 < this.itemprop.user.length) { if (this._parent._parent._parent.selectedclip.activebot.getAttribute('botid') == this.itemprop.user[v3]) { v7 = true; break; } ++v3; } if (v7) { if (int(_level0['char' + this._parent._parent._parent.selectedclip.details.getAttribute('id')].basereflex) < this.itemprop.minreflex) { v9 += 'Not enough BASE reflex - NEED ' + this.itemprop.minreflex + '\n'; v7 = false; } if (int(_level0['char' + this._parent._parent._parent.selectedclip.details.getAttribute('id')].baseaccuracy) < this.itemprop.minaccuracy) { v9 += 'Not enough BASE accuracy - NEED ' + this.itemprop.minaccuracy + '\n'; v7 = false; } if (int(_level0['char' + this._parent._parent._parent.selectedclip.details.getAttribute('id')].basetechnique) < this.itemprop.mintechnique) { v9 += 'Not enough BASE technique - NEED ' + this.itemprop.mintechnique + '\n'; v7 = false; } if (parseFloat(_level0['char' + this._parent._parent._parent.selectedclip.details.getAttribute('id')].capacity) < this.itemprop.mincapacity) { v9 += 'Not enough TOTAL capacity - NEED ' + this.itemprop.mincapacity + '\n'; v7 = false; } } else { v9 += 'Incompatible MAW model.\n'; } } if (v7) { _level0.playSound('grab'); var v12 = this._parent._parent._parent.selectedclip.details.getAttribute('name'); var v11 = this._parent._parent._parent.selectedclip.details.getAttribute('id'); this._parent._parent._parent.equipbox[v8].itemobj.removeAttribute('equip'); this._parent._parent._parent.equipbox[v8].itemobj.setAttribute('location', 'none'); this._parent._parent.hover_inven.removeMovieClip(); this.itemobj.setAttribute('equip', v11); this.itemobj.setAttribute('location', v8); _root.generate_newstats(this._parent._parent._parent.selectedclip.details, this._parent._parent._parent.selectedclip.activebot); _root.refresh_stats(v11); _root.create_equip_icons(); _root.checkRequirements(); } else { _level0.playSound('error'); this._parent._parent._parent.errtxtbubble.popup_text(v9, 200, '0xDD8888', this._parent._parent._x + this._parent._x + this._x + 15, this._parent._parent._y + this._parent._y + this._y + 5, this._width, this._height, true); this._parent._parent._parent.errtxtbubble.settimer(90); } } if (v5.indexOf('/inventory/charwin0') != -1) { var v10 = _root.inventory.charwin0.details.getAttribute('id'); var v6 = _root.inventory.charwin0; } if (v5.indexOf('/inventory/charwin1') != -1) { v10 = _root.inventory.charwin1.details.getAttribute('id'); v6 = _root.inventory.charwin1; } if (v5.indexOf('/inventory/charwin2') != -1) { v10 = _root.inventory.charwin2.details.getAttribute('id'); v6 = _root.inventory.charwin2; } if (v5.indexOf('/inventory/charwin3') != -1) { v10 = _root.inventory.charwin3.details.getAttribute('id'); v6 = _root.inventory.charwin3; } if (v5.indexOf('/inventory/charwin') != -1 && v10 != undefined && (this.itemprop.type == 'USE' || this.itemprop.type == 'USEWORLD')) { var v4 = _root.evaluse(this.itemprop.useid, v10, this.itemprop.parameters); if (v4.addremove == 'add') { this._parent._parent.attachMovie('add_effect', 'effects', 20); } if (v4.addremove == 'remove') { this._parent._parent.attachMovie('remove_effect', 'effects', 20); } this._parent._parent.effects._x = this._parent._parent.hover_inven._x; this._parent._parent.effects._y = this._parent._parent.hover_inven._y; if (v4.attribute == 'currhp') { v4.attribute = 'Hit points'; v6.hpbar.barvalue.newvalue = v4.newvalue; v6.hpbar.barvalue.oldvalue = v4.oldvalue; if (v4.oldvalue <= 0) { v4.oldvalue = 1; } if (v6.hpbar.barvalue._xscale <= 0) { v6.hpbar.barvalue._xscale = 1; } v6.hpbar.barvalue.newpercent = Math.round((v4.newvalue / v6.hpval) * 100); v6.newval = v4.newvalue; if (v6.newval > v6.hpval) { v6.newval = v6.hpval; } v6.hpbar.barvalue.onEnterFrame = function () { if (this._xscale < this.newpercent) { ++this._xscale; this._parent._parent.currhp.text = Math.round(this._xscale * this._parent._parent.hpval / 100) + ' /' + this._parent._parent.hpval; } if (this._xscale > this.newpercent) { --this._xscale; this._parent._parent.currhp.text = Math.round(this._xscale * this._parent._parent.hpval / 100) + ' /' + this._parent._parent.hpval; } if (this._xscale > 100) { this._xscale = 100; } if (this._xscale == this.newpercent || this._xscale >= 100) { this._parent._parent.currhp.text = this._parent._parent.newval + ' /' + this._parent._parent.hpval; delete this.onEnterFrame; } }; } v4.attribute = (v4.attribute.charAt(0)).toUpperCase() + v4.attribute.substring(1, v4.attribute.length); this._parent._parent.effects.attribute = v4.attribute; this._parent._parent.effects.value = v4.amount; if (!_level0.invenitem[this.itemobj.getAttribute('id')].reusable) { _root.removeItem(this.itemobj.getAttribute('id'), 1); create_inventory(); } } _root.inventory.characterdetails.inventorybox.hover_inven.removeMovieClip(); _root.create_inventory(); }; ++v4; } ++v8; } var v20 = _root.inventory.characterdetails.inventorybox.inventorycontent._height; var v19 = _root.inventory.characterdetails.inventorybox.maskbox._height; if (v20 > v19) { _root.inventory.characterdetails.inventorybox.slider._height = v19 * v19 / v20; } else { _root.inventory.characterdetails.inventorybox.slider._y = 27; _root.inventory.characterdetails.inventorybox.slider._height = v19 - 3; } if (_root.inventory.characterdetails.inventorybox.slider._height + _root.inventory.characterdetails.inventorybox.slider._y > 190) { _root.inventory.characterdetails.inventorybox.slider._y -= _root.inventory.characterdetails.inventorybox.slider._height + _root.inventory.characterdetails.inventorybox.slider._y - 190; } else { _root.inventory.characterdetails.inventorybox.inventorycontent._y = 27; } } function createNewAccount(username, userpass, email) { _root.listenerobject.created_backup = _root.listenerobject.created; _root.listenerobject.created = _root.listenerobject.converted; _root.SaveList.userid = username; _root.SaveList.password = userpass; _root.SaveList.createNewUser(email); } function sendSaveFile(userid, xmlstring) { var v6 = 'http://mobileweapon.net/ep1/neoplanetasp.php'; var v3 = xmlstring; var v4 = MD5(v3.toString()); var sendXML = new XML(); sendXML.onLoad = function () { var v3 = sendXML.firstChild; if (v3.attributes.key == 'SUCCESS') { _root.savebox.gotoAndStop(2); } else { _root.savebox.gotoAndStop(4); _root.savebox.errtext.text = 'There is an error transferring your file. Please try again with the same username.'; } }; v3.contentType = 'text/xml'; v3.sendAndLoad(v6 + '?type=newsave&signature=' + v4 + '&userid=' + userid, sendXML); } System.security.allowDomain('http://mobileweapon.net/', 'http://www.mobileweapon.net', 'http://www.theagoraedge.com'); stop(); TIME_MORNING = 7; TIME_AFTERNOON = 12; TIME_NIGHT = 18; MAX_INVENTORY_SPACE = 48; MODE = 'PREMIUM2'; Te0 = [3328402341.0, 4168907908.0, 4000806809.0, 4135287693.0, 4294111757.0, 3597364157.0, 3731845041.0, 2445657428.0, 1613770832, 33620227, 3462883241.0, 1445669757, 3892248089.0, 3050821474.0, 1303096294, 3967186586.0, 2412431941.0, 528646813, 2311702848.0, 4202528135.0, 4026202645.0, 2992200171.0, 2387036105.0, 4226871307.0, 1101901292, 3017069671.0, 1604494077, 1169141738, 597466303, 1403299063, 3832705686.0, 2613100635.0, 1974974402, 3791519004.0, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546.0, 2211236943.0, 1748251740, 1369810420, 3521504564.0, 4193382664.0, 3799085459.0, 2883115123.0, 1647391059, 706024767, 134480908, 2512897874.0, 1176707941, 2646852446.0, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221.0, 3454790438.0, 1311188841, 2142417613, 3933566367.0, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818.0, 3025820398.0, 1537253627, 2756858614.0, 1983593293, 3084310113.0, 2108928974, 1378429307, 3722699582.0, 1580150641, 327451799, 2790478837.0, 3117535592.0, 0, 3253595436.0, 1075847264, 3825007647.0, 2041688520, 3059440621.0, 3563743934.0, 2378943302.0, 1740553945, 1916352843, 2487896798.0, 2555137236.0, 2958579944.0, 2244988746.0, 3151024235.0, 3320835882.0, 1336584933, 3992714006.0, 2252555205.0, 2588757463.0, 1714631509, 293963156, 2319795663.0, 3925473552.0, 67240454, 4269768577.0, 2689618160.0, 2017213508, 631218106, 1269344483, 2723238387.0, 1571005438, 2151694528.0, 93294474, 1066570413, 563977660, 1882732616, 4059428100.0, 1673313503, 2008463041, 2950355573.0, 1109467491, 537923632, 3858759450.0, 4260623118.0, 3218264685.0, 2177748300.0, 403442708, 638784309, 3287084079.0, 3193921505.0, 899127202, 2286175436.0, 773265209, 2479146071.0, 1437050866, 4236148354.0, 2050833735, 3362022572.0, 3126681063.0, 840505643, 3866325909.0, 3227541664.0, 427917720, 2655997905.0, 2749160575.0, 1143087718, 1412049534, 999329963, 193497219, 2353415882.0, 3354324521.0, 1807268051, 672404540, 2816401017.0, 3160301282.0, 369822493, 2916866934.0, 3688947771.0, 1681011286, 1949973070, 336202270, 2454276571.0, 201721354, 1210328172, 3093060836.0, 2680341085.0, 3184776046.0, 1135389935, 3294782118.0, 965841320, 831886756, 3554993207.0, 4068047243.0, 3588745010.0, 2345191491.0, 1849112409, 3664604599.0, 26054028, 2983581028.0, 2622377682.0, 1235855840, 3630984372.0, 2891339514.0, 4092916743.0, 3488279077.0, 3395642799.0, 4101667470.0, 1202630377, 268961816, 1874508501, 4034427016.0, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513.0, 3421038627.0, 2715671932.0, 3899946140.0, 1042226977, 2521517021.0, 1639824860, 227249030, 260737669, 3765465232.0, 2084453954, 1907733956, 3429263018.0, 2420656344.0, 100860677, 4160157185.0, 470683154, 3261161891.0, 1781871967, 2924959737.0, 1773779408, 394692241, 2579611992.0, 974986535, 664706745, 3655459128.0, 3958962195.0, 731420851, 571543859, 3530123707.0, 2849626480.0, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984.0, 2278477385.0, 2857719295.0, 1344809080, 2782912378.0, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649.0, 2218934982.0, 3496503480.0, 2185314755.0, 697932208, 1512910199, 504303377, 2075177163, 2824099068.0, 1841019862, 739644986]; Te1 = [2781242211.0, 2230877308.0, 2582542199.0, 2381740923.0, 234877682, 3184946027.0, 2984144751.0, 1418839493, 1348481072, 50462977, 2848876391.0, 2102799147, 434634494, 1656084439, 3863849899.0, 2599188086.0, 1167051466, 2636087938.0, 1082771913, 2281340285.0, 368048890, 3954334041.0, 3381544775.0, 201060592, 3963727277.0, 1739838676, 4250903202.0, 3930435503.0, 3206782108.0, 4149453988.0, 2531553906.0, 1536934080, 3262494647.0, 484572669, 2923271059.0, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525.0, 886171109, 150598129, 2481090929.0, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806.0, 252314885, 3039795866.0, 151914247, 908333586, 2602270848.0, 1038082786, 651029483, 1766729511, 3447698098.0, 2682942837.0, 454166793, 2652734339.0, 1951935532, 775166490, 758520603, 3000790638.0, 4004797018.0, 4217086112.0, 4137964114.0, 1299594043, 1639438038, 3464344499.0, 2068982057, 1054729187, 1901997871, 2534638724.0, 4121318227.0, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545.0, 3988151131.0, 3201591914.0, 1183697867, 3647454910.0, 1265776953, 3734260298.0, 3566750796.0, 3903871064.0, 1250283471, 1807470800, 717615087, 3847203498.0, 384695291, 3313910595.0, 3617213773.0, 1432761139, 2484176261.0, 3481945413.0, 283769337, 100925954, 2180939647.0, 4037038160.0, 1148730428, 3123027871.0, 3813386408.0, 4087501137.0, 4267549603.0, 3229630528.0, 2315620239.0, 2906624658.0, 3156319645.0, 1215313976, 82966005, 3747855548.0, 3245848246.0, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855.0, 2721421207.0, 3431482436.0, 959321879, 1469301956, 4065699751.0, 2197585534.0, 1199193405, 2898814052.0, 3887750493.0, 724703513, 2514908019.0, 2696962144.0, 2551808385.0, 3516813135.0, 2141445340, 1715741218, 2119445034, 2872807568.0, 2198571144.0, 3398190662.0, 700968686, 3547052216.0, 1009259540, 2041044702, 3803995742.0, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321.0, 168560134, 1816667172, 3837287516.0, 1570751170, 1857934291, 4014189740.0, 2797888098.0, 2822345105.0, 2754712981.0, 936633572, 2347923833.0, 852879335, 1133234376, 1500395319, 3084545389.0, 2348912013.0, 1689376213, 3533459022.0, 3762923945.0, 3034082412.0, 4205598294.0, 133428468, 634383082, 2949277029.0, 2398386810.0, 3913789102.0, 403703816, 3580869306.0, 2297460856.0, 1867130149, 1918643758, 607656988, 4049053350.0, 3346248884.0, 1368901318, 600565992, 2090982877, 2632479860.0, 557719327, 3717614411.0, 3697393085.0, 2249034635.0, 2232388234.0, 2430627952.0, 1115438654, 3295786421.0, 2865522278.0, 3633334344.0, 84280067, 33027830, 303828494, 2747425121.0, 1600795957, 4188952407.0, 3496589753.0, 2434238086.0, 1486471617, 658119965, 3106381470.0, 953803233, 334231800, 3005978776.0, 857870609, 3151128937.0, 1890179545, 2298973838.0, 2805175444.0, 3056442267.0, 574365214, 2450884487.0, 550103529, 1233637070, 4289353045.0, 2018519080, 2057691103, 2399374476.0, 4166623649.0, 2148108681.0, 387583245, 3664101311.0, 836232934, 3330556482.0, 3100665960.0, 3280093505.0, 2955516313.0, 2002398509, 287182607, 3413881008.0, 4238890068.0, 3597515707.0, 975967766]; Te2 = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762.0, 1807603307, 1873927791, 3310653893.0, 810573872, 16974337, 1739181671, 729634347, 4263110654.0, 3613570519.0, 2883997099.0, 1989864566, 3393556426.0, 2191335298.0, 3376449993.0, 2106063485, 4195741690.0, 1508618841, 1204391495, 4027317232.0, 2917941677.0, 3563566036.0, 2734514082.0, 2951366063.0, 2629772188.0, 2767672228.0, 1922491506, 3227229120.0, 3082974647.0, 4246528509.0, 2477669779.0, 644500518, 911895606, 1061256767, 4144166391.0, 3427763148.0, 878471220, 2784252325.0, 3845444069.0, 4043897329.0, 1905517169, 3631459288.0, 827548209, 356461077, 67897348, 3344078279.0, 593839651, 3277757891.0, 405286936, 2527147926.0, 84871685, 2595565466.0, 118033927, 305538066, 2157648768.0, 3795705826.0, 3945188843.0, 661212711, 2999812018.0, 1973414517, 152769033, 2208177539.0, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552.0, 1391895634, 994932283, 3596728278.0, 3016654259.0, 695947817, 3812548067.0, 795958831, 2224493444.0, 1408607827, 3513301457.0, 0, 3979133421.0, 543178784, 4229948412.0, 2982705585.0, 1542305371, 1790891114, 3410398667.0, 3201918910.0, 961245753, 1256100938, 1289001036, 1491644504, 3477767631.0, 3496721360.0, 4012557807.0, 2867154858.0, 4212583931.0, 1137018435, 1305975373, 861234739, 2241073541.0, 1171229253, 4178635257.0, 33948674, 2139225727, 1357946960, 1011120188, 2679776671.0, 2833468328.0, 1374921297, 2751356323.0, 1086357568, 2408187279.0, 2460827538.0, 2646352285.0, 944271416, 4110742005.0, 3168756668.0, 3066132406.0, 3665145818.0, 560153121, 271589392, 4279952895.0, 4077846003.0, 3530407890.0, 3444343245.0, 202643468, 322250259, 3962553324.0, 1608629855, 2543990167.0, 1154254916, 389623319, 3294073796.0, 2817676711.0, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865.0, 1339137615, 3699352540.0, 577127458, 712922154, 2427141008.0, 2290289544.0, 1187679302, 3995715566.0, 3100863416.0, 339486740, 3732514782.0, 1591917662, 186455563, 3681988059.0, 3762019296.0, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650.0, 3547250131.0, 2901361580.0, 1655096418, 2443721105.0, 2510565781.0, 3828863972.0, 2039214713, 3878868455.0, 3359869896.0, 928607799, 1840765549, 2374762893.0, 3580146133.0, 1322425422, 2850048425.0, 1823791212, 1459268694, 4094161908.0, 3928346602.0, 1706019429, 2056189050, 2934523822.0, 135794696, 3134549946.0, 2022240376, 628050469, 779246638, 472135708, 2800834470.0, 3032970164.0, 3327236038.0, 3894660072.0, 3715932637.0, 1956440180, 522272287, 1272813131, 3185336765.0, 2340818315.0, 2323976074.0, 1888542832, 1044544574, 3049550261.0, 1722469478, 1222152264, 50660867, 4127324150.0, 236067854, 1638122081, 895445557, 1475980887, 3117443513.0, 2257655686.0, 3243809217.0, 489110045, 2662934430.0, 3778599393.0, 4162055160.0, 2561878936.0, 288563729, 1773916777, 3648039385.0, 2391345038.0, 2493985684.0, 2612407707.0, 505560094, 2274497927.0, 3911240169.0, 3460925390.0, 1442818645, 678973480, 3749357023.0, 2358182796.0, 2717407649.0, 2306869641.0, 219617805, 3218761151.0, 3862026214.0, 1120306242, 1756942440, 1103331905, 2578459033.0, 762796589, 252780047, 2966125488.0, 1425844308, 3151392187.0, 372911126]; Te3 = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567.0, 1802223062, 1869591006, 3318043793.0, 808472672, 16843522, 1734846926, 724270422, 4278065639.0, 3621216949.0, 2880169549.0, 1987484396, 3402253711.0, 2189597983.0, 3385409673.0, 2105378810, 4210693615.0, 1499065266, 1195886990, 4042263547.0, 2913856577.0, 3570689971.0, 2728590687.0, 2947541573.0, 2627518243.0, 2762274643.0, 1920112356, 3233831835.0, 3082273397.0, 4261223649.0, 2475929149.0, 640051788, 909531756, 1061110142, 4160160501.0, 3435941763.0, 875846760, 2779116625.0, 3857003729.0, 4059105529.0, 1903268834, 3638064043.0, 825316194, 353713962, 67374088, 3351728789.0, 589522246, 3284360861.0, 404236336, 2526454071.0, 84217610, 2593830191.0, 117901582, 303183396, 2155911963.0, 3806477791.0, 3958056653.0, 656894286, 2998062463.0, 1970642922, 151591698, 2206440989.0, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667.0, 1381168804, 993742198, 3604373943.0, 3014905469.0, 690584402, 3823320797.0, 791638366, 2223281939.0, 1398011302, 3520161977.0, 0, 3991743681.0, 538992704, 4244381667.0, 2981218425.0, 1532751286, 1785380564, 3419096717.0, 3200178535.0, 960056178, 1246420628, 1280103576, 1482221744, 3486468741.0, 3503319995.0, 4025428677.0, 2863326543.0, 4227536621.0, 1128514950, 1296947098, 859002214, 2240123921.0, 1162203018, 4193849577.0, 33687044, 2139062782, 1347481760, 1010582648, 2678045221.0, 2829640523.0, 1364325282, 2745433693.0, 1077985408, 2408548869.0, 2459086143.0, 2644360225.0, 943212656, 4126475505.0, 3166494563.0, 3065430391.0, 3671750063.0, 555836226, 269496352, 4294908645.0, 4092792573.0, 3537006015.0, 3452783745.0, 202118168, 320025894, 3974901699.0, 1600119230, 2543297077.0, 1145359496, 387397934, 3301201811.0, 2812801621.0, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945.0, 1330631070, 3705438115.0, 572679748, 707427924, 2425400123.0, 2290647819.0, 1179044492, 4008585671.0, 3099120491.0, 336870440, 3739122087.0, 1583276732, 185277718, 3688593069.0, 3772791771.0, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855.0, 3553849021.0, 2897014595.0, 1650632388, 2442242105.0, 2509612081.0, 3840161747.0, 2038008818, 3890688725.0, 3368567691.0, 926374254, 1835907034, 2374863873.0, 3587531953.0, 1313788572, 2846482505.0, 1819063512, 1448540844, 4109633523.0, 3941213647.0, 1701162954, 2054852340, 2930698567.0, 134748176, 3132806511.0, 2021165296, 623210314, 774795868, 471606328, 2795958615.0, 3031746419.0, 3334885783.0, 3907527627.0, 3722280097.0, 1953799400, 522133822, 1263263126, 3183336545.0, 2341176845.0, 2324333839.0, 1886425312, 1044267644, 3048588401.0, 1718004428, 1212733584, 50529542, 4143317495.0, 235803164, 1633788866, 892690282, 1465383342, 3115962473.0, 2256965911.0, 3250673817.0, 488449850, 2661202215.0, 3789633753.0, 4177007595.0, 2560144171.0, 286339874, 1768537042, 3654906025.0, 2391705863.0, 2492770099.0, 2610673197.0, 505291324, 2273808917.0, 3924369609.0, 3469625735.0, 1431699370, 673740880, 3755965093.0, 2358021891.0, 2711746649.0, 2307489801.0, 218961690, 3217021541.0, 3873845719.0, 1111672452, 1751693520, 1094828930, 2576986153.0, 757954394, 252645662, 2964376443.0, 1414855848, 3149649517.0, 370555436]; Te4 = [1667457891, 2088533116, 2004318071, 2071690107, 4076008178.0, 1802201963, 1869573999, 3318072773.0, 808464432, 16843009, 1734829927, 724249387, 4278124286.0, 3621246935.0, 2880154539.0, 1987475062, 3402287818.0, 2189591170.0, 3385444809.0, 2105376125, 4210752250.0, 1499027801, 1195853639, 4042322160.0, 2913840557.0, 3570717908.0, 2728567458.0, 2947526575.0, 2627509404.0, 2762253476.0, 1920103026, 3233857728.0, 3082270647.0, 4261281277.0, 2475922323.0, 640034342, 909522486, 1061109567, 4160223223.0, 3435973836.0, 875836468, 2779096485.0, 3857049061.0, 4059165169.0, 1903260017, 3638089944.0, 825307441, 353703189, 67372036, 3351758791.0, 589505315, 3284386755.0, 404232216, 2526451350.0, 84215045, 2593823386.0, 117901063, 303174162, 2155905152.0, 3806520034.0, 3958107115.0, 656877351, 2998055602.0, 1970632053, 151587081, 2206434179.0, 741092396, 437918234, 454761243, 1852730990, 1515870810, 2694881440.0, 1381126738, 993737531, 3604403926.0, 3014898611.0, 690563369, 3823363043.0, 791621423, 2223277188.0, 1397969747, 3520188881.0, 0, 3991793133.0, 538976288, 4244438268.0, 2981212593.0, 1532713819, 1785358954, 3419130827.0, 3200171710.0, 960051513, 1246382666, 1280068684, 1482184792, 3486502863.0, 3503345872.0, 4025479151.0, 2863311530.0, 4227595259.0, 1128481603, 1296911693, 858993459, 2240120197.0, 1162167621, 4193909241.0, 33686018, 2139062143, 1347440720, 1010580540, 2678038431.0, 2829625512.0, 1364283729, 2745410467.0, 1077952576, 2408550287.0, 2459079314.0, 2644352413.0, 943208504, 4126537205.0, 3166485692.0, 3065427638.0, 3671775962.0, 555819297, 269488144, 4294967295.0, 4092851187.0, 3537031890.0, 3452816845.0, 202116108, 320017171, 3974950124.0, 1600085855, 2543294359.0, 1145324612, 387389207, 3301229764.0, 2812782503.0, 2122219134, 1027423549, 1684300900, 1566399837, 421075225, 1936946035, 1616928864, 2172748161.0, 1330597711, 3705461980.0, 572662306, 707406378, 2425393296.0, 2290649224.0, 1179010630, 4008636142.0, 3099113656.0, 336860180, 3739147998.0, 1583242846, 185273099, 3688618971.0, 3772834016.0, 842150450, 976894522, 168430090, 1229539657, 101058054, 606348324, 1549556828, 3267543746.0, 3553874899.0, 2896997548.0, 1650614882, 2442236305.0, 2509608341.0, 3840206052.0, 2038004089, 3890735079.0, 3368601800.0, 926365495, 1835887981, 2374864269.0, 3587560917.0, 1313754702, 2846468521.0, 1819044972, 1448498774, 4109694196.0, 3941264106.0, 1701143909, 2054847098, 2930683566.0, 134744072, 3132799674.0, 2021161080, 623191333, 774778414, 471604252, 2795939494.0, 3031741620.0, 3334915782.0, 3907578088.0, 3722304989.0, 1953789044, 522133279, 1263225675, 3183328701.0, 2341178251.0, 2324335242.0, 1886417008, 1044266558, 3048584629.0, 1717986918, 1212696648, 50529027, 4143380214.0, 235802126, 1633771873, 892679477, 1465341783, 3115956665.0, 2256963206.0, 3250700737.0, 488447261, 2661195422.0, 3789677025.0, 4177066232.0, 2560137368.0, 286331153, 1768515945, 3654932953.0, 2391707278.0, 2492765332.0, 2610666395.0, 505290270, 2273806215.0, 3924421097.0, 3469659854.0, 1431655765, 673720360, 3755991007.0, 2358021260.0, 2711724449.0, 2307492233.0, 218959117, 3217014719.0, 3873892070.0, 1111638594, 1751672936, 1094795585, 2576980377.0, 757935405, 252645135, 2964369584.0, 1414812756, 3149642683.0, 370546198]; Td0 = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851.0, 1273168787, 540080725, 2910219766.0, 2295101073.0, 4110568485.0, 1340463100, 3307916247.0, 641025152, 3043140495.0, 3736164937.0, 632953703, 1172967064, 1576976609, 3274667266.0, 2169303058.0, 2370213795.0, 1809054150, 59727847, 361929877, 3211623147.0, 2505202138.0, 3569255213.0, 1484005843, 1239443753, 2395588676.0, 1975683434, 4102977912.0, 2572697195.0, 666464733, 3202437046.0, 4035489047.0, 3374361702.0, 2110667444, 1675577880, 3843699074.0, 2538681184.0, 1649639237, 2976151520.0, 3144396420.0, 4269907996.0, 4178062228.0, 1883793496, 2403728665.0, 2497604743.0, 1383856311, 2876494627.0, 1917518562, 3810496343.0, 1716890410, 3001755655.0, 800440835, 2261089178.0, 3543599269.0, 807962610, 599762354, 33778362, 3977675356.0, 2328828971.0, 2809771154.0, 4077384432.0, 1315562145, 1708848333, 101039829, 3509871135.0, 3299278474.0, 875451293, 2733856160.0, 92987698, 2767645557.0, 193195065, 1080094634, 1584504582, 3178106961.0, 1042385657, 2531067453.0, 3711829422.0, 1306967366, 2438237621.0, 1908694277, 67556463, 1615861247, 429456164, 3602770327.0, 2302690252.0, 1742315127, 2968011453.0, 126454664, 3877198648.0, 2043211483, 2709260871.0, 2084704233, 4169408201.0, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683.0, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969.0, 607530554, 202008497, 2472011535.0, 3035535058.0, 463180190, 2160117071.0, 1641816226, 1517767529, 470948374, 3801332234.0, 3231722213.0, 1008918595, 303765277, 235474187, 4069246893.0, 766945465, 337553864, 1475418501, 2943682380.0, 4003061179.0, 2743034109.0, 4144047775.0, 1551037884, 1147550661, 1543208500, 2336434550.0, 3408119516.0, 3069049960.0, 3102011747.0, 3610369226.0, 1113818384, 328671808, 2227573024.0, 2236228733.0, 3535486456.0, 2935566865.0, 3341394285.0, 496906059, 3702665459.0, 226906860, 2009195472, 733156972, 2842737049.0, 294930682, 1206477858, 2835123396.0, 2700099354.0, 1451044056, 573804783, 2269728455.0, 3644379585.0, 2362090238.0, 2564033334.0, 2801107407.0, 2776292904.0, 3669462566.0, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770.0, 2430122216.0, 775550814, 2193862645.0, 2673705150.0, 1775276924, 1876241833, 3475313331.0, 3366754619.0, 270040487, 3902563182.0, 3678124923.0, 3441850377.0, 1851332852, 3969562369.0, 2203032232.0, 3868552805.0, 2868897406.0, 566021896, 4011190502.0, 3135740889.0, 1248802510, 3936291284.0, 699432150, 832877231, 708780849, 3332740144.0, 899835584, 1951317047, 4236429990.0, 3767586992.0, 866637845, 4043610186.0, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980.0, 3835036895.0, 2664543715.0, 1282050075, 3240894392.0, 1181045119, 2640243204.0, 25965917, 4203181171.0, 4211818798.0, 3009879386.0, 2463879762.0, 3910161971.0, 1842759443, 2597806476.0, 933301370, 1509430414, 3943906441.0, 3467192302.0, 3076639029.0, 3776767469.0, 2051518780, 2631065433.0, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300.0, 2017778566, 3400528769.0, 3110650942.0, 941896748, 3265478751.0, 371049330, 3168937228.0, 675039627, 4279080257.0, 967311729, 135050206, 3635733660.0, 1683407248, 2076935265, 3576870512.0, 1215061108, 3501741890.0]; Td1 = [1347548327, 1400783205, 3273267108.0, 2520393566.0, 3409685355.0, 4045380933.0, 2880240216.0, 2471224067.0, 1428173050, 4138563181.0, 2441661558.0, 636813900, 4233094615.0, 3620022987.0, 2149987652.0, 2411029155.0, 1239331162, 1730525723, 2554718734.0, 3781033664.0, 46346101, 310463728, 2743944855.0, 3328955385.0, 3875770207.0, 2501218972.0, 3955191162.0, 3667219033.0, 768917123, 3545789473.0, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113.0, 3065962831.0, 401639597, 1724457132, 3028143674.0, 409198410, 2196052529.0, 1620529459, 1164071807, 3769721975.0, 2226875310.0, 486441376, 2499348523.0, 1483753576, 428819965, 2274680428.0, 3075636216.0, 598438867, 3799141122.0, 1474502543, 711349675, 129166120, 53458370, 2592523643.0, 2782082824.0, 4063242375.0, 2988687269.0, 3120694122.0, 1559041666, 730517276, 2460449204.0, 4042459122.0, 2706270690.0, 3446004468.0, 3573941694.0, 533804130, 2328143614.0, 2637442643.0, 2695033685.0, 839224033, 1973745387, 957055980, 2856345839.0, 106852767, 1371368976, 4181598602.0, 1033297158, 2933734917.0, 1179510461, 3046200461.0, 91341917, 1862534868, 4284502037.0, 605657339, 2547432937.0, 3431546947.0, 2003294622, 3182487618.0, 2282195339.0, 954669403, 3682191598.0, 1201765386, 3917234703.0, 3388507166.0, 0, 2198438022.0, 1211247597, 2887651696.0, 1315723890, 4227665663.0, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604.0, 975451694, 2970356327.0, 261314535, 3535072918.0, 2652609425.0, 1333838021, 2724322336.0, 1767536459, 370938394, 182621114, 3854606378.0, 1128014560, 487725847, 185469197, 2918353863.0, 3106780840.0, 3356761769.0, 2237133081.0, 1286567175, 3152976349.0, 4255350624.0, 2683765030.0, 3160175349.0, 3309594171.0, 878443390, 1988838185, 3704300486.0, 1756818940, 1673061617, 3403100636.0, 272786309, 1075025698, 545572369, 2105887268, 4174560061.0, 296679730, 1841768865, 1260232239, 4091327024.0, 3960309330.0, 3497509347.0, 1814803222, 2578018489.0, 4195456072.0, 575138148, 3299409036.0, 446754879, 3629546796.0, 4011996048.0, 3347532110.0, 3252238545.0, 4270639778.0, 915985419, 3483825537.0, 681933534, 651868046, 2755636671.0, 3828103837.0, 223377554, 2607439820.0, 1649704518, 3270937875.0, 3901806776.0, 1580087799, 4118987695.0, 3198115200.0, 2087309459, 2842678573.0, 3016697106.0, 1003007129, 2802849917.0, 1860738147, 2077965243, 164439672, 4100872472.0, 32283319, 2827177882.0, 1709610350, 2125135846, 136428751, 3874428392.0, 3652904859.0, 3460984630.0, 3572145929.0, 3593056380.0, 2939266226.0, 824852259, 818324884, 3224740454.0, 930369212, 2801566410.0, 2967507152.0, 355706840, 1257309336, 4148292826.0, 243256656, 790073846, 2373340630.0, 1296297904, 1422699085, 3756299780.0, 3818836405.0, 457992840, 3099667487.0, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921.0, 2050466060, 2388260884.0, 2313884476.0, 4006521127.0, 901210569, 3990953189.0, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895.0, 3931371469.0, 1533017514, 350174575, 2256028891.0, 2177544179.0, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897.0, 1107234197, 1899603969, 3725069491.0, 2631447780.0, 2422494913.0, 1635502980, 1893020342, 1950903388, 1120974935]; Td2 = [2807058932.0, 1699970625, 2764249623.0, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800.0, 1844882806, 1989249228, 1277555970, 3623636965.0, 3419915562.0, 1149249077, 2744104290.0, 1514790577, 459744698, 244860394, 3235995134.0, 1963115311, 4027744588.0, 2544078150.0, 4190530515.0, 1608975247, 2627016082.0, 2062270317, 1507497298, 2200818878.0, 567498868, 1764313568, 3359936201.0, 2305455554.0, 2037970062, 1047239000, 1910319033, 1337376481, 2904027272.0, 2892417312.0, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315.0, 2686254721.0, 731183368, 1750626376, 4246310725.0, 1820824798, 4172763771.0, 3542330227.0, 48394827, 2404901663.0, 2871682645.0, 671593195, 3254988725.0, 2073724613, 145085239, 2280796200.0, 2779915199.0, 1790575107, 2187128086.0, 472615631, 3029510009.0, 4075877127.0, 3802222185.0, 4107101658.0, 3201631749.0, 1646252340, 4270507174.0, 1402811438, 1436590835, 3778151818.0, 3950355702.0, 3963161475.0, 4020912224.0, 2667994737.0, 273792366, 2331590177.0, 104699613, 95345982, 3175501286.0, 2377486676.0, 1560637892, 3564045318.0, 369057872, 4213447064.0, 3919042237.0, 1137477952, 2658625497.0, 1119727848, 2340947849.0, 1530455833, 4007360968.0, 172466556, 266959938, 516552836, 0, 2256734592.0, 3980931627.0, 1890328081, 1917742170, 4294704398.0, 945164165, 3575528878.0, 958871085, 3647212047.0, 2787207260.0, 1423022939, 775562294, 1739656202, 3876557655.0, 2530391278.0, 2443058075.0, 3310321856.0, 547512796, 1265195639, 437656594, 3121275539.0, 719700128, 3762502690.0, 387781147, 218828297, 3350065803.0, 2830708150.0, 2848461854.0, 428169201, 122466165, 3720081049.0, 1627235199, 648017665, 4122762354.0, 1002783846, 2117360635, 695634755, 3336358691.0, 4234721005.0, 4049844452.0, 3704280881.0, 2232435299.0, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185.0, 793451934, 821288114, 1391201670, 3822090177.0, 376187827, 3113855344.0, 1224348052, 1679968233, 2361698556.0, 1058709744, 752375421, 2431590963.0, 1321699145, 3519142200.0, 2734591178.0, 188127444, 2177869557.0, 3727205754.0, 2384911031.0, 3215212461.0, 2648976442.0, 2450346104.0, 3432737375.0, 1180849278, 331544205, 3102249176.0, 4150144569.0, 2952102595.0, 2159976285.0, 2474404304.0, 766078933, 313773861, 2570832044.0, 2108100632, 1668212892, 3145456443.0, 2013908262, 418672217, 3070356634.0, 2594734927.0, 1852171925, 3867060991.0, 3473416636.0, 3907448597.0, 2614737639.0, 919489135, 164948639, 2094410160, 2997825956.0, 590424639, 2486224549.0, 1723872674, 3157750862.0, 3399941250.0, 3501252752.0, 3625268135.0, 2555048196.0, 3673637356.0, 1343127501, 4130281361.0, 3599595085.0, 2957853679.0, 1297403050, 81781910, 3051593425.0, 2283490410.0, 532201772, 1367295589, 3926170974.0, 895287692, 1953757831, 1093597963, 492483431, 3528626907.0, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769.0, 3857572124.0, 2973530695.0, 3747192018.0, 1933530610, 3464042516.0, 935293895, 3454686199.0, 2858115069.0, 1863638845, 3683022916.0, 4085369519.0, 3292445032.0, 875313188, 1080017571, 3279033885.0, 621591778, 1233856572, 2504130317.0, 24197544, 3017672716.0, 3835484340.0, 3247465558.0, 2220981195.0, 3060847922.0, 1551124588, 1463996600]; Td3 = [4104605777.0, 1097159550, 396673818, 660510266, 2875968315.0, 2638606623.0, 4200115116.0, 3808662347.0, 821712160, 1986918061, 3430322568.0, 38544885, 3856137295.0, 718002117, 893681702, 1654886325, 2975484382.0, 3122358053.0, 3926825029.0, 4274053469.0, 796197571, 1290801793, 1184342925, 3556361835.0, 2405426947.0, 2459735317.0, 1836772287, 1381620373, 3196267988.0, 1948373848, 3764988233.0, 3385345166.0, 3263785589.0, 2390325492.0, 1480485785, 3111247143.0, 3780097726.0, 2293045232.0, 548169417, 3459953789.0, 3746175075.0, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046.0, 137073913, 1214797936, 1174215055, 3731654548.0, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170.0, 3049390895.0, 3313212038.0, 923313619, 679998000, 3215307299.0, 57326082, 377642221, 3474729866.0, 2041877159, 133361907, 1776460110, 3673476453.0, 96392454, 878845905, 2801699524.0, 777231668, 4082475170.0, 2330014213.0, 4142626212.0, 2213296395.0, 1626319424, 1906247262, 1846563261, 562755902, 3708173718.0, 1040559837, 3871163981.0, 1418573201, 3294430577.0, 114585348, 1343618912, 2566595609.0, 3186202582.0, 1078185097, 3651041127.0, 3896688048.0, 2307622919.0, 425408743, 3371096953.0, 2081048481, 1108339068, 2216610296.0, 0, 2156299017.0, 736970802, 292596766, 1517440620, 251657213, 2235061775.0, 2933202493.0, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748.0, 2610011675.0, 3234156416.0, 3693126241.0, 2001430874, 303699484, 2478443234.0, 2687165888.0, 585122620, 454499602, 151849742, 2345119218.0, 3064510765.0, 514443284, 4044981591.0, 1963412655, 2581445614.0, 2137062819, 19308535, 1928707164, 1715193156, 4219352155.0, 1126790795, 600235211, 3992742070.0, 3841024952.0, 836553431, 1669664834, 2535604243.0, 3323011204.0, 1243905413, 3141400786.0, 4180808110.0, 698445255, 2653899549.0, 2989552604.0, 2253581325.0, 3252932727.0, 3004591147.0, 1891211689, 2487810577.0, 3915653703.0, 4237083816.0, 4030667424.0, 2100090966, 865136418, 1229899655, 953270745, 3399679628.0, 3557504664.0, 4118925222.0, 2061379749, 3079546586.0, 2915017791.0, 983426092, 2022837584, 1607244650, 2118541908, 2366882550.0, 3635996816.0, 972512814, 3283088770.0, 1568718495, 3499326569.0, 3576539503.0, 621982671, 2895723464.0, 410887952, 2623762152.0, 1002142683, 645401037, 1494807662, 2595684844.0, 1335535747, 2507040230.0, 4293295786.0, 3167684641.0, 367585007, 3885750714.0, 1865862730, 2668221674.0, 2960971305.0, 2763173681.0, 1059270954, 2777952454.0, 2724642869.0, 1320957812, 2194319100.0, 2429595872.0, 2815956275.0, 77089521, 3973773121.0, 3444575871.0, 2448830231.0, 1305906550, 4021308739.0, 2857194700.0, 2516901860.0, 3518358430.0, 1787304780, 740276417, 1699839814, 1592394909, 2352307457.0, 2272556026.0, 188821243, 1729977011, 3687994002.0, 274084841, 3594982253.0, 3613494426.0, 2701949495.0, 4162096729.0, 322734571, 2837966542.0, 1640576439, 484830689, 1202797690, 3537852828.0, 4067639125.0, 349075736, 3342319475.0, 4157467219.0, 4255800159.0, 1030690015, 1155237496, 2951971274.0, 1757691577, 607398968, 2738905026.0, 499347990, 3794078908.0, 1011452712, 227885567, 2818666809.0, 213114376, 3034881240.0, 1455525988, 3414450555.0, 850817237, 1817998408, 3092726480.0]; Td4 = [1381126738, 151587081, 1785358954, 3587560917.0, 808464432, 909522486, 2779096485.0, 943208504, 3217014719.0, 1077952576, 2745410467.0, 2661195422.0, 2172748161.0, 4092851187.0, 3621246935.0, 4227595259.0, 2088533116, 3823363043.0, 960051513, 2189591170.0, 2610666395.0, 791621423, 4294967295.0, 2273806215.0, 875836468, 2391707278.0, 1128481603, 1145324612, 3301229764.0, 3739147998.0, 3924421097.0, 3419130827.0, 1414812756, 2071690107, 2492765332.0, 842150450, 2795939494.0, 3267543746.0, 589505315, 1027423549, 4008636142.0, 1280068684, 2509608341.0, 185273099, 1111638594, 4210752250.0, 3284386755.0, 1313754702, 134744072, 774778414, 2711724449.0, 1717986918, 673720360, 3654932953.0, 606348324, 2998055602.0, 1987475062, 1532713819, 2728567458.0, 1229539657, 1835887981, 2341178251.0, 3520188881.0, 623191333, 1920103026, 4177066232.0, 4143380214.0, 1684300900, 2256963206.0, 1751672936, 2560137368.0, 370546198, 3570717908.0, 2762253476.0, 1549556828, 3435973836.0, 1566399837, 1701143909, 3065427638.0, 2459079314.0, 1819044972, 1886417008, 1212696648, 1347440720, 4261281277.0, 3991793133.0, 3115956665.0, 3671775962.0, 1583242846, 353703189, 1179010630, 1465341783, 2812782503.0, 2374864269.0, 2644352413.0, 2223277188.0, 2425393296.0, 3638089944.0, 2880154539.0, 0, 2358021260.0, 3166485692.0, 3553874899.0, 168430090, 4160223223.0, 3840206052.0, 1482184792, 84215045, 3099113656.0, 3014898611.0, 1162167621, 101058054, 3503345872.0, 741092396, 505290270, 2408550287.0, 3402287818.0, 1061109567, 252645135, 33686018, 3250700737.0, 2947526575.0, 3183328701.0, 50529027, 16843009, 320017171, 2324335242.0, 1802201963, 976894522, 2442236305.0, 286331153, 1094795585, 1330597711, 1734829927, 3705461980.0, 3941264106.0, 2543294359.0, 4076008178.0, 3486502863.0, 3469659854.0, 4042322160.0, 3031741620.0, 3873892070.0, 1936946035, 2526451350.0, 2896997548.0, 1953789044, 572662306, 3890735079.0, 2913840557.0, 892679477, 2240120197.0, 3806520034.0, 4193909241.0, 926365495, 3907578088.0, 471604252, 1970632053, 3755991007.0, 1852730990, 1195853639, 4059165169.0, 437918234, 1903260017, 488447261, 690563369, 3318072773.0, 2307492233.0, 1869573999, 3082270647.0, 1650614882, 235802126, 2863311530.0, 404232216, 3200171710.0, 454761243, 4244438268.0, 1448498774, 1044266558, 1263225675, 3334915782.0, 3537031890.0, 2038004089, 538976288, 2593823386.0, 3688618971.0, 3233857728.0, 4278124286.0, 2021161080, 3452816845.0, 1515870810, 4109694196.0, 522133279, 3722304989.0, 2829625512.0, 858993459, 2290649224.0, 117901063, 3351758791.0, 825307441, 2981212593.0, 303174162, 269488144, 1499027801, 656877351, 2155905152.0, 3974950124.0, 1600085855, 1616928864, 1364283729, 2139062143, 2846468521.0, 421075225, 3048584629.0, 1246382666, 218959117, 757935405, 3857049061.0, 2054847098, 2678038431.0, 2475922323.0, 3385444809.0, 2627509404.0, 4025479151.0, 2694881440.0, 3772834016.0, 993737531, 1296911693, 2930683566.0, 707406378, 4126537205.0, 2964369584.0, 3368601800.0, 3958107115.0, 3149642683.0, 1010580540, 2206434179.0, 1397969747, 2576980377.0, 1633771873, 387389207, 724249387, 67372036, 2122219134, 3132799674.0, 2004318071, 3604403926.0, 640034342, 3789677025.0, 1768515945, 336860180, 1667457891, 1431655765, 555819297, 202116108, 2105376125]; rcon = [16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648.0, 452984832, 905969664]; AES_KEY = function () { this.rounds = 12; this.rd_key = []; }; var aes_key = new AES_KEY(); var decrypt_key = '000102030405060708090a0b0c0d0e0f'; SaveItemObj = function (saveName) { this.name = saveName; this.attributelist = new Object(); this.itemlist = new Object(); this.itemcount = 0; }; SaveItemObj.prototype.getName = function () { return this.name; }; SaveItemObj.prototype.addAttribute = function (addtriName, value) { this.attributelist[addtriName] = value; }; SaveItemObj.prototype.removeAttribute = function (addtriName) { delete this.attributelist[addtriName]; }; SaveItemObj.prototype.setAttribute = function (addtriName, value) { this.attributelist[addtriName] = value; }; SaveItemObj.prototype.getAttribute = function (addtriName) { return this.attributelist[addtriName]; }; SaveItemObj.prototype.getAttributeList = function () { return this.attributelist; }; SaveItemObj.prototype.addItem = function (itemobj) { this.itemlist[this.itemcount++] = itemobj; }; SaveItemObj.prototype.removeItem = function (indexa) { delete this.itemlist[indexa]; }; SaveItemObj.prototype.setItem = function (indexa, itemobj) { this.itemlist[indexa] = itemobj; }; SaveItemObj.prototype.getItem = function (indexa) { return this.itemlist[indexa]; }; SaveItemObj.prototype.getItemList = function (itemname) { var v2 = new Array(); var v3 = 0; for (var v4 in this.itemlist) { if (this.itemlist[v4].getName() == itemname) { v2[v3++] = this.itemlist[v4]; } } return v2; }; SaveItemObj.prototype.getItemListIndex = function (itemname) { var v2 = new Array(); for (var v3 in this.itemlist) { if (this.itemlist[v3].getName() == itemname) { v2[v3] = this.itemlist[v3]; } } return v2; }; SaveItemObj.prototype.convertXML = function () { var v2 = new XMLNode(1, this.name); for (var v3 in this.attributelist) { v2.attributes[v3] = this.attributelist[v3]; } for (v3 in this.itemlist) { v2.appendChild(this.itemlist[v3].convertXML()); } return v2; }; SaveItemObj.prototype.loadXML = function (XMLLoadNode) { for (var v7 in this.attributelist) { delete this.attributelist[v7]; } for (v7 in this.itemlist) { delete this.itemlist[v7]; } for (var v6 in XMLLoadNode.attributes) { this.setAttribute(v6, XMLLoadNode.attributes[v6]); } var v4 = XMLLoadNode.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveItemObj.prototype.printitems = function () { var v2 = ''; for (var v3 in this.attributelist) { v2 += v3 + ':' + this.attributelist[v3] + ', '; } }; SaveItemObj.prototype.testcheck = function () {}; SaveDataObj = function (username, saveURL, indexa) { this.savePath = saveURL; this.userid = username; this.forceLocalFlag = false; this.saveIndex = indexa; this.recipientObj = null; }; SaveDataObj.prototype = new SaveItemObj('SavedData'); SaveDataObj.prototype.save = function () { var v2 = this.convertXML(); var v3 = new XML(); v3.parentdata = this.recipientObj; v3.onLoad = function (success) { if (success) { this.parentdata.saved(true); } else { this.parentdata.saved(false); } }; if (MODE == 'PREMIUM') { saveToFile('savedata' + this.saveIndex + '.dat', v2.toString()); } else { var v4 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); v4.data[this.saveIndex] = v2.toString(); v4.flush(100000); } if (this.userid && this.userid != '' && !this.forceLocalFlag) { v2.contentType = 'text/xml'; v2.sendAndLoad(this.savePath + '&type=save&userid=' + this.userid + '&saveindex=' + this.saveIndex, v3); } else { this.recipientObj.saved(true); } }; SaveDataObj.prototype.load = function () { for (var v6 in this.attributelist) { delete this.attributelist[v6]; } for (v6 in this.itemlist) { delete this.itemlist[v6]; } var loadXML = new XML(); loadXML.ignoreWhite = true; loadXML.parentdata = this; loadXML.onLoad = function (success) { var v7 = loadXML.firstChild; var v8 = v7.nextSibling; if (v8.firstChild.nodeValue != '342134' && !this.parentdata.forceLocalFlag) { success = false; } if (success) { var v5 = loadXML.firstChild; var v4 = v5.childNodes; if (v4.length == 0) { if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savedata' + this.parentdata.saveIndex + '.dat')); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); this.parseXML(v6.data[this.parentdata.saveIndex]); } v5 = this.firstChild; v4 = v5.childNodes; } for (prop in v5.attributes) { this.parentdata.setAttribute(prop, v5.attributes[prop]); } var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.parentdata.addItem(v3); ++v2; } this.parentdata.onLoad(); } else { this.parentdata.forceLocalFlag = true; if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savedata' + this.parentdata.saveIndex + '.dat')); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); this.parseXML(v6.data[this.parentdata.saveIndex]); } this.onLoad('true'); } }; if (MODE == 'PREMIUM') { var v8 = loadFromFile('savedata' + this.saveIndex + '.dat'); if (v8 == undefined) { loadXML.load(this.savePath + '&type=retrieve&userid=' + this.userid + '&saveindex=' + this.saveIndex); } else { loadXML.parseXML(v8); loadXML.onLoad('true'); } } else { var v7 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); if (v7.data[this.saveIndex] == undefined) { loadXML.load(this.savePath + '&type=retrieve&userid=' + this.userid + '&saveindex=' + this.saveIndex); } else { loadXML.parseXML(v7.data[this.saveIndex]); loadXML.onLoad('true'); } } }; SaveDataObj.prototype.forceLocal = function (setlocal) { this.forceLocalFlag = setlocal; }; SaveDataObj.prototype.loadSaveItem = function (saveitem) { this.attributelist = saveitem.attributelist; this.itemlist = saveitem.itemlist; this.itemcount = saveitem.itemcount; }; SaveDataObj.prototype.extractSaveItem = function () { var v2 = new SaveItemObj(''); v2.attributelist = this.attributelist; v2.itemlist = this.itemlist; v2.itemcount = this.itemcount; return v2; }; SaveDataObj.prototype.convertXML = function () { var v4 = new XML(); var v2 = new XMLNode(1, 'SavedData'); v4.appendChild(v2); for (var v3 in this.attributelist) { v2.attributes[v3] = this.attributelist[v3]; } for (v3 in this.itemlist) { v2.appendChild(this.itemlist[v3].convertXML()); } return v4; }; SaveDataObj.prototype.cloneSave = function (prevSave) { var v6 = prevSave.convertXML(); var v5 = v6.firstChild; for (prop in v5.attributes) { this.setAttribute(prop, v5.attributes[prop]); } var v4 = v5.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveDataObj.prototype.parseXML = function (xmlstr) { var v6 = new XML(); v6.parseXML(xmlstr); var v5 = v6.firstChild; for (prop in v5.attributes) { this.setAttribute(prop, v5.attributes[prop]); } var v4 = v5.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveDataObj.prototype.addListener = function (listobj) { this.recipientObj = listobj; }; SaveListObj = function (username, passwd) { this.hostname = 'http://mobileweapon.net/ep1/'; this.filename = 'neoplanetasp.php'; this.savePath = this.hostname + this.filename + '?sessid=' + _global.session; this.userid = username; this.password = passwd; this.recipientObj = null; this.loaded = false; this.loadSaveList = new Array(); this.forceLoadShared = false; }; SaveListObj.prototype.checkForceLocal = function () { return this.forceLoadShared; }; SaveListObj.prototype.forceLocal = function (flocal) { this.forceLoadShared = flocal; }; SaveListObj.prototype.connect = function () { if (this.userid == '') { this.forceLoadShared = true; this.recipientObj.error('NOUSERNAME'); return undefined; } else { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { if (success) { var v3 = replyXML.firstChild; if (v3.attributes.key == 'INVALID' || replyXML.toString() == 'invalid session') { this.recObj.recipientObj.connected(false); } else { _global.session = v3.attributes.key; this.recObj.savePath = this.recObj.hostname + this.recObj.filename + '?sessid=' + _global.session; this.recObj.recipientObj.connected(true, v3.attributes.userid); } } else { this.recipientObj.error('NOCONNECTION'); } }; replyXML.load(this.savePath + '&type=authenticate&userid=' + this.userid + '&password=' + this.password); } }; SaveListObj.prototype.createNewUser = function (email) { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { if (success) { var v3 = replyXML.firstChild; if (v3.attributes.key == 'DUPLICATE') { this.recObj.recipientObj.created(false, v3.attributes.key); } else { _global.session = v3.attributes.key; this.recObj.savePath = this.recObj.hostname + this.recObj.filename + '?sessid=' + _global.session; this.recObj.recipientObj.created(true, v3.attributes.userid); } } else { this.recObj.recipientObj.created(false, 'NOCON'); } }; replyXML.load(this.savePath + '&type=createuser&userid=' + this.userid + '&password=' + this.password + '&email=' + email); }; SaveListObj.prototype.listAllSaves = function () { if (!this.loaded) { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { var v6 = replyXML.firstChild; var v7 = v6.nextSibling; if (v7.firstChild.nodeValue != '342134' && !this.recObj.forceLoadShared) { success = false; } if (success) { v6 = replyXML.firstChild; var v4 = v6.childNodes; this.recObj.loadSaveList = new Array(); var v2 = 0; while (v2 < v4.length) { this.recObj.loadSaveList[v4[v2].attributes.name] = v4[v2].attributes.date; ++v2; } var v5 = checkXML.firstChild; var v3 = v5.childNodes; v2 = 0; while (v2 < v3.length) { if (neoplanetsave.data[v3[v2].attributes.name] == undefined && this.recObj.forceLoadShared) { delete this.recObj.loadSaveList[v3[v2].attributes.name]; } else { if (this.recObj.loadSaveList[v3[v2].attributes.name]) { if (this.recObj.loadSaveList[v3[v2].attributes.name] < v3[v2].attributes.date) { this.recObj.loadSaveList[v3[v2].attributes.name] = v3[v2].attributes.date; } } else { this.recObj.loadSaveList[v3[v2].attributes.name] = v3[v2].attributes.date; } } ++v2; } this.recObj.loaded = true; this.recObj.recipientObj.getList(this.recObj.loadSaveList); } else { if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savelist.dat')); } else { var neoplanetsave = SharedObject.getLocal(this.recObj.userid + '_neoplanetsave', '/'); this.parseXML(neoplanetsave.data.savelist); } this.recObj.forceLoadShared = true; this.onLoad(true); } }; if (this.forceLoadShared) { if (MODE == 'PREMIUM') { replyXML.parseXML(loadFromFile('savelist.dat')); } else { var neoplanetsave = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); replyXML.parseXML(neoplanetsave.data.savelist); } replyXML.onLoad(true); } else { replyXML.load(this.savePath + '&type=listsaves&userid=' + this.userid); } } else { this.recipientObj.getList(this.loadSaveList); } }; SaveListObj.prototype.loadAllSaves = function () {}; SaveListObj.prototype.getSave = function (indexa) { var v2 = new SaveDataObj(this.userid, this.savePath, indexa); v2.printitems(); v2.recipientObj = this.recipientObj; if (this.forceLoadShared) { v2.forceLocal(true); } v2.onLoad = function () { this.recipientObj.getSave(this); }; v2.load(); }; SaveListObj.prototype.createNewSave = function (currSaveObj, indexa) { var v7 = new SaveDataObj(this.userid, this.savePath, indexa); v7.cloneSave(currSaveObj); v7.forceLocal(this.forceLoadShared); var v2 = new Date(); var v3 = v2.getMonth() + 1; if (v3 < 10) { v3 = '0' + v3; } var v6 = v2.getDate(); if (v6 < 10) { v6 = '0' + v6; } var v5 = v2.getHours(); if (v5 < 10) { v5 = '0' + v5; } var v4 = v2.getMinutes(); if (v4 < 10) { v4 = '0' + v4; } this.loadSaveList[indexa] = v2.getFullYear() + '-' + v3 + '-' + v6 + ' ' + v5 + ':' + v4; this.saveList(); return v7; }; SaveListObj.prototype.createEmptySave = function (indexa) { var v7 = new SaveDataObj(this.userid, this.savePath, indexa); v7.forceLocal(this.forceLoadShared); var v2 = new Date(); var v3 = v2.getMonth() + 1; if (v3 < 10) { v3 = '0' + v3; } var v6 = v2.getDate(); if (v6 < 10) { v6 = '0' + v6; } var v5 = v2.getHours(); if (v5 < 10) { v5 = '0' + v5; } var v4 = v2.getMinutes(); if (v4 < 10) { v4 = '0' + v4; } this.loadSaveList[indexa] = v2.getFullYear() + '-' + v3 + '-' + v6 + ' ' + v5 + ':' + v4; return v7; }; SaveListObj.prototype.saveList = function () { var v3 = new XML(); var v4 = v3.createElement('savelist'); v3.appendChild(v4); for (var v5 in this.loadSaveList) { var v2 = v3.createElement('savedata'); v2.attributes.name = v5; v2.attributes.date = this.loadSaveList[v5]; v4.appendChild(v2); } if (MODE == 'PREMIUM') { saveToFile('savelist.dat', v3.toString()); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); v6.data.savelist = v3.toString(); v6.flush(10000); } }; SaveListObj.prototype.deleteSave = function (indexa) { delete this.loadSaveList[indexa]; this.saveList(); var replyXML = new XML(); replyXML.onLoad = function (success) { if (success && replyXML == 'SUCCESS') { this.recObj.deleted(true); } else { if (MODE == 'PREMIUM') { deleteFile('savedata' + indexa + '.dat'); } else { var v2 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); delete v2.data[indexa]; this.recObj.deleted(true); } } }; replyXML.recObj = this.recipientObj; replyXML.load(this.savePath + '&type=delete&userid=' + this.userid + '&saveindex=' + indexa); if (MODE == 'PREMIUM') { deleteFile('savedata' + indexa + '.dat'); } else { var v2 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); delete v2.data[indexa]; } }; SaveListObj.prototype.addListener = function (recObject) { this.recipientObj = recObject; }; SaveListObj.prototype.forceOnline = function (username, userpass, email) { this.userid = username; this.password = userpass; this.createNewUser(email); }; _global.mainsave = null; listenerobject = new Object(); listenerobject.getList = function (r_array) { _root.savebox.loadingbar._visible = false; _root.tempsave = new Array(); if (_root.SaveList.checkForceLocal()) { _root.savebox.message.text = ''; } clear_savelist(); var v4 = 1; for (var v8 in r_array) { if (v8 == '_new') { continue; } _root.tempsave[v4 - 1] = v8; _root.savebox.savelistholder.attachMovie('save links', 'save' + v4, 20 + v4); _root.savebox.savelistholder.attachMovie('delete button', 'deletesave' + v4, 40 + v4); _root.savebox.savelistholder['save' + v4].save_name.text = v4 + '. ' + v8; _root.savebox.savelistholder['save' + v4].save_time.text = convertdatetime(r_array[v8]); _root.savebox.savelistholder['save' + v4].savename = v8; _root.savebox.savelistholder['save' + v4]._x = 5; _root.savebox.savelistholder['save' + v4]._y = (v4 - 1) * 25; _root.savebox.savelistholder['deletesave' + v4]._x = 10; _root.savebox.savelistholder['deletesave' + v4]._y = 6 + (v4 - 1) * 25; _root.savebox.savelistholder['deletesave' + v4].id = _root.savebox.savelistholder['save' + v4]; _root.savebox.savelistholder['save' + v4].selid = v4; _root.savebox.savelistholder['deletesave' + v4].onRelease = function () { this.id.gotoAndStop(30); if (!this.selected) { this.id.gotoAndStop(30); this.id.selected = true; if (this.id.selid != this._parent.selectid) { _root.savebox.savelistholder['save' + this._parent.selectid].selected = false; _root.savebox.savelistholder['save' + this._parent.selectid].gotoAndStop(1); this._parent.selectid = this.id.selid; } } this._parent._parent.message.text = 'This save file will be deleted. Are you sure?'; this._parent._parent.yesbutt._visible = true; this._parent._parent.yesbutt.savename = this.id.savename; this._parent._parent.yesbutt.onRelease = function () { _root.SaveList.deleteSave(this.savename); this._visible = false; var v3 = 1; while (_root.savebox.savelistholder['save' + v3]) { _root.savebox.savelistholder['save' + v3].removeMovieClip(); _root.savebox.savelistholder['deletesave' + v3].removeMovieClip(); ++v3; } _root.SaveList.listAllSaves(); }; }; _root.savebox.savelistholder['save' + v4].onRollOver = function () { if (!this.selected) { this.gotoAndPlay(2); } }; _root.savebox.savelistholder['save' + v4].onRollOut = function () { if (!this.selected) { this.gotoAndStop(1); } }; _root.savebox.savelistholder['save' + v4].onRelease = function () { this.gotoAndStop(15); if (!this.selected) { this.selected = true; if (this.selid != this._parent.selectid) { _root.savebox.savelistholder['save' + this._parent.selectid].selected = false; _root.savebox.savelistholder['save' + this._parent.selectid].gotoAndStop(1); this._parent.selectid = this.selid; } } if (this._parent._parent.usetype == 'load') { this._parent._parent.message.text = 'Your current data will be lost. Are you sure?'; this._parent._parent.yesbutt._visible = true; this._parent._parent.yesbutt.savename = this.savename; this._parent._parent.yesbutt.onRelease = function () { _root.savebox.message.text = 'Loading... Please wait'; _root.SaveList.getSave(this.savename); var v3 = 1; while (_root.savebox.savelistholder['save' + v3]) { _root.savebox.savelistholder['save' + v3].removeMovieClip(); _root.savebox.savelistholder['deletesave' + v3].removeMovieClip(); ++v3; } _root.savebox.gotoAndStop(6); _root.savebox.errtext.text = 'Loading... Please wait'; _root.savebox.loginbutt._visible = false; }; } if (this._parent._parent.usetype == 'save') { this._parent._parent.message.text = 'Your previous data will be overwritten. Are you sure?'; this._parent._parent.yesbutt._visible = true; this._parent._parent.yesbutt.buttontext.text = 'Save'; this._parent._parent.yesbutt.savename = this.savename; this._parent._parent.yesbutt.onRelease = function () { var v5 = _root.SaveList.createNewSave(_global.mainsave, this.savename); _global.mainsave = v5; var v4 = 1; while (_root.savebox.savelistholder['save' + v4]) { _root.savebox.savelistholder['save' + v4].removeMovieClip(); _root.savebox.savelistholder['deletesave' + v4].removeMovieClip(); ++v4; } _root.savebox.gotoAndStop(6); _root.savebox.errtext.text = 'Saving... Please wait'; _root.savebox.loginbutt._visible = false; _global.mainsave.addListener(_root.listenerobject); _global.mainsave.save(); }; } }; ++v4; } if (v4 == 0) { _root.savebox.message.text = 'No save found.'; } var v10 = _root.savebox.savelistholder._height; var v9 = _root.savebox.maskbox._height; if (v10 > v9) { _root.savebox.slider._height = Math.round(v9 * v9 / v10); } else { _root.savebox.slider._visible = false; } var v6 = 1; while (_root.savebox.savelistholder['save' + v6]) { ++v6; } if (v6 <= 4 && _root.savebox.usetype == 'save') { _root.savebox.newsavelink._visible = true; delete _root.savebox.newsavelink.onRelease; } else { _root.savebox.newsavelink._visible = false; } }; listenerobject.deleted = function (success) { if (success) { _root.savebox.message.text = 'Your save file has been removed.'; } }; listenerobject.getSave = function (saveobj) { var v2 = saveobj.getItemList('globalvars'); _global.mainsave = saveobj; reload_data(); init_map(); _global.option = 'load'; gotoAndStop(33); }; listenerobject.connected = function (success, userid) { if (success) { var v3 = _global.mainsave.convertXML(); _root.sendSaveFile(userid, v3); } else { _root.savebox.gotoAndStop(4); _root.savebox.errtext.text = 'Invalid username or password.'; } }; listenerobject.error = function (errtype) { if (errtype == 'NOUSERNAME' || errtype == 'NOCONNECTION') { if (MODE == 'PREMIUM') { saveToFile('uid.dat', _root.SaveList.userid); saveToFile('pwd.dat', _root.SaveList.password); _root.SaveList.listAllSaves(); } else { var v2 = SharedObject.getLocal('/mobileweapon'); v2.data.userid = _root.SaveList.userid; v2.data.password = _root.SaveList.password; _root.SaveList.listAllSaves(); } } }; listenerobject.created = function (success, errtype) {}; listenerobject.saved = function (success, errtype) { _root.savebox.gotoAndStop(2); _root.savebox.message.text = 'Data saved.'; }; listenerobject.converted = function (success, errtype) { if (success) { _root.savebox.gotoAndStop(6); _root.savebox.errtext.text = 'Moving your save files online. This may take a few minutes depending on your connection speed.'; var v5 = _global.mainsave.convertXML(); _root.sendSaveFile(errtype, v5); } else { _root.SaveList.userid = ''; _root.SaveList.password = ''; if (errtype == 'DUPLICATE') { _root.savebox.errtext.text = 'This username has been used.'; _root.savebox.loginbutt._visible = true; } if (errtype == 'NOCON') { _root.savebox.errtext.text = 'No connection to server.'; _root.savebox.loginbutt._visible = true; } } this.created = this.created_backup; }; listenerobject.continueSaved = function () {}; _root.savebox.yesbutt._visible = false; _root.savebox._visible = false; _global.quickstart = true; _root.SaveList = new SaveListObj('', ''); _root.SaveList.addListener(listenerobject); _root.SaveList.connect(); } frame 4 { areaMusic = 'title'; bgMusic(areaMusic); } movieClip 1652 { frame 30 { stop(); } } button 1654 { on (release) { playSound('confirmSound'); _root.savebox._visible = true; _root.savebox.gotoAndStop(9); } on (rollOver) { _level0.playSound('select'); } } button 1657 { on (release) { _global.musicSetting = !_global.musicSetting; if (!_global.musicSetting) { var c = new Color(musicbtn); c.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); currentMusic = ''; stopAllSounds(); } else { var c = new Color(musicbtn); c.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); _level0.bgMusic(areaMusic); } } } movieClip 1658 { } button 1660 { on (release) { playSound('confirmSound'); mdm.Application.exit('ask', 'Are you sure you want to Exit?'); } on (rollOver) { _level0.playSound('select'); } } button 1663 { on (release) { playSound('confirmSound'); gotoAndStop(11); } on (rollOver) { _level0.playSound('select'); } } button 1666 { on (release) { if (_level0.shopSystem) { _level0.shopSystem.menu._visible = true; } _level0.playSound('cancelSound'); this._visible = false; _global.option = undefined; } on (rollOver) { _level0.playSound('rollover'); } } movieClip 1670 { } movieClip 1672 { } movieClip 1676 { } movieClip 1680 { } movieClip 1685 { } movieClip 1688 { } button 1714 { on (rollOver) { overlay_mask.gotoAndStop(3); } on (rollOut) { overlay_mask.gotoAndStop(4); } on (release) { this.gotoAndStop(4); } } button 1715 { on (rollOver) { overlay_mask.gotoAndStop(2); } on (rollOut) { overlay_mask.gotoAndStop(4); } on (release) { this.gotoAndStop(5); } } button 1716 { on (rollOver) { overlay_mask.gotoAndStop(1); } on (rollOut) { overlay_mask.gotoAndStop(4); } on (release) { this._visible = false; this.play(); } } movieClip 1722 { frame 1 { stop(); } } movieClip 1733 { frame 1 { function hex_md5(src) { return binl2hex(core_md5(str2binl(src), src.length * 8)); } function core_md5(x, len) { x[len >> 5] |= 128 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var v4 = 1732584193; var v3 = -271733879; var v2 = -1732584194; var v1 = 271733878; var v5 = 0; while (v5 < x.length) { var v10 = v4; var v9 = v3; var v8 = v2; var v7 = v1; v4 = md5_ff(v4, v3, v2, v1, x[v5 + 0], 7, -680876936); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 1], 12, -389564586); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 2], 17, 606105819); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 3], 22, -1044525330); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 4], 7, -176418897); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 5], 12, 1200080426); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 6], 17, -1473231341); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 7], 22, -45705983); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 8], 7, 1770035416); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 9], 12, -1958414417); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 10], 17, -42063); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 11], 22, -1990404162); v4 = md5_ff(v4, v3, v2, v1, x[v5 + 12], 7, 1804603682); v1 = md5_ff(v1, v4, v3, v2, x[v5 + 13], 12, -40341101); v2 = md5_ff(v2, v1, v4, v3, x[v5 + 14], 17, -1502002290); v3 = md5_ff(v3, v2, v1, v4, x[v5 + 15], 22, 1236535329); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 1], 5, -165796510); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 6], 9, -1069501632); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 11], 14, 643717713); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 0], 20, -373897302); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 5], 5, -701558691); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 10], 9, 38016083); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 15], 14, -660478335); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 4], 20, -405537848); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 9], 5, 568446438); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 14], 9, -1019803690); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 3], 14, -187363961); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 8], 20, 1163531501); v4 = md5_gg(v4, v3, v2, v1, x[v5 + 13], 5, -1444681467); v1 = md5_gg(v1, v4, v3, v2, x[v5 + 2], 9, -51403784); v2 = md5_gg(v2, v1, v4, v3, x[v5 + 7], 14, 1735328473); v3 = md5_gg(v3, v2, v1, v4, x[v5 + 12], 20, -1926607734); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 5], 4, -378558); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 8], 11, -2022574463); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 11], 16, 1839030562); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 14], 23, -35309556); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 1], 4, -1530992060); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 4], 11, 1272893353); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 7], 16, -155497632); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 10], 23, -1094730640); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 13], 4, 681279174); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 0], 11, -358537222); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 3], 16, -722521979); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 6], 23, 76029189); v4 = md5_hh(v4, v3, v2, v1, x[v5 + 9], 4, -640364487); v1 = md5_hh(v1, v4, v3, v2, x[v5 + 12], 11, -421815835); v2 = md5_hh(v2, v1, v4, v3, x[v5 + 15], 16, 530742520); v3 = md5_hh(v3, v2, v1, v4, x[v5 + 2], 23, -995338651); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 0], 6, -198630844); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 7], 10, 1126891415); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 14], 15, -1416354905); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 5], 21, -57434055); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 12], 6, 1700485571); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 3], 10, -1894986606); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 10], 15, -1051523); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 1], 21, -2054922799); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 8], 6, 1873313359); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 15], 10, -30611744); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 6], 15, -1560198380); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 13], 21, 1309151649); v4 = md5_ii(v4, v3, v2, v1, x[v5 + 4], 6, -145523070); v1 = md5_ii(v1, v4, v3, v2, x[v5 + 11], 10, -1120210379); v2 = md5_ii(v2, v1, v4, v3, x[v5 + 2], 15, 718787259); v3 = md5_ii(v3, v2, v1, v4, x[v5 + 9], 21, -343485551); v4 = safe_add(v4, v10); v3 = safe_add(v3, v9); v2 = safe_add(v2, v8); v1 = safe_add(v1, v7); v5 += 16; } return new Array(v4, v3, v2, v1); } function md5_cmn(q, a, b, x, s, t) { return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b); } function md5_ff(a, b, c, d, x, s, t) { return md5_cmn(b & c | ~b & d, a, b, x, s, t); } function md5_gg(a, b, c, d, x, s, t) { return md5_cmn(b & d | c & ~d, a, b, x, s, t); } function md5_hh(a, b, c, d, x, s, t) { return md5_cmn(b ^ c ^ d, a, b, x, s, t); } function md5_ii(a, b, c, d, x, s, t) { return md5_cmn(c ^ (b | ~d), a, b, x, s, t); } function bit_rol(num, cnt) { return num << cnt | num >>> 32 - cnt; } function safe_add(x, y) { var v1 = (x & 65535) + (y & 65535); var v2 = (x >> 16) + (y >> 16) + (v1 >> 16); return v2 << 16 | v1 & 65535; } function str2binl(str) { var v3 = new Array(); var v4 = 255; var v1 = 0; while (v1 < str.length * 8) { v3[v1 >> 5] |= (str.charCodeAt(v1 / 8) & v4) << v1 % 32; v1 += 8; } return v3; } function binl2hex(binarray) { var v4 = new String(''); var v3 = new String('0123456789abcdef'); var v1 = 0; while (v1 < binarray.length * 4) { v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15); ++v1; } return v4; } } frame 1 { if (_global.quickstart) { newbutt._visible = true; } else { newbutt._visible = false; } stop(); } instance slider of movieClip 1672 { onClipEvent (press) { this.startDrag(false, this._x, _parent.maskbox._y, this._x, _parent.maskbox._height - this._height + _parent.maskbox._y); this.onEnterFrame = function () { var v3 = (this._y - 50.7) * (_parent.savelistholder._height - _parent.maskbox._height) / (_parent.maskbox._height - this._height); _parent.savelistholder._y = 44 - v3; }; } onClipEvent (release) { this.stopDrag(); this.onEnterFrame = function () {}; } } instance newsavelink of movieClip 1676 { onClipEvent (press) { _root.preparenewsave(); } } frame 2 { stop(); } instance of movieClip 1688 { onClipEvent (press) { if (_level0.shopSystem) { _level0.shopSystem.menu._visible = true; } _parent._visible = false; _global.option = undefined; } } frame 3 { stop(); savebutt.buttontext.text = 'Save'; newsavename.restrict = '0-9,a-z,A-Z'; } instance savebutt of movieClip 1680 { onClipEvent (press) { _root.savenewgame(_parent.newsavename.text); } } frame 4 { _root.clear_savelist(); loginbutt.buttontext.text = 'LOGIN'; } instance loginbutt of movieClip 1680 { onClipEvent (press) { _root.renewUser(_parent.newusername.text, _parent.newpassword.text); } } frame 5 { _root.clear_savelist(); loginbutt.buttontext.text = 'CREATE'; savetext.text = 'CREATE YOUR ACCOUNT'; stop(); } instance loginbutt of movieClip 1680 { onClipEvent (press) { _parent.errtext.text = ''; var error = false; if (_parent.pname.text == '') { _parent.errtext.text = 'Please enter your username.'; error = true; } if (_parent.ppassword.text != _parent.ppasswordc.text) { _parent.errtext.text = 'Your passwords do not match.'; error = true; } if (_parent.ppassword.text == '' || _parent.ppasswordc.text == '') { _parent.errtext.text = 'Please enter a password.'; error = true; } if (_parent.email.text == '') { _parent.errtext.text = 'Please key in a valid email'; error = true; } if (error) { return undefined; } _parent.errtext.text = 'Contacting server... Please wait.'; this._visible = false; _root.createNewAccount(_parent.pname.text, _parent.ppassword.text, _parent.email.text); } } frame 6 { loginbutt.buttontext.text = 'CANCEL'; stop(); } frame 7 { loginbutt.buttontext.text = 'SEND YOUR DATA TO US?'; stop(); } frame 8 { function AES_set_encrypt_key(userkey, bits, key) { var v3; var v4 = 0; var v1 = 0; if (userkey == undefined || key == undefined) { return -1; } if (bits != 128 && bits != 192 && bits != 256) { return -2; } if (bits == 128) { key.rounds = 10; } else { if (bits == 192) { key.rounds = 12; } else { key.rounds = 14; } } key.rd_key[0] = parseInt('0x' + userkey.slice(0, 8)); key.rd_key[1] = parseInt('0x' + userkey.slice(8, 16)); key.rd_key[2] = parseInt('0x' + userkey.slice(16, 24)); key.rd_key[3] = parseInt('0x' + userkey.slice(24, 32)); if (bits == 128) { for (;;) { v3 = key.rd_key[3 + v1]; key.rd_key[4 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[5 + v1] = key.rd_key[1 + v1] ^ key.rd_key[4 + v1]; key.rd_key[6 + v1] = key.rd_key[2 + v1] ^ key.rd_key[5 + v1]; key.rd_key[7 + v1] = key.rd_key[3 + v1] ^ key.rd_key[6 + v1]; if (++v4 == 10) { return 0; } v1 += 4; } } key.rd_key[4] = parseInt('0x' + userkey.slice(32, 40)); key.rd_key[5] = parseInt('0x' + userkey.slice(40, 48)); if (bits == 192) { for (;;) { v3 = key.rd_key[5 + v1]; key.rd_key[6 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[7 + v1] = key.rd_key[1 + v1] ^ key.rd_key[6 + v1]; key.rd_key[8 + v1] = key.rd_key[2 + v1] ^ key.rd_key[7 + v1]; key.rd_key[9 + v1] = key.rd_key[3 + v1] ^ key.rd_key[8 + v1]; if (++v4 == 8) { return 0; } key.rd_key[10 + v1] = key.rd_key[4 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[5 + v1] ^ key.rd_key[10 + v1]; v1 += 6; } } key.rd_key[6] = parseInt('0x' + userkey.slice(48, 56)); key.rd_key[7] = parseInt('0x' + userkey.slice(56, 64)); if (bits == 256) { for (;;) { v3 = key.rd_key[7 + v1]; key.rd_key[8 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[9 + v1] = key.rd_key[1 + v1] ^ key.rd_key[8 + v1]; key.rd_key[10 + v1] = key.rd_key[2 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[3 + v1] ^ key.rd_key[10 + v1]; if (++v4 == 7) { return 0; } v3 = key.rd_key[11 + v1]; key.rd_key[12 + v1] = key.rd_key[4 + v1] ^ Te4[v3 >> 24 & 255] & 4278190080.0 ^ Te4[v3 >> 16 & 255] & 16711680 ^ Te4[v3 >> 8 & 255] & 65280 ^ Te4[v3 & 255] & 255; key.rd_key[13 + v1] = key.rd_key[5 + v1] ^ key.rd_key[12 + v1]; key.rd_key[14 + v1] = key.rd_key[6 + v1] ^ key.rd_key[13 + v1]; key.rd_key[15 + v1] = key.rd_key[7 + v1] ^ key.rd_key[14 + v1]; v1 += 8; } } return 0; } function AES_set_decrypt_key(userkey, bits, key) { var v5; var v3 = 0; var v4 = 0; var v2 = 0; status = AES_set_encrypt_key(userkey, bits, key); if (status < 0) { return undefined; } v3 = 0; v4 = 4 * key.rounds; while (v3 < v4) { v5 = key.rd_key[v3]; key.rd_key[v3] = key.rd_key[v4]; key.rd_key[v4] = v5; v5 = key.rd_key[v3 + 1]; key.rd_key[v3 + 1] = key.rd_key[v4 + 1]; key.rd_key[v4 + 1] = v5; v5 = key.rd_key[v3 + 2]; key.rd_key[v3 + 2] = key.rd_key[v4 + 2]; key.rd_key[v4 + 2] = v5; v5 = key.rd_key[v3 + 3]; key.rd_key[v3 + 3] = key.rd_key[v4 + 3]; key.rd_key[v4 + 3] = v5; v3 += 4; v4 -= 4; } v3 = 1; while (v3 < key.rounds) { v2 += 4; key.rd_key[v2] = Td0[Te4[key.rd_key[v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[v2] & 255] & 255]; key.rd_key[1 + v2] = Td0[Te4[key.rd_key[1 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[1 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[1 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[1 + v2] & 255] & 255]; key.rd_key[2 + v2] = Td0[Te4[key.rd_key[2 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[2 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[2 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[2 + v2] & 255] & 255]; key.rd_key[3 + v2] = Td0[Te4[key.rd_key[3 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[3 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[3 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[3 + v2] & 255] & 255]; ++v3; } return 0; } function AES_encrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[4]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[5]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[6]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[7]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[8]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[9]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[10]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[11]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[12]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[13]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[14]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[15]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[16]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[17]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[18]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[19]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[20]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[21]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[22]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[23]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[24]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[25]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[26]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[27]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[28]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[29]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[30]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[31]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[32]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[33]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[34]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[35]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[36]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[37]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[38]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[40]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[41]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[42]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[43]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[44]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[45]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[46]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[48]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[49]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[50]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[51]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[52]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[53]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[54]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Te4[v9 >> 24 & 255] & 4278190080.0 ^ Te4[v8 >> 16 & 255] & 16711680 ^ Te4[v7 >> 8 & 255] & 65280 ^ Te4[v6 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Te4[v8 >> 24 & 255] & 4278190080.0 ^ Te4[v7 >> 16 & 255] & 16711680 ^ Te4[v6 >> 8 & 255] & 65280 ^ Te4[v9 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Te4[v7 >> 24 & 255] & 4278190080.0 ^ Te4[v6 >> 16 & 255] & 16711680 ^ Te4[v9 >> 8 & 255] & 65280 ^ Te4[v8 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Te4[v6 >> 24 & 255] & 4278190080.0 ^ Te4[v9 >> 16 & 255] & 16711680 ^ Te4[v8 >> 8 & 255] & 65280 ^ Te4[v7 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_decrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[4]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[5]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[6]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[7]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[8]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[9]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[10]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[11]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[12]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[13]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[14]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[15]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[16]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[17]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[18]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[19]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[20]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[21]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[22]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[23]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[24]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[25]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[26]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[27]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[28]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[29]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[30]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[31]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[32]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[33]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[34]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[35]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[36]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[37]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[38]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[40]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[41]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[42]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[43]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[44]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[45]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[46]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[48]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[49]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[50]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[51]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[52]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[53]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[54]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Td4[v9 >> 24 & 255] & 4278190080.0 ^ Td4[v6 >> 16 & 255] & 16711680 ^ Td4[v7 >> 8 & 255] & 65280 ^ Td4[v8 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Td4[v8 >> 24 & 255] & 4278190080.0 ^ Td4[v9 >> 16 & 255] & 16711680 ^ Td4[v6 >> 8 & 255] & 65280 ^ Td4[v7 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Td4[v7 >> 24 & 255] & 4278190080.0 ^ Td4[v8 >> 16 & 255] & 16711680 ^ Td4[v9 >> 8 & 255] & 65280 ^ Td4[v6 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Td4[v6 >> 24 & 255] & 4278190080.0 ^ Td4[v7 >> 16 & 255] & 16711680 ^ Td4[v8 >> 8 & 255] & 65280 ^ Td4[v9 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_ecb_encrypt(bin, key, enc) { if (bin == undefined || key == undefined) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } if (enc == 'AES_ENCRYPT') { bout = AES_encrypt(bin, key); return bout; } bout = AES_decrypt(bin, key); return bout; } function AES_cbc_encrypt(bin, key, ivec, enc) { var v7; var v1; var v5; var v8; var v4; var v2; var v3; if (bin == undefined || key == undefined || ivec == undefined) { return undefined; } v7 = bin.length; if (v7 % 32 != 0) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } v2 = bin; if (enc == 'AES_ENCRYPT') { while (v7 > 0) { v5 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v2.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v5 += byte2hex(v3); v1 += 2; } v4 = AES_encrypt(v5, key); ivec = v4; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } while (v7 > 0) { v5 = AES_decrypt(v2, key); v4 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v5.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v4 += byte2hex(v3); v1 += 2; } ivec = v2; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } function byte2hex(byte) { if ((byte.toString(16)).length < 2) { return '0' + (byte.toString(16)).toUpperCase(); } else { return (byte.toString(16)).toUpperCase(); } } function string2hex(s) { var v3 = ''; var v1 = 0; while (v1 < s.length) { if (((s.charCodeAt(v1)).toString(16)).length < 2) { v3 += '0' + ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } else { v3 += ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } ++v1; } return v3; } function hex2string(hex) { var v3 = ''; if (hex.length % 2 == 1) { stop(); } var v1 = 0; while (v1 < hex.length) { v3 += String.fromCharCode(parseInt('0x' + hex.slice(v1, v1 + 2))); v1 += 2; } return v3; } function decryptfile(decodefile) { var v1 = decodefile; AES_set_decrypt_key(decrypt_key, 128, aes_key); var v2 = ''; while (v1.length > 16) { tmpcry = v1.substr(0, 32); v1 = v1.substr(32, v1.length); plain = AES_ecb_encrypt(tmpcry, aes_key, 'AES_DECRYPT'); v2 += hex2string(plain); } return v2; } function encryptfile(filecontent) { AES_set_encrypt_key(decrypt_key, 128, aes_key); var v4 = ''; while (filecontent.length > 0) { var v2 = ''; if (filecontent.length >= 16) { v2 = substring(filecontent, 0, 16); filecontent = substring(filecontent, 17, filecontent.length); } else { v2 = substring(filecontent, 0, filecontent.length); filecontent = ''; } while (v2.length != 16) { v2 += ' '; } var v3 = AES_ecb_encrypt(string2hex(v2), aes_key, 'AES_ENCRYPT'); v4 += v3; } return v4; } Te0 = [3328402341.0, 4168907908.0, 4000806809.0, 4135287693.0, 4294111757.0, 3597364157.0, 3731845041.0, 2445657428.0, 1613770832, 33620227, 3462883241.0, 1445669757, 3892248089.0, 3050821474.0, 1303096294, 3967186586.0, 2412431941.0, 528646813, 2311702848.0, 4202528135.0, 4026202645.0, 2992200171.0, 2387036105.0, 4226871307.0, 1101901292, 3017069671.0, 1604494077, 1169141738, 597466303, 1403299063, 3832705686.0, 2613100635.0, 1974974402, 3791519004.0, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546.0, 2211236943.0, 1748251740, 1369810420, 3521504564.0, 4193382664.0, 3799085459.0, 2883115123.0, 1647391059, 706024767, 134480908, 2512897874.0, 1176707941, 2646852446.0, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221.0, 3454790438.0, 1311188841, 2142417613, 3933566367.0, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818.0, 3025820398.0, 1537253627, 2756858614.0, 1983593293, 3084310113.0, 2108928974, 1378429307, 3722699582.0, 1580150641, 327451799, 2790478837.0, 3117535592.0, 0, 3253595436.0, 1075847264, 3825007647.0, 2041688520, 3059440621.0, 3563743934.0, 2378943302.0, 1740553945, 1916352843, 2487896798.0, 2555137236.0, 2958579944.0, 2244988746.0, 3151024235.0, 3320835882.0, 1336584933, 3992714006.0, 2252555205.0, 2588757463.0, 1714631509, 293963156, 2319795663.0, 3925473552.0, 67240454, 4269768577.0, 2689618160.0, 2017213508, 631218106, 1269344483, 2723238387.0, 1571005438, 2151694528.0, 93294474, 1066570413, 563977660, 1882732616, 4059428100.0, 1673313503, 2008463041, 2950355573.0, 1109467491, 537923632, 3858759450.0, 4260623118.0, 3218264685.0, 2177748300.0, 403442708, 638784309, 3287084079.0, 3193921505.0, 899127202, 2286175436.0, 773265209, 2479146071.0, 1437050866, 4236148354.0, 2050833735, 3362022572.0, 3126681063.0, 840505643, 3866325909.0, 3227541664.0, 427917720, 2655997905.0, 2749160575.0, 1143087718, 1412049534, 999329963, 193497219, 2353415882.0, 3354324521.0, 1807268051, 672404540, 2816401017.0, 3160301282.0, 369822493, 2916866934.0, 3688947771.0, 1681011286, 1949973070, 336202270, 2454276571.0, 201721354, 1210328172, 3093060836.0, 2680341085.0, 3184776046.0, 1135389935, 3294782118.0, 965841320, 831886756, 3554993207.0, 4068047243.0, 3588745010.0, 2345191491.0, 1849112409, 3664604599.0, 26054028, 2983581028.0, 2622377682.0, 1235855840, 3630984372.0, 2891339514.0, 4092916743.0, 3488279077.0, 3395642799.0, 4101667470.0, 1202630377, 268961816, 1874508501, 4034427016.0, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513.0, 3421038627.0, 2715671932.0, 3899946140.0, 1042226977, 2521517021.0, 1639824860, 227249030, 260737669, 3765465232.0, 2084453954, 1907733956, 3429263018.0, 2420656344.0, 100860677, 4160157185.0, 470683154, 3261161891.0, 1781871967, 2924959737.0, 1773779408, 394692241, 2579611992.0, 974986535, 664706745, 3655459128.0, 3958962195.0, 731420851, 571543859, 3530123707.0, 2849626480.0, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984.0, 2278477385.0, 2857719295.0, 1344809080, 2782912378.0, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649.0, 2218934982.0, 3496503480.0, 2185314755.0, 697932208, 1512910199, 504303377, 2075177163, 2824099068.0, 1841019862, 739644986]; Te1 = [2781242211.0, 2230877308.0, 2582542199.0, 2381740923.0, 234877682, 3184946027.0, 2984144751.0, 1418839493, 1348481072, 50462977, 2848876391.0, 2102799147, 434634494, 1656084439, 3863849899.0, 2599188086.0, 1167051466, 2636087938.0, 1082771913, 2281340285.0, 368048890, 3954334041.0, 3381544775.0, 201060592, 3963727277.0, 1739838676, 4250903202.0, 3930435503.0, 3206782108.0, 4149453988.0, 2531553906.0, 1536934080, 3262494647.0, 484572669, 2923271059.0, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525.0, 886171109, 150598129, 2481090929.0, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806.0, 252314885, 3039795866.0, 151914247, 908333586, 2602270848.0, 1038082786, 651029483, 1766729511, 3447698098.0, 2682942837.0, 454166793, 2652734339.0, 1951935532, 775166490, 758520603, 3000790638.0, 4004797018.0, 4217086112.0, 4137964114.0, 1299594043, 1639438038, 3464344499.0, 2068982057, 1054729187, 1901997871, 2534638724.0, 4121318227.0, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545.0, 3988151131.0, 3201591914.0, 1183697867, 3647454910.0, 1265776953, 3734260298.0, 3566750796.0, 3903871064.0, 1250283471, 1807470800, 717615087, 3847203498.0, 384695291, 3313910595.0, 3617213773.0, 1432761139, 2484176261.0, 3481945413.0, 283769337, 100925954, 2180939647.0, 4037038160.0, 1148730428, 3123027871.0, 3813386408.0, 4087501137.0, 4267549603.0, 3229630528.0, 2315620239.0, 2906624658.0, 3156319645.0, 1215313976, 82966005, 3747855548.0, 3245848246.0, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855.0, 2721421207.0, 3431482436.0, 959321879, 1469301956, 4065699751.0, 2197585534.0, 1199193405, 2898814052.0, 3887750493.0, 724703513, 2514908019.0, 2696962144.0, 2551808385.0, 3516813135.0, 2141445340, 1715741218, 2119445034, 2872807568.0, 2198571144.0, 3398190662.0, 700968686, 3547052216.0, 1009259540, 2041044702, 3803995742.0, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321.0, 168560134, 1816667172, 3837287516.0, 1570751170, 1857934291, 4014189740.0, 2797888098.0, 2822345105.0, 2754712981.0, 936633572, 2347923833.0, 852879335, 1133234376, 1500395319, 3084545389.0, 2348912013.0, 1689376213, 3533459022.0, 3762923945.0, 3034082412.0, 4205598294.0, 133428468, 634383082, 2949277029.0, 2398386810.0, 3913789102.0, 403703816, 3580869306.0, 2297460856.0, 1867130149, 1918643758, 607656988, 4049053350.0, 3346248884.0, 1368901318, 600565992, 2090982877, 2632479860.0, 557719327, 3717614411.0, 3697393085.0, 2249034635.0, 2232388234.0, 2430627952.0, 1115438654, 3295786421.0, 2865522278.0, 3633334344.0, 84280067, 33027830, 303828494, 2747425121.0, 1600795957, 4188952407.0, 3496589753.0, 2434238086.0, 1486471617, 658119965, 3106381470.0, 953803233, 334231800, 3005978776.0, 857870609, 3151128937.0, 1890179545, 2298973838.0, 2805175444.0, 3056442267.0, 574365214, 2450884487.0, 550103529, 1233637070, 4289353045.0, 2018519080, 2057691103, 2399374476.0, 4166623649.0, 2148108681.0, 387583245, 3664101311.0, 836232934, 3330556482.0, 3100665960.0, 3280093505.0, 2955516313.0, 2002398509, 287182607, 3413881008.0, 4238890068.0, 3597515707.0, 975967766]; Te2 = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762.0, 1807603307, 1873927791, 3310653893.0, 810573872, 16974337, 1739181671, 729634347, 4263110654.0, 3613570519.0, 2883997099.0, 1989864566, 3393556426.0, 2191335298.0, 3376449993.0, 2106063485, 4195741690.0, 1508618841, 1204391495, 4027317232.0, 2917941677.0, 3563566036.0, 2734514082.0, 2951366063.0, 2629772188.0, 2767672228.0, 1922491506, 3227229120.0, 3082974647.0, 4246528509.0, 2477669779.0, 644500518, 911895606, 1061256767, 4144166391.0, 3427763148.0, 878471220, 2784252325.0, 3845444069.0, 4043897329.0, 1905517169, 3631459288.0, 827548209, 356461077, 67897348, 3344078279.0, 593839651, 3277757891.0, 405286936, 2527147926.0, 84871685, 2595565466.0, 118033927, 305538066, 2157648768.0, 3795705826.0, 3945188843.0, 661212711, 2999812018.0, 1973414517, 152769033, 2208177539.0, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552.0, 1391895634, 994932283, 3596728278.0, 3016654259.0, 695947817, 3812548067.0, 795958831, 2224493444.0, 1408607827, 3513301457.0, 0, 3979133421.0, 543178784, 4229948412.0, 2982705585.0, 1542305371, 1790891114, 3410398667.0, 3201918910.0, 961245753, 1256100938, 1289001036, 1491644504, 3477767631.0, 3496721360.0, 4012557807.0, 2867154858.0, 4212583931.0, 1137018435, 1305975373, 861234739, 2241073541.0, 1171229253, 4178635257.0, 33948674, 2139225727, 1357946960, 1011120188, 2679776671.0, 2833468328.0, 1374921297, 2751356323.0, 1086357568, 2408187279.0, 2460827538.0, 2646352285.0, 944271416, 4110742005.0, 3168756668.0, 3066132406.0, 3665145818.0, 560153121, 271589392, 4279952895.0, 4077846003.0, 3530407890.0, 3444343245.0, 202643468, 322250259, 3962553324.0, 1608629855, 2543990167.0, 1154254916, 389623319, 3294073796.0, 2817676711.0, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865.0, 1339137615, 3699352540.0, 577127458, 712922154, 2427141008.0, 2290289544.0, 1187679302, 3995715566.0, 3100863416.0, 339486740, 3732514782.0, 1591917662, 186455563, 3681988059.0, 3762019296.0, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650.0, 3547250131.0, 2901361580.0, 1655096418, 2443721105.0, 2510565781.0, 3828863972.0, 2039214713, 3878868455.0, 3359869896.0, 928607799, 1840765549, 2374762893.0, 3580146133.0, 1322425422, 2850048425.0, 1823791212, 1459268694, 4094161908.0, 3928346602.0, 1706019429, 2056189050, 2934523822.0, 135794696, 3134549946.0, 2022240376, 628050469, 779246638, 472135708, 2800834470.0, 3032970164.0, 3327236038.0, 3894660072.0, 3715932637.0, 1956440180, 522272287, 1272813131, 3185336765.0, 2340818315.0, 2323976074.0, 1888542832, 1044544574, 3049550261.0, 1722469478, 1222152264, 50660867, 4127324150.0, 236067854, 1638122081, 895445557, 1475980887, 3117443513.0, 2257655686.0, 3243809217.0, 489110045, 2662934430.0, 3778599393.0, 4162055160.0, 2561878936.0, 288563729, 1773916777, 3648039385.0, 2391345038.0, 2493985684.0, 2612407707.0, 505560094, 2274497927.0, 3911240169.0, 3460925390.0, 1442818645, 678973480, 3749357023.0, 2358182796.0, 2717407649.0, 2306869641.0, 219617805, 3218761151.0, 3862026214.0, 1120306242, 1756942440, 1103331905, 2578459033.0, 762796589, 252780047, 2966125488.0, 1425844308, 3151392187.0, 372911126]; Te3 = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567.0, 1802223062, 1869591006, 3318043793.0, 808472672, 16843522, 1734846926, 724270422, 4278065639.0, 3621216949.0, 2880169549.0, 1987484396, 3402253711.0, 2189597983.0, 3385409673.0, 2105378810, 4210693615.0, 1499065266, 1195886990, 4042263547.0, 2913856577.0, 3570689971.0, 2728590687.0, 2947541573.0, 2627518243.0, 2762274643.0, 1920112356, 3233831835.0, 3082273397.0, 4261223649.0, 2475929149.0, 640051788, 909531756, 1061110142, 4160160501.0, 3435941763.0, 875846760, 2779116625.0, 3857003729.0, 4059105529.0, 1903268834, 3638064043.0, 825316194, 353713962, 67374088, 3351728789.0, 589522246, 3284360861.0, 404236336, 2526454071.0, 84217610, 2593830191.0, 117901582, 303183396, 2155911963.0, 3806477791.0, 3958056653.0, 656894286, 2998062463.0, 1970642922, 151591698, 2206440989.0, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667.0, 1381168804, 993742198, 3604373943.0, 3014905469.0, 690584402, 3823320797.0, 791638366, 2223281939.0, 1398011302, 3520161977.0, 0, 3991743681.0, 538992704, 4244381667.0, 2981218425.0, 1532751286, 1785380564, 3419096717.0, 3200178535.0, 960056178, 1246420628, 1280103576, 1482221744, 3486468741.0, 3503319995.0, 4025428677.0, 2863326543.0, 4227536621.0, 1128514950, 1296947098, 859002214, 2240123921.0, 1162203018, 4193849577.0, 33687044, 2139062782, 1347481760, 1010582648, 2678045221.0, 2829640523.0, 1364325282, 2745433693.0, 1077985408, 2408548869.0, 2459086143.0, 2644360225.0, 943212656, 4126475505.0, 3166494563.0, 3065430391.0, 3671750063.0, 555836226, 269496352, 4294908645.0, 4092792573.0, 3537006015.0, 3452783745.0, 202118168, 320025894, 3974901699.0, 1600119230, 2543297077.0, 1145359496, 387397934, 3301201811.0, 2812801621.0, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945.0, 1330631070, 3705438115.0, 572679748, 707427924, 2425400123.0, 2290647819.0, 1179044492, 4008585671.0, 3099120491.0, 336870440, 3739122087.0, 1583276732, 185277718, 3688593069.0, 3772791771.0, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855.0, 3553849021.0, 2897014595.0, 1650632388, 2442242105.0, 2509612081.0, 3840161747.0, 2038008818, 3890688725.0, 3368567691.0, 926374254, 1835907034, 2374863873.0, 3587531953.0, 1313788572, 2846482505.0, 1819063512, 1448540844, 4109633523.0, 3941213647.0, 1701162954, 2054852340, 2930698567.0, 134748176, 3132806511.0, 2021165296, 623210314, 774795868, 471606328, 2795958615.0, 3031746419.0, 3334885783.0, 3907527627.0, 3722280097.0, 1953799400, 522133822, 1263263126, 3183336545.0, 2341176845.0, 2324333839.0, 1886425312, 1044267644, 3048588401.0, 1718004428, 1212733584, 50529542, 4143317495.0, 235803164, 1633788866, 892690282, 1465383342, 3115962473.0, 2256965911.0, 3250673817.0, 488449850, 2661202215.0, 3789633753.0, 4177007595.0, 2560144171.0, 286339874, 1768537042, 3654906025.0, 2391705863.0, 2492770099.0, 2610673197.0, 505291324, 2273808917.0, 3924369609.0, 3469625735.0, 1431699370, 673740880, 3755965093.0, 2358021891.0, 2711746649.0, 2307489801.0, 218961690, 3217021541.0, 3873845719.0, 1111672452, 1751693520, 1094828930, 2576986153.0, 757954394, 252645662, 2964376443.0, 1414855848, 3149649517.0, 370555436]; Te4 = [1667457891, 2088533116, 2004318071, 2071690107, 4076008178.0, 1802201963, 1869573999, 3318072773.0, 808464432, 16843009, 1734829927, 724249387, 4278124286.0, 3621246935.0, 2880154539.0, 1987475062, 3402287818.0, 2189591170.0, 3385444809.0, 2105376125, 4210752250.0, 1499027801, 1195853639, 4042322160.0, 2913840557.0, 3570717908.0, 2728567458.0, 2947526575.0, 2627509404.0, 2762253476.0, 1920103026, 3233857728.0, 3082270647.0, 4261281277.0, 2475922323.0, 640034342, 909522486, 1061109567, 4160223223.0, 3435973836.0, 875836468, 2779096485.0, 3857049061.0, 4059165169.0, 1903260017, 3638089944.0, 825307441, 353703189, 67372036, 3351758791.0, 589505315, 3284386755.0, 404232216, 2526451350.0, 84215045, 2593823386.0, 117901063, 303174162, 2155905152.0, 3806520034.0, 3958107115.0, 656877351, 2998055602.0, 1970632053, 151587081, 2206434179.0, 741092396, 437918234, 454761243, 1852730990, 1515870810, 2694881440.0, 1381126738, 993737531, 3604403926.0, 3014898611.0, 690563369, 3823363043.0, 791621423, 2223277188.0, 1397969747, 3520188881.0, 0, 3991793133.0, 538976288, 4244438268.0, 2981212593.0, 1532713819, 1785358954, 3419130827.0, 3200171710.0, 960051513, 1246382666, 1280068684, 1482184792, 3486502863.0, 3503345872.0, 4025479151.0, 2863311530.0, 4227595259.0, 1128481603, 1296911693, 858993459, 2240120197.0, 1162167621, 4193909241.0, 33686018, 2139062143, 1347440720, 1010580540, 2678038431.0, 2829625512.0, 1364283729, 2745410467.0, 1077952576, 2408550287.0, 2459079314.0, 2644352413.0, 943208504, 4126537205.0, 3166485692.0, 3065427638.0, 3671775962.0, 555819297, 269488144, 4294967295.0, 4092851187.0, 3537031890.0, 3452816845.0, 202116108, 320017171, 3974950124.0, 1600085855, 2543294359.0, 1145324612, 387389207, 3301229764.0, 2812782503.0, 2122219134, 1027423549, 1684300900, 1566399837, 421075225, 1936946035, 1616928864, 2172748161.0, 1330597711, 3705461980.0, 572662306, 707406378, 2425393296.0, 2290649224.0, 1179010630, 4008636142.0, 3099113656.0, 336860180, 3739147998.0, 1583242846, 185273099, 3688618971.0, 3772834016.0, 842150450, 976894522, 168430090, 1229539657, 101058054, 606348324, 1549556828, 3267543746.0, 3553874899.0, 2896997548.0, 1650614882, 2442236305.0, 2509608341.0, 3840206052.0, 2038004089, 3890735079.0, 3368601800.0, 926365495, 1835887981, 2374864269.0, 3587560917.0, 1313754702, 2846468521.0, 1819044972, 1448498774, 4109694196.0, 3941264106.0, 1701143909, 2054847098, 2930683566.0, 134744072, 3132799674.0, 2021161080, 623191333, 774778414, 471604252, 2795939494.0, 3031741620.0, 3334915782.0, 3907578088.0, 3722304989.0, 1953789044, 522133279, 1263225675, 3183328701.0, 2341178251.0, 2324335242.0, 1886417008, 1044266558, 3048584629.0, 1717986918, 1212696648, 50529027, 4143380214.0, 235802126, 1633771873, 892679477, 1465341783, 3115956665.0, 2256963206.0, 3250700737.0, 488447261, 2661195422.0, 3789677025.0, 4177066232.0, 2560137368.0, 286331153, 1768515945, 3654932953.0, 2391707278.0, 2492765332.0, 2610666395.0, 505290270, 2273806215.0, 3924421097.0, 3469659854.0, 1431655765, 673720360, 3755991007.0, 2358021260.0, 2711724449.0, 2307492233.0, 218959117, 3217014719.0, 3873892070.0, 1111638594, 1751672936, 1094795585, 2576980377.0, 757935405, 252645135, 2964369584.0, 1414812756, 3149642683.0, 370546198]; Td0 = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851.0, 1273168787, 540080725, 2910219766.0, 2295101073.0, 4110568485.0, 1340463100, 3307916247.0, 641025152, 3043140495.0, 3736164937.0, 632953703, 1172967064, 1576976609, 3274667266.0, 2169303058.0, 2370213795.0, 1809054150, 59727847, 361929877, 3211623147.0, 2505202138.0, 3569255213.0, 1484005843, 1239443753, 2395588676.0, 1975683434, 4102977912.0, 2572697195.0, 666464733, 3202437046.0, 4035489047.0, 3374361702.0, 2110667444, 1675577880, 3843699074.0, 2538681184.0, 1649639237, 2976151520.0, 3144396420.0, 4269907996.0, 4178062228.0, 1883793496, 2403728665.0, 2497604743.0, 1383856311, 2876494627.0, 1917518562, 3810496343.0, 1716890410, 3001755655.0, 800440835, 2261089178.0, 3543599269.0, 807962610, 599762354, 33778362, 3977675356.0, 2328828971.0, 2809771154.0, 4077384432.0, 1315562145, 1708848333, 101039829, 3509871135.0, 3299278474.0, 875451293, 2733856160.0, 92987698, 2767645557.0, 193195065, 1080094634, 1584504582, 3178106961.0, 1042385657, 2531067453.0, 3711829422.0, 1306967366, 2438237621.0, 1908694277, 67556463, 1615861247, 429456164, 3602770327.0, 2302690252.0, 1742315127, 2968011453.0, 126454664, 3877198648.0, 2043211483, 2709260871.0, 2084704233, 4169408201.0, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683.0, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969.0, 607530554, 202008497, 2472011535.0, 3035535058.0, 463180190, 2160117071.0, 1641816226, 1517767529, 470948374, 3801332234.0, 3231722213.0, 1008918595, 303765277, 235474187, 4069246893.0, 766945465, 337553864, 1475418501, 2943682380.0, 4003061179.0, 2743034109.0, 4144047775.0, 1551037884, 1147550661, 1543208500, 2336434550.0, 3408119516.0, 3069049960.0, 3102011747.0, 3610369226.0, 1113818384, 328671808, 2227573024.0, 2236228733.0, 3535486456.0, 2935566865.0, 3341394285.0, 496906059, 3702665459.0, 226906860, 2009195472, 733156972, 2842737049.0, 294930682, 1206477858, 2835123396.0, 2700099354.0, 1451044056, 573804783, 2269728455.0, 3644379585.0, 2362090238.0, 2564033334.0, 2801107407.0, 2776292904.0, 3669462566.0, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770.0, 2430122216.0, 775550814, 2193862645.0, 2673705150.0, 1775276924, 1876241833, 3475313331.0, 3366754619.0, 270040487, 3902563182.0, 3678124923.0, 3441850377.0, 1851332852, 3969562369.0, 2203032232.0, 3868552805.0, 2868897406.0, 566021896, 4011190502.0, 3135740889.0, 1248802510, 3936291284.0, 699432150, 832877231, 708780849, 3332740144.0, 899835584, 1951317047, 4236429990.0, 3767586992.0, 866637845, 4043610186.0, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980.0, 3835036895.0, 2664543715.0, 1282050075, 3240894392.0, 1181045119, 2640243204.0, 25965917, 4203181171.0, 4211818798.0, 3009879386.0, 2463879762.0, 3910161971.0, 1842759443, 2597806476.0, 933301370, 1509430414, 3943906441.0, 3467192302.0, 3076639029.0, 3776767469.0, 2051518780, 2631065433.0, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300.0, 2017778566, 3400528769.0, 3110650942.0, 941896748, 3265478751.0, 371049330, 3168937228.0, 675039627, 4279080257.0, 967311729, 135050206, 3635733660.0, 1683407248, 2076935265, 3576870512.0, 1215061108, 3501741890.0]; Td1 = [1347548327, 1400783205, 3273267108.0, 2520393566.0, 3409685355.0, 4045380933.0, 2880240216.0, 2471224067.0, 1428173050, 4138563181.0, 2441661558.0, 636813900, 4233094615.0, 3620022987.0, 2149987652.0, 2411029155.0, 1239331162, 1730525723, 2554718734.0, 3781033664.0, 46346101, 310463728, 2743944855.0, 3328955385.0, 3875770207.0, 2501218972.0, 3955191162.0, 3667219033.0, 768917123, 3545789473.0, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113.0, 3065962831.0, 401639597, 1724457132, 3028143674.0, 409198410, 2196052529.0, 1620529459, 1164071807, 3769721975.0, 2226875310.0, 486441376, 2499348523.0, 1483753576, 428819965, 2274680428.0, 3075636216.0, 598438867, 3799141122.0, 1474502543, 711349675, 129166120, 53458370, 2592523643.0, 2782082824.0, 4063242375.0, 2988687269.0, 3120694122.0, 1559041666, 730517276, 2460449204.0, 4042459122.0, 2706270690.0, 3446004468.0, 3573941694.0, 533804130, 2328143614.0, 2637442643.0, 2695033685.0, 839224033, 1973745387, 957055980, 2856345839.0, 106852767, 1371368976, 4181598602.0, 1033297158, 2933734917.0, 1179510461, 3046200461.0, 91341917, 1862534868, 4284502037.0, 605657339, 2547432937.0, 3431546947.0, 2003294622, 3182487618.0, 2282195339.0, 954669403, 3682191598.0, 1201765386, 3917234703.0, 3388507166.0, 0, 2198438022.0, 1211247597, 2887651696.0, 1315723890, 4227665663.0, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604.0, 975451694, 2970356327.0, 261314535, 3535072918.0, 2652609425.0, 1333838021, 2724322336.0, 1767536459, 370938394, 182621114, 3854606378.0, 1128014560, 487725847, 185469197, 2918353863.0, 3106780840.0, 3356761769.0, 2237133081.0, 1286567175, 3152976349.0, 4255350624.0, 2683765030.0, 3160175349.0, 3309594171.0, 878443390, 1988838185, 3704300486.0, 1756818940, 1673061617, 3403100636.0, 272786309, 1075025698, 545572369, 2105887268, 4174560061.0, 296679730, 1841768865, 1260232239, 4091327024.0, 3960309330.0, 3497509347.0, 1814803222, 2578018489.0, 4195456072.0, 575138148, 3299409036.0, 446754879, 3629546796.0, 4011996048.0, 3347532110.0, 3252238545.0, 4270639778.0, 915985419, 3483825537.0, 681933534, 651868046, 2755636671.0, 3828103837.0, 223377554, 2607439820.0, 1649704518, 3270937875.0, 3901806776.0, 1580087799, 4118987695.0, 3198115200.0, 2087309459, 2842678573.0, 3016697106.0, 1003007129, 2802849917.0, 1860738147, 2077965243, 164439672, 4100872472.0, 32283319, 2827177882.0, 1709610350, 2125135846, 136428751, 3874428392.0, 3652904859.0, 3460984630.0, 3572145929.0, 3593056380.0, 2939266226.0, 824852259, 818324884, 3224740454.0, 930369212, 2801566410.0, 2967507152.0, 355706840, 1257309336, 4148292826.0, 243256656, 790073846, 2373340630.0, 1296297904, 1422699085, 3756299780.0, 3818836405.0, 457992840, 3099667487.0, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921.0, 2050466060, 2388260884.0, 2313884476.0, 4006521127.0, 901210569, 3990953189.0, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895.0, 3931371469.0, 1533017514, 350174575, 2256028891.0, 2177544179.0, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897.0, 1107234197, 1899603969, 3725069491.0, 2631447780.0, 2422494913.0, 1635502980, 1893020342, 1950903388, 1120974935]; Td2 = [2807058932.0, 1699970625, 2764249623.0, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800.0, 1844882806, 1989249228, 1277555970, 3623636965.0, 3419915562.0, 1149249077, 2744104290.0, 1514790577, 459744698, 244860394, 3235995134.0, 1963115311, 4027744588.0, 2544078150.0, 4190530515.0, 1608975247, 2627016082.0, 2062270317, 1507497298, 2200818878.0, 567498868, 1764313568, 3359936201.0, 2305455554.0, 2037970062, 1047239000, 1910319033, 1337376481, 2904027272.0, 2892417312.0, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315.0, 2686254721.0, 731183368, 1750626376, 4246310725.0, 1820824798, 4172763771.0, 3542330227.0, 48394827, 2404901663.0, 2871682645.0, 671593195, 3254988725.0, 2073724613, 145085239, 2280796200.0, 2779915199.0, 1790575107, 2187128086.0, 472615631, 3029510009.0, 4075877127.0, 3802222185.0, 4107101658.0, 3201631749.0, 1646252340, 4270507174.0, 1402811438, 1436590835, 3778151818.0, 3950355702.0, 3963161475.0, 4020912224.0, 2667994737.0, 273792366, 2331590177.0, 104699613, 95345982, 3175501286.0, 2377486676.0, 1560637892, 3564045318.0, 369057872, 4213447064.0, 3919042237.0, 1137477952, 2658625497.0, 1119727848, 2340947849.0, 1530455833, 4007360968.0, 172466556, 266959938, 516552836, 0, 2256734592.0, 3980931627.0, 1890328081, 1917742170, 4294704398.0, 945164165, 3575528878.0, 958871085, 3647212047.0, 2787207260.0, 1423022939, 775562294, 1739656202, 3876557655.0, 2530391278.0, 2443058075.0, 3310321856.0, 547512796, 1265195639, 437656594, 3121275539.0, 719700128, 3762502690.0, 387781147, 218828297, 3350065803.0, 2830708150.0, 2848461854.0, 428169201, 122466165, 3720081049.0, 1627235199, 648017665, 4122762354.0, 1002783846, 2117360635, 695634755, 3336358691.0, 4234721005.0, 4049844452.0, 3704280881.0, 2232435299.0, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185.0, 793451934, 821288114, 1391201670, 3822090177.0, 376187827, 3113855344.0, 1224348052, 1679968233, 2361698556.0, 1058709744, 752375421, 2431590963.0, 1321699145, 3519142200.0, 2734591178.0, 188127444, 2177869557.0, 3727205754.0, 2384911031.0, 3215212461.0, 2648976442.0, 2450346104.0, 3432737375.0, 1180849278, 331544205, 3102249176.0, 4150144569.0, 2952102595.0, 2159976285.0, 2474404304.0, 766078933, 313773861, 2570832044.0, 2108100632, 1668212892, 3145456443.0, 2013908262, 418672217, 3070356634.0, 2594734927.0, 1852171925, 3867060991.0, 3473416636.0, 3907448597.0, 2614737639.0, 919489135, 164948639, 2094410160, 2997825956.0, 590424639, 2486224549.0, 1723872674, 3157750862.0, 3399941250.0, 3501252752.0, 3625268135.0, 2555048196.0, 3673637356.0, 1343127501, 4130281361.0, 3599595085.0, 2957853679.0, 1297403050, 81781910, 3051593425.0, 2283490410.0, 532201772, 1367295589, 3926170974.0, 895287692, 1953757831, 1093597963, 492483431, 3528626907.0, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769.0, 3857572124.0, 2973530695.0, 3747192018.0, 1933530610, 3464042516.0, 935293895, 3454686199.0, 2858115069.0, 1863638845, 3683022916.0, 4085369519.0, 3292445032.0, 875313188, 1080017571, 3279033885.0, 621591778, 1233856572, 2504130317.0, 24197544, 3017672716.0, 3835484340.0, 3247465558.0, 2220981195.0, 3060847922.0, 1551124588, 1463996600]; Td3 = [4104605777.0, 1097159550, 396673818, 660510266, 2875968315.0, 2638606623.0, 4200115116.0, 3808662347.0, 821712160, 1986918061, 3430322568.0, 38544885, 3856137295.0, 718002117, 893681702, 1654886325, 2975484382.0, 3122358053.0, 3926825029.0, 4274053469.0, 796197571, 1290801793, 1184342925, 3556361835.0, 2405426947.0, 2459735317.0, 1836772287, 1381620373, 3196267988.0, 1948373848, 3764988233.0, 3385345166.0, 3263785589.0, 2390325492.0, 1480485785, 3111247143.0, 3780097726.0, 2293045232.0, 548169417, 3459953789.0, 3746175075.0, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046.0, 137073913, 1214797936, 1174215055, 3731654548.0, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170.0, 3049390895.0, 3313212038.0, 923313619, 679998000, 3215307299.0, 57326082, 377642221, 3474729866.0, 2041877159, 133361907, 1776460110, 3673476453.0, 96392454, 878845905, 2801699524.0, 777231668, 4082475170.0, 2330014213.0, 4142626212.0, 2213296395.0, 1626319424, 1906247262, 1846563261, 562755902, 3708173718.0, 1040559837, 3871163981.0, 1418573201, 3294430577.0, 114585348, 1343618912, 2566595609.0, 3186202582.0, 1078185097, 3651041127.0, 3896688048.0, 2307622919.0, 425408743, 3371096953.0, 2081048481, 1108339068, 2216610296.0, 0, 2156299017.0, 736970802, 292596766, 1517440620, 251657213, 2235061775.0, 2933202493.0, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748.0, 2610011675.0, 3234156416.0, 3693126241.0, 2001430874, 303699484, 2478443234.0, 2687165888.0, 585122620, 454499602, 151849742, 2345119218.0, 3064510765.0, 514443284, 4044981591.0, 1963412655, 2581445614.0, 2137062819, 19308535, 1928707164, 1715193156, 4219352155.0, 1126790795, 600235211, 3992742070.0, 3841024952.0, 836553431, 1669664834, 2535604243.0, 3323011204.0, 1243905413, 3141400786.0, 4180808110.0, 698445255, 2653899549.0, 2989552604.0, 2253581325.0, 3252932727.0, 3004591147.0, 1891211689, 2487810577.0, 3915653703.0, 4237083816.0, 4030667424.0, 2100090966, 865136418, 1229899655, 953270745, 3399679628.0, 3557504664.0, 4118925222.0, 2061379749, 3079546586.0, 2915017791.0, 983426092, 2022837584, 1607244650, 2118541908, 2366882550.0, 3635996816.0, 972512814, 3283088770.0, 1568718495, 3499326569.0, 3576539503.0, 621982671, 2895723464.0, 410887952, 2623762152.0, 1002142683, 645401037, 1494807662, 2595684844.0, 1335535747, 2507040230.0, 4293295786.0, 3167684641.0, 367585007, 3885750714.0, 1865862730, 2668221674.0, 2960971305.0, 2763173681.0, 1059270954, 2777952454.0, 2724642869.0, 1320957812, 2194319100.0, 2429595872.0, 2815956275.0, 77089521, 3973773121.0, 3444575871.0, 2448830231.0, 1305906550, 4021308739.0, 2857194700.0, 2516901860.0, 3518358430.0, 1787304780, 740276417, 1699839814, 1592394909, 2352307457.0, 2272556026.0, 188821243, 1729977011, 3687994002.0, 274084841, 3594982253.0, 3613494426.0, 2701949495.0, 4162096729.0, 322734571, 2837966542.0, 1640576439, 484830689, 1202797690, 3537852828.0, 4067639125.0, 349075736, 3342319475.0, 4157467219.0, 4255800159.0, 1030690015, 1155237496, 2951971274.0, 1757691577, 607398968, 2738905026.0, 499347990, 3794078908.0, 1011452712, 227885567, 2818666809.0, 213114376, 3034881240.0, 1455525988, 3414450555.0, 850817237, 1817998408, 3092726480.0]; Td4 = [1381126738, 151587081, 1785358954, 3587560917.0, 808464432, 909522486, 2779096485.0, 943208504, 3217014719.0, 1077952576, 2745410467.0, 2661195422.0, 2172748161.0, 4092851187.0, 3621246935.0, 4227595259.0, 2088533116, 3823363043.0, 960051513, 2189591170.0, 2610666395.0, 791621423, 4294967295.0, 2273806215.0, 875836468, 2391707278.0, 1128481603, 1145324612, 3301229764.0, 3739147998.0, 3924421097.0, 3419130827.0, 1414812756, 2071690107, 2492765332.0, 842150450, 2795939494.0, 3267543746.0, 589505315, 1027423549, 4008636142.0, 1280068684, 2509608341.0, 185273099, 1111638594, 4210752250.0, 3284386755.0, 1313754702, 134744072, 774778414, 2711724449.0, 1717986918, 673720360, 3654932953.0, 606348324, 2998055602.0, 1987475062, 1532713819, 2728567458.0, 1229539657, 1835887981, 2341178251.0, 3520188881.0, 623191333, 1920103026, 4177066232.0, 4143380214.0, 1684300900, 2256963206.0, 1751672936, 2560137368.0, 370546198, 3570717908.0, 2762253476.0, 1549556828, 3435973836.0, 1566399837, 1701143909, 3065427638.0, 2459079314.0, 1819044972, 1886417008, 1212696648, 1347440720, 4261281277.0, 3991793133.0, 3115956665.0, 3671775962.0, 1583242846, 353703189, 1179010630, 1465341783, 2812782503.0, 2374864269.0, 2644352413.0, 2223277188.0, 2425393296.0, 3638089944.0, 2880154539.0, 0, 2358021260.0, 3166485692.0, 3553874899.0, 168430090, 4160223223.0, 3840206052.0, 1482184792, 84215045, 3099113656.0, 3014898611.0, 1162167621, 101058054, 3503345872.0, 741092396, 505290270, 2408550287.0, 3402287818.0, 1061109567, 252645135, 33686018, 3250700737.0, 2947526575.0, 3183328701.0, 50529027, 16843009, 320017171, 2324335242.0, 1802201963, 976894522, 2442236305.0, 286331153, 1094795585, 1330597711, 1734829927, 3705461980.0, 3941264106.0, 2543294359.0, 4076008178.0, 3486502863.0, 3469659854.0, 4042322160.0, 3031741620.0, 3873892070.0, 1936946035, 2526451350.0, 2896997548.0, 1953789044, 572662306, 3890735079.0, 2913840557.0, 892679477, 2240120197.0, 3806520034.0, 4193909241.0, 926365495, 3907578088.0, 471604252, 1970632053, 3755991007.0, 1852730990, 1195853639, 4059165169.0, 437918234, 1903260017, 488447261, 690563369, 3318072773.0, 2307492233.0, 1869573999, 3082270647.0, 1650614882, 235802126, 2863311530.0, 404232216, 3200171710.0, 454761243, 4244438268.0, 1448498774, 1044266558, 1263225675, 3334915782.0, 3537031890.0, 2038004089, 538976288, 2593823386.0, 3688618971.0, 3233857728.0, 4278124286.0, 2021161080, 3452816845.0, 1515870810, 4109694196.0, 522133279, 3722304989.0, 2829625512.0, 858993459, 2290649224.0, 117901063, 3351758791.0, 825307441, 2981212593.0, 303174162, 269488144, 1499027801, 656877351, 2155905152.0, 3974950124.0, 1600085855, 1616928864, 1364283729, 2139062143, 2846468521.0, 421075225, 3048584629.0, 1246382666, 218959117, 757935405, 3857049061.0, 2054847098, 2678038431.0, 2475922323.0, 3385444809.0, 2627509404.0, 4025479151.0, 2694881440.0, 3772834016.0, 993737531, 1296911693, 2930683566.0, 707406378, 4126537205.0, 2964369584.0, 3368601800.0, 3958107115.0, 3149642683.0, 1010580540, 2206434179.0, 1397969747, 2576980377.0, 1633771873, 387389207, 724249387, 67372036, 2122219134, 3132799674.0, 2004318071, 3604403926.0, 640034342, 3789677025.0, 1768515945, 336860180, 1667457891, 1431655765, 555819297, 202116108, 2105376125]; rcon = [16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648.0, 452984832, 905969664]; AES_KEY = function () { this.rounds = 12; this.rd_key = []; }; var aes_key = new AES_KEY(); var decrypt_key = '000102030405060708090a0b0c0d0e0f'; savetext.text = 'Export Save'; yesbutt.buttontext.text = 'CLOSE'; var str = _global.mainsave.convertXML(); savecode.text = str; savecode.text = encryptfile(savecode.text); stop(); } instance yesbutt of movieClip 1680 { onClipEvent (press) { _parent._visible = false; } } frame 9 { function AES_set_encrypt_key(userkey, bits, key) { var v3; var v4 = 0; var v1 = 0; if (userkey == undefined || key == undefined) { return -1; } if (bits != 128 && bits != 192 && bits != 256) { return -2; } if (bits == 128) { key.rounds = 10; } else { if (bits == 192) { key.rounds = 12; } else { key.rounds = 14; } } key.rd_key[0] = parseInt('0x' + userkey.slice(0, 8)); key.rd_key[1] = parseInt('0x' + userkey.slice(8, 16)); key.rd_key[2] = parseInt('0x' + userkey.slice(16, 24)); key.rd_key[3] = parseInt('0x' + userkey.slice(24, 32)); if (bits == 128) { for (;;) { v3 = key.rd_key[3 + v1]; key.rd_key[4 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[5 + v1] = key.rd_key[1 + v1] ^ key.rd_key[4 + v1]; key.rd_key[6 + v1] = key.rd_key[2 + v1] ^ key.rd_key[5 + v1]; key.rd_key[7 + v1] = key.rd_key[3 + v1] ^ key.rd_key[6 + v1]; if (++v4 == 10) { return 0; } v1 += 4; } } key.rd_key[4] = parseInt('0x' + userkey.slice(32, 40)); key.rd_key[5] = parseInt('0x' + userkey.slice(40, 48)); if (bits == 192) { for (;;) { v3 = key.rd_key[5 + v1]; key.rd_key[6 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[7 + v1] = key.rd_key[1 + v1] ^ key.rd_key[6 + v1]; key.rd_key[8 + v1] = key.rd_key[2 + v1] ^ key.rd_key[7 + v1]; key.rd_key[9 + v1] = key.rd_key[3 + v1] ^ key.rd_key[8 + v1]; if (++v4 == 8) { return 0; } key.rd_key[10 + v1] = key.rd_key[4 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[5 + v1] ^ key.rd_key[10 + v1]; v1 += 6; } } key.rd_key[6] = parseInt('0x' + userkey.slice(48, 56)); key.rd_key[7] = parseInt('0x' + userkey.slice(56, 64)); if (bits == 256) { for (;;) { v3 = key.rd_key[7 + v1]; key.rd_key[8 + v1] = key.rd_key[v1] ^ Te4[v3 >> 16 & 255] & 4278190080.0 ^ Te4[v3 >> 8 & 255] & 16711680 ^ Te4[v3 & 255] & 65280 ^ Te4[v3 >> 24 & 255] & 255 ^ rcon[v4]; key.rd_key[9 + v1] = key.rd_key[1 + v1] ^ key.rd_key[8 + v1]; key.rd_key[10 + v1] = key.rd_key[2 + v1] ^ key.rd_key[9 + v1]; key.rd_key[11 + v1] = key.rd_key[3 + v1] ^ key.rd_key[10 + v1]; if (++v4 == 7) { return 0; } v3 = key.rd_key[11 + v1]; key.rd_key[12 + v1] = key.rd_key[4 + v1] ^ Te4[v3 >> 24 & 255] & 4278190080.0 ^ Te4[v3 >> 16 & 255] & 16711680 ^ Te4[v3 >> 8 & 255] & 65280 ^ Te4[v3 & 255] & 255; key.rd_key[13 + v1] = key.rd_key[5 + v1] ^ key.rd_key[12 + v1]; key.rd_key[14 + v1] = key.rd_key[6 + v1] ^ key.rd_key[13 + v1]; key.rd_key[15 + v1] = key.rd_key[7 + v1] ^ key.rd_key[14 + v1]; v1 += 8; } } return 0; } function AES_set_decrypt_key(userkey, bits, key) { var v5; var v3 = 0; var v4 = 0; var v2 = 0; status = AES_set_encrypt_key(userkey, bits, key); if (status < 0) { return undefined; } v3 = 0; v4 = 4 * key.rounds; while (v3 < v4) { v5 = key.rd_key[v3]; key.rd_key[v3] = key.rd_key[v4]; key.rd_key[v4] = v5; v5 = key.rd_key[v3 + 1]; key.rd_key[v3 + 1] = key.rd_key[v4 + 1]; key.rd_key[v4 + 1] = v5; v5 = key.rd_key[v3 + 2]; key.rd_key[v3 + 2] = key.rd_key[v4 + 2]; key.rd_key[v4 + 2] = v5; v5 = key.rd_key[v3 + 3]; key.rd_key[v3 + 3] = key.rd_key[v4 + 3]; key.rd_key[v4 + 3] = v5; v3 += 4; v4 -= 4; } v3 = 1; while (v3 < key.rounds) { v2 += 4; key.rd_key[v2] = Td0[Te4[key.rd_key[v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[v2] & 255] & 255]; key.rd_key[1 + v2] = Td0[Te4[key.rd_key[1 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[1 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[1 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[1 + v2] & 255] & 255]; key.rd_key[2 + v2] = Td0[Te4[key.rd_key[2 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[2 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[2 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[2 + v2] & 255] & 255]; key.rd_key[3 + v2] = Td0[Te4[key.rd_key[3 + v2] >> 24 & 255] & 255] ^ Td1[Te4[key.rd_key[3 + v2] >> 16 & 255] & 255] ^ Td2[Te4[key.rd_key[3 + v2] >> 8 & 255] & 255] ^ Td3[Te4[key.rd_key[3 + v2] & 255] & 255]; ++v3; } return 0; } function AES_encrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[4]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[5]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[6]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[7]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[8]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[9]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[10]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[11]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[12]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[13]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[14]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[15]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[16]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[17]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[18]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[19]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[20]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[21]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[22]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[23]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[24]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[25]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[26]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[27]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[28]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[29]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[30]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[31]; v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[32]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[33]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[34]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[35]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[36]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[37]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[38]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[40]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[41]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[42]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[43]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[44]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[45]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[46]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Te0[v9 >> 24 & 255] ^ Te1[v8 >> 16 & 255] ^ Te2[v7 >> 8 & 255] ^ Te3[v6 & 255] ^ key.rd_key[48]; v4 = Te0[v8 >> 24 & 255] ^ Te1[v7 >> 16 & 255] ^ Te2[v6 >> 8 & 255] ^ Te3[v9 & 255] ^ key.rd_key[49]; v3 = Te0[v7 >> 24 & 255] ^ Te1[v6 >> 16 & 255] ^ Te2[v9 >> 8 & 255] ^ Te3[v8 & 255] ^ key.rd_key[50]; v2 = Te0[v6 >> 24 & 255] ^ Te1[v9 >> 16 & 255] ^ Te2[v8 >> 8 & 255] ^ Te3[v7 & 255] ^ key.rd_key[51]; v9 = Te0[v5 >> 24 & 255] ^ Te1[v4 >> 16 & 255] ^ Te2[v3 >> 8 & 255] ^ Te3[v2 & 255] ^ key.rd_key[52]; v8 = Te0[v4 >> 24 & 255] ^ Te1[v3 >> 16 & 255] ^ Te2[v2 >> 8 & 255] ^ Te3[v5 & 255] ^ key.rd_key[53]; v7 = Te0[v3 >> 24 & 255] ^ Te1[v2 >> 16 & 255] ^ Te2[v5 >> 8 & 255] ^ Te3[v4 & 255] ^ key.rd_key[54]; v6 = Te0[v2 >> 24 & 255] ^ Te1[v5 >> 16 & 255] ^ Te2[v4 >> 8 & 255] ^ Te3[v3 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Te4[v9 >> 24 & 255] & 4278190080.0 ^ Te4[v8 >> 16 & 255] & 16711680 ^ Te4[v7 >> 8 & 255] & 65280 ^ Te4[v6 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Te4[v8 >> 24 & 255] & 4278190080.0 ^ Te4[v7 >> 16 & 255] & 16711680 ^ Te4[v6 >> 8 & 255] & 65280 ^ Te4[v9 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Te4[v7 >> 24 & 255] & 4278190080.0 ^ Te4[v6 >> 16 & 255] & 16711680 ^ Te4[v9 >> 8 & 255] & 65280 ^ Te4[v8 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Te4[v6 >> 24 & 255] & 4278190080.0 ^ Te4[v9 >> 16 & 255] & 16711680 ^ Te4[v8 >> 8 & 255] & 65280 ^ Te4[v7 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_decrypt(bin, key) { var v12; var v10 = 0; var v5; var v4; var v3; var v2; var v9; var v8; var v7; var v6; if (bin == undefined || key == undefined) { return undefined; } v5 = parseInt('0x' + bin.slice(0, 8)) ^ key.rd_key[0]; v4 = parseInt('0x' + bin.slice(8, 16)) ^ key.rd_key[1]; v3 = parseInt('0x' + bin.slice(16, 24)) ^ key.rd_key[2]; v2 = parseInt('0x' + bin.slice(24, 32)) ^ key.rd_key[3]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[4]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[5]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[6]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[7]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[8]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[9]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[10]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[11]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[12]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[13]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[14]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[15]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[16]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[17]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[18]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[19]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[20]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[21]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[22]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[23]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[24]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[25]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[26]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[27]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[28]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[29]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[30]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[31]; v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[32]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[33]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[34]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[35]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[36]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[37]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[38]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[39]; if (key.rounds > 10) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[40]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[41]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[42]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[43]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[44]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[45]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[46]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[47]; if (key.rounds > 12) { v5 = Td0[v9 >> 24 & 255] ^ Td1[v6 >> 16 & 255] ^ Td2[v7 >> 8 & 255] ^ Td3[v8 & 255] ^ key.rd_key[48]; v4 = Td0[v8 >> 24 & 255] ^ Td1[v9 >> 16 & 255] ^ Td2[v6 >> 8 & 255] ^ Td3[v7 & 255] ^ key.rd_key[49]; v3 = Td0[v7 >> 24 & 255] ^ Td1[v8 >> 16 & 255] ^ Td2[v9 >> 8 & 255] ^ Td3[v6 & 255] ^ key.rd_key[50]; v2 = Td0[v6 >> 24 & 255] ^ Td1[v7 >> 16 & 255] ^ Td2[v8 >> 8 & 255] ^ Td3[v9 & 255] ^ key.rd_key[51]; v9 = Td0[v5 >> 24 & 255] ^ Td1[v2 >> 16 & 255] ^ Td2[v3 >> 8 & 255] ^ Td3[v4 & 255] ^ key.rd_key[52]; v8 = Td0[v4 >> 24 & 255] ^ Td1[v5 >> 16 & 255] ^ Td2[v2 >> 8 & 255] ^ Td3[v3 & 255] ^ key.rd_key[53]; v7 = Td0[v3 >> 24 & 255] ^ Td1[v4 >> 16 & 255] ^ Td2[v5 >> 8 & 255] ^ Td3[v2 & 255] ^ key.rd_key[54]; v6 = Td0[v2 >> 24 & 255] ^ Td1[v3 >> 16 & 255] ^ Td2[v4 >> 8 & 255] ^ Td3[v5 & 255] ^ key.rd_key[55]; } } v10 = key.rounds << 2; v5 = Td4[v9 >> 24 & 255] & 4278190080.0 ^ Td4[v6 >> 16 & 255] & 16711680 ^ Td4[v7 >> 8 & 255] & 65280 ^ Td4[v8 & 255] & 255 ^ key.rd_key[v10]; out = byte2hex(v5 >> 24 & 255); out += byte2hex(v5 >> 16 & 255); out += byte2hex(v5 >> 8 & 255); out += byte2hex(v5 & 255); v4 = Td4[v8 >> 24 & 255] & 4278190080.0 ^ Td4[v9 >> 16 & 255] & 16711680 ^ Td4[v6 >> 8 & 255] & 65280 ^ Td4[v7 & 255] & 255 ^ key.rd_key[v10 + 1]; out += byte2hex(v4 >> 24 & 255); out += byte2hex(v4 >> 16 & 255); out += byte2hex(v4 >> 8 & 255); out += byte2hex(v4 & 255); v3 = Td4[v7 >> 24 & 255] & 4278190080.0 ^ Td4[v8 >> 16 & 255] & 16711680 ^ Td4[v9 >> 8 & 255] & 65280 ^ Td4[v6 & 255] & 255 ^ key.rd_key[v10 + 2]; out += byte2hex(v3 >> 24 & 255); out += byte2hex(v3 >> 16 & 255); out += byte2hex(v3 >> 8 & 255); out += byte2hex(v3 & 255); v2 = Td4[v6 >> 24 & 255] & 4278190080.0 ^ Td4[v7 >> 16 & 255] & 16711680 ^ Td4[v8 >> 8 & 255] & 65280 ^ Td4[v9 & 255] & 255 ^ key.rd_key[v10 + 3]; out += byte2hex(v2 >> 24 & 255); out += byte2hex(v2 >> 16 & 255); out += byte2hex(v2 >> 8 & 255); out += byte2hex(v2 & 255); return out; } function AES_ecb_encrypt(bin, key, enc) { if (bin == undefined || key == undefined) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } if (enc == 'AES_ENCRYPT') { bout = AES_encrypt(bin, key); return bout; } bout = AES_decrypt(bin, key); return bout; } function AES_cbc_encrypt(bin, key, ivec, enc) { var v7; var v1; var v5; var v8; var v4; var v2; var v3; if (bin == undefined || key == undefined || ivec == undefined) { return undefined; } v7 = bin.length; if (v7 % 32 != 0) { return undefined; } if (enc != 'AES_ENCRYPT' && enc != 'AES_DECRYPT') { return undefined; } v2 = bin; if (enc == 'AES_ENCRYPT') { while (v7 > 0) { v5 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v2.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v5 += byte2hex(v3); v1 += 2; } v4 = AES_encrypt(v5, key); ivec = v4; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } while (v7 > 0) { v5 = AES_decrypt(v2, key); v4 = ''; v1 = 0; while (v1 < 32) { v3 = parseInt('0x' + v5.slice(v1, v1 + 2)) ^ parseInt('0x' + ivec.slice(v1, v1 + 2)); v4 += byte2hex(v3); v1 += 2; } ivec = v2; v7 -= 32; v2 = v2.slice(32); v8 += v4; } return v8; } function byte2hex(byte) { if ((byte.toString(16)).length < 2) { return '0' + (byte.toString(16)).toUpperCase(); } else { return (byte.toString(16)).toUpperCase(); } } function string2hex(s) { var v3 = ''; var v1 = 0; while (v1 < s.length) { if (((s.charCodeAt(v1)).toString(16)).length < 2) { v3 += '0' + ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } else { v3 += ((s.charCodeAt(v1)).toString(16)).toUpperCase(); } ++v1; } return v3; } function hex2string(hex) { var v3 = ''; if (hex.length % 2 == 1) { stop(); } var v1 = 0; while (v1 < hex.length) { v3 += String.fromCharCode(parseInt('0x' + hex.slice(v1, v1 + 2))); v1 += 2; } return v3; } function decryptfile(decodefile) { var v1 = decodefile; AES_set_decrypt_key(decrypt_key, 128, aes_key); var v2 = ''; while (v1.length > 16) { tmpcry = v1.substr(0, 32); v1 = v1.substr(32, v1.length); plain = AES_ecb_encrypt(tmpcry, aes_key, 'AES_DECRYPT'); v2 += hex2string(plain); } return v2; } function encryptfile(filecontent) { AES_set_encrypt_key(decrypt_key, 128, aes_key); var v4 = ''; while (filecontent.length > 0) { var v2 = ''; if (filecontent.length >= 16) { v2 = substring(filecontent, 0, 16); filecontent = substring(filecontent, 17, filecontent.length); } else { v2 = substring(filecontent, 0, filecontent.length); filecontent = ''; } while (v2.length != 16) { v2 += ' '; } var v3 = AES_ecb_encrypt(string2hex(v2), aes_key, 'AES_ENCRYPT'); v4 += v3; } return v4; } Te0 = [3328402341.0, 4168907908.0, 4000806809.0, 4135287693.0, 4294111757.0, 3597364157.0, 3731845041.0, 2445657428.0, 1613770832, 33620227, 3462883241.0, 1445669757, 3892248089.0, 3050821474.0, 1303096294, 3967186586.0, 2412431941.0, 528646813, 2311702848.0, 4202528135.0, 4026202645.0, 2992200171.0, 2387036105.0, 4226871307.0, 1101901292, 3017069671.0, 1604494077, 1169141738, 597466303, 1403299063, 3832705686.0, 2613100635.0, 1974974402, 3791519004.0, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546.0, 2211236943.0, 1748251740, 1369810420, 3521504564.0, 4193382664.0, 3799085459.0, 2883115123.0, 1647391059, 706024767, 134480908, 2512897874.0, 1176707941, 2646852446.0, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221.0, 3454790438.0, 1311188841, 2142417613, 3933566367.0, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818.0, 3025820398.0, 1537253627, 2756858614.0, 1983593293, 3084310113.0, 2108928974, 1378429307, 3722699582.0, 1580150641, 327451799, 2790478837.0, 3117535592.0, 0, 3253595436.0, 1075847264, 3825007647.0, 2041688520, 3059440621.0, 3563743934.0, 2378943302.0, 1740553945, 1916352843, 2487896798.0, 2555137236.0, 2958579944.0, 2244988746.0, 3151024235.0, 3320835882.0, 1336584933, 3992714006.0, 2252555205.0, 2588757463.0, 1714631509, 293963156, 2319795663.0, 3925473552.0, 67240454, 4269768577.0, 2689618160.0, 2017213508, 631218106, 1269344483, 2723238387.0, 1571005438, 2151694528.0, 93294474, 1066570413, 563977660, 1882732616, 4059428100.0, 1673313503, 2008463041, 2950355573.0, 1109467491, 537923632, 3858759450.0, 4260623118.0, 3218264685.0, 2177748300.0, 403442708, 638784309, 3287084079.0, 3193921505.0, 899127202, 2286175436.0, 773265209, 2479146071.0, 1437050866, 4236148354.0, 2050833735, 3362022572.0, 3126681063.0, 840505643, 3866325909.0, 3227541664.0, 427917720, 2655997905.0, 2749160575.0, 1143087718, 1412049534, 999329963, 193497219, 2353415882.0, 3354324521.0, 1807268051, 672404540, 2816401017.0, 3160301282.0, 369822493, 2916866934.0, 3688947771.0, 1681011286, 1949973070, 336202270, 2454276571.0, 201721354, 1210328172, 3093060836.0, 2680341085.0, 3184776046.0, 1135389935, 3294782118.0, 965841320, 831886756, 3554993207.0, 4068047243.0, 3588745010.0, 2345191491.0, 1849112409, 3664604599.0, 26054028, 2983581028.0, 2622377682.0, 1235855840, 3630984372.0, 2891339514.0, 4092916743.0, 3488279077.0, 3395642799.0, 4101667470.0, 1202630377, 268961816, 1874508501, 4034427016.0, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513.0, 3421038627.0, 2715671932.0, 3899946140.0, 1042226977, 2521517021.0, 1639824860, 227249030, 260737669, 3765465232.0, 2084453954, 1907733956, 3429263018.0, 2420656344.0, 100860677, 4160157185.0, 470683154, 3261161891.0, 1781871967, 2924959737.0, 1773779408, 394692241, 2579611992.0, 974986535, 664706745, 3655459128.0, 3958962195.0, 731420851, 571543859, 3530123707.0, 2849626480.0, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984.0, 2278477385.0, 2857719295.0, 1344809080, 2782912378.0, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649.0, 2218934982.0, 3496503480.0, 2185314755.0, 697932208, 1512910199, 504303377, 2075177163, 2824099068.0, 1841019862, 739644986]; Te1 = [2781242211.0, 2230877308.0, 2582542199.0, 2381740923.0, 234877682, 3184946027.0, 2984144751.0, 1418839493, 1348481072, 50462977, 2848876391.0, 2102799147, 434634494, 1656084439, 3863849899.0, 2599188086.0, 1167051466, 2636087938.0, 1082771913, 2281340285.0, 368048890, 3954334041.0, 3381544775.0, 201060592, 3963727277.0, 1739838676, 4250903202.0, 3930435503.0, 3206782108.0, 4149453988.0, 2531553906.0, 1536934080, 3262494647.0, 484572669, 2923271059.0, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525.0, 886171109, 150598129, 2481090929.0, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806.0, 252314885, 3039795866.0, 151914247, 908333586, 2602270848.0, 1038082786, 651029483, 1766729511, 3447698098.0, 2682942837.0, 454166793, 2652734339.0, 1951935532, 775166490, 758520603, 3000790638.0, 4004797018.0, 4217086112.0, 4137964114.0, 1299594043, 1639438038, 3464344499.0, 2068982057, 1054729187, 1901997871, 2534638724.0, 4121318227.0, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545.0, 3988151131.0, 3201591914.0, 1183697867, 3647454910.0, 1265776953, 3734260298.0, 3566750796.0, 3903871064.0, 1250283471, 1807470800, 717615087, 3847203498.0, 384695291, 3313910595.0, 3617213773.0, 1432761139, 2484176261.0, 3481945413.0, 283769337, 100925954, 2180939647.0, 4037038160.0, 1148730428, 3123027871.0, 3813386408.0, 4087501137.0, 4267549603.0, 3229630528.0, 2315620239.0, 2906624658.0, 3156319645.0, 1215313976, 82966005, 3747855548.0, 3245848246.0, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855.0, 2721421207.0, 3431482436.0, 959321879, 1469301956, 4065699751.0, 2197585534.0, 1199193405, 2898814052.0, 3887750493.0, 724703513, 2514908019.0, 2696962144.0, 2551808385.0, 3516813135.0, 2141445340, 1715741218, 2119445034, 2872807568.0, 2198571144.0, 3398190662.0, 700968686, 3547052216.0, 1009259540, 2041044702, 3803995742.0, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321.0, 168560134, 1816667172, 3837287516.0, 1570751170, 1857934291, 4014189740.0, 2797888098.0, 2822345105.0, 2754712981.0, 936633572, 2347923833.0, 852879335, 1133234376, 1500395319, 3084545389.0, 2348912013.0, 1689376213, 3533459022.0, 3762923945.0, 3034082412.0, 4205598294.0, 133428468, 634383082, 2949277029.0, 2398386810.0, 3913789102.0, 403703816, 3580869306.0, 2297460856.0, 1867130149, 1918643758, 607656988, 4049053350.0, 3346248884.0, 1368901318, 600565992, 2090982877, 2632479860.0, 557719327, 3717614411.0, 3697393085.0, 2249034635.0, 2232388234.0, 2430627952.0, 1115438654, 3295786421.0, 2865522278.0, 3633334344.0, 84280067, 33027830, 303828494, 2747425121.0, 1600795957, 4188952407.0, 3496589753.0, 2434238086.0, 1486471617, 658119965, 3106381470.0, 953803233, 334231800, 3005978776.0, 857870609, 3151128937.0, 1890179545, 2298973838.0, 2805175444.0, 3056442267.0, 574365214, 2450884487.0, 550103529, 1233637070, 4289353045.0, 2018519080, 2057691103, 2399374476.0, 4166623649.0, 2148108681.0, 387583245, 3664101311.0, 836232934, 3330556482.0, 3100665960.0, 3280093505.0, 2955516313.0, 2002398509, 287182607, 3413881008.0, 4238890068.0, 3597515707.0, 975967766]; Te2 = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762.0, 1807603307, 1873927791, 3310653893.0, 810573872, 16974337, 1739181671, 729634347, 4263110654.0, 3613570519.0, 2883997099.0, 1989864566, 3393556426.0, 2191335298.0, 3376449993.0, 2106063485, 4195741690.0, 1508618841, 1204391495, 4027317232.0, 2917941677.0, 3563566036.0, 2734514082.0, 2951366063.0, 2629772188.0, 2767672228.0, 1922491506, 3227229120.0, 3082974647.0, 4246528509.0, 2477669779.0, 644500518, 911895606, 1061256767, 4144166391.0, 3427763148.0, 878471220, 2784252325.0, 3845444069.0, 4043897329.0, 1905517169, 3631459288.0, 827548209, 356461077, 67897348, 3344078279.0, 593839651, 3277757891.0, 405286936, 2527147926.0, 84871685, 2595565466.0, 118033927, 305538066, 2157648768.0, 3795705826.0, 3945188843.0, 661212711, 2999812018.0, 1973414517, 152769033, 2208177539.0, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552.0, 1391895634, 994932283, 3596728278.0, 3016654259.0, 695947817, 3812548067.0, 795958831, 2224493444.0, 1408607827, 3513301457.0, 0, 3979133421.0, 543178784, 4229948412.0, 2982705585.0, 1542305371, 1790891114, 3410398667.0, 3201918910.0, 961245753, 1256100938, 1289001036, 1491644504, 3477767631.0, 3496721360.0, 4012557807.0, 2867154858.0, 4212583931.0, 1137018435, 1305975373, 861234739, 2241073541.0, 1171229253, 4178635257.0, 33948674, 2139225727, 1357946960, 1011120188, 2679776671.0, 2833468328.0, 1374921297, 2751356323.0, 1086357568, 2408187279.0, 2460827538.0, 2646352285.0, 944271416, 4110742005.0, 3168756668.0, 3066132406.0, 3665145818.0, 560153121, 271589392, 4279952895.0, 4077846003.0, 3530407890.0, 3444343245.0, 202643468, 322250259, 3962553324.0, 1608629855, 2543990167.0, 1154254916, 389623319, 3294073796.0, 2817676711.0, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865.0, 1339137615, 3699352540.0, 577127458, 712922154, 2427141008.0, 2290289544.0, 1187679302, 3995715566.0, 3100863416.0, 339486740, 3732514782.0, 1591917662, 186455563, 3681988059.0, 3762019296.0, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650.0, 3547250131.0, 2901361580.0, 1655096418, 2443721105.0, 2510565781.0, 3828863972.0, 2039214713, 3878868455.0, 3359869896.0, 928607799, 1840765549, 2374762893.0, 3580146133.0, 1322425422, 2850048425.0, 1823791212, 1459268694, 4094161908.0, 3928346602.0, 1706019429, 2056189050, 2934523822.0, 135794696, 3134549946.0, 2022240376, 628050469, 779246638, 472135708, 2800834470.0, 3032970164.0, 3327236038.0, 3894660072.0, 3715932637.0, 1956440180, 522272287, 1272813131, 3185336765.0, 2340818315.0, 2323976074.0, 1888542832, 1044544574, 3049550261.0, 1722469478, 1222152264, 50660867, 4127324150.0, 236067854, 1638122081, 895445557, 1475980887, 3117443513.0, 2257655686.0, 3243809217.0, 489110045, 2662934430.0, 3778599393.0, 4162055160.0, 2561878936.0, 288563729, 1773916777, 3648039385.0, 2391345038.0, 2493985684.0, 2612407707.0, 505560094, 2274497927.0, 3911240169.0, 3460925390.0, 1442818645, 678973480, 3749357023.0, 2358182796.0, 2717407649.0, 2306869641.0, 219617805, 3218761151.0, 3862026214.0, 1120306242, 1756942440, 1103331905, 2578459033.0, 762796589, 252780047, 2966125488.0, 1425844308, 3151392187.0, 372911126]; Te3 = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567.0, 1802223062, 1869591006, 3318043793.0, 808472672, 16843522, 1734846926, 724270422, 4278065639.0, 3621216949.0, 2880169549.0, 1987484396, 3402253711.0, 2189597983.0, 3385409673.0, 2105378810, 4210693615.0, 1499065266, 1195886990, 4042263547.0, 2913856577.0, 3570689971.0, 2728590687.0, 2947541573.0, 2627518243.0, 2762274643.0, 1920112356, 3233831835.0, 3082273397.0, 4261223649.0, 2475929149.0, 640051788, 909531756, 1061110142, 4160160501.0, 3435941763.0, 875846760, 2779116625.0, 3857003729.0, 4059105529.0, 1903268834, 3638064043.0, 825316194, 353713962, 67374088, 3351728789.0, 589522246, 3284360861.0, 404236336, 2526454071.0, 84217610, 2593830191.0, 117901582, 303183396, 2155911963.0, 3806477791.0, 3958056653.0, 656894286, 2998062463.0, 1970642922, 151591698, 2206440989.0, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667.0, 1381168804, 993742198, 3604373943.0, 3014905469.0, 690584402, 3823320797.0, 791638366, 2223281939.0, 1398011302, 3520161977.0, 0, 3991743681.0, 538992704, 4244381667.0, 2981218425.0, 1532751286, 1785380564, 3419096717.0, 3200178535.0, 960056178, 1246420628, 1280103576, 1482221744, 3486468741.0, 3503319995.0, 4025428677.0, 2863326543.0, 4227536621.0, 1128514950, 1296947098, 859002214, 2240123921.0, 1162203018, 4193849577.0, 33687044, 2139062782, 1347481760, 1010582648, 2678045221.0, 2829640523.0, 1364325282, 2745433693.0, 1077985408, 2408548869.0, 2459086143.0, 2644360225.0, 943212656, 4126475505.0, 3166494563.0, 3065430391.0, 3671750063.0, 555836226, 269496352, 4294908645.0, 4092792573.0, 3537006015.0, 3452783745.0, 202118168, 320025894, 3974901699.0, 1600119230, 2543297077.0, 1145359496, 387397934, 3301201811.0, 2812801621.0, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945.0, 1330631070, 3705438115.0, 572679748, 707427924, 2425400123.0, 2290647819.0, 1179044492, 4008585671.0, 3099120491.0, 336870440, 3739122087.0, 1583276732, 185277718, 3688593069.0, 3772791771.0, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855.0, 3553849021.0, 2897014595.0, 1650632388, 2442242105.0, 2509612081.0, 3840161747.0, 2038008818, 3890688725.0, 3368567691.0, 926374254, 1835907034, 2374863873.0, 3587531953.0, 1313788572, 2846482505.0, 1819063512, 1448540844, 4109633523.0, 3941213647.0, 1701162954, 2054852340, 2930698567.0, 134748176, 3132806511.0, 2021165296, 623210314, 774795868, 471606328, 2795958615.0, 3031746419.0, 3334885783.0, 3907527627.0, 3722280097.0, 1953799400, 522133822, 1263263126, 3183336545.0, 2341176845.0, 2324333839.0, 1886425312, 1044267644, 3048588401.0, 1718004428, 1212733584, 50529542, 4143317495.0, 235803164, 1633788866, 892690282, 1465383342, 3115962473.0, 2256965911.0, 3250673817.0, 488449850, 2661202215.0, 3789633753.0, 4177007595.0, 2560144171.0, 286339874, 1768537042, 3654906025.0, 2391705863.0, 2492770099.0, 2610673197.0, 505291324, 2273808917.0, 3924369609.0, 3469625735.0, 1431699370, 673740880, 3755965093.0, 2358021891.0, 2711746649.0, 2307489801.0, 218961690, 3217021541.0, 3873845719.0, 1111672452, 1751693520, 1094828930, 2576986153.0, 757954394, 252645662, 2964376443.0, 1414855848, 3149649517.0, 370555436]; Te4 = [1667457891, 2088533116, 2004318071, 2071690107, 4076008178.0, 1802201963, 1869573999, 3318072773.0, 808464432, 16843009, 1734829927, 724249387, 4278124286.0, 3621246935.0, 2880154539.0, 1987475062, 3402287818.0, 2189591170.0, 3385444809.0, 2105376125, 4210752250.0, 1499027801, 1195853639, 4042322160.0, 2913840557.0, 3570717908.0, 2728567458.0, 2947526575.0, 2627509404.0, 2762253476.0, 1920103026, 3233857728.0, 3082270647.0, 4261281277.0, 2475922323.0, 640034342, 909522486, 1061109567, 4160223223.0, 3435973836.0, 875836468, 2779096485.0, 3857049061.0, 4059165169.0, 1903260017, 3638089944.0, 825307441, 353703189, 67372036, 3351758791.0, 589505315, 3284386755.0, 404232216, 2526451350.0, 84215045, 2593823386.0, 117901063, 303174162, 2155905152.0, 3806520034.0, 3958107115.0, 656877351, 2998055602.0, 1970632053, 151587081, 2206434179.0, 741092396, 437918234, 454761243, 1852730990, 1515870810, 2694881440.0, 1381126738, 993737531, 3604403926.0, 3014898611.0, 690563369, 3823363043.0, 791621423, 2223277188.0, 1397969747, 3520188881.0, 0, 3991793133.0, 538976288, 4244438268.0, 2981212593.0, 1532713819, 1785358954, 3419130827.0, 3200171710.0, 960051513, 1246382666, 1280068684, 1482184792, 3486502863.0, 3503345872.0, 4025479151.0, 2863311530.0, 4227595259.0, 1128481603, 1296911693, 858993459, 2240120197.0, 1162167621, 4193909241.0, 33686018, 2139062143, 1347440720, 1010580540, 2678038431.0, 2829625512.0, 1364283729, 2745410467.0, 1077952576, 2408550287.0, 2459079314.0, 2644352413.0, 943208504, 4126537205.0, 3166485692.0, 3065427638.0, 3671775962.0, 555819297, 269488144, 4294967295.0, 4092851187.0, 3537031890.0, 3452816845.0, 202116108, 320017171, 3974950124.0, 1600085855, 2543294359.0, 1145324612, 387389207, 3301229764.0, 2812782503.0, 2122219134, 1027423549, 1684300900, 1566399837, 421075225, 1936946035, 1616928864, 2172748161.0, 1330597711, 3705461980.0, 572662306, 707406378, 2425393296.0, 2290649224.0, 1179010630, 4008636142.0, 3099113656.0, 336860180, 3739147998.0, 1583242846, 185273099, 3688618971.0, 3772834016.0, 842150450, 976894522, 168430090, 1229539657, 101058054, 606348324, 1549556828, 3267543746.0, 3553874899.0, 2896997548.0, 1650614882, 2442236305.0, 2509608341.0, 3840206052.0, 2038004089, 3890735079.0, 3368601800.0, 926365495, 1835887981, 2374864269.0, 3587560917.0, 1313754702, 2846468521.0, 1819044972, 1448498774, 4109694196.0, 3941264106.0, 1701143909, 2054847098, 2930683566.0, 134744072, 3132799674.0, 2021161080, 623191333, 774778414, 471604252, 2795939494.0, 3031741620.0, 3334915782.0, 3907578088.0, 3722304989.0, 1953789044, 522133279, 1263225675, 3183328701.0, 2341178251.0, 2324335242.0, 1886417008, 1044266558, 3048584629.0, 1717986918, 1212696648, 50529027, 4143380214.0, 235802126, 1633771873, 892679477, 1465341783, 3115956665.0, 2256963206.0, 3250700737.0, 488447261, 2661195422.0, 3789677025.0, 4177066232.0, 2560137368.0, 286331153, 1768515945, 3654932953.0, 2391707278.0, 2492765332.0, 2610666395.0, 505290270, 2273806215.0, 3924421097.0, 3469659854.0, 1431655765, 673720360, 3755991007.0, 2358021260.0, 2711724449.0, 2307492233.0, 218959117, 3217014719.0, 3873892070.0, 1111638594, 1751672936, 1094795585, 2576980377.0, 757935405, 252645135, 2964369584.0, 1414812756, 3149642683.0, 370546198]; Td0 = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851.0, 1273168787, 540080725, 2910219766.0, 2295101073.0, 4110568485.0, 1340463100, 3307916247.0, 641025152, 3043140495.0, 3736164937.0, 632953703, 1172967064, 1576976609, 3274667266.0, 2169303058.0, 2370213795.0, 1809054150, 59727847, 361929877, 3211623147.0, 2505202138.0, 3569255213.0, 1484005843, 1239443753, 2395588676.0, 1975683434, 4102977912.0, 2572697195.0, 666464733, 3202437046.0, 4035489047.0, 3374361702.0, 2110667444, 1675577880, 3843699074.0, 2538681184.0, 1649639237, 2976151520.0, 3144396420.0, 4269907996.0, 4178062228.0, 1883793496, 2403728665.0, 2497604743.0, 1383856311, 2876494627.0, 1917518562, 3810496343.0, 1716890410, 3001755655.0, 800440835, 2261089178.0, 3543599269.0, 807962610, 599762354, 33778362, 3977675356.0, 2328828971.0, 2809771154.0, 4077384432.0, 1315562145, 1708848333, 101039829, 3509871135.0, 3299278474.0, 875451293, 2733856160.0, 92987698, 2767645557.0, 193195065, 1080094634, 1584504582, 3178106961.0, 1042385657, 2531067453.0, 3711829422.0, 1306967366, 2438237621.0, 1908694277, 67556463, 1615861247, 429456164, 3602770327.0, 2302690252.0, 1742315127, 2968011453.0, 126454664, 3877198648.0, 2043211483, 2709260871.0, 2084704233, 4169408201.0, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683.0, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969.0, 607530554, 202008497, 2472011535.0, 3035535058.0, 463180190, 2160117071.0, 1641816226, 1517767529, 470948374, 3801332234.0, 3231722213.0, 1008918595, 303765277, 235474187, 4069246893.0, 766945465, 337553864, 1475418501, 2943682380.0, 4003061179.0, 2743034109.0, 4144047775.0, 1551037884, 1147550661, 1543208500, 2336434550.0, 3408119516.0, 3069049960.0, 3102011747.0, 3610369226.0, 1113818384, 328671808, 2227573024.0, 2236228733.0, 3535486456.0, 2935566865.0, 3341394285.0, 496906059, 3702665459.0, 226906860, 2009195472, 733156972, 2842737049.0, 294930682, 1206477858, 2835123396.0, 2700099354.0, 1451044056, 573804783, 2269728455.0, 3644379585.0, 2362090238.0, 2564033334.0, 2801107407.0, 2776292904.0, 3669462566.0, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770.0, 2430122216.0, 775550814, 2193862645.0, 2673705150.0, 1775276924, 1876241833, 3475313331.0, 3366754619.0, 270040487, 3902563182.0, 3678124923.0, 3441850377.0, 1851332852, 3969562369.0, 2203032232.0, 3868552805.0, 2868897406.0, 566021896, 4011190502.0, 3135740889.0, 1248802510, 3936291284.0, 699432150, 832877231, 708780849, 3332740144.0, 899835584, 1951317047, 4236429990.0, 3767586992.0, 866637845, 4043610186.0, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980.0, 3835036895.0, 2664543715.0, 1282050075, 3240894392.0, 1181045119, 2640243204.0, 25965917, 4203181171.0, 4211818798.0, 3009879386.0, 2463879762.0, 3910161971.0, 1842759443, 2597806476.0, 933301370, 1509430414, 3943906441.0, 3467192302.0, 3076639029.0, 3776767469.0, 2051518780, 2631065433.0, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300.0, 2017778566, 3400528769.0, 3110650942.0, 941896748, 3265478751.0, 371049330, 3168937228.0, 675039627, 4279080257.0, 967311729, 135050206, 3635733660.0, 1683407248, 2076935265, 3576870512.0, 1215061108, 3501741890.0]; Td1 = [1347548327, 1400783205, 3273267108.0, 2520393566.0, 3409685355.0, 4045380933.0, 2880240216.0, 2471224067.0, 1428173050, 4138563181.0, 2441661558.0, 636813900, 4233094615.0, 3620022987.0, 2149987652.0, 2411029155.0, 1239331162, 1730525723, 2554718734.0, 3781033664.0, 46346101, 310463728, 2743944855.0, 3328955385.0, 3875770207.0, 2501218972.0, 3955191162.0, 3667219033.0, 768917123, 3545789473.0, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113.0, 3065962831.0, 401639597, 1724457132, 3028143674.0, 409198410, 2196052529.0, 1620529459, 1164071807, 3769721975.0, 2226875310.0, 486441376, 2499348523.0, 1483753576, 428819965, 2274680428.0, 3075636216.0, 598438867, 3799141122.0, 1474502543, 711349675, 129166120, 53458370, 2592523643.0, 2782082824.0, 4063242375.0, 2988687269.0, 3120694122.0, 1559041666, 730517276, 2460449204.0, 4042459122.0, 2706270690.0, 3446004468.0, 3573941694.0, 533804130, 2328143614.0, 2637442643.0, 2695033685.0, 839224033, 1973745387, 957055980, 2856345839.0, 106852767, 1371368976, 4181598602.0, 1033297158, 2933734917.0, 1179510461, 3046200461.0, 91341917, 1862534868, 4284502037.0, 605657339, 2547432937.0, 3431546947.0, 2003294622, 3182487618.0, 2282195339.0, 954669403, 3682191598.0, 1201765386, 3917234703.0, 3388507166.0, 0, 2198438022.0, 1211247597, 2887651696.0, 1315723890, 4227665663.0, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604.0, 975451694, 2970356327.0, 261314535, 3535072918.0, 2652609425.0, 1333838021, 2724322336.0, 1767536459, 370938394, 182621114, 3854606378.0, 1128014560, 487725847, 185469197, 2918353863.0, 3106780840.0, 3356761769.0, 2237133081.0, 1286567175, 3152976349.0, 4255350624.0, 2683765030.0, 3160175349.0, 3309594171.0, 878443390, 1988838185, 3704300486.0, 1756818940, 1673061617, 3403100636.0, 272786309, 1075025698, 545572369, 2105887268, 4174560061.0, 296679730, 1841768865, 1260232239, 4091327024.0, 3960309330.0, 3497509347.0, 1814803222, 2578018489.0, 4195456072.0, 575138148, 3299409036.0, 446754879, 3629546796.0, 4011996048.0, 3347532110.0, 3252238545.0, 4270639778.0, 915985419, 3483825537.0, 681933534, 651868046, 2755636671.0, 3828103837.0, 223377554, 2607439820.0, 1649704518, 3270937875.0, 3901806776.0, 1580087799, 4118987695.0, 3198115200.0, 2087309459, 2842678573.0, 3016697106.0, 1003007129, 2802849917.0, 1860738147, 2077965243, 164439672, 4100872472.0, 32283319, 2827177882.0, 1709610350, 2125135846, 136428751, 3874428392.0, 3652904859.0, 3460984630.0, 3572145929.0, 3593056380.0, 2939266226.0, 824852259, 818324884, 3224740454.0, 930369212, 2801566410.0, 2967507152.0, 355706840, 1257309336, 4148292826.0, 243256656, 790073846, 2373340630.0, 1296297904, 1422699085, 3756299780.0, 3818836405.0, 457992840, 3099667487.0, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921.0, 2050466060, 2388260884.0, 2313884476.0, 4006521127.0, 901210569, 3990953189.0, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895.0, 3931371469.0, 1533017514, 350174575, 2256028891.0, 2177544179.0, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897.0, 1107234197, 1899603969, 3725069491.0, 2631447780.0, 2422494913.0, 1635502980, 1893020342, 1950903388, 1120974935]; Td2 = [2807058932.0, 1699970625, 2764249623.0, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800.0, 1844882806, 1989249228, 1277555970, 3623636965.0, 3419915562.0, 1149249077, 2744104290.0, 1514790577, 459744698, 244860394, 3235995134.0, 1963115311, 4027744588.0, 2544078150.0, 4190530515.0, 1608975247, 2627016082.0, 2062270317, 1507497298, 2200818878.0, 567498868, 1764313568, 3359936201.0, 2305455554.0, 2037970062, 1047239000, 1910319033, 1337376481, 2904027272.0, 2892417312.0, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315.0, 2686254721.0, 731183368, 1750626376, 4246310725.0, 1820824798, 4172763771.0, 3542330227.0, 48394827, 2404901663.0, 2871682645.0, 671593195, 3254988725.0, 2073724613, 145085239, 2280796200.0, 2779915199.0, 1790575107, 2187128086.0, 472615631, 3029510009.0, 4075877127.0, 3802222185.0, 4107101658.0, 3201631749.0, 1646252340, 4270507174.0, 1402811438, 1436590835, 3778151818.0, 3950355702.0, 3963161475.0, 4020912224.0, 2667994737.0, 273792366, 2331590177.0, 104699613, 95345982, 3175501286.0, 2377486676.0, 1560637892, 3564045318.0, 369057872, 4213447064.0, 3919042237.0, 1137477952, 2658625497.0, 1119727848, 2340947849.0, 1530455833, 4007360968.0, 172466556, 266959938, 516552836, 0, 2256734592.0, 3980931627.0, 1890328081, 1917742170, 4294704398.0, 945164165, 3575528878.0, 958871085, 3647212047.0, 2787207260.0, 1423022939, 775562294, 1739656202, 3876557655.0, 2530391278.0, 2443058075.0, 3310321856.0, 547512796, 1265195639, 437656594, 3121275539.0, 719700128, 3762502690.0, 387781147, 218828297, 3350065803.0, 2830708150.0, 2848461854.0, 428169201, 122466165, 3720081049.0, 1627235199, 648017665, 4122762354.0, 1002783846, 2117360635, 695634755, 3336358691.0, 4234721005.0, 4049844452.0, 3704280881.0, 2232435299.0, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185.0, 793451934, 821288114, 1391201670, 3822090177.0, 376187827, 3113855344.0, 1224348052, 1679968233, 2361698556.0, 1058709744, 752375421, 2431590963.0, 1321699145, 3519142200.0, 2734591178.0, 188127444, 2177869557.0, 3727205754.0, 2384911031.0, 3215212461.0, 2648976442.0, 2450346104.0, 3432737375.0, 1180849278, 331544205, 3102249176.0, 4150144569.0, 2952102595.0, 2159976285.0, 2474404304.0, 766078933, 313773861, 2570832044.0, 2108100632, 1668212892, 3145456443.0, 2013908262, 418672217, 3070356634.0, 2594734927.0, 1852171925, 3867060991.0, 3473416636.0, 3907448597.0, 2614737639.0, 919489135, 164948639, 2094410160, 2997825956.0, 590424639, 2486224549.0, 1723872674, 3157750862.0, 3399941250.0, 3501252752.0, 3625268135.0, 2555048196.0, 3673637356.0, 1343127501, 4130281361.0, 3599595085.0, 2957853679.0, 1297403050, 81781910, 3051593425.0, 2283490410.0, 532201772, 1367295589, 3926170974.0, 895287692, 1953757831, 1093597963, 492483431, 3528626907.0, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769.0, 3857572124.0, 2973530695.0, 3747192018.0, 1933530610, 3464042516.0, 935293895, 3454686199.0, 2858115069.0, 1863638845, 3683022916.0, 4085369519.0, 3292445032.0, 875313188, 1080017571, 3279033885.0, 621591778, 1233856572, 2504130317.0, 24197544, 3017672716.0, 3835484340.0, 3247465558.0, 2220981195.0, 3060847922.0, 1551124588, 1463996600]; Td3 = [4104605777.0, 1097159550, 396673818, 660510266, 2875968315.0, 2638606623.0, 4200115116.0, 3808662347.0, 821712160, 1986918061, 3430322568.0, 38544885, 3856137295.0, 718002117, 893681702, 1654886325, 2975484382.0, 3122358053.0, 3926825029.0, 4274053469.0, 796197571, 1290801793, 1184342925, 3556361835.0, 2405426947.0, 2459735317.0, 1836772287, 1381620373, 3196267988.0, 1948373848, 3764988233.0, 3385345166.0, 3263785589.0, 2390325492.0, 1480485785, 3111247143.0, 3780097726.0, 2293045232.0, 548169417, 3459953789.0, 3746175075.0, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046.0, 137073913, 1214797936, 1174215055, 3731654548.0, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170.0, 3049390895.0, 3313212038.0, 923313619, 679998000, 3215307299.0, 57326082, 377642221, 3474729866.0, 2041877159, 133361907, 1776460110, 3673476453.0, 96392454, 878845905, 2801699524.0, 777231668, 4082475170.0, 2330014213.0, 4142626212.0, 2213296395.0, 1626319424, 1906247262, 1846563261, 562755902, 3708173718.0, 1040559837, 3871163981.0, 1418573201, 3294430577.0, 114585348, 1343618912, 2566595609.0, 3186202582.0, 1078185097, 3651041127.0, 3896688048.0, 2307622919.0, 425408743, 3371096953.0, 2081048481, 1108339068, 2216610296.0, 0, 2156299017.0, 736970802, 292596766, 1517440620, 251657213, 2235061775.0, 2933202493.0, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748.0, 2610011675.0, 3234156416.0, 3693126241.0, 2001430874, 303699484, 2478443234.0, 2687165888.0, 585122620, 454499602, 151849742, 2345119218.0, 3064510765.0, 514443284, 4044981591.0, 1963412655, 2581445614.0, 2137062819, 19308535, 1928707164, 1715193156, 4219352155.0, 1126790795, 600235211, 3992742070.0, 3841024952.0, 836553431, 1669664834, 2535604243.0, 3323011204.0, 1243905413, 3141400786.0, 4180808110.0, 698445255, 2653899549.0, 2989552604.0, 2253581325.0, 3252932727.0, 3004591147.0, 1891211689, 2487810577.0, 3915653703.0, 4237083816.0, 4030667424.0, 2100090966, 865136418, 1229899655, 953270745, 3399679628.0, 3557504664.0, 4118925222.0, 2061379749, 3079546586.0, 2915017791.0, 983426092, 2022837584, 1607244650, 2118541908, 2366882550.0, 3635996816.0, 972512814, 3283088770.0, 1568718495, 3499326569.0, 3576539503.0, 621982671, 2895723464.0, 410887952, 2623762152.0, 1002142683, 645401037, 1494807662, 2595684844.0, 1335535747, 2507040230.0, 4293295786.0, 3167684641.0, 367585007, 3885750714.0, 1865862730, 2668221674.0, 2960971305.0, 2763173681.0, 1059270954, 2777952454.0, 2724642869.0, 1320957812, 2194319100.0, 2429595872.0, 2815956275.0, 77089521, 3973773121.0, 3444575871.0, 2448830231.0, 1305906550, 4021308739.0, 2857194700.0, 2516901860.0, 3518358430.0, 1787304780, 740276417, 1699839814, 1592394909, 2352307457.0, 2272556026.0, 188821243, 1729977011, 3687994002.0, 274084841, 3594982253.0, 3613494426.0, 2701949495.0, 4162096729.0, 322734571, 2837966542.0, 1640576439, 484830689, 1202797690, 3537852828.0, 4067639125.0, 349075736, 3342319475.0, 4157467219.0, 4255800159.0, 1030690015, 1155237496, 2951971274.0, 1757691577, 607398968, 2738905026.0, 499347990, 3794078908.0, 1011452712, 227885567, 2818666809.0, 213114376, 3034881240.0, 1455525988, 3414450555.0, 850817237, 1817998408, 3092726480.0]; Td4 = [1381126738, 151587081, 1785358954, 3587560917.0, 808464432, 909522486, 2779096485.0, 943208504, 3217014719.0, 1077952576, 2745410467.0, 2661195422.0, 2172748161.0, 4092851187.0, 3621246935.0, 4227595259.0, 2088533116, 3823363043.0, 960051513, 2189591170.0, 2610666395.0, 791621423, 4294967295.0, 2273806215.0, 875836468, 2391707278.0, 1128481603, 1145324612, 3301229764.0, 3739147998.0, 3924421097.0, 3419130827.0, 1414812756, 2071690107, 2492765332.0, 842150450, 2795939494.0, 3267543746.0, 589505315, 1027423549, 4008636142.0, 1280068684, 2509608341.0, 185273099, 1111638594, 4210752250.0, 3284386755.0, 1313754702, 134744072, 774778414, 2711724449.0, 1717986918, 673720360, 3654932953.0, 606348324, 2998055602.0, 1987475062, 1532713819, 2728567458.0, 1229539657, 1835887981, 2341178251.0, 3520188881.0, 623191333, 1920103026, 4177066232.0, 4143380214.0, 1684300900, 2256963206.0, 1751672936, 2560137368.0, 370546198, 3570717908.0, 2762253476.0, 1549556828, 3435973836.0, 1566399837, 1701143909, 3065427638.0, 2459079314.0, 1819044972, 1886417008, 1212696648, 1347440720, 4261281277.0, 3991793133.0, 3115956665.0, 3671775962.0, 1583242846, 353703189, 1179010630, 1465341783, 2812782503.0, 2374864269.0, 2644352413.0, 2223277188.0, 2425393296.0, 3638089944.0, 2880154539.0, 0, 2358021260.0, 3166485692.0, 3553874899.0, 168430090, 4160223223.0, 3840206052.0, 1482184792, 84215045, 3099113656.0, 3014898611.0, 1162167621, 101058054, 3503345872.0, 741092396, 505290270, 2408550287.0, 3402287818.0, 1061109567, 252645135, 33686018, 3250700737.0, 2947526575.0, 3183328701.0, 50529027, 16843009, 320017171, 2324335242.0, 1802201963, 976894522, 2442236305.0, 286331153, 1094795585, 1330597711, 1734829927, 3705461980.0, 3941264106.0, 2543294359.0, 4076008178.0, 3486502863.0, 3469659854.0, 4042322160.0, 3031741620.0, 3873892070.0, 1936946035, 2526451350.0, 2896997548.0, 1953789044, 572662306, 3890735079.0, 2913840557.0, 892679477, 2240120197.0, 3806520034.0, 4193909241.0, 926365495, 3907578088.0, 471604252, 1970632053, 3755991007.0, 1852730990, 1195853639, 4059165169.0, 437918234, 1903260017, 488447261, 690563369, 3318072773.0, 2307492233.0, 1869573999, 3082270647.0, 1650614882, 235802126, 2863311530.0, 404232216, 3200171710.0, 454761243, 4244438268.0, 1448498774, 1044266558, 1263225675, 3334915782.0, 3537031890.0, 2038004089, 538976288, 2593823386.0, 3688618971.0, 3233857728.0, 4278124286.0, 2021161080, 3452816845.0, 1515870810, 4109694196.0, 522133279, 3722304989.0, 2829625512.0, 858993459, 2290649224.0, 117901063, 3351758791.0, 825307441, 2981212593.0, 303174162, 269488144, 1499027801, 656877351, 2155905152.0, 3974950124.0, 1600085855, 1616928864, 1364283729, 2139062143, 2846468521.0, 421075225, 3048584629.0, 1246382666, 218959117, 757935405, 3857049061.0, 2054847098, 2678038431.0, 2475922323.0, 3385444809.0, 2627509404.0, 4025479151.0, 2694881440.0, 3772834016.0, 993737531, 1296911693, 2930683566.0, 707406378, 4126537205.0, 2964369584.0, 3368601800.0, 3958107115.0, 3149642683.0, 1010580540, 2206434179.0, 1397969747, 2576980377.0, 1633771873, 387389207, 724249387, 67372036, 2122219134, 3132799674.0, 2004318071, 3604403926.0, 640034342, 3789677025.0, 1768515945, 336860180, 1667457891, 1431655765, 555819297, 202116108, 2105376125]; rcon = [16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648.0, 452984832, 905969664]; AES_KEY = function () { this.rounds = 12; this.rd_key = []; }; var aes_key = new AES_KEY(); var decrypt_key = '000102030405060708090a0b0c0d0e0f'; yesbutt.buttontext.text = 'IMPORT'; savetext.text = 'Import Save'; stop(); } instance yesbutt of movieClip 1680 { onClipEvent (press) { var str = _parent.decryptfile(_parent.savecode.text); var seeddate = new Date(); var seed = random(999); var newsave = _root.SaveList.createEmptySave('Import' + seed); newsave.parseXML(str); var globalvars = newsave.getItemList('globalvars'); var checksum = globalvars[0].getAttribute('credits'); var chkXML = new XML(str); if (chkXML.status == -6 || checksum == undefined) { _parent.savecode.text = 'Invalid save data. Please ensure no line breaks.'; } else { newsave.save(); _root.SaveList.saveList(); _global.option = 'load'; playSound('confirmSound'); _root.prepareload(); } } } } button 1735 { on (release) { _global.option = 'load'; playSound('confirmSound'); _root.prepareload(); } on (rollOver) { _level0.playSound('select'); } } button 1738 { on (release) { _global.option = 'start'; gotoAndStop(12); } on (rollOver) { _level0.playSound('select'); } } movieClip 1742 { } frame 11 { stop(); } frame 11 { function unpauseMusic() { if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOn() { _global.musicSetting = true; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOff() { _global.musicSetting = false; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); stopAllSounds(); } function bgMusic(newMusic, noloop) { if (_global.musicSetting) { if (currentMusic != newMusic) { if (newMusic == undefined) { newMusic = _root.areaMusic; } currentMusic = newMusic; stopAllSounds(); var v3 = new MovieClipLoader(); var v5 = new Object(); v3.addListener(v5); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v5.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } } function battleMusic() { if (_global.musicSetting) { if (_level0.combatmusic) { currentMusic = _level0.combatmusic; } else { currentMusic = 'battle' + (random(2) + 1); } var v3 = new MovieClipLoader(); var v4 = new Object(); v3.addListener(v4); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v4.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } function playSound(s) { if (_global.musicSetting) { sflag = !sflag; if (sflag) { soundfx.gotoAndStop(1); soundfx.gotoAndStop(s); } else { soundfx2.gotoAndStop(1); soundfx2.gotoAndStop(s); } } } sflag = true; areaMusic = 'intro'; bgMusic(areaMusic); } button 1745 { on (release) { gotoAndPlay(4); } } movieClip 1748 { } frame 12 { stopAllSounds(); nextFrame(); } frame 12 { function unpauseMusic() { if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOn() { _global.musicSetting = true; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOff() { _global.musicSetting = false; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); stopAllSounds(); } function bgMusic(newMusic, noloop) { if (_global.musicSetting) { if (currentMusic != newMusic) { if (newMusic == undefined) { newMusic = _root.areaMusic; } currentMusic = newMusic; stopAllSounds(); var v3 = new MovieClipLoader(); var v5 = new Object(); v3.addListener(v5); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v5.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } } function battleMusic() { if (_global.musicSetting) { if (_level0.combatmusic) { currentMusic = _level0.combatmusic; } else { currentMusic = 'battle' + (random(2) + 1); } var v3 = new MovieClipLoader(); var v4 = new Object(); v3.addListener(v4); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v4.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } function playSound(s) { if (_global.musicSetting) { sflag = !sflag; if (sflag) { soundfx.gotoAndStop(1); soundfx.gotoAndStop(s); } else { soundfx2.gotoAndStop(1); soundfx2.gotoAndStop(s); } } } sflag = true; areaMusic = 'intro'; } frame 13 { if (_global.musicSetting) { music.gotoAndStop('morning'); } nextFrame(); } frame 14 { stop(); } frame 14 { pilotName.text = _global.pilotName; mawName.text = _global.mawName; } button 1753 { on (release) { gotoAndStop(4); } } button 1754 { on (press) { _root.SaveList = new SaveListObj('', ''); _root.SaveList.addListener(_root.listenerobject); _root.SaveList.forceLocal(); _root.SaveList.connect(); var samdata = '<SavedData>'; samdata += '<globalvars maplocation="0" arealocation="1" tx="260" tz="-270" credits="120" chance="1000" /><questlist><quest id="26" prog="1" /></questlist>'; samdata += '<character id="A001" name="Jin" reflex="5" accuracy="5" technique="5" xp="0" active="1" level="1" gender="m" sp="6" combat="true"><bot botid="luna" name="Luna" capacity="100" defense="3" currhp="120" hp="120" energy="3.5" active="true"><parts name="part1" colorr="150" colorg="120" colorb="30" /><parts name="part2" colorr="125" colorg="120" colorb="120" /><parts name="part3" colorr="35" colorg="35" colorb="110" /></bot></character>'; samdata += '<character id="A003" name="Calisto" reflex="14" accuracy="14" technique="8" xp="1850" active="2" level="8" gender="f" sp="0" combat="true"><bot botid="luna" name="Luna" capacity="100" defense="3" currhp="250" hp="250" energy="3.5" active="true"><parts name="part1" colorr="70" colorg="20" colorb="20" /><parts name="part2" colorr="100" colorg="100" colorb="100" /><parts name="part3" colorr="80" colorg="30" colorb="70" /></bot></character>'; samdata += '<inventory>'; samdata += '<item id="C01AT" location="top" equip="A001" /><item id="C01AB" location="bottom" equip="A001" /><item id="C01AF" location="footwear" equip="A001" /><item id="W01MF" location="right" equip="A001" /><item id="I001R" location="none" number="3" />'; samdata += '<item id="C01AT" location="top" equip="A003" /><item id="C01AB" location="bottom" equip="A003" /><item id="C01AF" location="footwear" equip="A003" /><item id="W01LR" location="right" equip="A003" /><item id="A01" location="armor" equip="A003" />'; samdata += '</inventory>'; samdata += '</SavedData>'; so.data.quickstart = 'true'; _global.quickstart = true; var newsave = _root.SaveList.createEmptySave('_new'); newsave.parseXML(samdata); newsave.printitems(); _global.mainsave = newsave; _global.option = 'newgame'; _level0.playSound('confirmSound'); gotoAndStop('intro'); } } movieClip 1760 { } frame 15 { stop(); } frame 15 { bgMusic(areaMusic); } button 1761 { on (release) { gotoAndStop('choosechar'); } } movieClip 1767 { } movieClip 1770 { } movieClip 1773 { } movieClip 1776 { } movieClip 1778 { } movieClip 1780 { } movieClip 1781 { frame 1820 { _parent.gotoAndStop('choosechar'); } } frame 22 { stop(); if (_global.part1r == undefined) { _global.part1r = 80; _global.part1g = 110; _global.part1b = 150; _global.part2r = 150; _global.part2g = 150; _global.part2b = 150; _global.part3r = 130; _global.part3g = 140; _global.part3b = 140; } } frame 22 { guy.selected = true; guy.gotoAndStop(2); } movieClip 1785 { } movieClip 1788 { frame 1 { stop(); } } instance guy of movieClip 1788 { onClipEvent (press) { _level0.playSound('confirmSound'); this.selected = true; _parent.gal.selected = false; _parent.gal.gotoAndStop(1); } onClipEvent (rollOver) { _level0.playSound('select'); this.gotoAndStop(2); } onClipEvent (rollOut) { if (!this.selected) { this.gotoAndStop(1); } } } movieClip 1791 { } movieClip 1792 { frame 1 { stop(); } } instance gal of movieClip 1792 { onClipEvent (press) { _level0.playSound('confirmSound'); this.selected = true; _parent.guy.selected = false; _parent.guy.gotoAndStop(1); } onClipEvent (rollOver) { _level0.playSound('select'); this.gotoAndStop(2); } onClipEvent (rollOut) { if (!this.selected) { this.gotoAndStop(1); } } } button 1801 { on (release) { errtext.text = ''; checklang = new Array('fuck', 'ass', 'f u c k', 'fu ck', 'fcuk'); if (playername.text == '') { errtext.text = 'Invalid player name. Please use another name'; return undefined; } var i = 0; while (i < checklang.length) { if (checklang[i] == playername.text) { errtext.text = 'Invalid player name. Please use another name'; return undefined; } ++i; } var charlist = _global.mainsave.getItemList('character'); var p = 0; while (p < charlist.length) { if (charlist[p].getAttribute('id') == 'A001') { if (guy.selected) { charlist[p].setAttribute('gender', 'm'); } if (gal.selected) { charlist[p].setAttribute('gender', 'f'); } charlist[p].setAttribute('name', playername.text); } ++p; } _level0.playSound('confirmSound'); gotoAndPlay(33); } } frame 32 { function dialogNext() { dialog.gotoAndStop(step); } stop(); step = 1; if (_global.part1r == undefined) { _global.part1r = 80; _global.part1g = 110; _global.part1b = 150; _global.part2r = 150; _global.part2g = 150; _global.part2b = 150; _global.part3r = 130; _global.part3g = 140; _global.part3b = 140; } } frame 32 { gotoAndStop(_root._currentframe - 1); } frame 33 { function getCharColor(characterid) { var v3 = _global.mainsave.getItemList('character'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('name') == characterid) { return v3[v2].getItemList('parts'); } ++v2; } } function setMapLocation(newloc) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('maplocation', newloc); } function getMapLocation() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('maplocation')); } function getAreaLocation() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('arealocation')); } function setAreaLocation(newloc) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('arealocation', newloc); } function getXloc() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('tx')); } function setXloc(newloc) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('tx', newloc); } function getZloc() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('tz')); } function setZloc(newloc) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('tz', newloc); } function getCredits() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('credits')); } function setCredits(newData) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('credits', newData); } function getChance() { var v2 = _global.mainsave.getItemList('globalvars'); return parseInt(v2[0].getAttribute('chance')); } function setChance(newloc) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('chance', newloc); } function getFame() { var v2 = _global.mainsave.getItemList('globalvars'); return int(v2[0].getAttribute('fame')); } function setFame(newfame) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('fame', newfame); } function getMM() { var v2 = _global.mainsave.getItemList('globalvars'); return int(v2[0].getAttribute('mm')); } function setMM(newmm) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('mm', newmm); } function getHH() { var v2 = _global.mainsave.getItemList('globalvars'); return int(v2[0].getAttribute('hh')); } function setHH(newhh) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('hh', newhh); } function getDD() { var v2 = _global.mainsave.getItemList('globalvars'); return int(v2[0].getAttribute('dd')); } function setDD(newdd) { var v2 = _global.mainsave.getItemList('globalvars'); v2[0].setAttribute('dd', newdd); } function checkAreaLocked(areaid) { var v5 = _global.mainsave.getItemList('arealist'); var v3 = v5[0].getItemList('area'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('id') == areaid && v3[v2].getAttribute('unlock') == 'true') { return true; } ++v2; } return false; } function unlockArea(areaid) { var v3 = _global.mainsave.getItemList('arealist'); if (v3.length == 0) { var v4 = new SaveItemObj('arealist'); _global.mainsave.addItem(v4); v3 = _global.mainsave.getItemList('arealist'); } var v2 = new SaveItemObj('area'); v2.setAttribute('unlock', 'true'); v2.setAttribute('id', areaid); v3[0].addItem(v2); } function saveMapDetails() { var v3 = _global.mainsave.getItemList('globalvars'); v3[0].printitems(); setAreaLocation(_root.areaLocation); setMapLocation(_root.mapLocation); setChance(_root.chance); setMM(_root.mm); setHH(_root.hh); setDD(_root.dd); setXloc(parseInt(_root.world[player].tempx)); setZloc(parseInt(_root.world[player].tempz)); } function evaluse(functionid, characterid, parameters) { var v3 = parameters.split(':'); switch (functionid) { case 'boastattribute': return _root.boastattribute(characterid, v3[0], v3[1], v3[2], v3[3], v3[4]); break; case 'addattribute': _level0.playSound('levelup'); return _root.addattribute(characterid, v3[0], v3[1], v3[2], v3[3]); break; case 'lowerencounter': _level0.playSound('hrange'); _global.action = 'walking'; _level0.chance = int(v3[3]) + random(int(v3[2]) - int(v3[3])); var v5 = 'Encounter rate lowered...'; var v4 = new Object(); v4.x = world[player].clip.char._x; v4.y = world[player].clip.char._y; world[player].clip.char.localToGlobal(v4); txtbubble.popup_text(v5, 150, '0xFFFFFF', v4.x, v4.y - 40, 0, 0, 'hide'); txtbubble.settimer(50); _level0.hidemenu(); return true; break; case 'raiseencounter': _level0.playSound('explode'); _global.action = 'walking'; if (_level0.encounterRate != 0 && _level0.encounterRate != 'NONSAVE') { _level0.chance = 2 + random(5); } else { var v5 = 'No visible effect...'; var v4 = new Object(); v4.x = world[player].clip.char._x; v4.y = world[player].clip.char._y; world[player].clip.char.localToGlobal(v4); txtbubble.popup_text(v5, 150, '0xFFFFFF', v4.x, v4.y - 40, 0, 0, 'hide'); txtbubble.settimer(50); } _level0.hidemenu(); return true; break; case 'wait': _level0.talkingSystem.chatActivate(_level0.talkingSystem.sleep_0); _level0.hidemenu(); return true; case 'showencountrate': _global.action = 'walking'; var v5 = 'The radar indicates an encounter rate of ' + _level.encounterRate; if (_level0.encounterRate == 'NONSAVE' || _level0.encounterRate == 0) { v5 = 'The radar shows nothing.'; } var v4 = new Object(); v4.x = world[player].clip.char._x; v4.y = world[player].clip.char._y; world[player].clip.char.localToGlobal(v4); txtbubble.popup_text(v5, 150, '0xFFFFFF', v4.x, v4.y - 40, 0, 0, 'hide'); txtbubble.settimer(50); _level0.hidemenu(); return true; } } function boastattribute(characterid, attribute, addremove, maxvalue, minvalue, timelag) { var v2 = Math.random() * (maxvalue - minvalue); v2 = minvalue + v2; var v6 = _root.getCharacterAttr(characterid, attribute); _root.setCharacterAttr(characterid, attribute, v2); if (!_root.intervalcount) { _root.intervalcount = new Array(); } var v3 = _root.intervalcount.length; _root.intervalcount[v3] = setInterval('endattributeboast', timelag, v3, characterid, attribute, v6); } function endattributeboast(intervalid, characterid, attribute, oldvalue) { _root.setCharacterAttr(characterid, attribute, oldvalue); clearInterval(_root.intervalcount[intervalid]); } function addattribute(characterid, attribute, addremove, maxvalue, minvalue) { maxvalue = parseInt(maxvalue); minvalue = parseInt(minvalue); var v2 = Math.floor(Math.random() * (maxvalue - minvalue)); v2 = minvalue + v2; var v3 = _root.getCharacterAttr(characterid, attribute); v3 = parseInt(v3); if (attribute == 'currhp') { hpvalue = parseInt(_root.getCharacterAttr(characterid, 'hp')); if (v3 + v2 > hpvalue) { v2 = hpvalue - v3; } } if (addremove == 'add') { var v6 = v3 + v2; } if (addremove == 'subtract') { v6 = v3 - v2; } _root.setCharacterAttr(characterid, attribute, v6); var v4 = new Array(); v4.attribute = attribute; v4.amount = v2; v4.addremove = addremove; v4.newvalue = v6; v4.oldvalue = v3; return v4; } function checkItemNumber(itemid) { var v7 = _global.mainsave.getItemList('inventory'); var v4 = v7[0].getItemList('item'); var v5 = 0; var v2 = 0; while (v2 < v4.length) { if (v4[v2].getAttribute('id') == itemid) { var v3 = v4[v2].getAttribute('number'); if (v3 == undefined) { ++v5; } else { v5 += parseInt(v3); } } ++v2; } return v5; } function checkNonEquippedItemNumber(itemid) { var v7 = _global.mainsave.getItemList('inventory'); var v3 = v7[0].getItemList('item'); var v5 = 0; var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('id') == itemid && !v3[v2].getAttribute('equip')) { var v4 = v3[v2].getAttribute('number'); if (!v4) { ++v5; } else { v5 += parseInt(v4); } } ++v2; } return v5; } function equipItem(itemid, characterid) {} function reorg_invent() { var v5 = _global.mainsave.getItemList('inventory'); var v2 = v5[0].getItemListIndex('item'); var v3 = new Array(); for (var v6 in v2) { if (v3[v2[v6].getAttribute('id')]) { v3[v2[v6].getAttribute('id')] = v2[v6]; } else { var v4 = parseInt(v3[v2[v6].getAttribute('id')].getAttribute('number')); v3[v2[v6].getAttribute('id')].setAttribute('number', ++v4); v5[0].removeItem(v6); } } } function getInventorySpace() { var v5 = _global.mainsave.getItemList('inventory'); var v3 = v5[0].getItemList('item'); var v4 = 0; var v2 = 0; while (v2 < v3.length) { if (!v3[v2].getAttribute('equip')) { ++v4; } ++v2; } return v4; } function addItem(itemid, num, quest) { var v10 = _global.mainsave.getItemList('inventory'); counter = 0; if (v10.length == 0) { var v11 = new SaveItemObj('inventory'); _global.mainsave.addItem(v11); v10 = _global.mainsave.getItemList('inventory'); } var v5 = v10[0].getItemList('item'); if (_root.invenitem[itemid].stack) { var v3 = 0; while (v3 < v5.length) { if (v5[v3].getAttribute('id') == itemid) { var v6 = parseInt(v5[v3].getAttribute('number')); if (!v6) { v6 = 0; } var v7 = v6 + num; if (v7 > 99) { return 'MAXOUT'; } v5[v3].setAttribute('number', v7); ++counter; return 'SUCCESS'; } ++v3; } if (counter == 0) { if (_level0.getInventorySpace() >= _level0.MAX_INVENTORY_SPACE) { if (!quest) { return 'MAXOUT'; } } var v4 = new SaveItemObj('item'); v4.setAttribute('id', itemid); v4.setAttribute('location', 'none'); v4.setAttribute('number', num); v10[0].addItem(v4); } return 'SUCCESS'; } if (_level0.getInventorySpace() + num > _level0.MAX_INVENTORY_SPACE) { if (!quest) { return 'MAXOUT'; } } while (counter < num) { v4 = new SaveItemObj('item'); v4.setAttribute('id', itemid); v4.setAttribute('location', 'none'); v4.setAttribute('number', '1'); v10[0].addItem(v4); ++counter; } return 'SUCCESS'; } function removeItem(itemid, num) { var v5 = _global.mainsave.getItemList('inventory'); var v2 = v5[0].getItemListIndex('item'); var v8 = 0; for (var v6 in v2) { if (v2[v6].getAttribute('equip') == undefined && v2[v6].getAttribute('id') == itemid) { var v3 = parseInt(v2[v6].getAttribute('number')); if (!v3) { v3 = 1; } if (v3 <= num) { v5[0].removeItem(v6); --num; } else { v2[v6].setAttribute('number', v3 - num); num = 0; } if (num <= 0) { return true; } } } return false; } function listallItems() { var v3 = _global.mainsave.getItemList('inventory'); var v2 = v3[0].getItemList('item'); return v2; } function listallEquippedItems() { var v4 = new Array(); var v5 = _global.mainsave.getItemList('inventory'); var v3 = v5[0].getItemList('item'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('equip')) { v4[v4.length] = v3[v2]; } ++v2; } return v4; } function getItemName(itemid) { return invenitem[itemid].name; } function getItemProp(itemid) { return invenitem[itemid]; } function printallitems() { var v4 = _global.mainsave.getItemList('inventory'); var v3 = v4[0].getItemList('item'); var v2 = 0; while (v2 < v3.length) { ++v2; } } function getEquippedTop() { var v4 = _global.mainsave.getItemList('inventory'); var v3 = v4[0].getItemList('item'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('equip') == 'A001' && invenitem[v3[v2].getAttribute('id')].equip == 'TOP') { return invenitem[v3[v2].getAttribute('id')]; } ++v2; } return undefined; } function getEquippedBottom() { var v4 = _global.mainsave.getItemList('inventory'); var v3 = v4[0].getItemList('item'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('equip') == 'A001' && invenitem[v3[v2].getAttribute('id')].equip == 'BOTTOM') { return invenitem[v3[v2].getAttribute('id')]; } ++v2; } return undefined; } function checkRequirements() { var v4 = _level0.listallItems(); var v2 = 0; while (v2 < v4.length) { if (v4[v2].getAttribute('equip')) { var v7 = v4[v2].getAttribute('id'); var v9 = v4[v2].getAttribute('equip'); var v5 = new Array('capacity'); var v3 = 0; while (v3 < v5.length) { var v8 = _level0['char' + v9][v5[v3]]; var v6 = _level0.invenitem[v7]['min' + v5[v3]]; if (v6) { if (v8 < v6) { var v1 = _level0.inventory.characterdetails.equipbox[v4[v2].getAttribute('location')]; v1.itemimage.removeMovieClip(); v1.itemobj = null; v1.itemprop = null; delete v1.onRollOver; delete v1.onRollOut; delete v1.onPress; delete v1.onRelease; delete v1.onReleaseOutside; v4[v2].removeAttribute('equip'); v4[v2].setAttribute('location', 'none'); } } ++v3; } } ++v2; } _level0.create_inventory(); } function clothesdescription(ref, acc, tec) { var v1 = ''; if (ref || acc || tec) { v1 += '\n(ADDS'; if (ref) { v1 += ' ' + ref + ' Ref'; } if (acc) { v1 += ' ' + acc + ' Acc'; } if (tec) { v1 += ' ' + tec + ' Tec'; } v1 += ')'; } return v1; } function weapdescription(mindmg, maxdmg, hits, crit, hitbonus, energy, mref, macc, mtec, mcap, user) { var v2 = '\n(' + mindmg + '-' + maxdmg + ' dmg'; if (hits > 1) { v2 += ' x ' + hits + ' hits'; } v2 += ')'; if (crit || hitbonus) { v2 += '\n'; if (crit) { v2 += '[+' + crit + '% Crit] '; } if (hitbonus) { v2 += '[' + hitbonus + ' Hitbonus]'; } } v2 += '\nUses ' + energy + ' energy'; if (mref || macc || mtec || mcap) { v2 += '\n(REQ'; if (mref) { v2 += ' ' + mref + ' Ref'; } if (macc) { v2 += ' ' + macc + ' Acc'; } if (mtec) { v2 += ' ' + mtec + ' Tec'; } if (mcap) { v2 += ' ' + mcap + ' Cap'; } v2 += ')'; } v2 += '\n('; var v1 = 0; while (v1 < user.length - 1) { v2 += user[v1] + '|'; ++v1; } v2 += user[user.length - 1]; return v2 + ')\n'; } function armordescription(def, mref, macc, mtec, user) { var v2 = '\n(+ ' + def + ' def)'; if (mref || macc || mtec) { v2 += '\n(REQ'; if (mref) { v2 += ' ' + mref + ' Ref'; } if (macc) { v2 += ' ' + macc + ' Acc'; } if (mtec) { v2 += ' ' + mtec + ' Tec'; } v2 += ')'; } v2 += '\n('; var v1 = 0; while (v1 < user.length - 1) { v2 += user[v1] + '|'; ++v1; } v2 += user[user.length - 1]; return v2 + ')'; } function generatordescription(capacity, energy, user) { var v3 = '(' + capacity + ' capacity)\n'; v3 += '(' + energy + ' energy)\n'; v3 += '('; var v1 = 0; while (v1 < user.length - 1) { v3 += user[v1] + '|'; ++v1; } v3 += user[user.length - 1]; return v3 + ')'; } function getCharacterAttr(characterid, attribute) { var v6 = _global.mainsave.getItemList('character'); var v4 = 0; while (v4 < v6.length) { if (v6[v4].getAttribute('id') == characterid) { if (v6[v4].getAttribute(attribute)) { return v6[v4].getAttribute(attribute); } else { var v3 = v6[v4].getItemList('bot'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('active') == 'true') { return v3[v2].getAttribute(attribute); } ++v2; } } } ++v4; } } function setCharacterAttr(characterid, attribute, val) { var v5 = _global.mainsave.getItemList('character'); var v4 = 0; while (v4 < v5.length) { if (v5[v4].getAttribute('id') == characterid) { if (v5[v4].getAttribute(attribute)) { v5[v4].setAttribute(attribute, val); } else { var v3 = v5[v4].getItemList('bot'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('active') == 'true') { v3[v2].setAttribute(attribute, val); } ++v2; } } return undefined; } ++v4; } } function replaceMaw(charid, newbotid) { var v9 = _global.mainsave.getItemList('character'); var v13 = false; _level0.selectedMaw = newbotid; var v4 = 0; while (v4 < v9.length) { var v11 = v9[v4].getAttribute('id'); if (v11 == charid) { var v3 = v9[v4].getItemList('bot'); var v2 = 0; while (v2 < v3.length) { var v8 = v3[v2].getAttribute('botid'); v3[v2].setAttribute('botid', newbotid); v3[v2].setAttribute('name', _level0.mawslist[newbotid].name); v3[v2].setAttribute('energy', _level0.mawslist[newbotid].energy); v3[v2].setAttribute('capacity', _level0.mawslist[newbotid].capacity); v3[v2].setAttribute('defense', _level0.mawslist[newbotid].defense); var v7 = int(v3[v2].getAttribute('hp')) - _level0.mawslist[v8].hp; v3[v2].setAttribute('hp', _level0.mawslist[newbotid].hp + v7); v3[v2].setAttribute('currhp', _level0.mawslist[newbotid].hp + v7); ++v2; } var v10 = _global.mainsave.getItemList('inventory'); var v6 = v10[0].getItemList('item'); v4 = 0; while (v4 < v6.length) { if (v6[v4].getAttribute('equip') == charid && _level0.invenitem[v6[v4].getAttribute('id')].type != 'CLOTHES') { v6[v4].removeAttribute('equip'); v6[v4].setAttribute('location', 'none'); } ++v4; } } ++v4; } } function setActiveBot() {} function addBot() {} function getEquip(characterid) {} function addCharacter(charid, position) { var v4 = _global.mainsave.getItemList('character'); var v6 = false; var v3 = 0; while (v3 < v4.length) { var v5 = v4[v3].getAttribute('id'); if (v5 == charid) { v4[v3].setAttribute('active', position); v6 = true; break; } ++v3; } if (!v6) { this['add' + charid](position); } } function addA002(pos) { var v5 = 'stinger'; var v15 = mawslist[v5].name; var v11 = mawslist[v5].capacity; var v13 = mawslist[v5].defense; var v10 = 180; var v12 = mawslist[v5].energy; var v8 = '<character id="A002" name="Barrage" reflex="9" accuracy="9" technique="12" xp="550" active="' + pos + '" level="5" gender="m" sp="0" combat="true">'; v8 += '<bot botid="' + v5 + '" name="' + v15 + '" capacity="' + v11 + '" defense="' + v13 + '" currhp="' + v10 + '" hp="' + v10 + '" energy="' + v12 + '" active="true">'; v8 += '<parts name="part1" colorr="50" colorg="80" colorb="100" /><parts name="part2" colorr="100" colorg="100" colorb="100" /><parts name="part3" colorr="30" colorg="40" colorb="80" /></bot></character>'; var v6 = new SaveItemObj('character'); var v7 = new XML(v8); v6.loadXML(v7.firstChild); _global.mainsave.addItem(v6); var v14 = '<inventory><item id="C01AT" location="top" equip="A002" /><item id="C02AB" location="bottom" equip="A002" /><item id="C01AF" location="footwear" equip="A002" /><item id="W01LM" location="right" equip="A002" /><item id="A01" location="armor" equip="A002" /></inventory>'; var v9 = new SaveItemObj('inventory'); v7 = new XML(v14); v9.loadXML(v7.firstChild); var v4 = _global.mainsave.getItemList('inventory'); var v3 = v9.getItemList('item'); var v2 = 0; while (v2 < v3.length) { v4[0].addItem(v3[v2]); ++v2; } v9.printitems(); } function addA003(pos) { var v5 = 'luna'; var v15 = mawslist[v5].name; var v11 = mawslist[v5].capacity; var v13 = mawslist[v5].defense; var v10 = 250; var v12 = mawslist[v5].energy; var v8 = '<character id="A003" name="Calisto" reflex="14" accuracy="14" technique="8" xp="1850" active="' + pos + '" level="8" gender="f" sp="0" combat="true">'; v8 += '<bot botid="' + v5 + '" name="' + v15 + '" capacity="' + v11 + '" defense="' + v13 + '" currhp="' + v10 + '" hp="' + v10 + '" energy="' + v12 + '" active="true">'; v8 += '<parts name="part1" colorr="70" colorg="20" colorb="20" /><parts name="part2" colorr="100" colorg="100" colorb="100" /><parts name="part3" colorr="80" colorg="30" colorb="70" /></bot></character>'; var v6 = new SaveItemObj('character'); var v7 = new XML(v8); v6.loadXML(v7.firstChild); _global.mainsave.addItem(v6); var v14 = '<inventory><item id="C02AT" location="top" equip="A003" /><item id="C02AB" location="bottom" equip="A003" /><item id="C01AF" location="footwear" equip="A003" /><item id="W02M" location="right" equip="A003" /><item id="A01" location="armor" equip="A003" /></inventory>'; var v9 = new SaveItemObj('inventory'); v7 = new XML(v14); v9.loadXML(v7.firstChild); var v4 = _global.mainsave.getItemList('inventory'); var v3 = v9.getItemList('item'); var v2 = 0; while (v2 < v3.length) { v4[0].addItem(v3[v2]); ++v2; } v9.printitems(); } function addA004(pos) { var v6 = 'mantra'; var v15 = mawslist[v6].name; var v11 = mawslist[v6].capacity; var v13 = mawslist[v6].defense; var v10 = 300; var v12 = mawslist[v6].energy; var v5 = '<character id="A004" name="Laura" reflex="10" accuracy="19" technique="13" xp="4000" active="' + pos + '" level="10" gender="f" sp="0" combat="false">'; v5 += '<bot botid="' + v6 + '" name="' + v15 + '" capacity="' + v11 + '" defense="' + v13 + '" currhp="' + v10 + '" hp="' + v10 + '" energy="' + v12 + '" active="true">'; v5 += '<parts name="part1" colorr="60" colorg="50" colorb="100" />'; v5 += '<parts name="part2" colorr="30" colorg="30" colorb="50" />'; v5 += '<parts name="part3" colorr="100" colorg="100" colorb="100" />'; v5 += '</bot></character>'; var v7 = new SaveItemObj('character'); var v8 = new XML(v5); v7.loadXML(v8.firstChild); _global.mainsave.addItem(v7); var v14 = '<inventory><item id="C02AT" location="top" equip="A004" /><item id="C02AB" location="bottom" equip="A004" /><item id="C02AF" location="footwear" equip="A004" /><item id="W02SC" location="right" equip="A004" /><item id="A02" location="armor" equip="A004" /><item id="G002" location="back" equip="A004" /></inventory>'; var v9 = new SaveItemObj('inventory'); v8 = new XML(v14); v9.loadXML(v8.firstChild); var v4 = _global.mainsave.getItemList('inventory'); var v3 = v9.getItemList('item'); var v2 = 0; while (v2 < v3.length) { v4[0].addItem(v3[v2]); ++v2; } v9.printitems(); } function getMainCharacters() { var v4 = _global.mainsave.getItemList('character'); var v3 = 0; while (v3 < v4.length) { if (v4[v3].getAttribute('name') == _root.SaveList.userid) { return v4[v3]; } ++v3; } } function activateCharacter(charid, pos) { var v5 = 0; var v6 = _level0.getActiveCharacters(); var v2 = 0; while (v2 < v6.length) { if (v6[v2].getAttribute('combat') == 'true') { ++v5; } ++v2; } var v3 = _global.mainsave.getItemList('character'); v2 = 0; while (v2 < v3.length) { var v4 = v3[v2].getAttribute('id'); if (v4 == charid) { v3[v2].setAttribute('active', pos); if (v5 < 3) { v3[v2].setAttribute('combat', 'true'); } else { v3[v2].setAttribute('combat', 'false'); } return true; } ++v2; } return false; } function inactivateCharacter(charid) { var v3 = _global.mainsave.getItemList('character'); var v2 = 0; while (v2 < v3.length) { var v4 = v3[v2].getAttribute('id'); if (v4 == charid) { v3[v2].setAttribute('active', 'false'); v3[v2].setAttribute('combat', 'false'); return true; } ++v2; } return false; } function activateCombatCharacter(charid) { var v3 = 0; var v2 = _level0.getActiveCharacters(); var v1 = 0; while (v1 < v2.length) { if (v2[v1].getAttribute('combat') == 'true') { ++v3; } ++v1; } if (v3 < 3) { _level0.setCharacterAttr(charid, 'combat', 'true'); return true; } return false; } function inactivateCombatCharacter(charid) { var v6 = false; var v3 = _global.mainsave.getItemList('character'); var v2 = 0; while (v2 < v3.length) { var v4 = v3[v2].getAttribute('id'); if (v4 != charid && v3[v2].getAttribute('combat') == 'true') { v6 = true; } if (v6) { _level0.setCharacterAttr(charid, 'combat', 'false'); return true; } ++v2; } return false; } function getActiveCharacters() { var v3 = _global.mainsave.getItemList('character'); var v4 = new Array(); var v5 = 0; var v2 = 0; while (v2 < v3.length) { if (parseInt(v3[v2].getAttribute('active')) > 0) { v4[v5++] = v3[v2]; } ++v2; } return v4; } function getCombatCharacters() { var v2 = _global.mainsave.getItemList('character'); var v5 = new Array(); var v4 = 0; var v3 = 0; while (v3 < v2.length) { if (v2[v3].getAttribute('combat') == 'true') { v5[v4++] = v2[v3]; } ++v3; } if (v4 < 1) { v3 = 0; while (v3 < v2.length) { if (v4 < 3 && parseInt(v2[v3].getAttribute('active')) > 0) { v5[v4++] = v2[v3]; _level0.setCharacterAttr(v2[v3].getAttribute('id'), 'combat', 'true'); } ++v3; } } v5.sort(sorter); return v5; } function repairAll() { var v5 = _global.mainsave.getItemList('character'); var v4 = 0; while (v4 < v5.length) { var v3 = v5[v4].getItemList('bot'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('active')) { v3[v2].setAttribute('currhp', v3[v2].getAttribute('hp')); } ++v2; } ++v4; } populate_inventory(); } function repair1() { var v5 = _global.mainsave.getItemList('character'); var v4 = 0; while (v4 < v5.length) { var v3 = v5[v4].getItemList('bot'); var v2 = 0; while (v2 < v3.length) { if (v3[v2].getAttribute('active')) { v3[v2].setAttribute('currhp', 1); } ++v2; } ++v4; } populate_inventory(); } function reload_data() { chance = getChance(); mapLocation = getMapLocation(); areaLocation = getAreaLocation(); tx = getXloc(); tz = getZloc(); var v11 = _global.mainsave.getItemList('character'); var v10 = 0; while (v10 < v11.length) { if (v11[v10].getAttribute('id') == 'A001') { var v6 = v11[v10].getItemList('bot'); var v5 = 0; while (v5 < v6.length) { if (v6[v5].getAttribute('active')) { if (!v6[v5].getAttribute('capacity')) { v6[v5].setAttribute('capacity', 100); } var v4 = v6[v5].getItemList('parts'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].getAttribute('name'); v3 = v3.substr(-1, 1); var v7 = v4[v2].getAttribute('colorr'); var v8 = v4[v2].getAttribute('colorb'); var v9 = v4[v2].getAttribute('colorg'); _global['part' + v3 + 'r'] = v7; _global['part' + v3 + 'g'] = v9; _global['part' + v3 + 'b'] = v8; ++v2; } break; } ++v5; } } ++v10; } getQuests(); populate_inventory(); } function rankCheck() { var v3 = rankArray[0].title; var v2 = 0; while (v2 < rankArray.length) { if (_root.getFame() < rankArray[v2].fame) { break; } v3 = rankArray[v2].title; ++v2; } return v3; } function rankImageCheck() { var v3 = 0; var v2 = 0; while (v2 < rankArray.length) { if (_root.getFame() < rankArray[v2].fame) { break; } v3 = v2; ++v2; } return v3 + 1; } function hidemenu() { _level0.questlog._visible = false; _level0.inventory._visible = false; _level0.savebox._visible = false; } function showquestlog(qtype) { _level0.inventory.alertbox._visible = false; _level0.questlog._visible = true; _level0.questlog.closebutt.alertbutttext.text = 'CLOSE'; var v2 = ''; var v3 = ''; if (!qtype) { var v4 = new Color(_level0.questlog.tab1); v4.setTransform({'ra': 100, 'ga': 80, 'ba': 80}); v4 = new Color(_level0.questlog.tab2); v4.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); v4 = new Color(_level0.questlog.tab3); v4.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); } var v1 = 1; while (v1 <= _level0.total_quests) { if (_level0['quest_' + v1].logged && _level0['quest_' + v1].prog > 0 && _level0['quest_' + v1].qtype == qtype) { if (_level0['quest_' + v1].prog < 99) { v3 += _level0['quest_' + v1].desc + ' : '; v3 += 'IN-PROGRESS\n'; } else { v2 += _level0['quest_' + v1].desc + ' : '; v2 += 'COMPLETED\n'; } } ++v1; } _level0.questlog.quests.text = v3 + '\n\n' + v2; } function startCombat(customMonsterSet) { stopAllSounds(); _global.action = 'talking'; worldMenu._visible = false; floor._visible = false; floor.mouseClickRegion._visible = false; inventory._visible = false; questlog._visible = false; savebox._visible = false; combatSceneClip.gotoAndPlay(2); if (customMonsterSet == undefined) { combatSceneClip.msNum = mSet; } else { combatSceneClip.msNum = customMonsterSet; } combatSceneClip._visible = true; } function endCombat(param1) { if (param1) { _level0.talkingSystem.chatActivate(_level0.talkingSystem[param1]); if (!shopSystem._visible) { floor._visible = true; lighting._visible = true; canopyClip._visible = true; bgDown._visible = true; bgRight._visible = true; bgUp._visible = true; bgLeft._visible = true; } } else { _global.action = 'walking'; floor._visible = true; worldMenu._visible = true; floor.mouseClickRegion._visible = true; areaNameClip._visible = true; lighting._visible = true; canopyClip._visible = true; bgDown._visible = true; bgRight._visible = true; bgUp._visible = true; bgLeft._visible = true; } combatSceneClip._visible = false; bgMusic(); bg._visible = true; clearInterval(_root.combatSceneClip.combatScene.IA); combatSceneClip.gotoAndStop(1); var v6 = _global.mainsave.getItemList('character'); var v8 = new Array(); var v9 = 0; var v5 = 0; while (v5 < v6.length) { var v4 = v6[v5].getItemList('bot'); var v3 = 0; while (v3 < v4.length) { if (parseInt(v4[v3].getAttribute('currhp')) <= 0) { v4[v3].setAttribute('currhp', 1); } ++v3; } ++v5; } populate_inventory(); levelUp(); } function levelUp() { levelUpMessage._visible = false; levelUpMessage.leveluptxt.text = ''; var v3 = _global.mainsave.getItemList('character'); var v12 = false; var v2 = 0; while (v2 < v3.length) { var v4 = parseInt(v3[v2].getAttribute('level')); if (v4 < xpArray.length) { var v6 = parseInt(v3[v2].getAttribute('xp')); var v8 = parseInt(v3[v2].getAttribute('sp')); var v7 = xpNeeded(v4); if (v6 >= v7) { var v5 = v3[v2].getAttribute('name'); var v11 = v3[v2].getAttribute('id'); playSound('levelup'); ++v4; v3[v2].setAttribute('level', v4); v8 += 3; v3[v2].setAttribute('sp', v8); levelUpMessage.leveluptxt.text += v5 + ' has reached level ' + v4 + '!\n(+ 3 stats points)\n'; levelUpMessage._visible = true; populate_inventory(); if (v4 >= 20) { v12 = true; } if (v4 == 8) { var v10 = _level0['super_' + v3[v2].getAttribute('id') + '_1'].sname.toUpperCase(); var v9 = _level0['super_' + v3[v2].getAttribute('id') + '_1'].botid.toUpperCase(); levelUpMessage.leveluptxt.text += v5 + ' has learned a new ' + v10 + ' Overdrive for ' + v9 + ' Class MAWs!\n'; } if (v4 == 15) { v10 = _level0['super_' + v3[v2].getAttribute('id') + '_2'].sname.toUpperCase(); v9 = _level0['super_' + v3[v2].getAttribute('id') + '_2'].botid.toUpperCase(); levelUpMessage.leveluptxt.text += v5 + ' has learned a new ' + v10 + ' Overdrive for ' + v9 + ' Class MAWs!\n'; } } } ++v2; } if (v12) { levelUpMessage.overlevel._visible = true; } else { levelUpMessage.overlevel._visible = false; } } function xpNeeded(levelNo) { return xpArray[levelNo - 1]; } function initQuests() { total_quests = 88; quest_1 = {'prog': 0, 'desc': 'Find parts for Ron from Scrapyard (NE of Tiki Jungle).', 'logged': true}; quest_3 = {'prog': 0, 'desc': 'Find 3 plasma rocks for Ron from Lazlo Mine (W of Tiki Jungle).', 'logged': true}; quest_24 = {'prog': 0, 'desc': 'Collect Ron\'s Cargo from the terminal.', 'logged': true}; quest_25 = {'prog': 0, 'desc': 'Find all Avenger parts so that Ron can build an Avenger model.', 'logged': true}; quest_27 = {'prog': 0, 'desc': 'Calisto thanks Ron. NOT PROPER QUEST.'}; quest_2 = {'prog': 0, 'desc': 'Talked to robyn for the first time flag. NOT PROPER QUEST.'}; quest_4 = {'prog': 0, 'desc': 'Talked to ronna for the first time flag. NOT PROPER QUEST.'}; quest_5 = {'prog': 0, 'desc': 'Guess Donna\'s last name.', 'logged': true, 'qtype': 'side'}; quest_59 = {'prog': 1, 'desc': 'Last name Troy. NOT PROPER QUEST.'}; quest_60 = {'prog': 1, 'desc': 'Last name Moss. NOT PROPER QUEST.'}; quest_61 = {'prog': 1, 'desc': 'Last name Pinciotti. NOT PROPER QUEST.'}; quest_62 = {'prog': 1, 'desc': 'Last name Martin. NOT PROPER QUEST.'}; quest_63 = {'prog': 1, 'desc': 'Last name Tello. NOT PROPER QUEST.'}; quest_6 = {'prog': 0, 'desc': 'Talked to elyssa for the first time flag. NOT PROPER QUEST.'}; quest_7 = {'prog': 0, 'desc': 'Send a clothes bill to Robyn.', 'logged': true, 'qtype': 'side'}; quest_8 = {'prog': 0, 'desc': 'Bring Macrogen to Calisto at Endless Gorge (SE of Tiki Jungle)', 'logged': true}; quest_9 = {'prog': 0, 'desc': 'Talked to Calisto for the first time flag. NOT PROPER QUEST.'}; quest_26 = {'prog': 0, 'desc': 'Navigate your way out of Tikila Grotto.', 'logged': true}; quest_10 = {'prog': 0, 'desc': 'Conversation with Billy in Mines 1. NOT PROPER QUEST.'}; quest_11 = {'prog': 0, 'desc': 'Conversation with Billy in Mines 2. NOT PROPER QUEST.'}; quest_12 = {'prog': 0, 'desc': 'Talked to Chow for the first time flag. NOT PROPER QUEST.'}; quest_13 = {'prog': 1, 'desc': 'Chow Unhappy. NOT PROPER QUEST.'}; quest_14 = {'prog': 1, 'desc': 'Chow Angry. NOT PROPER QUEST.'}; quest_15 = {'prog': 1, 'desc': 'Chow Very Angry. NOT PROPER QUEST.'}; quest_16 = {'prog': 0, 'desc': 'No more fried rice. NOT PROPER QUEST.'}; quest_17 = {'prog': 0, 'desc': 'Bumped into Lucille. NOT PROPER QUEST.'}; quest_18 = {'prog': 0, 'desc': 'Face-off with Lucille. NOT PROPER QUEST.'}; quest_19 = {'prog': 0, 'desc': 'Defeated Lucille the first time. NOT PROPER QUEST.'}; quest_20 = {'prog': 0, 'desc': 'First meeting with Jack. NOT PROPER QUEST.'}; quest_21 = {'prog': 0, 'desc': 'Jack defeated. NOT PROPER QUEST.'}; quest_22 = {'prog': 0, 'desc': 'First meeting with Drake. NOT PROPER QUEST.'}; quest_23 = {'prog': 0, 'desc': 'Look for the airship\'s navigation system in Tidal Caves. (NW of Costa de Acero)', 'logged': true}; quest_34 = {'prog': 0, 'desc': 'Find a way to fix the airship at Acero Terminus.', 'logged': true}; quest_28 = {'prog': 0, 'desc': 'Derelict defeated. NOT PROPER QUEST.'}; quest_29 = {'prog': 0, 'desc': 'Sprout Lord defeated. NOT PROPER QUEST.'}; quest_30 = {'prog': 0, 'desc': 'Worm defeated. NOT PROPER QUEST.'}; quest_31 = {'prog': 0, 'desc': 'Rock 1. NOT PROPER QUEST.'}; quest_32 = {'prog': 0, 'desc': 'Rock 2. NOT PROPER QUEST.'}; quest_33 = {'prog': 0, 'desc': 'Rock 3. NOT PROPER QUEST.'}; quest_35 = {'prog': 0, 'desc': 'Treasure 1 - 3_11:I002R. NOT PROPER QUEST.'}; quest_36 = {'prog': 0, 'desc': 'Treasure 2 - 2_214:W02MS. NOT PROPER QUEST.'}; quest_37 = {'prog': 0, 'desc': 'Treasure 3 - 7_19:G002. NOT PROPER QUEST.'}; quest_38 = {'prog': 0, 'desc': 'Treasure 4 - 11_317:I003R. NOT PROPER QUEST.'}; quest_39 = {'prog': 0, 'desc': 'Treasure 5 - 11_503:A03. NOT PROPER QUEST.'}; quest_40 = {'prog': 0, 'desc': 'Treasure 6 - 9_26:I002SB. NOT PROPER QUEST.'}; quest_41 = {'prog': 0, 'desc': 'Treasure 7 - 9_40:C02AF. NOT PROPER QUEST.'}; quest_42 = {'prog': 0, 'desc': 'Treasure 8 - 9_59:C03AT. NOT PROPER QUEST.'}; quest_43 = {'prog': 0, 'desc': 'Treasure 9 - 9_74:W03SC. NOT PROPER QUEST.'}; quest_44 = {'prog': 0, 'desc': 'Treasure 10 - 0_4:I001R. NOT PROPER QUEST.'}; quest_83 = {'prog': 0, 'desc': 'Treasure 11 - 12_124:I003R. NOT PROPER QUEST.'}; quest_84 = {'prog': 0, 'desc': 'Treasure 12 - 12_210:M002. NOT PROPER QUEST.'}; quest_85 = {'prog': 0, 'desc': 'Treasure 13 - 12_228:W03MF. NOT PROPER QUEST.'}; quest_86 = {'prog': 0, 'desc': 'Treasure 14 - 12_-113:W03MS. NOT PROPER QUEST.'}; quest_45 = {'prog': 0, 'desc': 'Talked to Cyphus the first time. NOT PROPER QUEST.'}; quest_46 = {'prog': 0, 'desc': 'Lodge Membership. Acero Hunt Initiate Rank. NOT PROPER QUEST.'}; quest_47 = {'prog': 0, 'desc': 'Defeat 5 Scarlet Spiders. Collect their webbing as proof.', 'logged': true, 'qtype': 'hunter'}; quest_48 = {'prog': 0, 'desc': 'Defeat 10 Silver Drillers. Collect their drills as proof.', 'logged': true, 'qtype': 'hunter'}; quest_49 = {'prog': 0, 'desc': 'Defeat 15 Steel Gearflies. Collect their wings as proof.', 'logged': true, 'qtype': 'hunter'}; quest_50 = {'prog': 0, 'desc': 'Defeat 15 Mutated Sproutlings. Collect yellow peas as proof.', 'logged': true, 'qtype': 'hunter'}; quest_51 = {'prog': 0, 'desc': 'Defeat 10 Hermit Crushers. Collect their claws as proof.', 'logged': true, 'qtype': 'hunter'}; quest_52 = {'prog': 0, 'desc': 'Defeat 1 Sprout Lord. Collect his crown as proof.', 'logged': true, 'qtype': 'hunter'}; quest_53 = {'prog': 0, 'desc': 'Defeat 5 Gold Clock Creeps. Collect gold quartz as proof.', 'logged': true, 'qtype': 'hunter'}; quest_54 = {'prog': 0, 'desc': 'Acero Hunter Rank. NOT PROPER QUEST.'}; quest_55 = {'prog': 0, 'desc': 'Acero Advanced Hunter Rank. NOT PROPER QUEST.'}; quest_56 = {'prog': 0, 'desc': 'Acero Elite Hunter Rank. NOT PROPER QUEST.'}; quest_57 = {'prog': 0, 'desc': 'Acero Master Hunter Rank. NOT PROPER QUEST.'}; quest_58 = {'prog': 1, 'desc': 'In the middle of a hunt. NOT PROPER QUEST.'}; quest_64 = {'prog': 0, 'desc': 'Saved Laura. NOT PROPER QUEST.'}; quest_65 = {'prog': 0, 'desc': 'Cali meets Laura. NOT PROPER QUEST.'}; quest_66 = {'prog': 0, 'desc': 'Laura asked once. NOT PROPER QUEST.'}; quest_67 = {'prog': 0, 'desc': 'Laura joins. NOT PROPER QUEST.'}; quest_68 = {'prog': 0, 'desc': 'Check main entrance once. NOT PROPER QUEST.'}; quest_69 = {'prog': 0, 'desc': 'Main entrance open. NOT PROPER QUEST.'}; quest_70 = {'prog': 0, 'desc': 'Puzzle 1. NOT PROPER QUEST.'}; quest_71 = {'prog': 0, 'desc': 'Puzzle 2. NOT PROPER QUEST.'}; quest_72 = {'prog': 0, 'desc': 'Puzzle 3. NOT PROPER QUEST.'}; quest_73 = {'prog': 0, 'desc': 'Puzzle 4. NOT PROPER QUEST.'}; quest_74 = {'prog': 0, 'desc': 'Seen top puzzle once. NOT PROPER QUEST.'}; quest_75 = {'prog': 0, 'desc': 'Seen bottom puzzle once. NOT PROPER QUEST.'}; quest_76 = {'prog': 0, 'desc': 'Seen riddle once. NOT PROPER QUEST.'}; quest_77 = {'prog': 0, 'desc': 'Top puzzle solved. NOT PROPER QUEST.'}; quest_78 = {'prog': 0, 'desc': 'Bottom puzzle solved. NOT PROPER QUEST.'}; quest_79 = {'prog': 0, 'desc': 'Riddle door opened. NOT PROPER QUEST.'}; quest_80 = {'prog': 0, 'desc': 'Puzzle explained once. NOT PROPER QUEST.'}; quest_81 = {'prog': 0, 'desc': 'Ruins boss defeated. NOT PROPER QUEST.'}; quest_82 = {'prog': 0, 'desc': 'Escort Laura safely through the Ancient Ruins.', 'logged': true, 'qtype': 'side'}; quest_87 = {'prog': 0, 'desc': 'Small talk 1. NOT PROPER QUEST.'}; quest_88 = {'prog': 0, 'desc': 'Small talk 2. NOT PROPER QUEST.'}; } function getQuests() { initQuests(); var v6 = _global.mainsave.getItemList('questlist'); var v3 = v6[0].getItemList('quest'); var v2 = 0; while (v2 < v3.length) { var v5 = v3[v2].getAttribute('id'); var v4 = v3[v2].getAttribute('prog'); _level0['quest_' + v5].prog = int(v4); ++v2; } } function saveQuests() { var v7 = _global.mainsave.getItemList('questlist'); var v2 = 1; while (v2 <= _level0.total_quests) { var v4 = v7[0].getItemList('quest'); if (_level0['quest_' + v2].prog > 0) { if (v4.length > 0) { var v6 = false; var v3 = 0; while (v3 < v4.length) { if (v4[v3].getAttribute('id') == v2) { v4[v3].setAttribute('prog', _level0['quest_' + v2].prog); v6 = true; break; } ++v3; } if (!v6) { var v5 = new SaveItemObj('quest'); v5.setAttribute('id', v2); v5.setAttribute('prog', _level0['quest_' + v2].prog); v7[0].addItem(v5); } } else { var v5 = new SaveItemObj('quest'); v5.setAttribute('id', v2); v5.setAttribute('prog', _level0['quest_' + v2].prog); v7[0].addItem(v5); } } ++v2; } v7[0].printitems(); } SaveItemObj = function (saveName) { this.name = saveName; this.attributelist = new Object(); this.itemlist = new Object(); this.itemcount = 0; }; SaveItemObj.prototype.getName = function () { return this.name; }; SaveItemObj.prototype.addAttribute = function (addtriName, value) { this.attributelist[addtriName] = value; }; SaveItemObj.prototype.removeAttribute = function (addtriName) { delete this.attributelist[addtriName]; }; SaveItemObj.prototype.setAttribute = function (addtriName, value) { this.attributelist[addtriName] = value; }; SaveItemObj.prototype.getAttribute = function (addtriName) { return this.attributelist[addtriName]; }; SaveItemObj.prototype.getAttributeList = function () { return this.attributelist; }; SaveItemObj.prototype.addItem = function (itemobj) { this.itemlist[this.itemcount++] = itemobj; }; SaveItemObj.prototype.removeItem = function (indexa) { delete this.itemlist[indexa]; }; SaveItemObj.prototype.setItem = function (indexa, itemobj) { this.itemlist[indexa] = itemobj; }; SaveItemObj.prototype.getItem = function (indexa) { return this.itemlist[indexa]; }; SaveItemObj.prototype.getItemList = function (itemname) { var v2 = new Array(); var v3 = 0; for (var v4 in this.itemlist) { if (this.itemlist[v4].getName() == itemname) { v2[v3++] = this.itemlist[v4]; } } return v2; }; SaveItemObj.prototype.getItemListIndex = function (itemname) { var v2 = new Array(); for (var v3 in this.itemlist) { if (this.itemlist[v3].getName() == itemname) { v2[v3] = this.itemlist[v3]; } } return v2; }; SaveItemObj.prototype.convertXML = function () { var v2 = new XMLNode(1, this.name); for (var v3 in this.attributelist) { v2.attributes[v3] = this.attributelist[v3]; } for (v3 in this.itemlist) { v2.appendChild(this.itemlist[v3].convertXML()); } return v2; }; SaveItemObj.prototype.loadXML = function (XMLLoadNode) { for (var v7 in this.attributelist) { delete this.attributelist[v7]; } for (v7 in this.itemlist) { delete this.itemlist[v7]; } for (var v6 in XMLLoadNode.attributes) { this.setAttribute(v6, XMLLoadNode.attributes[v6]); } var v4 = XMLLoadNode.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveItemObj.prototype.printitems = function () { var v2 = ''; for (var v3 in this.attributelist) { v2 += v3 + ':' + this.attributelist[v3] + ', '; } }; SaveItemObj.prototype.testcheck = function () {}; SaveDataObj = function (username, saveURL, indexa) { this.savePath = saveURL; this.userid = username; this.forceLocalFlag = false; this.saveIndex = indexa; this.recipientObj = null; }; SaveDataObj.prototype = new SaveItemObj('SavedData'); SaveDataObj.prototype.save = function () { var v2 = this.convertXML(); var v3 = new XML(); v3.parentdata = this.recipientObj; v3.onLoad = function (success) { if (success) { this.parentdata.saved(true); } else { this.parentdata.saved(false); } }; if (MODE == 'PREMIUM') { saveToFile('savedata' + this.saveIndex + '.dat', v2.toString()); } else { var v4 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); v4.data[this.saveIndex] = v2.toString(); v4.flush(100000); } if (this.userid && this.userid != '' && !this.forceLocalFlag) { v2.contentType = 'text/xml'; v2.sendAndLoad(this.savePath + '&type=save&userid=' + this.userid + '&saveindex=' + this.saveIndex, v3); } else { this.recipientObj.saved(true); } }; SaveDataObj.prototype.load = function () { for (var v6 in this.attributelist) { delete this.attributelist[v6]; } for (v6 in this.itemlist) { delete this.itemlist[v6]; } var loadXML = new XML(); loadXML.ignoreWhite = true; loadXML.parentdata = this; loadXML.onLoad = function (success) { var v7 = loadXML.firstChild; var v8 = v7.nextSibling; if (v8.firstChild.nodeValue != '342134' && !this.parentdata.forceLocalFlag) { success = false; } if (success) { var v5 = loadXML.firstChild; var v4 = v5.childNodes; if (v4.length == 0) { if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savedata' + this.parentdata.saveIndex + '.dat')); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); this.parseXML(v6.data[this.parentdata.saveIndex]); } v5 = this.firstChild; v4 = v5.childNodes; } for (prop in v5.attributes) { this.parentdata.setAttribute(prop, v5.attributes[prop]); } var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.parentdata.addItem(v3); ++v2; } this.parentdata.onLoad(); } else { this.parentdata.forceLocalFlag = true; if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savedata' + this.parentdata.saveIndex + '.dat')); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); this.parseXML(v6.data[this.parentdata.saveIndex]); } this.onLoad('true'); } }; if (MODE == 'PREMIUM') { var v8 = loadFromFile('savedata' + this.saveIndex + '.dat'); if (v8 == undefined) { loadXML.load(this.savePath + '&type=retrieve&userid=' + this.userid + '&saveindex=' + this.saveIndex); } else { loadXML.parseXML(v8); loadXML.onLoad('true'); } } else { var v7 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); if (v7.data[this.saveIndex] == undefined) { loadXML.load(this.savePath + '&type=retrieve&userid=' + this.userid + '&saveindex=' + this.saveIndex); } else { loadXML.parseXML(v7.data[this.saveIndex]); loadXML.onLoad('true'); } } }; SaveDataObj.prototype.forceLocal = function (setlocal) { this.forceLocalFlag = setlocal; }; SaveDataObj.prototype.loadSaveItem = function (saveitem) { this.attributelist = saveitem.attributelist; this.itemlist = saveitem.itemlist; this.itemcount = saveitem.itemcount; }; SaveDataObj.prototype.extractSaveItem = function () { var v2 = new SaveItemObj(''); v2.attributelist = this.attributelist; v2.itemlist = this.itemlist; v2.itemcount = this.itemcount; return v2; }; SaveDataObj.prototype.convertXML = function () { var v4 = new XML(); var v2 = new XMLNode(1, 'SavedData'); v4.appendChild(v2); for (var v3 in this.attributelist) { v2.attributes[v3] = this.attributelist[v3]; } for (v3 in this.itemlist) { v2.appendChild(this.itemlist[v3].convertXML()); } return v4; }; SaveDataObj.prototype.cloneSave = function (prevSave) { var v6 = prevSave.convertXML(); var v5 = v6.firstChild; for (prop in v5.attributes) { this.setAttribute(prop, v5.attributes[prop]); } var v4 = v5.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveDataObj.prototype.parseXML = function (xmlstr) { var v6 = new XML(); v6.parseXML(xmlstr); var v5 = v6.firstChild; for (prop in v5.attributes) { this.setAttribute(prop, v5.attributes[prop]); } var v4 = v5.childNodes; var v2 = 0; while (v2 < v4.length) { var v3 = new SaveItemObj(v4[v2].nodeName); v3.loadXML(v4[v2]); this.addItem(v3); ++v2; } }; SaveDataObj.prototype.addListener = function (listobj) { this.recipientObj = listobj; }; SaveListObj = function (username, passwd) { this.hostname = 'http://mobileweapon.net/ep1/'; this.filename = 'neoplanetasp.php'; this.savePath = this.hostname + this.filename + '?sessid=' + _global.session; this.userid = username; this.password = passwd; this.recipientObj = null; this.loaded = false; this.loadSaveList = new Array(); this.forceLoadShared = false; }; SaveListObj.prototype.checkForceLocal = function () { return this.forceLoadShared; }; SaveListObj.prototype.forceLocal = function (flocal) { this.forceLoadShared = flocal; }; SaveListObj.prototype.connect = function () { if (this.userid == '') { this.forceLoadShared = true; this.recipientObj.error('NOUSERNAME'); return undefined; } else { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { if (success) { var v3 = replyXML.firstChild; if (v3.attributes.key == 'INVALID' || replyXML.toString() == 'invalid session') { this.recObj.recipientObj.connected(false); } else { _global.session = v3.attributes.key; this.recObj.savePath = this.recObj.hostname + this.recObj.filename + '?sessid=' + _global.session; this.recObj.recipientObj.connected(true, v3.attributes.userid); } } else { this.recipientObj.error('NOCONNECTION'); } }; replyXML.load(this.savePath + '&type=authenticate&userid=' + this.userid + '&password=' + this.password); } }; SaveListObj.prototype.createNewUser = function (email) { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { if (success) { var v3 = replyXML.firstChild; if (v3.attributes.key == 'DUPLICATE') { this.recObj.recipientObj.created(false, v3.attributes.key); } else { _global.session = v3.attributes.key; this.recObj.savePath = this.recObj.hostname + this.recObj.filename + '?sessid=' + _global.session; this.recObj.recipientObj.created(true, v3.attributes.userid); } } else { this.recObj.recipientObj.created(false, 'NOCON'); } }; replyXML.load(this.savePath + '&type=createuser&userid=' + this.userid + '&password=' + this.password + '&email=' + email); }; SaveListObj.prototype.listAllSaves = function () { if (!this.loaded) { var replyXML = new XML(); replyXML.recObj = this; replyXML.onLoad = function (success) { var v6 = replyXML.firstChild; var v7 = v6.nextSibling; if (v7.firstChild.nodeValue != '342134' && !this.recObj.forceLoadShared) { success = false; } if (success) { v6 = replyXML.firstChild; var v4 = v6.childNodes; this.recObj.loadSaveList = new Array(); var v2 = 0; while (v2 < v4.length) { this.recObj.loadSaveList[v4[v2].attributes.name] = v4[v2].attributes.date; ++v2; } var v5 = checkXML.firstChild; var v3 = v5.childNodes; v2 = 0; while (v2 < v3.length) { if (neoplanetsave.data[v3[v2].attributes.name] == undefined && this.recObj.forceLoadShared) { delete this.recObj.loadSaveList[v3[v2].attributes.name]; } else { if (this.recObj.loadSaveList[v3[v2].attributes.name]) { if (this.recObj.loadSaveList[v3[v2].attributes.name] < v3[v2].attributes.date) { this.recObj.loadSaveList[v3[v2].attributes.name] = v3[v2].attributes.date; } } else { this.recObj.loadSaveList[v3[v2].attributes.name] = v3[v2].attributes.date; } } ++v2; } this.recObj.loaded = true; this.recObj.recipientObj.getList(this.recObj.loadSaveList); } else { if (MODE == 'PREMIUM') { this.parseXML(loadFromFile('savelist.dat')); } else { var neoplanetsave = SharedObject.getLocal(this.recObj.userid + '_neoplanetsave', '/'); this.parseXML(neoplanetsave.data.savelist); } this.recObj.forceLoadShared = true; this.onLoad(true); } }; if (this.forceLoadShared) { if (MODE == 'PREMIUM') { replyXML.parseXML(loadFromFile('savelist.dat')); } else { var neoplanetsave = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); replyXML.parseXML(neoplanetsave.data.savelist); } replyXML.onLoad(true); } else { replyXML.load(this.savePath + '&type=listsaves&userid=' + this.userid); } } else { this.recipientObj.getList(this.loadSaveList); } }; SaveListObj.prototype.loadAllSaves = function () {}; SaveListObj.prototype.getSave = function (indexa) { var v2 = new SaveDataObj(this.userid, this.savePath, indexa); v2.printitems(); v2.recipientObj = this.recipientObj; if (this.forceLoadShared) { v2.forceLocal(true); } v2.onLoad = function () { this.recipientObj.getSave(this); }; v2.load(); }; SaveListObj.prototype.createNewSave = function (currSaveObj, indexa) { var v7 = new SaveDataObj(this.userid, this.savePath, indexa); v7.cloneSave(currSaveObj); v7.forceLocal(this.forceLoadShared); var v2 = new Date(); var v3 = v2.getMonth() + 1; if (v3 < 10) { v3 = '0' + v3; } var v6 = v2.getDate(); if (v6 < 10) { v6 = '0' + v6; } var v5 = v2.getHours(); if (v5 < 10) { v5 = '0' + v5; } var v4 = v2.getMinutes(); if (v4 < 10) { v4 = '0' + v4; } this.loadSaveList[indexa] = v2.getFullYear() + '-' + v3 + '-' + v6 + ' ' + v5 + ':' + v4; this.saveList(); return v7; }; SaveListObj.prototype.createEmptySave = function (indexa) { var v7 = new SaveDataObj(this.userid, this.savePath, indexa); v7.forceLocal(this.forceLoadShared); var v2 = new Date(); var v3 = v2.getMonth() + 1; if (v3 < 10) { v3 = '0' + v3; } var v6 = v2.getDate(); if (v6 < 10) { v6 = '0' + v6; } var v5 = v2.getHours(); if (v5 < 10) { v5 = '0' + v5; } var v4 = v2.getMinutes(); if (v4 < 10) { v4 = '0' + v4; } this.loadSaveList[indexa] = v2.getFullYear() + '-' + v3 + '-' + v6 + ' ' + v5 + ':' + v4; return v7; }; SaveListObj.prototype.saveList = function () { var v3 = new XML(); var v4 = v3.createElement('savelist'); v3.appendChild(v4); for (var v5 in this.loadSaveList) { var v2 = v3.createElement('savedata'); v2.attributes.name = v5; v2.attributes.date = this.loadSaveList[v5]; v4.appendChild(v2); } if (MODE == 'PREMIUM') { saveToFile('savelist.dat', v3.toString()); } else { var v6 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); v6.data.savelist = v3.toString(); v6.flush(10000); } }; SaveListObj.prototype.deleteSave = function (indexa) { delete this.loadSaveList[indexa]; this.saveList(); var replyXML = new XML(); replyXML.onLoad = function (success) { if (success && replyXML == 'SUCCESS') { this.recObj.deleted(true); } else { if (MODE == 'PREMIUM') { deleteFile('savedata' + indexa + '.dat'); } else { var v2 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); delete v2.data[indexa]; this.recObj.deleted(true); } } }; replyXML.recObj = this.recipientObj; replyXML.load(this.savePath + '&type=delete&userid=' + this.userid + '&saveindex=' + indexa); if (MODE == 'PREMIUM') { deleteFile('savedata' + indexa + '.dat'); } else { var v2 = SharedObject.getLocal(this.userid + '_neoplanetsave', '/'); delete v2.data[indexa]; } }; SaveListObj.prototype.addListener = function (recObject) { this.recipientObj = recObject; }; SaveListObj.prototype.forceOnline = function (username, userpass, email) { this.userid = username; this.password = userpass; this.createNewUser(email); }; invenitem = new Array(); item = 'C01AT'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Cotton shirt'; invenitem[item].price = '10'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'TOP'; invenitem[item].gender = 'ALL'; invenitem[item].description = 'A plain cotton shirt.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '150'; invenitem[item].g = '150'; invenitem[item].b = '150'; invenitem[item].image = 'cottonshirt'; item = 'C02AT'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Felt Jacket'; invenitem[item].price = '200'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'TOP'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+1'; invenitem[item].description = 'A jacket that keeps you cozy.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '30'; invenitem[item].g = '30'; invenitem[item].b = '60'; invenitem[item].image = 'feltjacket'; item = 'C03AT'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Ranger Vest'; invenitem[item].price = '1000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'TOP'; invenitem[item].gender = 'ALL'; invenitem[item].accuracy = '+3'; invenitem[item].reflex = '+3'; invenitem[item].description = 'A combat vest that offers mobility.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '0'; invenitem[item].g = '50'; invenitem[item].b = '0'; invenitem[item].image = 'rangervest'; item = 'C04AT'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Flight Jacket'; invenitem[item].price = '3000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'TOP'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+2'; invenitem[item].technique = '+8'; invenitem[item].description = 'Cool and slick.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '30'; invenitem[item].g = '30'; invenitem[item].b = '30'; invenitem[item].image = 'flightjacket'; item = 'C05AT'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Leather Jacket'; invenitem[item].price = '800'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'TOP'; invenitem[item].gender = 'ALL'; invenitem[item].accuracy = '+5'; invenitem[item].description = 'Black leather jacket that\'s shamelessly flashy.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '0'; invenitem[item].g = '0'; invenitem[item].b = '0'; invenitem[item].image = 'leatherjacket'; itemequip = 'BOTTOM'; item = 'C01AB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Cotton Shorts'; invenitem[item].price = '10'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = itemequip; invenitem[item].gender = 'ALL'; invenitem[item].description = 'A plain cotton shorts.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '150'; invenitem[item].g = '150'; invenitem[item].b = '150'; invenitem[item].image = 'cottonshorts'; item = 'C02AB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Bermudas'; invenitem[item].price = '200'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = itemequip; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+1'; invenitem[item].description = 'Beach wear bermudas.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '60'; invenitem[item].g = '60'; invenitem[item].b = '30'; invenitem[item].image = 'bermudas'; item = 'C03AB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Tight jeans'; invenitem[item].price = '850'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = itemequip; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '-1'; invenitem[item].accuracy = '+3'; invenitem[item].technique = '+3'; invenitem[item].description = 'Really tight jeans...'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '20'; invenitem[item].g = '20'; invenitem[item].b = '60'; invenitem[item].image = 'tightjeans'; item = 'C04AB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Combat Fatigues'; invenitem[item].price = '3000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = itemequip; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+6'; invenitem[item].technique = '+4'; invenitem[item].description = 'Army surplus fatigues.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '30'; invenitem[item].g = '80'; invenitem[item].b = '30'; invenitem[item].image = 'combatfatigues'; item = 'C05AB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Bell Bottoms'; invenitem[item].price = '900'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = itemequip; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+5'; invenitem[item].description = 'A hip pair of pants'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].r = '65'; invenitem[item].g = '35'; invenitem[item].b = '0'; invenitem[item].image = 'bellbottoms'; item = 'C01AH'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Glass Goggles'; invenitem[item].price = '300'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'HEADGEAR'; invenitem[item].gender = 'ALL'; invenitem[item].accuracy = '+2'; invenitem[item].description = 'Goggles made of glass.\nHandle with care!'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'glassgoggles'; item = 'C02AH'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Star Earrings'; invenitem[item].price = '800'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'HEADGEAR'; invenitem[item].gender = 'ALL'; invenitem[item].technique = '+2'; invenitem[item].reflex = '+2'; invenitem[item].description = 'A pair of star-shaped earrings.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'starearrings'; item = 'C03AH'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Artist Cap'; invenitem[item].price = '1000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'HEADGEAR'; invenitem[item].gender = 'ALL'; invenitem[item].technique = '+5'; invenitem[item].description = 'Express your inner beauty!'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'artistcap'; item = 'C01AF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Canvas shoes'; invenitem[item].price = '10'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'FOOTWEAR'; invenitem[item].gender = 'ALL'; invenitem[item].description = 'Plain canvas shoes.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'canvasshoes'; item = 'C02AF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Leather shoes'; invenitem[item].price = '300'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'FOOTWEAR'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+3'; invenitem[item].description = 'Made of artificial leather.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'leathershoes'; item = 'C03AF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Army boots'; invenitem[item].price = '1000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'FOOTWEAR'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+6'; invenitem[item].description = 'Specially made to fit and last.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'armyboots'; item = 'C01AA'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Neural enhancer'; invenitem[item].price = '5000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'ACCESSORY'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+5'; invenitem[item].accuracy = '+5'; invenitem[item].technique = '+5'; invenitem[item].description = 'A choker that connects to your neural system.'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'neuralenhancer'; item = 'C02AA'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'M. Hunter Medal'; invenitem[item].price = '8000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'ACCESSORY'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+6'; invenitem[item].accuracy = '+6'; invenitem[item].technique = '+6'; invenitem[item].description = 'A medal acknowledging the rank of Acero Master Hunter!'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'huntermedal'; item = 'C03AA'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Election Badge'; invenitem[item].price = '1000'; invenitem[item].type = 'CLOTHES'; invenitem[item].equip = 'ACCESSORY'; invenitem[item].gender = 'ALL'; invenitem[item].reflex = '+1'; invenitem[item].accuracy = '+1'; invenitem[item].technique = '+2'; invenitem[item].description = 'A free badge given out during rallies'; invenitem[item].description += clothesdescription(invenitem[item].reflex, invenitem[item].accuracy, invenitem[item].technique); invenitem[item].image = 'electionbadge'; item = 'I001R'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Repair Kit (F)'; invenitem[item].price = '10'; invenitem[item].type = 'USE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Repair 20-40 HP to your MAW'; invenitem[item].useid = 'addattribute'; invenitem[item].parameters = 'currhp:add:40:20'; invenitem[item].image = 'repairkit'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I002R'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Repair Kit (E)'; invenitem[item].price = '50'; invenitem[item].type = 'USE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Repair 50-80 HP to your MAW'; invenitem[item].useid = 'addattribute'; invenitem[item].parameters = 'currhp:add:80:50'; invenitem[item].image = 'repairkit2'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I003R'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Repair Kit Grade D'; invenitem[item].price = '100'; invenitem[item].type = 'USE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Repair 100-150 HP to your MAW'; invenitem[item].useid = 'addattribute'; invenitem[item].parameters = 'currhp:add:150:100'; invenitem[item].image = 'repairkit3'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I004R'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Repair Kit Grade C'; invenitem[item].price = '500'; invenitem[item].type = 'USE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Repair 200-300 HP to your MAW'; invenitem[item].useid = 'addattribute'; invenitem[item].parameters = 'currhp:add:300:200'; invenitem[item].image = 'repairkit4'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I001SB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Smoke Bomb Grade D'; invenitem[item].price = '20'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Reduce chance of encountering enemies for a very short time.'; invenitem[item].useid = 'lowerencounter'; invenitem[item].parameters = 'chance:add:500:400'; invenitem[item].image = 'smokebomb1'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I002SB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Smoke Bomb Grade C'; invenitem[item].price = '150'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Reduce chance of encountering enemies for a short time.'; invenitem[item].useid = 'lowerencounter'; invenitem[item].parameters = 'chance:add:800:500'; invenitem[item].image = 'smokebomb2'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I003SB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Smoke Bomb Grade B'; invenitem[item].price = '1000'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Reduce chance of encountering enemies for a long time.'; invenitem[item].useid = 'lowerencounter'; invenitem[item].parameters = 'chance:add:1500:1000'; invenitem[item].image = 'smokebomb3'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I004SB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Smoke Bomb Grade A'; invenitem[item].price = '2000'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Reduce chance of encountering enemies for a very long time.'; invenitem[item].useid = 'lowerencounter'; invenitem[item].parameters = 'chance:add:2000:1500'; invenitem[item].image = 'smokebomb4'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I001FC'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Fire Crackers'; invenitem[item].price = '50'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Creates a series of loud noise that attracts enemies.'; invenitem[item].useid = 'raiseencounter'; invenitem[item].parameters = 'chance:subtract:0:0'; invenitem[item].image = 'firecrackers'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I001UW'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Disposable Tent'; invenitem[item].price = '10'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Allows travellers to rest for 6 hours.'; invenitem[item].useid = 'wait'; invenitem[item].parameters = 'time:add:6:0'; invenitem[item].image = 'tent'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].stack = true; item = 'I002UW'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Radar'; invenitem[item].price = '500'; invenitem[item].type = 'USEWORLD'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Shows the enemy encounter rate. (Drag onto character portrait to use)'; invenitem[item].useid = 'showencountrate'; invenitem[item].parameters = ''; invenitem[item].image = 'radar'; invenitem[item].user = new Array('stinger', 'luna', 'avenger'); invenitem[item].reusable = true; invenitem[item].stack = true; item = 'A300E'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Calling Card'; invenitem[item].price = '-1'; invenitem[item].type = 'USE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Uncle Ron\'s missing cards'; invenitem[item].useid = 'addattribute'; invenitem[item].parameters = 'reflex:add:40:40:20'; item = 'I000Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Gear'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'A common gear piece. (Augment use)'; invenitem[item].image = 'gear'; invenitem[item].price = '5'; invenitem[item].augment = '5'; invenitem[item].stack = true; item = 'I001Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Polyboard'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'An assembly needed to repair structures.'; invenitem[item].image = 'polyboard'; invenitem[item].price = '20'; invenitem[item].undroppable = true; item = 'I002Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Gyrobolt'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'A common bolt piece. (Augment use)'; invenitem[item].image = 'bolt'; invenitem[item].price = '10'; invenitem[item].augment = '5'; invenitem[item].stack = true; item = 'I003Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Ron\'s List'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Ron needs: 5 Gears, 3 Gyrobolts and 1 Polyboard.'; invenitem[item].image = 'list'; item = 'I004Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Gift Voucher'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Voucher for Elyssa\'s clothes shop.'; invenitem[item].image = 'list'; item = 'I005Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Robyn\'s Bill'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Robyn\'s bill for the clothes she bought at Elyssa\'s shop.'; invenitem[item].image = 'list'; item = 'I006Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Plasmarock Chunk'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'A small chunk of plasmarock.'; invenitem[item].image = 'plasmarock'; invenitem[item].undroppable = true; invenitem[item].stack = true; item = 'I007Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Macrogen'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Necessary part for Calisto to fix the bridge at Endless Gorge.'; invenitem[item].image = 'macrogen'; invenitem[item].undroppable = true; item = 'I008Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Navigation System'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'An airship navigation system.'; invenitem[item].image = 'nav_sys'; invenitem[item].undroppable = true; item = 'I009Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Tide Information'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'ACERO ISLE TIDE TIMINGS:\n0600 to 1159 - Low Tide\n1200 to 1759 - High Tide\n1800 to 2359 - Low Tide\n0000 to 0559 - High Tide\n'; invenitem[item].image = 'list'; item = 'I010Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Avenger Chassis'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The skeleton of a MAW model known as the Avenger.'; invenitem[item].image = 'avenger1'; invenitem[item].undroppable = true; item = 'I011Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Avenger Core'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The core system of a MAW model known as the Avenger.'; invenitem[item].image = 'avenger2'; invenitem[item].undroppable = true; item = 'I012Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Crate of Polyboards'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Polyboards that Ron ordered.'; invenitem[item].image = 'box'; invenitem[item].undroppable = true; item = 'I013Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'HL Membership'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Congratulations! You are now a member of the Hunters\' Lodge!'; invenitem[item].image = 'card'; invenitem[item].price = '800'; item = 'I014Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Crimson Webbing'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Webbing from Scarlet Spiders.'; invenitem[item].image = 'crimsonweb'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I015Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Sparkling Drill'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The Drill of a Silver Driller'; invenitem[item].image = 'drill'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I016Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Metal Wing'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The wing of a Steel Gearfly.'; invenitem[item].image = 'wing'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I017Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Crusher Claw'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The claw of a Hermit Crusher.'; invenitem[item].image = 'claw'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I018Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Yellow Pea'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Peas found in a Mutated Sproutling.'; invenitem[item].image = 'pea'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I019Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Sprout Crown'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The crown that belongs to the ruler of the Sprouts.'; invenitem[item].image = 'crown'; invenitem[item].price = '10'; item = 'I020Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Gold Quartz'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'Quartz pieces found inside Gold Clock Creeps.'; invenitem[item].image = 'quartz'; invenitem[item].price = '10'; invenitem[item].stack = true; item = 'I021Q'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Yellow Tail'; invenitem[item].type = 'NONE'; invenitem[item].equip = 'NO'; invenitem[item].description = 'The tail of the Acero Squeaker.'; invenitem[item].image = 'tail'; invenitem[item].price = '10'; equip = 'MELEE'; item = 'W01MF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Brass knuckle'; invenitem[item].price = '50'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'FIST'; invenitem[item].equip = equip; invenitem[item].mindamage = 5; invenitem[item].maxdamage = 10; invenitem[item].energy = 30; invenitem[item].hits = 1; invenitem[item].hitbonus = 10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'avenger', 'mantra'); invenitem[item].description = 'Basic knuckle used by MAWs for close ranged striking.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'brassknuckle'; item = 'W02MF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Heavy Fist'; invenitem[item].price = '300'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'FIST'; invenitem[item].equip = equip; invenitem[item].mindamage = 8; invenitem[item].maxdamage = 13; invenitem[item].energy = 35; invenitem[item].hits = 1; invenitem[item].hitbonus = 10; invenitem[item].crit = 0; invenitem[item].minreflex = 9; invenitem[item].minaccuracy = 7; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'avenger', 'mantra'); invenitem[item].description = 'A huge fist forged entirely of iron.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'heavyfist'; item = 'W03MF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Stone Smasher'; invenitem[item].price = '800'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'FIST'; invenitem[item].equip = equip; invenitem[item].mindamage = 15; invenitem[item].maxdamage = 20; invenitem[item].energy = 52; invenitem[item].hits = 1; invenitem[item].hitbonus = 20; invenitem[item].crit = 0; invenitem[item].minreflex = 13; invenitem[item].minaccuracy = 11; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('luna', 'avenger', 'mantra'); invenitem[item].description = 'Delivers a powerful crushing blow.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'stonesmasher'; item = 'W04MF'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Mach Gauntlet'; invenitem[item].price = '2700'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'FIST'; invenitem[item].equip = equip; invenitem[item].mindamage = 12; invenitem[item].maxdamage = 14; invenitem[item].energy = 90; invenitem[item].hits = 3; invenitem[item].hitbonus = 15; invenitem[item].crit = 0; invenitem[item].minreflex = 17; invenitem[item].minaccuracy = 15; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('luna', 'avenger', 'mantra'); invenitem[item].description = '3 times the action. 3 times the damage.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'machgauntlet'; item = 'W01MS'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Metal Sword'; invenitem[item].price = '450'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'SWORD'; invenitem[item].equip = equip; invenitem[item].mindamage = 12; invenitem[item].maxdamage = 16; invenitem[item].energy = 35; invenitem[item].hits = 1; invenitem[item].hitbonus = 10; invenitem[item].minreflex = 12; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'A standard huge sword for MAW usage.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'metalsword'; item = 'W02MS'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Enhanced Blade'; invenitem[item].price = '950'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'SWORD'; invenitem[item].equip = equip; invenitem[item].mindamage = 16; invenitem[item].maxdamage = 20; invenitem[item].energy = 52; invenitem[item].hits = 1; invenitem[item].hitbonus = 20; invenitem[item].crit = 5; invenitem[item].minreflex = 17; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'A blade forged with a special treated metal.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'enhancedblade'; item = 'W03MS'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Steel Edge'; invenitem[item].price = '1800'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'SWORD'; invenitem[item].equip = equip; invenitem[item].mindamage = 24; invenitem[item].maxdamage = 27; invenitem[item].energy = 62; invenitem[item].hits = 1; invenitem[item].hitbonus = 25; invenitem[item].crit = 6; invenitem[item].minreflex = 22; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'Delivers a powerful crushing blow.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'steeledge'; item = 'W04MS'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Chef\'s Chopper'; invenitem[item].price = '3000'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'SWORD'; invenitem[item].equip = equip; invenitem[item].mindamage = 28; invenitem[item].maxdamage = 30; invenitem[item].energy = 80; invenitem[item].hits = 1; invenitem[item].hitbonus = 25; invenitem[item].crit = 10; invenitem[item].minreflex = 27; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'Chop Chop!!!'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'chopper'; item = 'W01MH'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Stout Hammer'; invenitem[item].price = '50'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'HAMMER'; invenitem[item].equip = equip; invenitem[item].mindamage = 8; invenitem[item].maxdamage = 10; invenitem[item].energy = 40; invenitem[item].hits = 1; invenitem[item].hitbonus = -10; invenitem[item].crit = 4; invenitem[item].minreflex = 5; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 100; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'Smash away with this newbie hammer!'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'hammer1'; item = 'W02MH'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Crusher'; invenitem[item].price = '500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'HAMMER'; invenitem[item].equip = equip; invenitem[item].mindamage = 18; invenitem[item].maxdamage = 20; invenitem[item].energy = 50; invenitem[item].hits = 1; invenitem[item].hitbonus = -5; invenitem[item].crit = 6; invenitem[item].minreflex = 10; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 150; invenitem[item].user = new Array('avenger'); invenitem[item].description = 'A giant hammer that instills fear in its opponent.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'hammer2'; item = 'W01MC'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Gleaming Claws'; invenitem[item].price = '3500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'CLAWS'; invenitem[item].equip = equip; invenitem[item].mindamage = 20; invenitem[item].maxdamage = 23; invenitem[item].energy = 80; invenitem[item].hits = 2; invenitem[item].hitbonus = 10; invenitem[item].crit = 10; invenitem[item].minreflex = 22; invenitem[item].minaccuracy = 20; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 150; invenitem[item].user = new Array('luna', 'avenger'); invenitem[item].description = 'Claws of ice-cold steel that slice metals easily.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'claws1'; equip = 'LIGHTARMS'; item = 'W01LR'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Hunting Rifle'; invenitem[item].price = '400'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'RIFLE'; invenitem[item].equip = equip; invenitem[item].mindamage = 10; invenitem[item].maxdamage = 15; invenitem[item].energy = 35; invenitem[item].hits = 1; invenitem[item].hitbonus = 20; invenitem[item].crit = 10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 12; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'mantra'); invenitem[item].description = 'A hunting rifle made for hunting giant beasts.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'huntingrifle'; item = 'W02LR'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'L25 Silencer'; invenitem[item].price = '2000'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'RIFLE'; invenitem[item].equip = equip; invenitem[item].mindamage = 25; invenitem[item].maxdamage = 30; invenitem[item].energy = 85; invenitem[item].hits = 1; invenitem[item].hitbonus = 30; invenitem[item].crit = 15; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 22; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('luna', 'mantra'); invenitem[item].description = 'A much feared weapon due to its high critical.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'silencer'; item = 'W01LM'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Auto-Assault Gun'; invenitem[item].price = '550'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'MGUN'; invenitem[item].equip = equip; invenitem[item].mindamage = 5; invenitem[item].maxdamage = 7; invenitem[item].energy = 40; invenitem[item].hits = 3; invenitem[item].hitbonus = -10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 9; invenitem[item].mintechnique = 7; invenitem[item].user = new Array('avenger', 'luna', 'stinger'); invenitem[item].description = 'The original multi-shot gun!'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'assaultgun'; item = 'W02LM'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Chain-Repeater'; invenitem[item].price = '1500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'MGUN'; invenitem[item].equip = equip; invenitem[item].mindamage = 6; invenitem[item].maxdamage = 8; invenitem[item].energy = 60; invenitem[item].hits = 5; invenitem[item].hitbonus = -10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 13; invenitem[item].mintechnique = 11; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('avenger', 'luna', 'stinger'); invenitem[item].description = 'Shoots up to 5 rounds at the enemies.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'chainrepeater'; item = 'W03LM'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Y&S Supressor'; invenitem[item].price = '3800'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'MGUN'; invenitem[item].equip = equip; invenitem[item].mindamage = 7; invenitem[item].maxdamage = 9; invenitem[item].energy = 70; invenitem[item].hits = 7; invenitem[item].hitbonus = -10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 17; invenitem[item].mintechnique = 15; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('avenger', 'luna', 'stinger'); invenitem[item].description = 'Rapid firing of up to 7 shots.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'supressor'; item = 'W01LB'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Ruby Beam'; invenitem[item].price = '4500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'BEAM'; invenitem[item].equip = equip; invenitem[item].mindamage = 35; invenitem[item].maxdamage = 40; invenitem[item].energy = 80; invenitem[item].crit = 10; invenitem[item].hits = 1; invenitem[item].hitbonus = 20; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 27; invenitem[item].mintechnique = 0; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('luna', 'mantra'); invenitem[item].description = 'Shoots a focused beam of energy.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'beamgun1'; equip = 'SPECIAL'; item = 'W01SC'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Mini Cannon'; invenitem[item].price = '900'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'CANNON'; invenitem[item].equip = equip; invenitem[item].mindamage = 20; invenitem[item].maxdamage = 23; invenitem[item].energy = 65; invenitem[item].hits = 1; invenitem[item].hitbonus = 10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 7; invenitem[item].mintechnique = 9; invenitem[item].mincapacity = 130; invenitem[item].user = new Array('avenger', 'stinger', 'mantra'); invenitem[item].description = 'Shoots a single powerful shot.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'minicannon'; item = 'W02SC'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Powershots'; invenitem[item].price = '1900'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'CANNON'; invenitem[item].equip = equip; invenitem[item].mindamage = 30; invenitem[item].maxdamage = 32; invenitem[item].energy = 95; invenitem[item].hits = 1; invenitem[item].hitbonus = 15; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 11; invenitem[item].mintechnique = 13; invenitem[item].mincapacity = 150; invenitem[item].user = new Array('avenger', 'stinger', 'mantra'); invenitem[item].description = 'Twin cannon head for double damage.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'powershots'; item = 'W03SC'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'TY Thunder-Shot'; invenitem[item].price = '4000'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'CANNON'; invenitem[item].equip = equip; invenitem[item].mindamage = 40; invenitem[item].maxdamage = 43; invenitem[item].energy = 110; invenitem[item].hits = 1; invenitem[item].hitbonus = 5; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 15; invenitem[item].mintechnique = 17; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('avenger', 'stinger', 'mantra'); invenitem[item].description = 'Blasts a loud and powerful shot.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'thundershot'; item = 'W01SL'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Portable Launcher'; invenitem[item].price = '2500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'LAUNCHER'; invenitem[item].equip = equip; invenitem[item].mindamage = 19; invenitem[item].maxdamage = 23; invenitem[item].energy = 120; invenitem[item].hits = 2; invenitem[item].hitbonus = 0; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 22; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('stinger'); invenitem[item].description = 'Fires twin rockets.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'portablelauncher'; item = 'W02SL'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Rolling Bomber'; invenitem[item].price = '4500'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'LAUNCHER'; invenitem[item].equip = equip; invenitem[item].mindamage = 22; invenitem[item].maxdamage = 24; invenitem[item].energy = 120; invenitem[item].hits = 4; invenitem[item].hitbonus = 5; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 27; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('stinger'); invenitem[item].description = 'Lobs 4 devasting grenades at the enemies.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'rollingbomber'; item = 'W01SR'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Heavy Spike R22'; invenitem[item].price = '4000'; invenitem[item].type = 'WEAPON'; invenitem[item].subtype = 'RAILGUN'; invenitem[item].equip = equip; invenitem[item].mindamage = 30; invenitem[item].maxdamage = 60; invenitem[item].energy = 120; invenitem[item].hits = 1; invenitem[item].hitbonus = 10; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 27; invenitem[item].mincapacity = 200; invenitem[item].user = new Array('stinger'); invenitem[item].description = 'The most basic of railguns. Fires a devastating energy projectile.'; invenitem[item].description += weapdescription(invenitem[item].mindamage, invenitem[item].maxdamage, invenitem[item].hits, invenitem[item].crit, invenitem[item].hitbonus, invenitem[item].energy, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].mincapacity, invenitem[item].user); invenitem[item].image = 'railgun1'; equip = 'ARMOR'; item = 'A01'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Ceramic plating'; invenitem[item].price = '50'; invenitem[item].type = 'ARMOR'; invenitem[item].equip = equip; invenitem[item].defense = 2; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'A basic plating that every rookie needs.'; invenitem[item].description += armordescription(invenitem[item].defense, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].user); invenitem[item].image = 'ceramicplating'; item = 'A02'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Steel plating'; invenitem[item].price = '500'; invenitem[item].type = 'ARMOR'; invenitem[item].equip = equip; invenitem[item].defense = 6; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'An average plating with good protection.'; invenitem[item].description += armordescription(invenitem[item].defense, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].user); invenitem[item].image = 'steelplating'; item = 'A03'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Composite plating'; invenitem[item].price = '1100'; invenitem[item].type = 'ARMOR'; invenitem[item].equip = equip; invenitem[item].defense = 12; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'Specially designed with extra platings.'; invenitem[item].description += armordescription(invenitem[item].defense, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].user); invenitem[item].image = 'compositeplating'; item = 'A04'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Reinforced frame'; invenitem[item].price = '2200'; invenitem[item].type = 'ARMOR'; invenitem[item].equip = equip; invenitem[item].defense = 20; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 15; invenitem[item].user = new Array('stinger', 'avenger'); invenitem[item].description = 'Built for heavy MaWs.'; invenitem[item].description += armordescription(invenitem[item].defense, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].user); invenitem[item].image = 'reinforcedframe'; item = 'A05'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Agility Gear'; invenitem[item].price = '3000'; invenitem[item].type = 'ARMOR'; invenitem[item].equip = equip; invenitem[item].defense = 18; invenitem[item].minreflex = 15; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'mantra'); invenitem[item].description = 'A rare armor made for light MAWs.'; invenitem[item].description += armordescription(invenitem[item].defense, invenitem[item].minreflex, invenitem[item].minaccuracy, invenitem[item].mintechnique, invenitem[item].user); invenitem[item].image = 'agilitygear'; equip = 'MODULE'; item = 'M001'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Self-fix Chip'; invenitem[item].price = '3000'; invenitem[item].type = 'MODULE'; invenitem[item].equip = 'MODULE'; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'Allows MAWs to fix themselves.'; invenitem[item].skill = 'selffix'; invenitem[item].parameters = '30:20'; invenitem[item].image = 'repairchip'; item = 'M002'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Combat Scanner'; invenitem[item].price = '1000'; invenitem[item].type = 'MODULE'; invenitem[item].equip = 'MODULE'; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'Enables reading of enemies status.'; invenitem[item].skill = 'scan'; invenitem[item].parameters = '0:0'; invenitem[item].image = 'scanner'; item = 'M003'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Repair Drone'; invenitem[item].price = '5000'; invenitem[item].type = 'MODULE'; invenitem[item].equip = 'MODULE'; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('stinger', 'luna', 'avenger', 'mantra'); invenitem[item].description = 'Allows fixing of other MAWs.'; invenitem[item].skill = 'repair'; invenitem[item].parameters = '50:30'; invenitem[item].image = 'repairdrone'; equip = 'GENERATOR'; item = 'G001'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Steam Generator'; invenitem[item].price = '500'; invenitem[item].type = 'GENERATOR'; invenitem[item].equip = equip; invenitem[item].capacity = 30; invenitem[item].addenergy = 1.5; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'avenger', 'stinger', 'mantra'); invenitem[item].description = 'The earliest and weakest generator model. \n'; invenitem[item].description += generatordescription(invenitem[item].capacity, invenitem[item].addenergy, invenitem[item].user); invenitem[item].image = 'steamgenerator'; item = 'G002'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Dynamo'; invenitem[item].price = '1100'; invenitem[item].type = 'GENERATOR'; invenitem[item].equip = equip; invenitem[item].capacity = 100; invenitem[item].addenergy = 3.5; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'avenger', 'stinger', 'mantra'); invenitem[item].description = 'An enhanced kinetic generator. \n'; invenitem[item].description += generatordescription(invenitem[item].capacity, invenitem[item].addenergy, invenitem[item].user); invenitem[item].image = 'dynamo'; item = 'G003'; invenitem[item] = new Array(); invenitem[item].id = item; invenitem[item].name = 'Induction Engine'; invenitem[item].price = '2000'; invenitem[item].type = 'GENERATOR'; invenitem[item].equip = equip; invenitem[item].capacity = 80; invenitem[item].addenergy = 4.5; invenitem[item].minreflex = 0; invenitem[item].minaccuracy = 0; invenitem[item].mintechnique = 0; invenitem[item].user = new Array('luna', 'avenger', 'stinger', 'mantra'); invenitem[item].description = 'A reasonably good generator with high output.\n'; invenitem[item].description += generatordescription(invenitem[item].capacity, invenitem[item].addenergy, invenitem[item].user); invenitem[item].image = 'inductionengine'; mawslist = new Object(); mawslist.luna = {'name': 'Luna', 'energy': 3.5, 'defense': 3, 'hp': 120, 'capacity': 100}; mawslist.stinger = {'name': 'Stinger', 'energy': 2.5, 'defense': 7, 'hp': 180, 'capacity': 100}; mawslist.avenger = {'name': 'Avenger', 'energy': 3, 'defense': 5, 'hp': 150, 'capacity': 100}; mawslist.mantra = {'name': 'Mantra87', 'energy': 3, 'defense': 4, 'hp': 130, 'capacity': 100}; super_A001_1 = {'sname': 'MEGA-STRIKE', 'botid': 'avenger'}; super_A001_2 = {'sname': 'BLITZ-RUSH', 'botid': 'avenger'}; super_A002_1 = {'sname': 'MEGA-BLAST', 'botid': 'stinger'}; super_A002_2 = {'sname': 'PYRO-BURST', 'botid': 'stinger'}; super_A003_1 = {'sname': 'MULTI-FIX', 'botid': 'luna'}; super_A003_2 = {'sname': 'FOCUS-SHOT', 'botid': 'luna'}; super_A004_1 = {'sname': 'MEGA-SHOCK', 'botid': 'mantra'}; super_A004_2 = {'sname': 'HUR.-FISTS', 'botid': 'mantra'}; xpArray = new Array(50, 155, 320, 550, 850, 1250, 1850, 2750, 4000, 5600, 7600, 10200, 13500, 17500, 22300, 27900, 34400, 41800, 50100, 59500, 70000, 81600, 94400, 108400, 123600, 140100, 158000, 177500, 198700, 222000, 247800, 276300, 307800, 342500, 380700, 422700, 468700, 519200, 574700, 635700, 702700, 776200, 856700, 944700, 1040700, 1145200, 1258700, 1381700, 1514700, 1658700, 1814700, 1983700, 2166700, 2364700, 2578700, 2809700, 3058700, 3326700, 3614700, 3924700, 4258700, 4618700, 5006700, 5424700, 5874700, 6358700, 6878700, 7436700, 8034700, 8677700, 9370700, 10118700, 10926700, 11799700, 12742700, 13760700, 14858700, 16041700, 17314700, 18687700, 20170700, 21773700, 23506700, 25379700, 27402700, 29585700, 31938700, 34471700, 37194700, 40117700, 43260700, 46643700, 50286700, 54209700, 58432700, 62975700, 67858700, 73101700, 78724700); TIME_MORNING = 7; TIME_AFTERNOON = 12; TIME_NIGHT = 18; MAX_INVENTORY_SPACE = 48; MODE = 'PREMIUM2'; rankArray = new Array({'fame': 0, 'title': 'Unranked'}, {'fame': 50, 'title': 'Novice E Class'}, {'fame': 100, 'title': 'Novice D Class'}, {'fame': 200, 'title': 'Novice C Class'}, {'fame': 300, 'title': 'Novice B Class'}, {'fame': 400, 'title': 'Novice A Class'}, {'fame': 500, 'title': 'Advanced E Class'}, {'fame': 1000, 'title': 'Advanced D Class'}, {'fame': 2000, 'title': 'Advanced C Class'}, {'fame': 3000, 'title': 'Advanced B Class'}, {'fame': 4000, 'title': 'Advanced A Class'}, {'fame': 5000, 'title': 'Specialist E Class'}, {'fame': 10000, 'title': 'Specialist D Class'}, {'fame': 20000, 'title': 'Specialist C Class'}, {'fame': 30000, 'title': 'Specialist B Class'}, {'fame': 40000, 'title': 'Specialist A Class'}, {'fame': 50000, 'title': 'Elite E Class'}, {'fame': 100000, 'title': 'Elite D Class'}, {'fame': 200000, 'title': 'Elite C Class'}, {'fame': 300000, 'title': 'Elite B Class'}, {'fame': 400000, 'title': 'Elite A Class'}, {'fame': 500000, 'title': 'Ace E Class'}, {'fame': 1000000, 'title': 'Ace D Class'}, {'fame': 2000000, 'title': 'Ace C Class'}, {'fame': 5000000, 'title': 'Ace B Class'}, {'fame': 7000000, 'title': 'Ace A Class'}, {'fame': 10000000, 'title': 'Ace S Class'}, {'fame': 100000000, 'title': 'Legendary Pilot'}); getQuests(); } frame 33 { function map0(area) { encounterRate = 10; mSet = 'intro_3'; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Tikila Grotto'; areaTerrain = 'cave'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaOverlay = 'cave'; chestCredits = 5; mapLocation = 0; areaLocation = area; changeSurroundBlank(1, 1); environment = 'seacave'; var v7 = ''; var v6 = ''; var v4 = ''; var v5 = ''; switch (area) { case 1: var v2 = '0`7`s1||0`9`fungus||0`10`fungus||0`11`fungus||1`11`fungus||1`12`fungus||1`13`fungus||1`15`fungus||2`16`fungus||3`12`s1||3`16`fungus||4`16`fungus||5`16`fungus||5`17`fungus||5`18`fungus||6`17`fungus||6`18`fungus||8`14`cart||8`18`fungus||9`18`fungus||10`16`s1||10`18`fungus||11`16`s1||11`19`fungus||12`19`fungus||13`19`fungus||14`19`fungus||15`18`fungus||15`19`fungus||16`12`s1||16`17`fungus||17`16`fungus||17`17`fungus||18`15`fungus||18`16`fungus||19`11`fungus||19`12`fungus||19`15`fungus'; makeObjectsArray(v2); if (quest_26.prog == 1 && _global.option == 'newgame') { makeObject(11, 7, 'calisto_1'); } standardPathway('up', 2); break; case 2: var v2 = '2`1`fungus||2`2`fungus||2`3`fungus||2`4`fungus||2`5`fungus||2`6`fungus||2`7`fungus||2`8`fungus||2`10`fungus||2`11`fungus||2`12`fungus||2`13`fungus||2`14`fungus||2`15`fungus||2`16`fungus||2`17`fungus||2`18`fungus||2`19`fungus||3`8`fungus||3`9`fungus||3`10`fungus||3`19`fungus||4`1`s1||4`2`s1||4`17`s1||5`9`fungus||5`10`s1||6`9`s1||12`3`fungus||12`4`fungus||13`2`fungus||13`3`fungus||14`0`fungus||14`1`fungus||15`0`fungus||15`1`fungus||15`3`s1||15`20`fungus||16`1`fungus||16`3`fungus||16`19`fungus||16`20`fungus||17`2`fungus||17`18`fungus||17`19`fungus||18`3`fungus||18`4`fungus||18`17`fungus||18`18`fungus||19`4`fungus||19`5`fungus||19`14`fungus||19`15`s1||19`17`fungus||20`5`fungus||20`6`fungus||20`17`fungus||21`5`fungus||21`6`fungus||21`16`fungus||21`17`fungus'; makeObjectsArray(v2); standardPathway('up', 5); standardPathway('right', 3); standardPathway('down', 1); break; case 3: var v2 = '0`6`fungus||0`18`fungus||1`6`fungus||1`18`fungus||2`5`fungus||2`7`s1||2`18`fungus||3`4`fungus||3`5`fungus||3`18`fungus||4`4`fungus||4`18`fungus||5`4`fungus||5`18`fungus||6`4`fungus||6`15`fungus||6`17`fungus||6`18`fungus||7`3`fungus||7`4`fungus||7`15`s1||7`17`fungus||8`0`fungus||8`1`fungus||8`2`fungus||8`3`fungus||8`4`grass||8`10`grass||8`11`grass||8`17`fungus||9`10`grass||9`11`Boulder||9`12`grass||9`16`fungus||9`17`fungus||10`10`grass||10`11`grass||10`12`grass||10`16`fungus||11`10`grass||11`11`Boulder||11`12`grass||11`16`fungus||12`11`grass||12`12`grass||12`16`fungus||13`16`fungus||14`11`s1||14`14`fungus||14`15`fungus||14`16`fungus||15`14`fungus||16`13`fungus||16`14`fungus||17`12`fungus||17`13`fungus||18`9`fungus||18`10`fungus||18`11`fungus||18`12`fungus||19`0`fungus||19`1`fungus||19`2`fungus||19`3`fungus||19`4`fungus||19`5`fungus||19`6`fungus||19`7`fungus||19`8`fungus||19`9`fungus'; makeObjectsArray(v2); standardPathway('up', 4); standardPathway('left', 2); break; case 4: var v2 = '1`7`fungus||1`8`fungus||1`9`fungus||1`10`fungus||1`11`fungus||1`13`fungus||1`14`fungus||1`15`fungus||1`16`fungus||1`17`fungus||1`18`fungus||1`19`fungus||2`6`fungus||2`7`fungus||2`11`fungus||2`12`fungus||2`13`fungus||2`19`fungus||3`6`fungus||4`5`fungus||4`6`fungus||4`8`s1||4`9`Boulder||5`3`fungus||5`4`fungus||5`5`fungus||5`8`Boulder||5`9`Boulder||6`0`fungus||6`1`fungus||6`2`fungus||6`3`fungus||6`17`fungus||7`0`fungus||7`1`fungus||8`0`fungus||9`0`fungus||9`1`fungus||9`4`s1||10`1`fungus||11`1`fungus||11`7`chest$f`ITEMS$I001R$44||12`1`fungus||13`1`fungus||13`2`fungus||14`2`fungus||15`2`fungus||16`2`fungus||17`2`fungus||17`4`s1||17`5`s1||17`6`Boulder||18`2`fungus||18`5`Boulder||19`2`fungus||20`2`fungus||20`3`fungus||20`8`fungus||20`9`fungus||20`10`fungus||20`11`fungus||20`19`fungus||20`20`fungus||20`21`fungus||21`3`fungus||21`4`fungus||21`5`fungus||21`6`fungus||21`7`fungus||21`10`fungus||21`11`fungus||21`12`fungus||21`13`fungus||21`14`fungus||21`15`fungus||21`16`fungus||21`17`fungus||21`18`fungus||21`21`fungus'; makeObjectsArray(v2); standardPathway('down', 3); break; case 5: var v2 = '2`2`fungus||2`3`fungus||2`16`fungus||2`17`fungus||3`1`s1||3`4`fungus||3`15`fungus||3`16`fungus||4`4`fungus||4`14`fungus||5`4`fungus||5`14`fungus||5`17`s1||6`4`fungus||6`13`fungus||6`14`fungus||6`16`Boulder||6`17`s1||7`4`fungus||7`13`fungus||8`4`fungus||8`13`fungus||9`4`fungus||9`5`fungus||9`12`fungus||9`13`fungus||9`15`s1||10`5`fungus||10`6`fungus||10`12`fungus||10`15`Boulder||11`3`fungus||11`4`s1||11`6`fungus||11`7`fungus||11`8`fungus||11`9`fungus||11`10`fungus||11`11`fungus||11`12`fungus||18`17`s1||19`5`fungus||19`6`fungus||19`7`fungus||19`8`fungus||19`9`fungus||19`17`fungus||19`18`fungus||20`1`fungus||20`2`fungus||20`3`fungus||20`4`fungus||20`9`fungus||20`10`fungus||20`11`fungus||20`12`fungus||20`13`fungus||20`14`fungus||20`15`fungus||20`16`fungus||20`19`fungus||20`20`fungus||20`21`fungus'; makeObjectsArray(v2); standardPathway('up', 6); standardPathway('down', 2); break; case 6: var v2 = '0`10`fungus||0`11`fungus||0`12`fungus||0`13`fungus||1`1`fungus||1`2`fungus||1`3`fungus||1`4`fungus||1`5`fungus||1`6`fungus||1`8`fungus||1`9`fungus||1`10`fungus||1`13`fungus||1`14`fungus||1`15`fungus||1`16`fungus||1`17`fungus||1`18`fungus||2`6`fungus||2`7`fungus||2`8`fungus||2`18`fungus||6`16`grass||6`17`fungus||6`18`grass||7`16`grass||7`17`grass||7`18`grass||8`7`sign`Tikila Grotto||12`10`s1||12`11`grass||13`10`s1||13`11`s1||13`12`grass||14`11`grass||17`3`fungus||20`9`fungus||20`10`fungus||20`11`fungus||20`12`fungus||20`13`fungus||20`14`fungus||20`15`fungus||21`2`fungus||21`3`fungus||21`4`fungus||21`5`fungus||21`6`fungus||21`7`fungus||21`8`fungus||21`9`fungus||21`16`fungus||21`17`fungus||21`18`fungus||21`19`fungus||21`20`fungus||21`21`fungus'; makeObjectsArray(v2); if (quest_26.prog != 99) { var v3 = '0`1||1`1||2`1||3`1||4`1||5`1||6`1||7`1||8`1||9`1||10`1||11`1||12`1||13`1||14`1||15`1||16`1||17`1||18`1||19`1||20`1'; makeTilesArray(v3); makeChatTilesArray(v3, 'calisto_0g', 'talk'); } standardPathway('up', -1, 1); standardPathway('down', 5); } bgGraphics(areaTerrain, v7, v6, v4, v5, areaOverlay); bgMusic(areaMusic); } } frame 33 { function map1(area) { encounterRate = 0; areaCharType = 'pilot'; clearWorld('Blank'); areaName = 'Tikila Village'; music_tracks = new Array('town', 'town', 'town'); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { areaMusic = 'town'; } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { areaMusic = 'town'; } else { areaMusic = 'town'; } } areaTerrain = 'towngrass'; mapLocation = 1; areaLocation = area; bgMusic(areaMusic); changeSurroundBlank(1, 1); environment = 'outdoor'; switch (area) { case 1: if (hh >= TIME_MORNING && hh < TIME_NIGHT) { generateNewChar('clare', 165, -345, 'npc', 'standing', 'Clare'); } var v2 = '2`1`p2||3`1`Boulder||4`19`Boulder||6`6`chair||7`21`p2||8`9`Boulder||9`19`sign`To: Great Tiki Jungle\nDanger ahead!||11`5`sign$f`Closed at night||13`17`chair'; makeObjectsArray(v2); var v1 = '5`8`track||5`16`track||6`8`track||6`16`track||7`8`track||7`16`track||8`8`track||8`16`track||9`6`track||9`8`track||9`11`track||9`12`track||9`16`track||9`18`track||9`19`track||10`6`track||10`7`track||10`8`track||10`9`track||10`10`track||10`11`track||10`12`track||10`13`track||10`14`track||10`16`track||10`17`track||10`18`track||10`19`track||10`20`track||11`10`track||11`11`track||11`14`track||11`15`track||11`16`track||11`17`track||11`19`track||11`20`track||12`10`track||12`11`track||13`10`track||13`11`track||14`11`track||15`11`track||15`12`track||16`11`track||16`12`track||17`10`track||17`11`track||18`10`track||19`10`track||19`11`track||20`10`track||20`11`track'; makeTilesArray(v1); makeLargeObject(1, 4, 7, 4, 'inn', 'l'); makePathway(5, 8, 'Doorway', 'inn'); makeLargeObject(1, 4, 15, 5, 'ronGarage', 'l'); makePathway(5, 16, 'Doorway', 'ronGarage'); makeLargeObject(10, 5, 4, 3, 'clothesShop', 'r'); if (hh >= TIME_MORNING && hh < TIME_NIGHT) { makePathway(9, 5, 'Doorway', 'clothesShop'); } makeLargeObject(17, 2, 17, 2, 'fountain', 'l'); if (quest_8.prog == 1 && quest_17.prog != 99) { makeObject(9, 20, 'Blank'); makeObject(9, 21, 'Blank'); makeObject(11, 20, 'Blank'); makeObject(12, 20, 'Blank'); makeObject(12, 21, 'Blank'); makeObject(10, 20, 'talk', 'lucille>lucille_0'); } makeObject(5, 6, 'Blank'); standardPathway('down', -1, 2); standardPathway('right', 2); bgGraphics(areaTerrain, 'sea', 'town', 'sea1', 'town_exit'); break; case 2: if (!(hh >= TIME_MORNING && hh < TIME_NIGHT)) { generateNewChar('zocra', 280, -340, 'npc', 'moving', 'Captain Zocra'); } var v2 = '2`6`chair||4`17`Boulder||5`15`p2||5`16`p2||5`17`p2||5`18`p2||5`19`p2||6`15`p2||6`16`p2||6`17`p2||6`18`p2||6`19`p2||7`15`p2||7`16`p2||7`17`p2||7`18`p2||7`19`p2||8`15`p2||8`16`p2||8`17`p2||8`18`p2||8`19`p2||9`15`p2||9`16`p2||9`17`p2||9`18`p2||9`19`p2||12`15`p2||12`16`p2||12`17`p2||12`18`p2||12`19`p2||13`15`p2||13`16`p2||13`17`p2||13`18`p2||13`19`p2||14`15`p2||14`16`p2||14`17`p2||14`18`p2||14`19`p2||15`15`p2||15`16`p2||15`17`p2||15`18`p2||15`19`p2||16`15`p2||16`16`p2||16`17`p2||16`18`p2||16`19`p2||20`8`Boulder'; makeObjectsArray(v2); var v1 = '1`10`track||1`11`track||2`10`track||2`11`track||3`10`track||3`11`track||4`5`track||4`6`track||4`7`track||4`9`track||4`10`track||4`11`track||5`7`track||5`8`track||5`9`track||5`10`track||5`11`track||6`10`track||6`11`track||7`10`track||7`11`track||8`10`track||8`11`track||9`5`track||9`6`track||9`8`track||9`9`track||9`10`track||9`11`track||10`6`track||10`7`track||10`8`track||10`9`track||10`10`track||10`11`track||11`10`track||11`11`track||12`10`track||12`11`track||13`7`track||13`8`track||13`9`track||13`10`track||13`11`track||14`5`track||14`6`track||14`7`track||14`8`track||14`9`track||14`10`track||15`6`track'; makeTilesArray(v1); makeLargeObject(5, 4, 4, 3, 'house01', 'r'); makeLargeObject(10, 4, 4, 3, 'house01', 'r'); makeLargeObject(15, 4, 4, 3, 'house01', 'r'); makePathway(9, 5, 'Doorway', 'house01'); standardPathway('left', 1); bgGraphics(areaTerrain, 'town11', 'wall', 'sea2', 'wall'); } } } frame 33 { function map2(area) { if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 10; } else { encounterRate = 20; } if (area == 206 || area == 207) { areaCharType = 'pilot'; } else { areaCharType = 'maw'; } clearWorld('Blank'); areaName = 'Great Tiki Jungle'; areaTerrain = 'jungle'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { areaMusic = 'jungle'; } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { areaMusic = 'jungle'; } else { areaMusic = 'jungle_night'; } } mapLocation = 2; areaLocation = area; changeSurroundBlank(1, 1); chestCredits = 5; bgMusic(areaMusic); environment = 'outdoor'; switch (area) { case 1: mSet = 'jungle_1'; var v2 = '1`20`Tree||2`18`Boulder||3`3`grass||3`4`grass||3`16`grass||3`17`grass||3`18`grass||4`8`Boulder||4`19`p1||5`12`Tree||7`5`grass||7`12`sign`N - Tikila Village\nNE - Scrapyard\nE - Endless Gorge\nNW - Azure Cove\nW - Lazlo Mines||7`14`Boulder||7`15`Boulder||8`2`sign`To Tikila Village.||18`8`p1||18`18`grass||18`19`grass||19`5`grass||19`13`Boulder||19`15`Tree'; makeObjectsArray(v2); standardPathway('up', -1, 1); standardPathway('down', 2); bgGraphics(areaTerrain, 'jungle', '', '', '', areaTerrain); break; case 2: mSet = 'jungle_1'; var v2 = '1`1`p1||1`2`Boulder||1`6`Boulder||1`8`Boulder||1`15`Tree||1`20`Boulder||2`4`Tree||2`7`Boulder||2`10`Boulder||2`12`p1||2`14`Boulder||2`20`Boulder||3`9`Tree||3`17`Boulder||3`19`p1||4`1`Boulder||4`6`p1||5`1`Boulder||5`15`Boulder||5`16`Boulder||5`19`Boulder||5`20`Boulder||6`13`grass||6`20`Boulder||9`16`Boulder||9`19`Boulder||13`17`Boulder||14`3`Tree||14`15`grass||14`16`grass||14`20`p1||15`1`p1||15`15`grass||16`19`Boulder||18`2`Boulder||19`7`p1||19`17`Boulder||20`17`Boulder||20`20`Boulder'; makeObjectsArray(v2); standardPathway('up', 1); standardPathway('right', 3); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 3: mSet = 'jungle_1'; var v2 = '1`3`grass||1`20`p1||2`1`p1||2`3`grass||2`17`Boulder||3`1`p1||3`3`grass||3`4`grass||3`12`grass||4`3`grass||4`12`grass||5`12`grass||5`18`Tree||5`20`Boulder||6`12`grass||6`13`grass||6`15`p1||7`3`p1||7`13`grass||7`15`grass||7`16`grass||7`17`grass||8`13`grass||9`3`grass||9`19`sign`To deep jungle regions.\nDangerous creatures ahead!||10`3`grass||12`4`Boulder||13`1`p1||14`15`grass||14`18`grass||15`14`grass||15`15`grass||15`17`grass||15`18`grass||16`15`grass||17`15`grass||18`3`p1||18`8`sign$f`To scrapyard.||18`13`Boulder||18`14`Boulder||19`2`Boulder||19`19`p1'; makeObjectsArray(v2); standardPathway('down', 5); standardPathway('left', 2); standardPathway('right', -1, 3); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 4: chestCredits = 10; mSet = 'jungle_2'; var v2 = '1`9`grass||1`10`grass||1`12`grass||1`16`Tree||2`4`Boulder||3`7`grass||3`9`p1||3`19`p1||4`2`grass||4`3`Tree||4`13`Tree||4`17`Boulder||4`18`grass||4`19`grass||5`6`p1||5`8`grass||5`12`grass||5`13`grass||7`3`p1||7`6`Boulder||9`3`Boulder||12`3`p1||12`16`grass||12`17`grass||12`18`p1||13`1`Boulder||13`18`grass||13`20`grass||14`16`Boulder||15`3`grass||15`4`grass||15`14`grass||16`14`grass||17`1`Tree||17`15`grass||17`16`grass||18`4`p1||18`19`p1||19`14`grass||20`8`Boulder||20`18`Tree'; makeObjectsArray(v2); standardPathway('right', 5); standardPathway('down', 9); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 5: chestCredits = 10; mSet = 'jungle_2'; var v2 = '1`2`Tree||2`1`p1||2`8`Tree||2`17`Tree||2`20`p1||3`3`Boulder||3`5`p1||3`15`p1||4`6`grass||5`3`p1||5`6`grass||5`7`grass||6`2`Tree||6`4`grass||6`5`grass||6`6`grass||6`14`grass||6`19`Boulder||7`14`grass||8`14`grass||8`15`grass||8`18`p1||9`14`grass||9`15`grass||10`14`grass||10`15`grass||10`18`grass||11`15`grass||11`18`grass||12`16`Boulder||14`1`Tree||14`7`grass||14`15`grass||15`6`grass||18`2`Tree||18`3`p1||18`6`p1||18`19`p1||19`15`p1||19`17`grass||20`5`p1||20`17`Tree'; makeObjectsArray(v2); standardPathway('up', 3); standardPathway('right', 6); standardPathway('left', 4); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 6: chestCredits = 2; mSet = 'jungle_2'; var v2 = '1`16`Tree||3`3`Boulder||3`5`Tree||5`1`p1||5`20`p1||7`17`Boulder||7`19`p1||8`2`p1||9`16`grass||11`3`grass||11`5`grass||11`6`grass||11`15`p1||11`20`grass||12`3`grass||12`14`grass||13`2`grass||13`3`grass||13`10`grass||13`19`grass||14`1`grass||14`2`grass||14`3`grass||14`4`grass||14`18`grass||14`19`grass||14`20`grass||15`1`grass||15`2`grass||15`17`grass||15`18`grass||15`19`grass||16`2`grass||16`3`grass||16`5`grass||16`6`grass||16`14`grass||16`15`grass||16`16`Boulder||16`17`grass||16`18`grass||16`19`grass||16`20`grass||17`1`grass||17`2`grass||17`3`grass||17`4`grass||17`5`grass||17`7`grass||17`8`grass||17`9`grass||17`10`grass||17`11`grass||17`13`grass||17`14`grass||17`16`grass||17`17`grass||17`19`grass||18`1`grass||18`3`grass||18`4`grass||18`5`grass||18`6`grass||18`7`grass||18`8`grass||18`9`grass||18`10`grass||18`12`Boulder||18`13`grass||18`14`grass||18`16`grass||18`17`grass||18`18`grass||18`19`grass||19`1`Boulder||19`2`grass||19`3`grass||19`4`grass||19`5`grass||19`6`grass||19`7`Boulder||19`8`grass||19`9`grass||19`10`grass||19`11`grass||19`12`grass||19`13`grass||19`14`grass||19`15`grass||19`16`grass||19`18`grass||19`19`grass||19`20`grass||20`3`grass||20`5`grass||20`6`grass||20`7`grass||20`9`grass||20`11`grass||20`12`grass||20`13`grass||20`14`Boulder||20`16`grass||20`17`grass||20`19`grass'; makeObjectsArray(v2); standardPathway('left', 5); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 7: mSet = 'jungle_3'; var v2 = '1`15`grass||1`16`grass||1`17`grass||2`8`sign`To Azure Cove.||2`12`grass||2`15`grass||2`17`grass||2`18`grass||3`2`grass||3`4`grass||3`5`grass||3`15`grass||4`11`grass||5`11`grass||5`12`grass||5`15`grass||6`5`grass||6`6`grass||6`15`grass||7`2`grass||7`5`grass||8`1`p1||8`2`grass||8`15`grass||9`3`Boulder||9`17`grass||10`14`p1||10`15`grass||10`17`grass||11`2`grass||11`15`grass||11`17`grass||11`20`p1||12`15`grass||12`16`grass||12`19`Boulder||13`16`grass||14`17`grass||15`5`p1||15`16`grass||15`17`grass||17`3`Tree||18`2`p1||19`17`p1||20`5`Boulder'; makeObjectsArray(v2); standardPathway('left', -1, 4); standardPathway('right', 8); bgGraphics(areaTerrain, 'beach', '', 'mountain', '', areaTerrain); break; case 8: mSet = 'jungle_3'; var v2 = '1`19`p1||2`5`p1||2`6`grass||2`16`Boulder||3`3`Tree||3`6`grass||3`16`Boulder||4`6`grass||4`19`Tree||5`2`p1||5`5`p1||5`6`grass||5`7`grass||5`14`grass||6`7`grass||6`14`grass||6`20`grass||7`3`grass||7`5`Boulder||7`7`grass||7`14`grass||7`18`p1||7`20`grass||8`1`p1||8`3`grass||8`14`grass||8`20`grass||9`3`grass||9`15`grass||10`15`grass||10`19`p1||12`2`Tree||12`6`p1||12`7`grass||13`7`grass||13`19`Tree||14`7`grass||15`3`p1||15`5`grass||15`17`p1||16`5`grass||17`3`Tree||17`5`grass||17`19`grass||18`5`grass||18`7`grass||18`16`Tree||18`19`grass||19`7`grass||19`18`p1||20`4`p1||20`14`Boulder'; makeObjectsArray(v2); standardPathway('right', 9); standardPathway('left', 7); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 9: mSet = 'jungle_3'; var v2 = '1`1`Tree||1`5`Boulder||1`19`p1||3`3`p1||3`5`grass||4`16`p1||4`18`grass||4`19`grass||6`3`Boulder||6`16`Tree||6`19`Boulder||13`11`Tree||13`19`Boulder||14`7`p1||15`3`Tree||15`16`p1||16`9`grass||16`15`grass||16`18`grass||18`2`p1||18`14`p1||19`4`grass||19`6`p1||20`11`p1||20`19`p1'; makeObjectsArray(v2); standardPathway('up', 4); standardPathway('down', 10); standardPathway('left', 8); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 10: mSet = 'jungle_4'; var v2 = '2`7`p1||2`14`grass||2`16`p1||3`4`grass||3`7`p1||3`10`Boulder||3`15`Tree||4`6`Tree||4`13`p1||4`19`p1||5`1`Tree||5`9`grass||5`12`Tree||5`16`grass||7`6`p1||8`18`Boulder||13`6`repairstation||15`8`grass||15`17`p1||16`5`grass||16`6`grass||17`8`Boulder||17`9`grass||18`1`Tree||18`4`grass||18`9`grass||18`14`grass||18`15`grass||19`8`p1||19`9`grass||19`14`grass||19`17`Tree||19`19`grass||20`14`grass'; makeObjectsArray(v2); makePathway(13, 7, 'Doorway', 'repairstation'); standardPathway('up', 9); standardPathway('down', 13); standardPathway('right', 201); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 13: mSet = 'jungle_4'; var v2 = '3`10`p1||3`17`p1||4`2`Tree||4`5`p1||4`7`p1||4`10`p1||4`16`p1||4`19`p1||5`4`grass||5`10`Boulder||5`14`p1||6`9`grass||6`15`grass||6`18`Boulder||14`19`grass||15`13`grass||16`8`grass||17`3`grass||17`7`Boulder||17`8`Boulder||17`19`p1||18`6`p1||18`8`Boulder||18`13`p1||18`15`Boulder||19`2`p1||19`3`p1||19`4`Boulder||19`18`p1'; makeObjectsArray(v2); standardPathway('up', 10); standardPathway('down', 19); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 16: mSet = 'jungle_4'; var v2 = '2`6`grass||2`7`grass||2`8`grass||2`9`grass||2`10`grass||2`11`Boulder||2`15`grass||2`16`grass||3`11`Boulder||4`7`grass||4`9`Tree||4`15`p1||5`4`p1||5`5`Boulder||5`6`grass||5`18`Boulder||5`19`grass||7`4`grass||8`3`grass||8`4`grass||13`6`Boulder||14`6`p1||14`19`grass||14`20`grass||15`4`grass||15`18`p1||16`4`grass||16`16`grass||17`15`grass||17`16`grass||19`4`grass||19`6`p1||19`14`grass'; makeObjectsArray(v2); standardPathway('down', 21); standardPathway('right', 17); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 17: mSet = 'jungle_4'; var v2 = '1`7`grass||2`6`grass||2`7`grass||2`18`p1||3`5`grass||3`6`Boulder||3`7`Boulder||3`17`Boulder||4`3`Boulder||4`4`Boulder||4`5`grass||4`17`grass||5`3`grass||5`7`p1||5`17`Boulder||6`3`grass||6`5`p1||6`17`grass||7`19`grass||8`3`Boulder||8`16`p1||8`19`grass||9`4`grass||10`4`Boulder||10`17`Boulder||10`18`Boulder||11`17`Boulder||12`6`p1||13`4`grass||13`18`grass||14`6`Boulder||14`18`grass||15`4`grass||15`5`grass||15`6`Boulder||15`17`Boulder||15`18`Boulder||15`19`p1||16`5`Boulder||16`17`grass||16`18`grass||17`4`grass||17`6`p1||17`17`grass||17`18`Boulder||18`3`Boulder||18`4`Boulder||19`6`grass||19`16`grass||19`17`Boulder||19`18`p1||20`15`grass||20`16`Boulder'; makeObjectsArray(v2); standardPathway('right', 18); standardPathway('left', 16); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 18: mSet = 'jungle_4'; var v2 = '2`4`grass||2`5`grass||2`6`grass||3`3`grass||3`4`grass||3`14`grass||4`4`Boulder||4`6`Tree||4`14`grass||4`17`Boulder||4`20`p1||5`3`grass||5`14`grass||5`15`grass||6`3`grass||7`3`grass||7`5`p1||7`18`grass||11`5`grass||12`5`grass||13`2`Boulder||15`17`grass||15`18`grass||16`5`grass||16`14`grass||16`15`grass||17`14`grass||18`3`Tree||18`4`grass||18`14`grass||18`16`Boulder||19`16`p1||20`14`grass||21`14`grass'; makeObjectsArray(v2); standardPathway('right', 19); standardPathway('down', 22); standardPathway('left', 17); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 19: mSet = 'jungle_4'; var v2 = '1`5`grass||1`6`grass||2`2`p1||2`6`Boulder||3`6`Boulder||3`15`grass||3`19`p1||4`15`grass||4`16`grass||5`4`Tree||5`7`grass||5`16`grass||5`17`grass||6`8`grass||6`17`Boulder||7`1`grass||7`2`grass||7`17`Boulder||8`2`grass||8`4`Boulder||8`5`Boulder||8`7`grass||9`7`grass||9`18`grass||11`19`Boulder||12`19`Boulder||13`18`Boulder||16`3`grass||16`4`grass||16`18`grass||17`4`grass||17`5`grass||17`6`Boulder||17`7`Boulder||17`18`grass||17`20`p1||18`10`grass||18`12`Boulder||18`15`grass||18`16`grass||19`3`p1||19`8`p1'; makeObjectsArray(v2); standardPathway('up', 13); standardPathway('left', 18); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 20: mSet = 'jungle_4'; var v2 = '2`5`Boulder||2`9`sign`To Lazlo Mine.\nExtremely Dangerous!!||4`17`grass||4`18`grass||5`5`grass||5`18`grass||6`5`grass||9`14`grass||13`18`Boulder||18`5`p1||19`18`p1'; makeObjectsArray(v2); standardPathway('right', 21); standardPathway('left', -1, 11); bgGraphics(areaTerrain, 'jungle', '', 'mountain', 'beach', areaTerrain); break; case 21: mSet = 'jungle_4'; var v2 = '2`7`grass||3`2`p1||3`6`grass||3`7`grass||3`18`p1||4`5`Boulder||4`21`grass||5`21`grass||6`4`grass||7`1`grass||7`2`grass||7`18`Tree||8`1`grass||9`19`grass||11`18`grass||13`18`grass||14`18`grass||15`17`Boulder||16`9`p1||16`16`grass||17`15`grass||18`13`grass||18`16`grass||19`3`Tree||19`11`grass||19`12`grass||19`13`grass||19`16`grass||20`7`grass||20`8`grass'; makeObjectsArray(v2); standardPathway('up', 16); standardPathway('left', 20); bgGraphics(areaTerrain, 'jungle', '', 'jungle', 'beach', areaTerrain); break; case 22: mSet = 'jungle_4'; var v2 = '2`5`grass||2`6`grass||2`7`grass||4`3`grass||4`16`grass||4`17`grass||5`2`p1||5`7`Boulder||6`11`grass||6`12`grass||7`11`grass||7`17`Boulder||9`18`sign`To Hunters\' Lodge\n||14`5`p1||15`12`Boulder||17`3`grass||17`16`grass||17`17`grass||18`6`grass||18`7`grass||18`11`grass||19`3`grass||20`3`grass'; makeObjectsArray(v2); standardPathway('up', 18); standardPathway('down', -1, 5); bgGraphics(areaTerrain, 'mountain', '', 'jungle', 'beach', areaTerrain); break; case 201: mSet = 'jungle_4'; var v2 = '2`3`p1||3`18`p1||4`2`Boulder||4`3`Boulder||4`19`Boulder||5`3`Tree||5`5`p1||6`15`p1||6`18`p1||7`5`Boulder||7`14`Boulder||8`3`p1||8`18`Boulder||11`18`p1||12`5`p1||13`5`Boulder||13`6`Boulder||13`17`p1||14`17`p1||16`4`p1||16`6`p1||16`18`p1||17`5`Boulder||17`19`p1||18`18`Boulder||19`2`Boulder||19`5`p1||20`16`p1'; makeObjectsArray(v2); standardPathway('left', 10); standardPathway('right', 202); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 202: mSet = 'jungle_4'; var v2 = '1`6`grass||1`7`grass||1`13`grass||1`14`Boulder||2`4`grass||2`14`Boulder||2`15`Boulder||3`3`grass||4`3`Boulder||4`13`grass||5`15`grass||6`15`grass||7`3`grass||7`17`grass||7`18`grass||7`20`grass||8`3`grass||10`10`p1||14`3`Boulder||14`4`grass||15`4`Boulder||15`20`Boulder||17`4`grass||17`5`grass||17`16`Boulder||17`18`grass||17`19`grass||18`2`Tree||18`10`grass||18`12`Boulder||18`13`Boulder||19`9`grass||19`10`grass||19`12`Boulder||19`15`grass||19`16`grass'; makeObjectsArray(v2); standardPathway('down', 203); standardPathway('left', 201); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 203: mSet = 'jungle_4'; var v2 = '2`6`grass||2`7`grass||2`8`grass||2`9`grass||2`18`p1||3`4`grass||3`11`Boulder||3`13`grass||4`1`Boulder||4`7`Tree||4`16`grass||5`17`grass||5`19`Boulder||6`18`grass||7`18`grass||8`7`p1||8`13`p1||8`18`grass||9`18`grass||9`19`grass||10`19`grass||11`19`grass||12`14`p1||12`19`grass||13`19`grass||14`19`grass||16`1`grass||17`18`Boulder||17`19`Boulder||18`3`grass||18`18`grass||19`1`p1||20`4`grass||20`16`Boulder||20`17`Boulder||21`4`grass'; makeObjectsArray(v2); standardPathway('up', 202); standardPathway('right', 204); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 204: mSet = 'jungle_4'; var v2 = '3`5`grass||3`7`boulder||3`8`boulder||3`18`grass||4`5`grass||4`6`grass||4`18`grass||5`18`grass||5`20`p1||6`18`grass||7`5`p1||8`18`grass||8`19`grass||9`5`grass||9`17`grass||10`16`grass||10`21`grass||11`18`boulder||11`21`grass||13`6`boulder||13`18`grass||13`19`grass||14`19`grass||15`4`fungus||15`5`grass||15`6`grass||15`19`grass||16`3`tree||18`4`grass||18`5`grass||19`18`p1||20`17`grass'; makeObjectsArray(v2); standardPathway('left', 203); standardPathway('right', 205); standardPathway('down', 209); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 205: mSet = 'jungle_4'; var v2 = '2`6`grass||4`6`tree||5`18`grass||6`5`grass||6`17`grass||7`3`scrap||7`5`grass||7`7`boulder||7`17`grass||7`18`boulder||8`3`scrap||8`17`grass||8`18`boulder||9`17`grass||14`18`grass||14`19`grass||15`4`scrap||15`18`grass||17`17`boulder||18`4`grass||19`7`grass||20`7`grass'; makeObjectsArray(v2); standardPathway('left', 204); standardPathway('up', 206); standardPathway('right', 208); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 206: encounterRate = 0; var v2 = '3`10`p2||3`11`p2||4`7`scrapluna$f||4`10`p2||4`11`p2||4`15`Boulder||5`0`wall2||5`1`wall2||5`2`wall2||5`3`wall2||5`10`p2||5`11`p2||5`12`p2||6`3`wall2$f||6`4`wall2||7`4`wall2$f||8`4`wall2$f||13`4`wall2$f||14`4`wall2$f||15`3`wall2$f||15`4`wall2||15`12`sign$f`Calisto\'s House||16`0`wall2||16`1`wall2||16`2`wall2||16`3`wall2||16`6`p2||16`7`p2||16`8`p2||17`6`p2||17`7`p2||17`8`p2||18`17`Boulder||19`17`Boulder'; makeObjectsArray(v2); standardPathway('up', 207); standardPathway('down', 205); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 207: encounterRate = 0; var v2 = '3`3`wall2||3`4`wall2||3`5`wall2||3`6`wall2||3`7`wall2||3`8`wall2||3`9`wall2||3`10`wall2||3`11`wall2||3`12`wall2||3`13`wall2||3`14`wall2||3`15`wall2||3`16`wall2||3`17`wall2||3`18`wall2||3`19`wall2||4`2`wall2$f||4`3`t1$f||4`4`t1||4`5`t1||4`8`t1||4`9`t1||5`2`wall2$f||5`3`t1$f||5`4`t1||5`5`t1||5`14`lamp||6`1`wall2$f||6`12`chair||6`17`chair||7`1`wall2$f||8`1`wall2$f||9`1`wall2$f||10`1`wall2$f||11`1`wall2$f||12`1`wall2$f||13`1`wall2$f||14`1`wall2$f||15`1`wall2$f||15`16`p2||15`17`p2||15`18`p2||16`1`wall2$f||16`12`cart||16`13`cart||16`16`p2||16`17`p2||16`18`p2||17`1`wall2$f||17`4`crane$f||17`16`p2||17`17`p2||17`18`p2||18`2`wall2$f||19`2`wall2$f||20`3`wall2||20`4`wall2||20`5`wall2||20`6`wall2||20`7`wall2||20`8`wall2||20`9`wall2||20`10`wall2||20`11`wall2||20`12`wall2||20`13`wall2||20`14`wall2||20`15`wall2||20`16`wall2||20`17`wall2||20`18`wall2||20`19`wall2||20`20`wall2'; makeObjectsArray(v2); makeLargeObject(10, 4, 4, 3, 'house02', 'r'); if (getCharacterAttr('A003', 'active') && getCharacterAttr('A003', 'active') != 'false') { makePathway(9, 5, 'Doorway', 'house02'); } standardPathway('down', 206); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 208: mSet = 'jungle_4'; var v2 = '2`3`p1||3`17`p1||4`7`p1||5`14`p1||6`6`grass||6`19`grass||7`1`grass||7`2`grass||7`6`grass||7`16`grass||7`19`grass||8`6`grass||8`14`Boulder||8`16`grass||9`14`Boulder||12`7`Boulder||13`2`grass||13`19`grass||14`2`grass||14`16`grass||15`2`grass||16`2`grass||17`6`grass||18`9`sign$f`To Endless Gorge.||18`19`grass||20`8`grass||20`14`grass'; makeObjectsArray(v2); standardPathway('right', -1, 6); standardPathway('left', 205); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 209: mSet = 'jungle_5'; var v2 = '4`9`boulder||4`14`boulder||6`3`tree||7`6`grass||7`8`grass||7`9`grass||8`5`grass||15`2`tree||15`4`grass||16`5`grass||17`7`grass||17`11`boulder||20`15`boulder||20`16`boulder'; makeObjectsArray(v2); standardPathway('up', 204); standardPathway('down', 211); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 210: mSet = 'jungle_5'; var v2 = '4`10`grass||4`14`grass||5`5`tree||6`7`grass||6`18`tree||7`10`fungus||10`3`grass||11`3`grass||16`2`grass||17`2`grass||17`4`fungus||17`18`boulder||19`5`grass||20`4`grass||20`5`grass||20`15`boulder'; makeObjectsArray(v2); standardPathway('right', 211); standardPathway('down', 212); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 211: mSet = 'jungle_5'; var v2 = '3`7`wall||3`8`wall||4`7`grass||5`5`p1||5`7`grass||7`5`grass||7`18`p1||8`17`grass||8`18`grass||14`18`grass||17`11`grass||18`2`p1||18`5`p1||18`8`grass||18`9`grass||18`14`grass||18`17`p1'; makeObjectsArray(v2); standardPathway('up', 209); standardPathway('left', 210); standardPathway('down', 213); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 212: mSet = 'jungle_5'; var v2 = '1`8`wall||1`9`wall||3`8`grass||3`11`grass||3`15`p1||3`18`wall||3`19`wall||4`6`p1||5`3`grass||5`4`grass||5`17`grass||18`19`p1||19`4`p1||19`17`grass||20`6`grass||21`6`grass'; makeObjectsArray(v2); standardPathway('up', 210); standardPathway('right', 213); standardPathway('down', 214); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 213: mSet = 'jungle_5'; var v2 = '6`18`p1||7`17`grass||8`17`grass||9`17`grass||10`16`grass||10`17`grass||11`16`grass||15`14`grass||15`15`grass||15`18`p1||16`14`grass||18`4`p1||18`5`grass||18`6`grass||18`10`grass||19`14`p1||19`17`p1'; makeObjectsArray(v2); standardPathway('up', 211); standardPathway('left', 212); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 214: mSet = 'jungle_5'; var v2 = '2`9`wall||2`10`wall||2`11`wall||2`12`wall||2`13`wall||4`6`tree||4`10`crane||4`14`grass||4`18`grass||6`4`wall||6`5`wall$f||6`20`grass||7`17`wall$f||8`11`chest`ITEMS$W02MS$36||8`17`wall$f||12`17`wall$f||13`17`wall$f||14`11`scrapluna$f||16`19`grass||17`5`wall||17`19`grass||19`6`grass||19`16`wall$f||21`13`grass'; makeObjectsArray(v2); standardPathway('up', 212); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); } } } frame 33 { function map3(area) { if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 10; } else { encounterRate = 20; } areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Scrapyard'; areaTerrain = 'scrapyard'; music_tracks = new Array('scrapyard', 'scrapyard', 'scrapyard'); areaMusic = 'scrapyard'; areaOverlay = ''; mapLocation = 3; areaLocation = area; chestCredits = 10; changeSurroundBlank(1, 1); bgMusic(areaMusic); environment = 'outdoor'; switch (area) { case 1: mSet = 'scrapyard_4'; objString = '1`6`wall||1`7`wall||1`8`wall||1`9`wall||1`12`grass||1`13`grass||1`18`grass||2`5`wall||2`6`wall||2`9`wall||2`10`wall||2`15`Boulder||3`4`wall||3`5`wall||3`10`wall||3`11`wall||3`19`Boulder||4`3`wall||4`4`wall||4`11`wall||4`12`wall||4`15`grass||4`16`grass||5`2`wall||5`3`wall||5`4`scrapluna$f||5`12`wall||5`13`wall||5`19`crane$f||6`1`wall||6`2`wall||6`3`wall||6`13`wall||6`14`wall||7`1`wall||7`7`scrapavenger$f||7`10`scrapavenger_l||7`14`wall||7`15`wall||8`1`wall||8`3`scrapavenger$f||8`12`sign`Do not disturb the machines.||8`15`wall||8`16`wall||8`17`scrapavenger$f||8`19`scrapavenger_l||9`1`wall||10`1`wall||11`1`wall||12`1`wall||13`1`wall||13`15`wall||13`16`wall||13`17`scrapavenger$f||13`19`scrapavenger_l||14`1`wall||14`3`scrapavenger$f||14`7`scrapavenger_l||14`10`scrapavenger$f||14`14`wall||14`15`wall||15`1`wall||15`2`wall||15`13`wall||15`14`wall||16`1`wall||16`2`wall||16`3`wall||16`4`scrapluna$f||16`12`wall||16`13`wall||16`16`Boulder||16`17`Boulder||16`19`crane$f||17`3`wall||17`4`wall||17`11`wall||17`12`wall||18`1`grass||18`2`grass||18`3`wall||18`4`wall||18`5`wall||18`10`wall||18`11`wall||18`15`grass||19`1`grass||19`2`grass||19`5`wall||19`6`wall||19`9`wall||19`10`wall||19`14`grass||19`15`grass||19`17`grass||19`18`grass||20`1`grass||20`2`grass||20`3`grass||20`6`wall||20`7`wall||20`8`wall||20`9`wall||20`13`grass'; makeObjectsArray(objString); if (quest_28.prog == 0) { makeObject(10, 6, 'talk', 'scrapyard_boss>scrapyard_boss_0'); } standardPathway('down', 3); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaOverlay); break; case 2: mSet = 'scrapyard_6'; objString = '1`14`grass||2`2`wall$f||2`3`wall$f||2`13`grass||2`14`grass||3`7`Boulder||4`3`scrap||4`4`scrap||4`5`scrap||4`6`scrap||4`10`scrapavenger||4`14`crane||4`18`scrapavenger||5`2`scrap||5`3`scrap||5`6`scrap||5`7`scrap||6`2`scrap||6`3`scrap||6`7`scrap||6`8`scrap||7`2`scrap||7`3`scrap||7`5`scrapluna$f||7`8`scrap||7`9`scrap||7`10`scrap||7`11`scrap||7`12`scrap||7`13`scrap||7`14`scrap||7`15`scrap||8`3`scrap||8`11`scrap||8`16`scrap||8`17`scrap||8`18`scrap||8`19`scrap||8`20`scrap||9`3`scrap||10`3`scrap||10`9`scrap||11`3`scrap||11`4`scrap||11`6`scrap||11`7`scrap||11`8`scrap||11`9`scrap||12`4`scrap||12`5`scrap||12`6`scrap||12`8`scrap||13`4`scrap||13`5`scrap||13`8`scrap||13`15`scrap||14`2`grass||14`7`scrap||14`8`scrap||15`2`grass||15`7`scrap||16`6`scrap||16`7`scrap||17`6`scrap||17`16`scrap||17`17`scrap||17`18`scrap||17`19`scrap||17`20`scrap||18`3`crane$f||18`6`scrap||18`15`scrap||18`16`scrap||19`6`scrap||19`15`scrap||19`18`scrap||20`6`scrap||20`15`scrap'; makeObjectsArray(objString); standardPathway('right', 3); standardPathway('down', 5); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaOverlay); break; case 3: mSet = 'scrapyard_6'; objString = '1`4`grass||1`5`grass||1`7`scrap||1`13`scrap||2`7`scrap||2`13`scrap||2`14`scrap||2`17`crane||3`4`scrapluna$f||3`7`scrap||3`9`scrap||3`14`scrap||3`19`scrapluna||4`2`crane$f||4`7`scrap||4`8`scrap||4`14`scrap||4`15`scrap||4`16`scrap||5`8`scrap||5`9`scrap||5`16`scrap||5`17`scrap||5`20`grass||6`1`wall$f||6`2`wall$f||6`5`scrap||6`6`scrap||6`9`scrap||6`17`scrap||7`1`wall$f||7`2`wall$f||7`4`scrap||7`5`scrap||7`6`scrap||7`7`scrap||7`10`scrap||7`11`scrap||7`17`scrap||7`18`scrap||8`1`wall||8`2`wall||8`3`wall||8`4`wall||8`5`scrapavenger$f||8`7`scrap||8`8`scrap||8`11`scrap||8`12`scrap||8`18`scrap||8`19`scrap||9`8`scrap||9`9`scrap||9`12`scrap||9`13`scrap||9`19`scrap||10`9`scrap||10`10`scrap||10`11`scrap||10`13`scrap||10`19`scrap||11`11`scrap||11`12`scrap||11`13`scrap||11`19`scrap||12`1`wall||12`2`wall||12`3`wall||12`4`wall||12`5`scrapavenger$f||12`12`scrap||12`13`scrap||12`19`scrap||13`1`wall$f||13`2`wall$f||13`4`scrap||13`6`repairstation||13`19`scrap||14`1`wall$f||14`2`wall$f||14`4`scrap||14`5`scrap||14`20`scrap||15`1`wall$f||15`2`wall$f||15`5`scrap||15`6`scrap||15`7`scrap||15`8`scrap||15`9`scrap||15`20`scrap||16`9`scrap||16`19`scrap||16`20`scrap||17`9`scrap||17`10`scrap||17`17`scrap||17`18`scrap||17`19`scrap||18`5`scrap||18`6`scrap||18`7`scrap||18`10`scrap||18`16`scrap||18`17`scrap||19`4`scrap||19`5`scrap||19`7`scrap||19`10`scrap||19`11`scrap||19`12`scrap||19`13`scrap||19`14`scrap||19`15`scrap||19`16`scrap||20`6`scrap||20`7`scrap||20`8`scrap||20`19`grass||20`20`grass'; makeObjectsArray(objString); makePathway(13, 7, 'Doorway', 'repairstation'); standardPathway('up', 1); standardPathway('left', 2); bgGraphics(areaTerrain, '', '', '', '', areaOverlay); break; case 4: mSet = 'scrapyard_5'; objString = '1`11`grass||1`12`grass||1`13`grass||2`4`grass||2`15`scrap||2`16`scrap||2`17`scrap||2`18`scrap||2`19`scrap||3`4`scrap||3`5`scrap||3`6`scrap||3`9`crane||3`12`scrap||3`13`scrap||3`14`scrap||3`15`scrap||3`16`scrap||3`18`scrap||4`1`scrap||4`2`scrap||4`3`scrap||4`4`scrap||4`6`scrap||4`10`scrap||4`11`scrap||4`12`scrap||4`16`scrap||4`18`scrap||4`19`scrap||5`2`scrap||5`3`scrap||5`4`scrap||5`5`scrap||5`6`scrap||5`7`scrap||5`8`scrap||5`9`scrap||5`10`scrap||5`11`scrap||5`16`scrap||5`18`scrap||5`19`scrap||6`2`scrap||6`4`scrap||6`5`scrap||6`6`scrap||6`7`scrap||6`8`scrap||6`9`scrap||6`16`scrap||6`17`scrap||6`18`scrap||6`19`scrap||6`20`scrap||7`2`scrap||8`2`scrap||9`1`scrap||9`2`scrap||10`1`scrap||10`2`scrap||11`2`scrap||11`11`scrap||12`2`scrap||12`10`scrapavenger||13`2`scrap||13`3`scrap||14`3`scrap||14`4`scrap||14`18`scrap||14`19`scrap||14`20`scrap||15`2`grass||15`4`scrap||15`5`scrap||15`18`scrap||16`4`scrap||16`5`scrap||16`18`scrap||17`5`scrap||17`6`scrap||17`17`scrap||17`18`scrap||18`6`scrap||18`7`scrap||18`8`scrap||18`17`scrap||18`18`scrap||18`19`scrap||19`5`grass||19`6`grass||19`8`scrap||19`15`scrap||19`16`scrap||19`17`scrap||19`18`scrap||20`8`scrap||20`15`scrap'; makeObjectsArray(objString); standardPathway('right', 5); standardPathway('down', 8); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaOverlay); break; case 5: mSet = 'scrapyard_6'; objString = '1`7`scrap||1`14`scrap||2`3`grass||2`4`grass||2`5`crane$f||2`7`scrap||2`8`scrap||2`14`scrap||3`3`scrap||3`8`scrap||3`14`scrap||4`2`scrap||4`3`scrap||4`4`scrap||4`5`scrap||4`8`scrap||4`14`scrap||4`19`scrapavenger||5`3`scrap||5`4`scrap||5`5`scrap||5`7`scrap||5`8`scrap||5`14`scrap||5`16`scrap||6`7`scrap||6`14`scrap||6`15`scrap||6`16`scrap||6`17`scrap||7`1`scrap||7`2`scrap||7`3`scrap||7`5`scrap||7`6`scrap||7`7`scrap||7`15`scrap||7`17`scrap||8`1`scrap||8`3`scrap||8`4`scrap||8`5`scrap||8`15`scrap||8`16`scrap||8`17`scrap||8`18`scrap||8`19`scrap||8`20`scrap||12`16`scrap||13`10`scrapavenger$f||14`1`scrap||15`1`scrap||15`2`scrap||16`2`scrap||16`3`scrap||17`3`scrap||17`4`scrap||17`5`scrap||17`6`scrap||17`7`scrap||17`8`scrap||17`9`scrap||17`10`scrap||17`11`scrap||18`4`scrap||18`5`scrap||18`6`scrap||18`10`scrap||18`11`scrap||18`12`scrap||18`13`scrap||19`8`scrap||19`9`scrap||19`10`scrap||19`11`scrap||19`12`scrap||19`13`scrap||19`14`scrap||19`15`scrap||19`16`scrap||19`17`scrap||19`18`scrap||19`19`scrap||19`20`scrap||20`1`wall||20`2`wall||20`3`wall||20`4`wall||20`5`wall||20`7`wall||20`8`wall||20`9`grass||20`11`wall||20`12`wall||20`13`wall||20`14`scrap||20`15`scrap||20`16`wall||20`17`wall||20`18`wall'; makeObjectsArray(objString); standardPathway('left', 4); standardPathway('up', 2); standardPathway('down', 9); bgGraphics(areaTerrain, '', '', '', '', areaOverlay); break; case 6: encounterRate = 20; mSet = 'scrapyard_4'; objString = '1`2`scrap||1`3`scrap||1`4`scrap||2`1`scrap||2`2`scrap||2`3`scrap||2`4`scrap||2`7`scrap||2`8`scrap||2`9`scrap||2`10`scrap||2`11`scrap||2`17`scrap||2`18`scrap||3`1`scrap||3`3`scrap||3`6`scrap||3`7`scrap||3`11`scrap||3`12`scrap||3`13`scrap||3`17`crane||4`3`scrap||4`5`scrap||4`6`scrap||4`13`scrap||4`14`scrap||5`4`scrap||5`5`scrap||5`10`scrapavenger||5`14`scrap||5`15`scrap||5`16`scrap||6`3`scrap||6`4`scrap||6`16`scrap||6`17`scrap||6`18`scrap||7`2`scrap||7`3`scrap||7`18`scrap||7`19`scrap||7`20`scrap||8`2`scrap||8`18`grass||8`20`scrap||9`2`scrap||9`3`scrap||9`18`grass||9`20`scrap||10`2`scrap||10`3`scrap||10`18`grass||11`2`scrap||11`18`grass||12`2`scrap||12`16`grass||12`17`grass||12`18`grass||12`21`scrap||13`2`scrap||13`16`grass||13`17`grass||13`18`grass||13`19`grass||13`20`grass||13`21`scrap||14`1`scrap||14`2`scrap||14`10`grass||14`20`scrap||14`21`scrap||15`1`scrap||15`8`grass||15`18`scrap||15`19`scrap||15`20`scrap||16`1`scrap||16`6`grass||16`7`grass||16`8`grass||16`18`scrap||17`1`scrap||17`18`scrap||18`1`scrap||18`2`scrap||18`16`scrap||18`17`scrap||18`18`scrap||19`2`scrap||19`3`scrap||19`15`scrap||19`16`scrap||20`3`scrap||20`4`scrap||20`5`scrap||20`6`scrap||20`7`scrap||20`8`scrap||20`9`scrap||20`13`scrap||20`14`scrap||20`15`scrap||21`12`scrap||21`13`scrap'; makeObjectsArray(objString); standardPathway('right', 7); standardPathway('down', 11); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaOverlay); break; case 7: mSet = 'scrapyard_4'; objString = '1`3`scrap||1`4`scrap||1`7`grass||1`15`scrap||1`16`scrap||1`17`scrap||2`2`scrap||2`4`scrap||2`5`scrap||2`14`scrap||2`15`scrap||2`16`scrap||3`2`scrap||3`5`scrap||3`6`scrap||3`7`scrap||3`8`scrap||3`13`scrap||3`14`scrap||3`18`scrap||3`20`wall$f||4`1`scrap||4`8`scrap||4`14`scrap||4`15`scrap||4`16`scrap||4`20`wall$f||5`8`scrap||5`9`scrap||5`16`scrap||5`17`scrap||5`18`scrap||5`19`scrap||6`1`wall$f||6`2`scrap||6`3`scrap||6`4`scrap||6`5`scrap||6`8`scrap||6`9`scrap||6`19`scrap||6`20`scrap||7`1`wall$f||7`2`scrap||7`3`scrap||7`4`scrap||7`5`scrap||7`6`scrap||7`7`scrap||7`8`scrap||7`19`scrap||7`20`scrap||8`1`wall$f||8`3`scrap||8`4`scrap||8`15`scrap||8`16`scrap||8`17`scrap||8`18`scrap||8`19`scrap||9`4`scrap||9`5`scrap||9`13`scrap||9`14`scrap||9`15`scrap||9`16`scrap||10`5`scrap||10`13`scrap||11`3`scrap||11`4`scrap||11`5`scrap||11`13`scrap||11`14`scrap||11`15`scrap||11`16`scrap||12`3`scrap||12`15`scrap||12`16`scrap||12`17`scrap||12`18`scrap||12`19`scrap||13`3`scrap||13`4`scrap||13`6`sign$f`Clock Crawlers drop gyrobolts!||13`19`scrap||13`20`scrap||14`4`scrap||14`19`scrap||14`20`scrap||15`1`grass||15`4`scrap||15`18`scrap||15`19`scrap||16`1`grass||16`4`scrap||16`17`scrap||16`18`scrap||17`1`grass||17`4`scrap||17`11`scrap||17`12`scrap||17`13`scrap||17`14`scrap||17`15`scrap||17`16`scrap||17`17`scrap||17`20`wall$f||18`4`scrap||18`11`scrap||18`12`scrap||18`13`scrap||18`19`scrap||18`20`wall$f||19`1`wall$f||19`4`scrap||19`5`scrap||19`13`scrap||19`14`scrap||19`15`scrap||19`18`scrap||19`19`scrap||20`5`scrap||20`6`scrap||20`7`scrap||20`15`scrap||20`16`scrap||20`17`scrap||21`7`scrap||21`8`scrap||21`9`scrap||21`12`scrap||21`13`scrap||21`14`scrap||21`15`scrap||21`16`scrap||21`17`scrap'; makeObjectsArray(objString); standardPathway('left', 6); standardPathway('right', 8); bgGraphics(areaTerrain, '', '', 'mountain', '', areaOverlay); break; case 8: mSet = 'scrapyard_3'; objString = '1`7`scrap||1`8`scrap||1`13`scrap||1`14`scrap||2`2`scrap||2`3`scrap||2`4`scrap||2`5`scrap||2`6`scrap||2`7`scrap||2`14`scrap||2`15`scrap||2`16`scrap||2`19`crane||3`2`scrap||3`4`scrapavenger||3`16`scrap||4`1`scrap||4`2`scrap||4`16`scrap||5`1`scrap||5`17`scrap||5`18`scrap||5`19`scrap||6`1`scrap||6`19`scrap||7`1`scrap||7`19`scrap||7`20`scrap||8`1`scrap||8`10`scrap||8`11`scrap||8`12`scrap||8`20`scrap||8`21`scrap||9`9`scrap||9`10`scrap||9`12`scrap||9`21`scrap||10`8`scrap||10`9`scrap||10`11`scrapluna$f||10`12`scrap||11`8`scrap||11`12`scrap||12`8`scrap||12`11`scrap||12`12`scrap||12`21`scrap||13`1`scrap||13`8`scrap||13`9`scrap||13`10`scrap||13`11`scrap||13`20`scrap||13`21`scrap||14`1`scrap||14`19`scrap||14`20`scrap||15`1`scrap||15`2`scrap||15`3`scrap||15`19`scrap||16`3`scrap||16`17`scrap||16`18`scrap||16`19`scrap||17`3`scrap||17`4`scrap||17`5`scrap||17`17`scrap||18`5`scrap||18`15`scrap||18`16`scrap||18`17`scrap||19`5`scrap||19`6`scrap||19`7`scrap||19`15`scrap||20`2`crane$f||20`7`scrap||20`8`scrap||20`13`scrap||20`14`scrap||20`15`scrap||21`8`scrap||21`9`scrap||21`12`scrap||21`13`scrap'; makeObjectsArray(objString); standardPathway('up', 4); standardPathway('down', 12); standardPathway('left', 7); standardPathway('right', 9); bgGraphics(areaTerrain, '', '', '', '', areaOverlay); break; case 9: mSet = 'scrapyard_5'; objString = '1`2`scrapavenger||1`4`scrap||1`5`scrap||1`6`scrap||1`14`scrap||1`15`scrap||1`16`scrap||2`1`scrap||2`4`scrap||2`17`scrap||2`20`wall$f||3`1`scrap||3`3`scrap||3`4`scrap||3`17`scrap||3`18`scrap||3`20`wall$f||4`1`scrap||4`2`scrap||4`3`scrap||4`17`scrap||4`18`scrap||4`20`wall$f||5`1`scrap||5`2`scrap||5`16`scrap||5`18`scrap||5`20`wall$f||6`1`scrap||6`14`scrap||6`18`scrap||7`14`scrap||7`15`scrap||7`18`scrap||7`21`wall$f||8`18`scrap||8`21`wall$f||9`13`scrap||9`14`scrap||9`18`scrap||10`12`scrap||10`13`scrap||10`18`scrap||11`11`scrap||11`12`scrap||11`13`scrap||11`14`scrap||11`15`scrap||11`16`scrap||11`18`scrap||12`12`scrap||12`13`scrap||12`18`scrap||13`13`scrap||13`14`scrap||13`18`scrap||14`1`scrap||14`2`scrap||14`17`scrap||14`18`scrap||15`2`scrap||15`17`scrap||15`20`wall$f||16`2`scrap||16`17`scrap||16`20`wall$f||17`2`scrap||17`3`scrap||17`14`scrap||17`15`scrap||17`17`scrap||17`20`wall$f||18`2`scrap||18`3`scrap||18`14`scrap||18`17`scrap||18`18`scrap||18`21`wall$f||19`2`scrap||19`3`scrap||19`14`scrap||19`18`scrap||19`21`wall$f||20`3`scrap||20`4`scrap||20`5`scrap||20`14`scrap||20`17`scrap||20`18`scrap||21`3`scrap||21`4`scrap||21`5`scrap||21`13`scrap||21`14`scrap'; makeObjectsArray(objString); standardPathway('up', 5); standardPathway('left', 8); standardPathway('right', 10); bgGraphics(areaTerrain, '', '', '', '', areaOverlay); break; case 10: mSet = 'scrapyard_5'; objString = '1`4`scrap||1`13`scrap||1`14`scrap||1`15`scrap||1`16`scrap||2`2`wall$f||2`4`scrap||2`14`scrap||2`15`scrap||3`1`wall$f||3`2`wall$f||3`4`scrap||3`15`scrap||4`2`wall$f||4`5`scrap||4`15`scrap||4`16`scrap||4`17`scrap||4`18`scrap||5`2`wall$f||5`4`scrap||5`5`scrap||5`7`scrap||5`18`scrap||5`19`scrap||5`20`scrap||6`5`scrap||6`7`scrap||6`17`scrap||6`18`scrap||6`19`scrap||6`20`scrap||7`1`grass||7`5`scrap||7`7`scrap||7`19`scrap||7`20`scrap||8`1`grass||8`5`scrap||8`6`scrap||9`5`scrap||10`4`scrap||10`5`scrap||10`6`scrap||10`7`scrap||11`4`scrap||11`6`scrap||11`9`scrap||12`5`scrap||12`9`scrap||13`5`scrap||13`14`scrap||14`5`scrap||14`6`scrap||14`8`scrap||14`12`scrap||14`14`scrap||14`19`scrap||15`2`wall||15`6`scrap||15`8`scrap||15`10`scrap||15`11`scrap||15`12`scrap||15`13`scrap||15`19`scrap||16`1`wall$f||16`2`grass||16`3`wall$f||16`4`Boulder||16`7`scrap||16`8`scrap||16`9`scrap||16`11`scrap||16`14`scrap||16`15`scrap||16`16`scrap||16`17`scrap||16`19`scrap||17`2`wall||17`7`scrap||17`15`scrap||17`19`scrap||18`2`Boulder||18`12`wall||18`17`scrap||18`18`scrap||18`19`scrap||18`20`scrap||19`6`wall||19`7`wall||19`12`wall||19`13`wall||19`14`wall||19`19`scrap||20`19`scrap'; makeObjectsArray(objString); standardPathway('left', 9); standardPathway('down', 13); bgGraphics(areaTerrain, '', '', 'mountain', '', areaOverlay); break; case 11: encounterRate = 30; mSet = 'scrapyard_7'; var objString = '2`1`scrap||2`2`wall||2`3`wall||2`4`wall||2`5`wall||2`6`wall||2`14`wall$f||2`15`wall$f||2`16`wall$f||2`17`wall$f||2`18`wall$f||2`19`wall$f||3`1`scrap||3`7`wall||3`8`wall||3`9`wall||3`10`wall||3`11`wall||3`12`wall||3`13`wall||3`14`wall||3`18`wall$f||3`19`wall$f||4`1`scrap||4`3`scrapavenger||4`4`scrapavenger_r||4`5`scrapavenger||4`7`scrapavenger_r||4`8`scrapavenger||4`10`chest`ITEMS$I002R$35||4`11`scrapavenger||4`13`scrapavenger_r||4`18`wall$f||4`19`wall$f||5`1`wall$f||5`17`wall$f||5`18`wall$f||6`1`scrap||6`4`scrapavenger||6`5`scrapavenger_r||6`7`scrapavenger||6`8`scrapavenger_r||6`10`scrapavenger||6`11`scrapavenger_r||6`13`scrapavenger||6`16`wall$f||6`17`wall$f||7`17`wall$f||7`18`wall$f||7`19`wall$f||8`6`scrapavenger||8`7`scrapavenger_r||8`9`scrapavenger||8`10`scrapavenger_r||8`12`scrapavenger||8`14`scrapavenger_r||8`15`scrapavenger||8`20`wall$f||9`20`wall$f||10`8`scrapavenger||10`9`scrapavenger_r||10`11`scrapavenger||10`12`scrapavenger_r||10`15`scrapavenger||10`20`wall$f||11`20`wall$f||12`13`scrapavenger||12`14`scrapavenger_r||12`20`wall$f||13`1`scrap||13`9`scrapavenger||13`20`wall$f||14`1`scrap||14`5`scrapavenger||14`6`scrapavenger_r||14`9`scrapavenger||14`18`wall$f||14`19`wall$f||14`20`wall$f||15`1`wall$f||15`18`wall$f||16`1`wall$f||16`7`scrapavenger||16`8`scrapavenger_r||16`18`wall$f||16`19`wall$f||16`20`wall$f||17`1`wall$f||17`13`wall$f||17`14`wall$f||17`15`wall$f||17`20`wall$f||18`1`scrap||18`2`scrap||18`3`scrap||18`13`wall$f||18`16`wall$f||18`20`wall$f||19`1`wall$f||19`3`scrap||19`13`wall$f||19`16`wall$f||19`20`wall$f||20`1`wall$f||20`2`wall||20`3`wall||20`4`scrap||20`5`scrap||20`6`scrap||20`7`wall||20`8`wall||20`9`wall||20`10`wall||20`11`wall||20`12`wall||20`13`wall$f||20`16`wall$f||20`17`wall$f||20`18`wall$f||20`19`wall$f||20`20`wall$f||21`3`wall||21`4`scrap||21`5`scrap'; makeObjectsArray(objString); standardPathway('up', 6); bgGraphics(areaTerrain, 'mountain', '', '', '', areaOverlay); break; case 12: mSet = 'scrapyard_2'; objString = '1`1`wall||1`2`wall||1`4`wall||1`5`wall||1`6`wall||1`7`wall||1`13`wall||1`14`wall||1`18`wall||1`19`wall||1`20`wall||2`9`wall||2`10`wall||2`12`wall||2`13`wall||3`2`scrap||3`3`scrap||3`4`scrap||3`17`scrap||3`18`scrap||4`2`scrap||4`13`scrap||4`14`scrap||4`15`scrap||4`17`scrap||4`18`scrap||5`2`scrap||5`3`scrap||5`7`scrap||5`8`scrap||5`12`scrap||5`14`scrap||5`15`scrap||5`16`scrap||7`2`crane||7`7`crane_r||7`12`crane||7`17`crane||16`2`scrap||16`3`scrap||16`9`scrap||16`10`scrap||16`11`scrap||16`12`scrap||16`13`scrap||16`17`scrap||16`18`scrap||18`7`wall||19`1`wall||19`2`wall||19`6`wall||19`7`wall||19`8`wall||19`17`wall||19`18`wall||19`19`wall||19`20`wall||19`21`wall||20`4`wall||20`5`wall||20`6`wall||20`13`wall||20`14`wall||20`15`wall||20`16`wall||20`17`wall||21`10`wall||21`11`wall||21`12`wall||21`13`wall'; makeObjectsArray(objString); standardPathway('up', 8); standardPathway('down', 14); bgGraphics(areaTerrain, 'mountain', '', '', '', areaOverlay); break; case 13: mSet = 'scrapyard_3'; objString = '2`2`scrap||2`3`scrap||2`4`scrap||2`5`scrap||2`6`scrap||2`8`scrap||2`9`scrap||2`10`scrap||2`11`scrap||2`12`scrap||2`13`scrap||2`14`scrap||2`16`scrap||2`17`scrap||2`18`scrap||2`19`scrap||3`2`scrap||3`3`scrap||3`4`scrap||3`5`scrap||3`6`scrap||3`8`scrap||3`9`scrap||3`10`scrap||3`11`scrap||3`12`scrap||3`13`scrap||3`14`scrap||3`16`scrap||3`17`scrap||3`18`scrap||3`19`scrap||4`2`scrap||4`3`scrap||4`4`scrap||4`5`scrap||4`6`scrap||4`8`scrap||4`9`scrap||4`10`scrap||4`11`scrap||4`12`scrap||4`13`scrap||4`14`scrap||4`16`scrap||4`17`scrap||4`18`scrap||4`19`scrap||5`2`scrap||5`3`scrap||5`4`scrap||5`5`scrap||5`6`scrap||5`8`scrap||5`9`scrap||5`10`scrap||5`11`scrap||5`12`scrap||5`13`scrap||5`14`scrap||5`16`scrap||5`17`scrap||5`18`scrap||5`19`scrap||7`16`scrap||7`17`scrap||8`16`scrap||8`17`scrap||16`1`wall||16`2`wall||16`3`wall||16`4`wall||16`5`wall||16`6`wall||16`7`wall||16`8`wall||16`9`wall||16`10`wall||16`11`wall||16`12`wall||16`13`wall||16`14`wall||16`15`wall||16`16`wall||16`17`wall||16`18`wall||16`19`wall||16`20`wall||16`21`wall||19`1`wall||19`2`wall||19`3`wall||19`4`wall||19`5`wall||19`6`wall||19`7`wall||19`8`wall||19`9`wall||19`10`wall||19`11`wall||19`12`wall||19`13`wall||19`14`wall||19`15`wall||19`16`wall||19`17`wall||19`18`wall||19`19`wall||19`20`wall||19`21`wall||20`2`grass||20`3`grass||20`5`grass||20`6`grass||20`17`grass||20`18`grass||21`9`grass||21`14`grass||21`15`grass'; makeObjectsArray(objString); standardPathway('up', 10); standardPathway('down', 16); bgGraphics(areaTerrain, 'mountain', '', '', '', areaOverlay); break; case 14: mSet = 'scrapyard_2'; objString = '1`6`wall||1`7`wall||2`5`crane||2`9`scrap||2`10`scrap||2`11`scrap||2`12`scrap||2`17`grass||2`18`grass||3`4`scrapluna$f||3`7`scrap||3`8`scrap||3`9`scrap||3`10`scrapluna||3`12`scrap||3`13`scrap||3`14`Boulder||3`15`Boulder||4`6`scrap||4`7`scrap||4`13`scrap||4`14`scrap||4`17`scrapluna||5`4`scrap||5`5`scrap||5`6`scrap||5`12`scrap||5`14`scrap||5`15`scrap||6`1`crane$f||6`3`scrap||6`4`scrap||6`15`scrap||6`16`scrap||6`18`grass||7`1`scrap||7`2`scrap||7`3`scrap||7`16`scrap||7`17`scrap||8`17`scrap||8`18`scrap||8`19`scrap||8`20`scrap||11`7`scrap||11`8`scrap||12`3`scrap||12`4`scrap||12`5`scrap||12`6`scrap||12`7`scrap||12`8`scrap||12`13`scrap||12`14`scrap||12`15`scrap||13`2`scrap||13`3`scrap||13`5`scrap||13`8`scrap||13`13`scrap||13`15`scrap||13`16`scrap||14`1`crane$f||14`2`scrap||14`6`Boulder||14`8`scrap||14`13`scrap||14`16`scrap||14`17`scrap||14`19`scrap||14`20`scrap||15`1`scrap||15`2`scrap||15`8`scrap||15`13`scrap||15`15`wall||15`17`scrap||15`18`scrap||15`19`scrap||16`5`scrapluna$f||16`7`scrap||16`8`scrap||16`13`scrap||17`7`scrap||17`13`scrap||17`14`scrap||18`7`scrap||18`14`scrap||19`4`wall||19`5`wall||19`7`scrap||19`8`scrap||19`14`scrap||20`8`scrap||20`13`scrap||20`14`scrap||21`12`scrap||21`13`scrap'; makeObjectsArray(objString); standardPathway('up', 12); standardPathway('right', 15); standardPathway('down', 17); bgGraphics(areaTerrain, 'mountain', '', '', '', areaOverlay); break; case 15: mSet = 'scrapyard_2'; objString = '1`1`scrap||1`2`scrap||1`3`scrap||1`6`scrap||1`15`scrap||2`1`scrap||2`2`scrap||2`6`scrap||2`7`crane$f||2`15`scrap||2`16`scrap||2`17`scrap||2`18`scrap||3`4`scrap||3`5`scrap||3`6`scrap||3`15`scrap||3`16`scrap||3`17`scrap||3`18`scrap||4`1`scrap||4`4`scrap||4`5`scrap||4`6`scrap||4`15`scrap||4`19`scrap||4`20`scrap||5`1`scrap||5`2`scrap||5`3`scrap||5`6`scrap||5`15`scrap||5`18`scrap||5`19`scrap||6`6`scrap||6`15`scrap||6`16`scrap||7`1`scrap||7`2`scrap||7`3`scrap||7`6`scrap||7`7`crane||7`15`scrap||7`16`scrap||8`6`scrap||8`15`scrap||8`16`scrap||8`18`scrap||8`19`scrap||8`20`scrap||9`6`scrap||9`15`scrap||9`16`scrap||9`17`scrap||10`6`scrap||10`15`scrap||10`16`scrap||11`2`scrap||11`3`scrap||11`4`scrap||11`6`scrap||11`15`scrap||11`17`scrap||11`18`scrap||11`19`scrap||12`1`scrap||12`6`scrap||12`15`scrap||13`1`scrap||13`2`scrap||13`3`scrap||13`4`scrap||13`5`scrap||13`6`scrap||13`7`crane$f||13`15`scrap||13`19`scrap||13`20`scrap||14`2`scrap||14`3`scrap||14`6`scrap||14`15`scrap||14`18`scrap||14`19`scrap||15`1`scrap||15`2`scrap||15`3`scrap||15`4`scrap||15`6`scrap||15`15`scrap||16`2`scrap||16`3`scrap||16`4`scrap||16`6`scrap||16`15`scrap||17`6`scrap||17`15`scrap||17`16`scrap||17`17`scrap||17`18`scrap||17`19`scrap||17`20`scrap||18`2`scrap||18`3`scrap||18`4`scrap||18`6`scrap||18`15`scrap||19`1`scrap||19`2`scrap||19`3`scrap||19`4`scrap||19`5`scrap||19`6`scrap||19`15`scrap||19`18`scrap||19`19`scrap||20`5`scrap||20`6`scrap||20`15`scrap||20`17`scrap||20`18`scrap||20`19`scrap||21`6`scrap||21`15`scrap||21`16`scrap||21`17`scrap'; makeObjectsArray(objString); standardPathway('left', 14); standardPathway('right', 16); bgGraphics(areaTerrain, '', '', 'mountain', '', areaOverlay); break; case 16: mSet = 'scrapyard_3'; objString = '1`6`scrap||1`18`scrap||1`19`scrap||2`6`scrap||2`15`scrap||2`16`scrap||2`17`scrap||3`3`scrap||3`4`scrap||3`5`scrap||3`6`scrap||3`17`scrap||3`18`scrap||4`3`scrap||4`4`scrap||5`1`wall||5`2`wall||5`3`wall||5`15`scrap||5`16`scrap||6`3`wall$f||6`16`scrap||6`17`scrap||6`18`scrap||6`19`grass||6`20`grass||7`3`wall$f||8`3`wall$f||8`4`wall$f||9`17`scrap||9`18`scrap||10`18`scrap||10`19`scrap||11`17`scrap||11`18`scrap||12`17`scrap||12`18`scrap||12`19`grass||13`16`scrap||13`17`scrap||14`3`wall$f||14`4`wall$f||14`15`scrap||14`18`Boulder||15`3`wall$f||15`14`scrap||15`15`scrap||15`16`scrap||15`17`scrap||15`18`scrap||16`1`wall||16`2`wall||16`3`wall||16`15`scrap||16`16`scrap||16`17`scrap||16`18`scrap||17`6`scrap||17`7`scrap||17`15`scrap||17`16`scrap||17`17`scrap||18`1`scrap||18`2`scrap||18`12`scrap||18`13`scrap||18`16`scrap||18`17`grass||18`18`grass||19`4`scrap||19`7`scrap||19`8`scrap||19`17`grass||20`1`grass||20`2`grass||20`4`scrap||20`6`Boulder||20`8`scrap||20`9`scrap||20`16`grass||21`15`grass||21`16`grass'; makeObjectsArray(objString); standardPathway('up', 13); standardPathway('left', 15); bgGraphics(areaTerrain, '', '', '', '', areaOverlay); break; case 17: mSet = 'scrapyard_1'; objString = '1`12`Boulder||1`15`grass||1`16`grass||1`18`grass||2`3`scrapavenger$f||2`5`scrapavenger_l||2`6`scrap||3`3`scrap||3`4`scrap||3`5`scrap||3`6`scrap||3`7`scrap||3`9`crane||3`12`scrap||3`13`scrap||3`14`scrap||3`15`scrap||3`16`scrap||3`17`scrap||4`3`scrap||4`8`scrap||4`12`scrap||4`13`scrap||4`14`scrap||4`15`scrap||4`16`scrap||4`17`scrap||5`2`scrap||5`3`scrap||5`9`scrap||5`10`scrap||5`13`scrap||5`14`scrap||5`19`crane||6`1`scrap||6`2`scrap||6`10`scrap||7`1`scrap||7`10`scrap||7`13`scrapavenger||7`15`scrapavenger_r||7`16`scrap||7`17`scrap||7`18`scrap||7`19`scrap||8`10`scrap||8`11`Boulder||8`12`scrap||8`13`scrap||8`14`scrap||8`15`scrap||8`16`scrap||8`20`scrap||9`10`scrap||9`12`scrap||10`9`scrap||10`10`scrap||10`11`scrap||10`12`scrap||11`4`scrap||11`9`scrap||11`10`scrap||11`11`scrap||12`4`scrap||12`5`scrap||12`10`scrap||12`11`scrap||13`2`crane$f||13`4`scrap||13`5`scrap||13`10`scrap||14`5`scrap||15`1`scrap||15`2`scrap||15`3`scrap||15`4`scrap||15`5`scrap||15`17`scrap||15`18`scrap||15`19`scrap||15`20`scrap||16`4`scrap||16`5`scrap||16`12`scrap||16`17`scrap||17`2`Boulder||17`4`scrap||17`5`scrap||17`16`scrap||17`17`scrap||18`5`scrap||18`15`scrap||18`16`scrap||18`19`Boulder||19`1`scrap||19`2`scrap||19`5`scrap||19`6`scrap||19`7`scrap||19`8`scrap||19`9`scrap||19`14`scrap||19`15`scrap||20`4`grass||20`7`scrap||20`8`scrap||20`9`scrap||20`10`scrap||20`11`scrap||20`12`scrap||20`13`scrap||20`14`scrap'; makeObjectsArray(objString); standardPathway('up', 14); standardPathway('down', 18); bgGraphics(areaTerrain, 'mountain', '', '', '', areaOverlay); break; case 18: encounterRate = 'NONSAVE'; objString = '7`5`repairstation||1`1`wall||1`3`wall||1`4`wall||1`6`wall||1`7`wall||1`10`grass||1`11`wall||1`12`wall||1`13`wall||1`14`wall$f||2`14`wall$f||3`14`wall$f||3`19`p1||4`2`scrapluna$f||4`7`scrap||4`8`scrap||4`9`scrap||4`10`scrap||4`14`wall$f||4`17`grass||4`20`Boulder||5`2`scrap||5`3`scrap||5`9`scrap||5`14`wall$f||5`17`grass||6`14`wall$f||7`5`repairstation||7`10`scrap||7`14`wall$f||7`15`wall$f||7`18`Boulder||13`14`wall$f||13`15`wall$f||14`2`crane$f||14`14`wall$f||14`17`sign$f`Gears can be obtained from gear flies.||15`9`scrap||15`10`scrap||15`14`wall$f||16`6`scrap||16`7`scrap||16`8`scrap||16`14`wall$f||17`6`scrap||17`14`wall$f||17`17`grass||18`14`wall$f||18`16`grass||19`14`wall$f||19`20`Boulder||20`3`wall||20`4`wall||20`7`wall||20`8`wall||20`12`wall||20`13`wall||20`14`wall$f'; makeObjectsArray(objString); makePathway(7, 6, 'Doorway', 'repairstation'); standardPathway('down', -1, 2); standardPathway('up', 17); bgGraphics(areaTerrain, 'jungle', '', '', '', areaOverlay); } } } frame 33 { function map4(area) { encounterRate = 10; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Azure Cove'; areaTerrain = 'beach'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaOverlay = ''; mapLocation = 4; areaLocation = area; chestCredits = 15; changeSurroundBlank(1, 1); environment = 'outdoor'; switch (area) { case 1: mSet = 'azure_1'; var v1 = '3`15`grass2||4`18`tree||7`5`repairstation||7`18`boulder||14`15`grass2||14`16`grass2||17`9`sign`DANGER: Hermitshark Region||18`12`boulder'; makeObjectsArray(v1); makePathway(7, 6, 'Doorway', 'repairstation'); standardPathway('left', 2); standardPathway('right', -1, 2); bgGraphics(areaTerrain, '', '', 'sea', areaOverlay); break; case 2: mSet = 'azure_1'; var v1 = '2`8`grass2||2`9`grass2||2`16`grass2||3`7`grass2||3`8`grass2||5`3`boulder||7`3`grass2||8`3`grass2||14`19`boulder||16`14`boulder||16`17`grass2||17`4`grass2||17`17`grass2||19`15`grass2'; makeObjectsArray(v1); standardPathway('down', 3); standardPathway('right', 1); bgGraphics(areaTerrain, 'sea', '', 'sea', areaOverlay); break; case 3: mSet = 'azure_1'; var v1 = '1`7`boulder||2`4`grass2||3`3`grass2||3`18`boulder||4`3`boulder||5`2`boulder||8`18`grass2||12`18`boulder||13`16`boulder||16`17`grass2||17`17`grass2||18`6`grass2||19`14`grass2'; makeObjectsArray(v1); standardPathway('up', 2); standardPathway('left', 4); bgGraphics(areaTerrain, '', '', '', areaOverlay); break; case 4: mSet = 'azure_2'; var v1 = '2`7`grass2||2`15`grass2||2`16`grass2||7`16`boulder||14`17`grass2||18`14`boulder'; makeObjectsArray(v1); standardPathway('left', 5); standardPathway('right', 3); bgGraphics(areaTerrain, '', '', 'sea', areaOverlay); break; case 5: mSet = 'azure_2'; var v1 = '4`6`grass2||6`3`grass2||6`19`grass2||7`3`grass2||9`3`grass2||10`3`grass2||10`5`grass2||11`5`grass2||14`3`grass2||16`19`grass2||16`20`grass2||17`5`grass2'; makeObjectsArray(v1); standardPathway('left', 6); standardPathway('right', 4); bgGraphics(areaTerrain, '', '', 'sea', areaOverlay); break; case 6: mSet = 'azure_2'; var v1 = '2`15`boulder||3`6`grass2||5`20`grass2||8`2`sign$f`The signboard is faded away, but you can make out the word "Fried Rice"\n||10`20`grass2||14`16`grass2||15`16`grass2||16`2`tree||16`15`grass2||19`15`grass2'; makeObjectsArray(v1); standardPathway('left', 7); standardPathway('up', 9); standardPathway('right', 5); bgGraphics(areaTerrain, '', '', '', areaOverlay); break; case 7: mSet = 'azure_3'; encounterRate = 20; var v1 = '2`20`grass2||3`8`grass2||3`18`p1||4`21`grass2||7`19`tree||9`18`boulder||15`18`grass2'; makeObjectsArray(v1); standardPathway('left', 8); standardPathway('right', 6); bgGraphics(areaTerrain, '', '', 'sea', areaOverlay); break; case 8: mSet = 'azure_3'; encounterRate = 30; var v1 = '3`4`s1||3`19`grass2||5`16`boulder||11`5`boulder||13`16`s1||15`7`boulder||16`19`grass2||17`13`boulder||18`6`boulder||18`7`boulder||20`12`boulder'; makeObjectsArray(v1); standardPathway('right', 7); bgGraphics(areaTerrain, 'jungle', '', 'sea', areaOverlay); break; case 9: world[player].clip.gotoAndStop(selectedPilot); encounterRate = 'NONSAVE'; music_tracks = new Array('beachstall', 'beachstall', 'beachstall'); areaMusic = 'beachstall'; var v1 = '2`14`tree||5`16`boulder||6`9`chair'; makeObjectsArray(v1); makeLargeObject(10, 4, 4, 1, 'friedricestall', 'r'); makePathway(9, 5, 'Doorway', 'friedricestall'); makePathway(10, 5, 'Doorway', 'friedricestall'); standardPathway('down', 6); bgGraphics(areaTerrain, 'sea', '', 'sea', areaOverlay); } bgMusic(areaMusic); } } frame 33 { function map5(area) { encounterRate = 0; areaCharType = 'pilot'; clearWorld('Blank'); areaName = 'Hunters\' Lodge'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); areaMusic = 'jungle'; areaTerrain = 'jungle'; mapLocation = 5; areaLocation = area; changeSurroundBlank(1, 1); standardPathway('up', -1, 2); bgMusic(areaMusic); environment = 'outdoor'; makeLargeObject(1, 4, 13, 6, 'guild', 'l'); if (hh >= TIME_MORNING && hh < TIME_NIGHT) { makePathway(5, 15, 'Doorway', 'guild'); } var v1 = '3`21`boulder||5`8`t1||14`16`t1||16`12`chair$f||16`15`p2||16`16`p2||17`15`p2||17`16`p2||17`21`boulder||18`6`barrel||18`7`barrel||19`7`barrel||20`5`boulder'; makeObjectsArray(v1); bgGraphics(areaTerrain, 'sea', '', 'jungle', '', 'jungle'); } } frame 33 { function map6(area) { encounterRate = 0; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Endless Gorge'; areaLocation = area; areaTerrain = 'gorge'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); areaMusic = 'jungle'; mapLocation = 6; changeSurroundBlank(1, 1); bgMusic(areaMusic); environment = 'outdoor'; bgGraphics(areaTerrain, '', '', '', '', 'jungle'); if (area !== 1) { } else { if ((quest_3.prog == 1 || quest_3.prog == 99) && quest_8.prog != 99) { generateNewChar('calisto', 165, -345, 'npc', 'standing', 'Calisto'); } if (quest_8.prog == 99) { objString = '5`8`bridgebase||5`11`bridgetop||6`8`blank||6`11`blank||7`8`blank||7`11`blank||8`8`blank||8`11`blank||9`5`blank||9`6`blank||9`7`blank||9`8`blank||9`11`blank||9`12`blank||9`13`blank||9`14`blank||9`15`blank||9`16`blank||9`17`blank||9`18`blank||9`19`blank||9`20`blank||9`21`blank||10`1`blank||10`2`blank||10`3`blank||10`4`blank||10`5`blank||10`8`bridgepiece||10`11`blank||11`8`blank||11`11`blank||12`8`blank||12`11`blank||13`8`bridgepiece||13`11`blank||14`8`blank||14`11`blank||15`8`blank||15`11`blank||16`1`blank||16`2`blank||16`8`bridgepiece||16`11`blank||16`12`blank||16`13`blank||16`14`blank||16`15`blank||17`2`blank||17`3`blank||17`4`blank||17`6`blank||17`7`blank||17`8`blank||17`15`blank||17`16`blank||17`17`blank||17`18`blank||17`19`blank||17`20`blank||18`4`blank||18`5`blank||18`6`blank||18`20`blank||18`21`blank'; } else { objString = '5`8`bridgebase||5`11`bridgetop||6`8`blank||6`11`blank||7`8`blank||7`11`blank||8`8`blank||8`11`blank||9`5`blank||9`6`blank||9`7`blank||9`8`blank||9`9`blank||9`10`blank||9`11`blank||9`12`blank||9`13`blank||9`14`blank||9`15`blank||9`16`blank||9`17`blank||9`18`blank||9`19`blank||9`20`blank||9`21`blank||10`1`blank||10`2`blank||10`3`blank||10`4`blank||10`5`blank||16`1`blank||16`2`blank||16`9`blank||16`10`blank||16`11`blank||16`12`blank||16`13`blank||16`14`blank||16`15`blank||17`2`blank||17`3`blank||17`4`blank||17`6`blank||17`7`blank||17`8`blank||17`9`blank||17`15`blank||17`16`blank||17`17`blank||17`18`blank||17`19`blank||17`20`blank||18`4`blank||18`5`blank||18`6`blank||18`20`blank||18`21`blank'; } makeObjectsArray(objString); standardPathway('left', -1, 2); standardPathway('right', -1, 7); } } } frame 33 { function map7(area) { if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 10; } else { encounterRate = 20; } areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Iron Jungle'; areaTerrain = 'jungle'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { areaMusic = 'jungle'; } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { areaMusic = 'jungle'; } else { areaMusic = 'jungle_night'; } } mapLocation = 7; areaLocation = area; changeSurroundBlank(1, 1); chestCredits = 20; bgMusic(areaMusic); environment = 'outdoor'; switch (area) { case 1: mSet = 'iron_3'; var v1 = '0`10`grass||0`11`grass||2`14`p1||4`5`grass||4`11`grass||4`14`fungus||4`17`grass||5`5`grass||6`19`p1||7`5`repairstation||15`19`fungus||18`14`p1||18`18`grass||19`5`grass||20`13`grass||20`14`grass'; makeObjectsArray(v1); makePathway(7, 6, 'Doorway', 'repairstation'); standardPathway('up', -1, 8); standardPathway('down', 2); bgGraphics(areaTerrain, 'mountain', '', '', '', areaTerrain); break; case 2: mSet = 'iron_3'; var v1 = '2`4`Tree||2`8`p1||2`10`fungus||3`13`Boulder||3`16`grass||3`17`grass||4`4`grass||5`6`Boulder||5`9`grass||6`1`p1||6`15`p1||15`4`fungus||15`5`fungus||15`16`Boulder||15`19`p1||16`7`Boulder||16`11`p1||18`5`grass||18`16`grass||19`10`grass||19`11`grass'; makeObjectsArray(v1); standardPathway('up', 1); standardPathway('down', 3); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 3: mSet = 'iron_3'; var v1 = '3`7`grass||3`8`grass||3`10`Tree||3`13`Boulder||3`16`grass||4`16`grass||4`17`grass||5`3`p1||5`19`Tree||6`5`Boulder||6`8`p1||11`20`grass||12`17`p1||12`20`grass||15`17`grass||16`17`grass||17`3`grass||18`3`grass||19`5`grass||19`16`grass||19`17`grass||20`3`p1'; makeObjectsArray(v1); standardPathway('up', 2); standardPathway('right', 4); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 4: mSet = 'iron_3'; var v1 = '3`6`p1||4`16`grass||4`19`Boulder||5`16`grass||7`2`Tree||8`5`grass||9`5`grass||10`5`grass||10`6`Boulder||11`5`grass||12`5`grass||12`6`grass||13`6`grass||14`2`wall$f||14`3`wall||14`4`wall||14`5`wall||14`7`grass||15`2`wall$f||15`3`sign$f`The secret entrance to the sprout village is said to be in this jungle.||15`4`grass||15`5`grass||16`2`wall$f||16`3`wall||16`4`grass||17`13`p1||17`16`grass||17`17`grass'; makeObjectsArray(v1); standardPathway('left', 3); standardPathway('down', 5); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 5: mSet = 'iron_3'; var v1 = '0`10`Tree||3`7`grass||3`17`grass||4`12`Boulder||5`16`p1||6`4`grass||6`7`p1||7`4`grass||7`19`grass||16`16`p1||18`19`grass||19`6`grass||19`10`p1||19`16`Boulder'; makeObjectsArray(v1); standardPathway('up', 4); standardPathway('down', 6); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 6: mSet = 'iron_2'; var v1 = '0`10`grass||0`11`grass||2`7`p1||2`16`grass||3`4`grass||3`5`grass||4`9`grass||5`6`fungus||5`7`fungus||5`13`p1||5`15`fungus||5`16`fungus||5`18`grass||14`15`p1||14`19`grass||16`9`p1||17`5`fungus||17`6`fungus||18`8`grass||18`13`fungus||18`18`grass||19`4`grass||19`8`grass'; makeObjectsArray(v1); standardPathway('up', 5); standardPathway('down', 7); standardPathway('left', 14); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 7: mSet = 'iron_2'; var v1 = '1`10`Tree||3`11`grass||3`12`grass||3`17`grass||4`4`grass||5`4`grass||5`9`grass||6`15`fungus||6`19`grass||7`19`sign`Sprout warriors are usually controlled by a powerful sprout lord.||8`8`fungus||8`9`fungus||9`9`fungus||17`3`grass||17`13`fungus||17`16`grass||17`17`grass||19`7`grass||19`11`grass'; makeObjectsArray(v1); standardPathway('up', 6); standardPathway('down', 8); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 8: mSet = 'iron_2'; var v1 = '0`11`grass||2`14`grass||3`8`grass||3`19`Tree||4`8`grass||4`17`grass||5`3`Tree||5`6`p1||5`12`grass||5`14`p1||7`17`grass||16`18`p1||17`5`grass||18`8`p1||18`16`grass||19`4`Tree||19`11`grass||21`10`grass||21`11`grass'; makeObjectsArray(v1); standardPathway('up', 7); standardPathway('down', 9); standardPathway('right', 18); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 9: mSet = 'iron_2'; var v1 = '2`7`p1||3`5`grass||5`4`grass||5`7`fungus||6`18`grass||7`4`p1||7`18`grass||8`20`fungus||10`16`grass||10`18`grass||11`18`grass||12`18`grass||13`18`grass||14`17`grass||16`14`grass||17`17`grass||17`18`grass||18`9`grass||18`10`grass||18`13`fungus||18`14`fungus||19`10`grass||19`11`grass||19`14`fungus'; makeObjectsArray(v1); standardPathway('up', 8); standardPathway('left', 10); bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); break; case 10: mSet = 'iron_1'; var v1 = '2`5`grass||2`7`Tree||5`16`Boulder||5`19`grass||6`6`Boulder||7`5`p1||8`17`p1||9`3`grass||12`17`grass||12`18`grass||14`3`grass||14`6`p1||15`16`Boulder||15`18`Boulder||17`15`p1||18`5`grass||19`18`grass'; makeObjectsArray(v1); standardPathway('left', 11); standardPathway('right', 9); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 11: mSet = 'iron_1'; var v1 = '2`14`grass||3`12`p1||4`5`grass||4`8`grass||5`11`fungus||5`19`grass||7`5`p1||8`7`fungus||9`5`grass||14`17`fungus||14`18`fungus||17`4`p1||17`20`grass||18`3`grass||18`18`p1||20`17`grass||20`18`grass'; makeObjectsArray(v1); standardPathway('down', 12); standardPathway('right', 10); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 12: mSet = 'iron_1'; var v1 = '1`6`Tree||2`10`p1||3`4`grass||3`17`grass||4`13`grass||4`17`grass||5`6`grass||5`7`p1||5`10`grass||6`16`p1||16`3`grass||16`14`p1||17`3`grass||18`7`p1||18`11`grass||18`17`grass||20`5`grass'; makeObjectsArray(v1); standardPathway('down', 13); standardPathway('up', 11); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 13: mSet = 'iron_1'; var v1 = '2`5`p1||3`8`sign$f`W - Endless Gorge\nN - Costa de Acero/Tidal Caves/Acero Terminus||4`5`grass||5`3`p1||5`4`grass||5`5`grass||6`18`p1||7`15`grass||12`14`grass||13`18`p1||17`16`p1||18`6`p1||18`10`p1||19`15`grass||20`6`grass'; makeObjectsArray(v1); standardPathway('up', 12); standardPathway('left', -1, 6); bgGraphics(areaTerrain, '', '', 'jungle', '', areaTerrain); break; case 14: mSet = 'iron_4'; var v1 = '4`5`grass||4`6`grass||4`8`fungus||4`16`grass||7`18`grass||8`5`grass||8`16`fungus||12`4`grass||12`7`sign`Sprout village\nEnter upon pain of death.||12`18`grass||17`17`grass||18`6`grass'; makeObjectsArray(v1); standardPathway('left', 15); standardPathway('right', 6); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 15: mSet = 'iron_4'; var v1 = '2`6`grass||2`14`grass||3`4`fungus||4`18`fungus||4`19`fungus||5`17`grass||6`4`grass||6`5`grass||6`7`fungus||6`13`fungus||6`17`grass||7`17`grass||10`6`fungus||11`6`fungus||11`17`fungus||11`19`fungus||12`5`fungus||12`19`fungus||13`17`fungus||14`19`grass||15`19`grass||16`6`grass||16`15`fungus||16`19`grass||17`6`grass||17`15`fungus||17`19`grass||19`4`fungus||19`5`fungus||19`7`fungus||20`17`fungus'; makeObjectsArray(v1); standardPathway('left', 16); standardPathway('right', 14); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 16: mSet = 'iron_4'; var v1 = '0`5`fungus||0`16`fungus||1`5`fungus||1`6`fungus||1`16`fungus||2`6`fungus||2`16`fungus||3`3`grass||3`6`fungus||3`15`fungus||3`16`fungus||4`6`fungus||4`7`fungus||4`15`fungus||5`7`fungus||5`8`fungus||5`15`fungus||6`8`fungus||6`14`fungus||6`15`fungus||7`9`fungus||7`14`fungus||8`4`grass||8`9`fungus||8`14`fungus||8`18`grass||9`9`fungus||9`14`fungus||10`9`fungus||10`10`rock||10`11`rock||10`12`rock||10`13`rock||10`14`fungus||11`10`rock||11`11`rock||11`12`rock||11`13`rock||11`14`fungus||12`10`rock||12`11`rock||12`12`rock||12`13`rock||14`18`grass||15`18`grass||15`19`grass||16`4`grass||19`18`grass'; makeObjectsArray(v1); standardPathway('left', 17); standardPathway('right', 15); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 17: mSet = 'iron_4'; var v1 = '1`13`grass||2`6`fungus||2`7`fungus||2`8`fungus||2`9`fungus||2`10`fungus||2`11`fungus||2`12`fungus||3`5`fungus||3`6`fungus||3`12`fungus||3`13`fungus||3`14`fungus||3`17`grass||4`2`grass||4`4`fungus||4`5`fungus||4`14`fungus||4`15`fungus||5`2`grass||5`4`fungus||5`7`fungus||5`12`fungus||5`15`fungus||5`16`fungus||5`20`grass||6`3`fungus||6`4`fungus||6`17`fungus||7`2`fungus||7`3`fungus||7`17`fungus||7`18`fungus||8`1`fungus||8`2`fungus||8`18`fungus||9`1`fungus||9`4`fungus||9`15`fungus||9`16`fungus||9`18`fungus||9`19`fungus||10`1`fungus||10`4`fungus||10`16`fungus||10`19`fungus||11`1`fungus||11`19`fungus||12`1`fungus||12`19`fungus||13`2`fungus||13`18`fungus||13`19`fungus||14`2`fungus||14`18`fungus||15`2`fungus||15`6`fungus||15`13`fungus||15`18`fungus||16`2`fungus||16`3`fungus||16`4`fungus||16`17`fungus||16`18`fungus||17`3`fungus||17`4`fungus||17`5`fungus||17`6`fungus||17`16`fungus||17`17`fungus||18`6`fungus||18`7`fungus||18`14`fungus||18`15`fungus||18`16`fungus||18`18`grass||19`7`fungus||19`8`fungus||19`13`fungus||19`14`fungus||19`18`grass||20`7`fungus||20`8`fungus||20`13`fungus||21`8`fungus||21`13`fungus||21`15`grass||21`16`grass'; makeObjectsArray(v1); standardPathway('right', 16); if (quest_29.prog != 99) { makeObject(10, 10, 'talk', 'iron_boss>iron_boss_0'); } bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 18: mSet = 'iron_5'; var v1 = '6`6`fungus||6`17`fungus||7`11`grass||10`8`grass||10`11`fungus||10`14`grass||13`11`grass||15`6`fungus||15`16`fungus||16`16`fungus'; makeObjectsArray(v1); standardPathway('left', 8); standardPathway('right', 19); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); break; case 19: mSet = 'iron_5'; var v1 = '2`8`boulder||2`14`boulder||5`3`grass||6`8`p1||6`15`p1||7`18`grass||8`7`sign$f`May this gift assist you in your journey...||9`3`p1||10`10`chest$f`ITEMS$G002$37||12`18`p1||16`4`grass||16`9`p1||16`18`grass||17`15`p1||18`4`boulder||18`5`boulder||19`12`boulder'; makeObjectsArray(v1); standardPathway('left', 18); bgGraphics(areaTerrain, 'jungle', '', 'mountain', '', areaTerrain); } } } frame 33 { function map8(area) { if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 10; } else { encounterRate = 20; } areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Costa De Acero'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaTerrain = 'beach'; mapLocation = 8; areaLocation = area; changeSurroundBlank(1, 1); chestCredits = 20; bgMusic(areaMusic); environment = 'outdoor'; switch (area) { case 1: mSet = 'costa_1'; var v1 = '4`7`grass2||7`6`boulder||8`4`grass2||14`18`grass2||15`6`grass2||16`6`grass2||18`4`boulder'; makeObjectsArray(v1); standardPathway('right', 2); standardPathway('left', -1, 9); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 2: mSet = 'costa_1'; var v1 = '3`17`boulder||5`5`grass2||5`19`boulder||14`5`grass2||17`11`grass2||18`11`grass2'; makeObjectsArray(v1); standardPathway('left', 1); standardPathway('down', 3); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 3: mSet = 'costa_1'; var v1 = '3`8`boulder||4`15`boulder||7`19`boulder||11`15`boulder||13`3`grass2||17`4`grass2'; makeObjectsArray(v1); standardPathway('right', 4); standardPathway('up', 2); bgGraphics(areaTerrain, 'mountain', '', 'sea', ''); break; case 4: mSet = 'costa_1'; var v1 = '4`17`boulder||6`5`grass2||6`6`grass2||11`4`grass2||12`4`grass2||12`19`boulder||17`5`grass2||17`17`boulder'; makeObjectsArray(v1); standardPathway('right', 5); standardPathway('left', 3); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 5: mSet = 'costa_1'; var v1 = '2`15`boulder||10`3`grass2||10`11`boulder||11`3`grass2||18`7`grass2'; makeObjectsArray(v1); standardPathway('left', 4); standardPathway('down', 6); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 6: mSet = 'costa_1'; var v1 = '1`15`boulder||1`19`boulder||3`20`boulder||5`20`boulder||7`6`boulder||11`17`boulder||15`2`grass2||16`2`grass2||16`10`boulder'; makeObjectsArray(v1); standardPathway('right', 7); standardPathway('up', 5); bgGraphics(areaTerrain, 'mountain', '', '', ''); break; case 7: mSet = 'costa_1'; var v1 = '4`7`boulder||6`18`p1||7`15`grass||8`6`sign$f`NW - Tidal Caves\nS - Iron Jungle\nSE - Acero Terminus||14`18`grass||17`7`boulder||17`16`p1||19`15`grass'; makeObjectsArray(v1); standardPathway('right', 8); standardPathway('left', 6); standardPathway('down', -1, 7); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 8: mSet = 'costa_1'; var v1 = '2`18`boulder||2`19`boulder||2`20`scrapluna||4`18`grass2||6`4`grass2||6`20`boulder||15`3`grass2||15`13`grass2||15`17`grass2||18`18`boulder'; makeObjectsArray(v1); standardPathway('right', 9); standardPathway('left', 7); bgGraphics(areaTerrain, '', '', 'sea', ''); break; case 9: mSet = 'costa_1'; var v1 = '2`6`grass2||4`3`grass2||4`4`grass2||7`2`grass2||8`14`boulder||8`15`boulder||12`11`boulder||13`18`boulder||14`14`boulder||14`18`boulder||15`12`boulder||16`10`boulder||17`10`boulder||17`17`boulder||18`15`boulder||20`14`boulder'; makeObjectsArray(v1); standardPathway('left', 8); standardPathway('up', 10); bgGraphics(areaTerrain, '', '', '', ''); break; case 10: mSet = 'costa_1'; var v1 = '2`12`grass2||3`6`grass2||3`12`grass2||6`2`grass2||8`6`grass2||14`18`boulder||18`7`boulder||19`13`boulder||19`15`boulder'; makeObjectsArray(v1); standardPathway('right', -1, 10); standardPathway('down', 9); bgGraphics(areaTerrain, '', '', 'sea', ''); } } } frame 33 { function map9(area) { encounterRate = 10; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Tidal Caves'; areaTerrain = 'tidalcave'; music_tracks = new Array('cave', 'cave', 'cave'); areaMusic = 'cave'; areaOverlay = 'cave'; chestCredits = 40; mapLocation = 9; areaLocation = area; changeSurroundBlank(1, 1); environment = 'indoor'; var v3 = ''; var v2 = ''; var v1 = ''; var v4 = ''; switch (area) { case 0: encounterRate = 'NONSAVE'; areaTerrain = 'beach'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaOverlay = 'lensflare'; v3 = 'mountain'; v1 = 'tidalcave'; objString = '3`0||3`1||3`2||3`3||4`3||5`3||6`3||7`3||7`4||7`5`repairstation||8`4||9`4||10`4||11`4||12`4||13`4||14`3||14`4||15`0||15`1||15`2||15`3'; makePathway(7, 6, 'Doorway', 'repairstation'); makeObjectsArray(objString); makePathway(11, 5, 'Pathway', 1, 315, -580); standardPathway('right', -1, 8); environment = 'outdoor'; break; case 1: mSet = 'tidal_1'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v1 = 'water_u'; objString = '0`5||0`6||0`7||1`4||1`5||2`4||3`3||3`4||4`2||4`3||4`4||5`1||5`2||5`4||6`1||6`4||7`1||7`2||7`4||7`5||7`6||7`7||8`2||8`3||8`4||8`5||8`6||9`3||9`5||10`3||10`5||11`3||11`4||11`5||12`2||12`3||12`4||13`2||13`4||14`2||14`4||15`2||15`4||16`1||16`2||16`4||16`5||16`6||17`1||17`6||17`7||17`8||18`1||18`5||18`6||19`1||19`4||19`5||20`1||20`4||21`1||21`2||21`3||21`4'; makeObjectsArray(objString); } objString = '3`16`rock||4`18`s2||16`18`sign$f`Tidal Caves: Flooded during high tide'; makeObjectsArray(objString); makePathway(10, 21, 'Pathway', 0, 315, -200); standardPathway('up', 2); break; case 2: mSet = 'tidal_1'; objString = '3`14`rock||5`10`s2||5`11`grass2||6`10`grass2||6`11`grass2||7`10`grass2||8`17`s2||14`7`s2||15`4`rock||15`5`grass2||15`6`grass2||16`4`grass2||16`5`grass2||17`5`grass2'; makeObjectsArray(objString); standardPathway('down', 1); standardPathway('up', 3); break; case 3: mSet = 'tidal_1'; objString = '6`10`grass2||6`11`rock||7`10`grass2||8`17`s2||15`4`rock||15`6`grass2||16`4`grass2||17`5`rock'; makeObjectsArray(objString); standardPathway('down', 2); standardPathway('left', 4); break; case 4: mSet = 'tidal_1'; objString = '5`10`fungus||8`18`fungus||10`11`grass2||10`12`grass2||11`4`rock||11`10`grass2||11`11`grass2||12`9`grass2||12`10`s2||14`4`s2||14`19`s2||15`4`s2||15`16`s2||18`4`rock||18`13`rock'; makeObjectsArray(objString); standardPathway('left', 5); standardPathway('right', 3); break; case 5: mSet = 'tidal_1'; objString = '0`7`s2||1`7`s2||1`9`rock||1`12`s2||1`15`grass2||2`15`grass2||2`16`grass2||2`17`grass2||3`17`grass2||3`18`grass2||8`18`s2||10`11`grass2||11`10`grass2||11`11`fungus||11`19`s2||12`9`grass2||12`10`fungus||14`19`s2||15`16`s2'; makeObjectsArray(objString); standardPathway('up', 6); standardPathway('right', 4); break; case 6: mSet = 'tidal_1'; objString = '1`12`s2||9`10`grass2||9`11`grass2||9`12`grass2||10`9`grass2||10`10`s2||10`11`s2||10`12`grass2||11`9`grass2||11`11`grass2||11`12`grass2||11`19`s2||12`10`grass2||12`11`grass2||15`5`fungus'; makeObjectsArray(objString); standardPathway('down', 5); standardPathway('left', 7); standardPathway('right', 8); break; case 7: mSet = 'tidal_1'; objString = '1`13`s2||2`13`grass2||3`10`grass2||3`12`grass2||3`13`grass2||3`15`Boulder||4`5`s2||4`9`grass2||4`11`grass2||5`5`Boulder||6`14`s2||6`18`rock||8`20`grass2||10`20`grass2||11`21`grass2||14`21`rock||15`5`fungus||15`20`s2'; makeObjectsArray(objString); standardPathway('up', 14); standardPathway('right', 6); break; case 8: mSet = 'tidal_1'; objString = '3`16`rock||4`18`s2||8`17`s2||9`3`grass2||9`4`rock||15`2`rock||17`18`fungus||18`13`fungus'; makeObjectsArray(objString); standardPathway('left', 6); standardPathway('up', 9); break; case 9: mSet = 'tidal_1'; objString = '3`16`rock||4`18`s2||9`17`Boulder||10`15`s2||14`13`grass2||14`14`grass2||15`13`grass2||15`14`Boulder||15`15`grass2||15`16`grass2||16`13`grass2||16`14`grass2||16`15`grass2||16`16`fungus||16`17`grass2||17`16`grass2||20`10`rock'; makeObjectsArray(objString); standardPathway('down', 8); standardPathway('up', 10); break; case 10: mSet = 'tidal_1'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v4 = 'water_d'; objString = '0`14||0`15||1`14||1`15||2`13||2`14||3`14||3`15||3`16||4`14||4`15||5`15||6`13||6`14||6`15||7`12||7`13||7`14||7`15||8`11||8`12||8`13||9`10||9`11||9`13||10`10||10`13||11`10||11`11||11`13||12`11||12`13||13`11||13`12||13`13||14`12||14`13||14`14||15`12||15`14||15`15||16`12||16`15||17`12||17`15||17`16||18`12||18`16||18`17||19`12||19`17||19`18||20`12||20`13||20`18||21`13||21`18||21`19'; makeObjectsArray(objString); } objString = '4`4`fungus||4`6`s2||9`3`s2||9`4`s2||16`4`fungus||19`3`s2'; makeObjectsArray(objString); standardPathway('down', 9); standardPathway('up', 13); break; case 13: mSet = 'tidal_1'; objString = '5`13`grass2||5`14`rock||6`13`grass2||6`14`grass2||7`4`rock||7`5`rock||7`12`s2||15`6`s2||15`7`Boulder||16`6`Boulder||16`7`Boulder'; makeObjectsArray(objString); standardPathway('down', 10); standardPathway('left', 21); makePathway(10, 1, 'Pathway', 23, 206, -346); makePathway(11, 1, 'Pathway', 23, 206, -346); break; case 14: mSet = 'tidal_1'; objString = '7`5`Boulder||7`13`Boulder||8`6`fungus||9`8`Boulder||13`17`Boulder||15`5`fungus||15`14`rock||16`5`rock||16`13`rock||16`14`rock||17`13`rock||18`13`fungus'; makeObjectsArray(objString); standardPathway('down', 7); standardPathway('left', 15); break; case 15: mSet = 'tidal_1'; objString = '1`15`s2||1`16`grass2||2`15`grass2||2`16`grass2||5`14`s2||8`9`s2||8`11`s2||8`17`grass2||9`10`rock||9`17`grass2||9`18`grass2||10`9`s2||10`11`s2||10`17`rock||10`18`grass2||11`17`grass2||15`19`s2||18`14`s2'; makeObjectsArray(objString); standardPathway('left', 16); standardPathway('up', 19); standardPathway('right', 14); break; case 16: mSet = 'tidal_2'; objString = '0`6`s2||5`4`s2||5`5`s2||5`17`Boulder||6`13`s2||6`14`s2||10`10`Boulder||10`19`s2||13`6`s2||13`18`s2||14`18`s2'; makeObjectsArray(objString); standardPathway('left', 17); standardPathway('right', 15); break; case 17: mSet = 'tidal_2'; objString = '3`12`grass2||3`13`grass2||3`14`grass2||4`11`grass2||4`12`grass2||4`14`grass2||4`15`grass2||5`11`fungus||5`12`grass2||5`13`fungus||5`14`grass2||6`6`fungus||6`11`grass2||6`12`grass2||6`13`grass2||7`12`grass2||11`18`s2||13`16`fungus||13`17`grass2||14`16`grass2||14`17`grass2||15`6`fungus||17`5`s2'; makeObjectsArray(objString); standardPathway('up', 18); standardPathway('right', 16); break; case 18: mSet = 'tidal_2'; objString = '1`7`fungus||5`8`s2||7`5`s2||7`7`rock||7`10`fungus||9`4`rock||11`7`s2||12`7`s2||13`12`s2||15`5`s2||17`5`rock||18`9`rock'; makeObjectsArray(objString); standardPathway('down', 17); break; case 19: mSet = 'tidal_2'; objString = '3`11`grass2||3`12`grass2||3`13`grass2||4`7`s2||4`9`grass2||4`12`grass2||4`14`s2||5`6`grass2||5`7`grass2||5`17`grass2||6`6`grass2||9`12`Boulder||17`4`grass2||17`14`grass2||18`4`grass2||18`6`s2||18`8`grass2||18`9`grass2||18`13`grass2||18`14`grass2||18`15`s2||19`8`grass2||19`9`grass2||19`13`grass2'; makeObjectsArray(objString); standardPathway('down', 15); standardPathway('up', 20); break; case 20: mSet = 'tidal_2'; objString = '1`12`s2||1`13`s2||2`12`Boulder||2`13`Boulder||3`8`s2||4`8`grass2||7`16`s2||7`17`Boulder||8`6`s2||8`12`s2||9`6`Boulder||14`10`Boulder||14`11`s2||15`10`Boulder||15`11`Boulder'; makeObjectsArray(objString); standardPathway('down', 19); standardPathway('right', 21); break; case 21: mSet = 'tidal_2'; objString = '5`7`fungus||5`18`rock||6`5`grass2||6`17`fungus||6`18`rock||7`4`fungus||7`5`fungus||7`20`grass2||9`4`rock||11`13`grass2||11`14`grass2||13`17`rock||14`19`fungus||15`6`fungus||16`6`fungus||16`10`grass2||17`4`grass2||18`4`fungus||19`6`rock||20`6`rock'; makeObjectsArray(objString); standardPathway('left', 20); standardPathway('right', 13); break; case 23: mSet = 'tidal_2'; areaName = 'Tidal Cave 2 Entrance'; areaTerrain = 'beach'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaOverlay = ''; v3 = 'tidalcave'; v1 = 'tidalcave'; objString = '6`7`s2||6`8`s2||6`15`rock||7`5`repairstation||14`17`rock||14`18`s2||17`4`s2||18`12`s2||18`13`rock'; makeObjectsArray(objString); makePathway(7, 6, 'Doorway', 'repairstation'); objString = '0`4||0`15||0`16||1`4||1`15||2`4||2`5||2`6||2`10||2`11||2`12||2`13||2`14||2`15||3`0||3`1||3`2||3`6||3`7||3`8||3`10||3`13||3`14||4`2||4`8||4`9||4`10||5`2||5`3||6`3||7`3||7`4||8`4||9`3||9`4||10`3||11`3||12`3||12`4||13`3||13`4||14`3||15`0||15`1||15`2||15`3'; makeObjectsArray(objString); makePathway(5, 11, 'Pathway', 13, 335, -100); makePathway(11, 5, 'Pathway', 24, 315, -580); environment = 'outdoor'; break; case 24: mSet = 'tidal_2'; objString = '4`9`rock||6`13`s2||6`14`s2||6`18`s2||9`3`rock||10`10`s2||12`9`s2||12`10`s2||12`11`Boulder||12`12`s2||13`11`s2||17`9`rock||17`16`s2||18`5`s2||18`16`s2'; makeObjectsArray(objString); makePathway(10, 21, 'Pathway', 23, 315, -200); standardPathway('up', 27); standardPathway('right', 25); break; case 25: mSet = 'tidal_2'; objString = '4`4`s2||5`5`grass2||6`16`s2||8`6`s2||8`16`rock||9`6`s2||11`17`s2||11`19`grass2||12`7`rock||12`17`s2||12`19`grass2||15`5`grass2||15`14`s2||16`5`s2||17`5`s2||17`18`rock||17`19`grass2||18`18`grass2||18`19`rock||18`20`grass2||19`19`grass2'; makeObjectsArray(objString); standardPathway('left', 24); standardPathway('right', 26); break; case 26: mSet = 'tidal_2'; var objString = '5`16`s2||8`17`rock||9`18`grass2||10`5`rock||12`5`s2||12`19`s2||15`5`grass2||16`11`chest$f`ITEMS$I002SB$40||18`15`grass2||18`16`grass2||18`17`s2||18`18`s2||19`6`s2||19`7`s2||19`14`grass2||19`15`rock||19`17`grass2||20`13`Boulder||20`14`grass2||20`15`grass2||20`16`Boulder||21`10`s2||21`14`s2'; makeObjectsArray(objString); standardPathway('left', 25); break; case 27: mSet = 'tidal_2'; objString = '3`14`s2||4`13`s2||4`14`rock||5`6`s2||5`7`s2||5`18`s2||12`9`rock||16`18`rock||16`19`s2||17`5`s2||18`10`s2||19`4`rock||19`10`s2||19`16`s2'; makeObjectsArray(objString); standardPathway('down', 24); standardPathway('up', 28); break; case 28: mSet = 'tidal_2'; objString = '0`7`s2||3`7`rock||4`6`grass2||5`3`rock||5`5`s2||9`11`Boulder||10`4`grass2||10`5`rock||10`10`Boulder||10`11`Boulder||11`4`grass2||11`5`grass2||11`9`Boulder||11`10`Boulder||11`11`s2||11`12`Boulder||11`13`Boulder||12`9`grass2||12`11`Boulder||12`12`Boulder||13`11`Boulder||17`3`s2||17`6`rock||18`3`s2||18`6`s2'; makeObjectsArray(objString); standardPathway('down', 27); standardPathway('left', 30); standardPathway('right', 29); break; case 29: mSet = 'tidal_2'; objString = '1`14`s2||2`15`Boulder||5`4`s2||6`4`s2||7`3`Boulder||7`16`s2||8`14`Boulder||11`4`s2||12`4`s2||13`17`s2||14`17`s2||15`3`Boulder||15`8`Boulder||15`9`grass2||16`8`grass2||16`9`Boulder||18`4`s2||18`19`Boulder||20`17`s2'; makeObjectsArray(objString); standardPathway('left', 28); standardPathway('right', 41); break; case 30: mSet = 'tidal_2'; objString = '16`5`grass2||16`6`grass2||16`7`grass2||17`6`grass2||17`7`Boulder||17`8`grass2||17`16`s2||18`6`grass2||18`7`rock||18`8`grass2||18`16`s2||18`17`grass2||18`18`grass2||19`4`s2||19`5`s2||19`6`grass2||19`7`grass2||19`15`s2||19`16`grass2||19`17`Boulder||20`5`s2||20`6`s2||20`15`grass2||20`16`grass2'; makeObjectsArray(objString); standardPathway('left', 31); standardPathway('right', 28); break; case 31: mSet = 'tidal_3'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v2 = 'water_r'; objString = '11`13||11`14||11`15||12`9||12`13||12`14||12`15||13`9||13`10||13`11||13`17||13`18||13`19||13`20||13`21||14`8||14`9||14`11||14`12||14`13||14`14||14`15||14`16||14`17||15`5||15`6||15`7||15`8||16`0||16`1||16`3||16`4||16`5||16`6||16`7||16`8||16`9||16`10||16`11||16`12||16`13||16`18||16`19||16`20||16`21||17`1||17`2||17`3||17`4||17`7||17`8||17`13||17`14||17`15||17`16||17`17||17`18||18`0||18`1||18`2||18`4||19`2||19`3||19`4||20`3||20`4||21`3||21`4'; makeObjectsArray(objString); } objString = '2`6`s2||2`10`s2||3`6`rock||3`15`grass2||3`16`s2||3`17`grass2||4`2`grass2||4`3`s2||4`4`grass2||4`15`grass2||4`16`grass2||4`17`grass2||5`2`grass2||5`3`Boulder||5`4`grass2||6`3`grass2||6`4`grass2||6`19`s2||6`20`grass2||7`19`s2||7`20`grass2'; makeObjectsArray(objString); standardPathway('up', 33); standardPathway('right', 30); break; case 33: mSet = 'tidal_3'; objString = '4`7`s2||6`15`grass2||6`16`s2||6`17`grass2||7`15`grass2||7`16`grass2||7`17`grass2||8`3`s2||8`4`grass2||8`12`fungus||9`3`grass2||9`4`grass2||9`7`fungus||10`3`grass2||11`11`fungus||13`9`fungus||13`14`fungus||17`8`s2||17`9`s2||18`13`grass2||18`14`s2||18`15`s2||18`16`grass2||19`14`grass2||19`15`grass2'; makeObjectsArray(objString); standardPathway('down', 31); standardPathway('left', 38); standardPathway('up', 35); break; case 35: mSet = 'tidal_3'; objString = '3`15`s2||4`15`s2||4`16`Boulder||5`6`s2||6`12`s2||7`11`s2||7`12`Boulder||7`13`s2||11`5`s2||11`7`Boulder||12`6`Boulder||12`7`Boulder||12`16`s2||12`17`Boulder||12`18`s2||13`16`s2||14`15`s2||15`6`s2||16`6`s2||16`7`Boulder||17`6`Boulder||19`12`s2||19`13`Boulder||20`12`Boulder||20`13`Boulder'; makeObjectsArray(objString); standardPathway('down', 33); standardPathway('right', 36); break; case 36: mSet = 'tidal_3'; objString = '4`3`s2||5`5`Boulder||6`18`s2||7`17`grass2||7`18`s2||7`19`grass2||8`12`s2||8`17`grass2||8`18`grass2||11`4`grass2||11`5`grass2||12`4`grass2||12`5`grass2||12`6`grass2||12`21`Boulder||13`4`grass2||13`5`s2||13`6`grass2||13`19`s2||14`4`grass2||14`5`Boulder||14`6`grass2||15`4`grass2||15`5`grass2||15`15`s2||16`3`grass2||16`4`s2||16`5`grass2||16`15`s2||16`17`Boulder||17`3`grass2||17`4`grass2||17`5`grass2||18`4`grass2||18`5`grass2'; makeObjectsArray(objString); standardPathway('left', 35); standardPathway('right', 37); break; case 37: mSet = 'tidal_3'; objString = '1`6`s2||3`15`s2||3`16`s2||4`16`grass2||4`17`grass2||5`17`grass2||8`6`s2||8`11`s2||8`18`grass2||8`19`grass2||9`18`s2||9`19`grass2||10`9`fungus||10`18`grass2||10`19`grass2||11`18`grass2||11`19`grass2||13`7`s2||13`12`s2||17`15`Boulder||17`16`grass2||18`3`s2||18`4`s2||18`5`grass2||18`15`grass2||18`16`grass2||18`17`s2||18`18`grass2||18`19`s2||19`3`grass2||19`4`grass2||19`5`grass2||19`16`grass2||19`17`grass2||19`18`grass2||20`3`grass2||20`4`grass2||20`5`grass2||20`16`grass2'; makeObjectsArray(objString); standardPathway('left', 36); standardPathway('right', 60); makePathway(10, 1, 'Pathway', 61, 206, -346); makePathway(11, 1, 'Pathway', 61, 206, -346); break; case 38: mSet = 'tidal_3'; objString = '15`5`s2||18`13`s2||19`5`s2'; makeObjectsArray(objString); standardPathway('left', 39); standardPathway('right', 33); break; case 39: mSet = 'tidal_3'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v2 = 'water_r'; objString = '11`13||11`14||11`15||12`9||12`13||12`14||12`15||13`9||13`10||13`11||13`17||13`18||13`19||13`20||13`21||14`8||14`9||14`11||14`12||14`13||14`14||14`15||14`16||14`17||15`5||15`6||15`7||15`8||16`0||16`1||16`3||16`4||16`5||16`6||16`7||16`8||16`9||16`10||16`11||16`12||16`13||16`18||16`19||16`20||16`21||17`1||17`2||17`3||17`4||17`7||17`8||17`13||17`14||17`15||17`16||17`17||17`18||18`0||18`1||18`2||18`4||19`2||19`3||19`4||20`3||20`4||21`3||21`4'; makeObjectsArray(objString); } objString = '0`9`s2||3`2`s2||5`6`s2'; makeObjectsArray(objString); standardPathway('left', 40); standardPathway('right', 38); break; case 40: mSet = 'tidal_3'; var objString = '0`13`s2||1`13`s2||2`7`s2||4`4`s2||4`10`chest`ITEMS$C02AF$41||4`15`s2||6`2`s2||7`2`s2||7`18`s2||7`19`s2||10`12`s2'; makeObjectsArray(objString); standardPathway('right', 39); break; case 41: mSet = 'tidal_3'; objString = '5`2`grass2||5`3`s2||5`14`s2||5`15`s2||5`16`grass2||6`3`grass2||6`14`grass2||6`15`grass2||6`16`grass2||7`3`grass2||8`3`s2||9`3`grass2||10`5`rock||10`18`rock||12`16`s2||12`18`grass2||13`16`s2||13`17`grass2||13`18`grass2||14`17`grass2||16`3`s2||17`5`grass2||17`6`grass2||17`7`s2||18`5`rock||18`6`grass2'; makeObjectsArray(objString); standardPathway('left', 29); standardPathway('right', 42); break; case 42: mSet = 'tidal_3'; objString = '2`5`s2||2`7`grass2||3`5`s2||3`6`grass2||3`7`s2||4`6`grass2||4`15`s2||5`6`grass2||5`7`grass2||5`16`s2||5`17`grass2||6`1`rock||6`16`grass2||6`17`grass2||8`14`rock||12`20`s2||15`16`grass2||15`17`grass2||16`3`s2||16`4`grass2||16`16`rock||18`13`grass2||18`14`grass2'; makeObjectsArray(objString); standardPathway('left', 41); standardPathway('up', 43); break; case 43: mSet = 'tidal_3'; objString = '3`0`s2||3`6`s2||3`12`grass2||3`13`s2||4`0`rock||4`1`s2||4`7`grass2||4`8`grass2||4`9`rock||4`11`rock||4`12`grass2||4`13`grass2||5`17`grass2||5`18`s2||5`19`grass2||6`18`grass2||6`19`grass2||6`20`grass2||15`14`grass2||15`15`grass2||15`16`s2||16`6`s2||16`14`grass2||16`15`grass2||16`16`s2||16`17`grass2||17`4`grass2||17`5`grass2||17`6`s2||17`7`grass2||17`14`grass2||17`15`rock||17`16`grass2||18`4`grass2||18`5`grass2||18`6`grass2'; makeObjectsArray(objString); standardPathway('down', 42); standardPathway('up', 44); break; case 44: mSet = 'tidal_3'; objString = '2`11`s2||2`12`grass2||3`4`grass2||3`5`s2||3`11`grass2||4`3`grass2||4`4`Boulder||7`15`grass2||7`16`grass2||8`15`s2||8`16`grass2||17`14`s2||17`15`Boulder||18`15`grass2'; makeObjectsArray(objString); standardPathway('down', 43); standardPathway('up', 49); standardPathway('right', 52); break; case 46: mSet = 'tidal_4'; objString = '2`9`s2||2`10`s2||2`11`grass2||3`9`grass2||3`10`grass2||3`11`grass2||4`15`grass2||5`4`s2||11`18`s2||11`19`grass2||12`18`grass2||12`19`Boulder||19`19`grass2||19`20`s2||19`21`grass2||20`19`grass2||20`20`Boulder||20`21`grass2||21`19`grass2||21`20`grass2||21`21`grass2'; makeObjectsArray(objString); standardPathway('up', 47); standardPathway('right', 49); break; case 47: mSet = 'tidal_4'; objString = '2`9`s2||3`9`grass2||4`15`grass2||5`4`s2||6`4`Boulder||19`19`grass2||19`20`s2||19`21`grass2||20`20`Boulder'; makeObjectsArray(objString); standardPathway('down', 46); standardPathway('left', 60); standardPathway('right', 50); break; case 49: mSet = 'tidal_4'; objString = '9`10`s2'; makeObjectsArray(objString); standardPathway('down', 44); standardPathway('left', 46); standardPathway('up', 50); standardPathway('right', 53); break; case 50: mSet = 'tidal_4'; objString = '9`10`s2'; makeObjectsArray(objString); standardPathway('down', 49); standardPathway('left', 47); standardPathway('up', 51); standardPathway('right', 54); break; case 51: mSet = 'tidal_4'; objString = '1`6`s2||1`8`s2||2`7`fungus||2`10`s2||2`15`s2||2`16`s2||3`9`Boulder||3`16`fungus||4`16`Boulder||6`4`s2||6`5`s2||7`4`s2||7`5`s2||8`4`Boulder||8`9`fungus||19`5`Boulder||19`6`s2'; makeObjectsArray(objString); standardPathway('down', 50); standardPathway('right', 55); break; case 52: mSet = 'tidal_4'; objString = '2`11`s2||2`12`grass2||3`4`grass2||3`5`s2||3`11`grass2||4`4`Boulder||7`15`grass2||7`16`grass2||8`16`grass2||17`14`s2||17`15`Boulder||18`15`grass2'; makeObjectsArray(objString); standardPathway('left', 44); standardPathway('up', 53); break; case 53: mSet = 'tidal_4'; objString = '9`10`s2'; makeObjectsArray(objString); standardPathway('down', 52); standardPathway('left', 49); standardPathway('up', 54); standardPathway('right', 57); break; case 54: mSet = 'tidal_4'; objString = '9`10`s2'; makeObjectsArray(objString); standardPathway('down', 53); standardPathway('left', 50); standardPathway('up', 55); standardPathway('right', 58); break; case 55: mSet = 'tidal_4'; objString = '1`6`s2||1`8`fungus||2`7`fungus||6`4`s2||6`5`s2||7`4`s2||7`5`s2||8`4`Boulder||8`9`fungus||19`5`Boulder||19`6`s2||19`15`s2||20`15`s2'; makeObjectsArray(objString); standardPathway('left', 51); standardPathway('down', 54); standardPathway('right', 59); break; case 57: mSet = 'tidal_4'; objString = '4`17`s2||5`17`s2||6`16`s2||6`17`rock||13`18`rock||15`17`s2||17`4`grass2||17`5`rock||18`4`s2||18`6`grass2||18`13`grass2||18`14`s2||18`15`grass2||19`4`s2||19`5`rock||19`6`grass2||19`13`s2||19`14`grass2||19`15`grass2||20`6`grass2'; makeObjectsArray(objString); standardPathway('left', 53); standardPathway('up', 58); break; case 58: mSet = 'tidal_4'; objString = '13`18`rock||15`17`s2||17`4`grass2||17`5`rock||18`4`s2||18`6`grass2||18`13`grass2||18`14`s2||18`15`grass2||19`4`s2||19`6`grass2||19`13`s2||19`14`grass2||19`15`grass2'; makeObjectsArray(objString); standardPathway('down', 57); standardPathway('left', 54); standardPathway('up', 59); break; case 59: mSet = 'tidal_4'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v2 = 'water_r'; objString = '11`13||11`14||11`15||12`9||12`13||12`14||12`15||13`9||13`10||13`11||13`17||13`18||13`19||13`20||13`21||14`8||14`9||14`11||14`12||14`13||14`14||14`15||14`16||14`17||15`5||15`6||15`7||15`8||16`0||16`1||16`3||16`4||16`5||16`6||16`7||16`8||16`9||16`10||16`11||16`12||16`13||16`18||16`19||16`20||16`21||17`1||17`2||17`3||17`4||17`7||17`8||17`13||17`14||17`15||17`16||17`17||17`18||18`0||18`1||18`2||18`4||19`2||19`3||19`4||20`3||20`4||21`3||21`4'; makeObjectsArray(objString); } objString = '3`6`grass2||3`7`s2||3`8`s2||4`0`rock||4`4`s2||4`5`grass2||4`6`fungus||4`7`grass2||4`8`grass2||5`4`grass2||5`5`grass2||5`6`grass2||5`7`grass2||5`16`s2||6`18`grass2||6`19`fungus||7`17`grass2||7`18`grass2||7`19`grass2||8`1`fungus||8`17`grass2||8`18`s2||8`19`grass2||19`4`chest$f`ITEMS$C03AT$42'; makeObjectsArray(objString); standardPathway('down', 58); standardPathway('left', 55); break; case 60: mSet = 'tidal_4'; objString = '4`2`Boulder||4`3`grass2||4`4`grass2||4`14`Boulder||4`15`grass2||5`2`grass2||5`3`grass2||5`14`grass2||5`15`grass2||6`0`grass2||6`15`fungus||6`16`grass2||7`0`grass2||7`16`grass2||8`16`grass2||8`17`grass2||11`1`fungus||12`18`Boulder||12`19`grass2||13`18`grass2||13`19`fungus||16`14`fungus||17`3`grass2||17`14`Boulder||18`3`grass2||18`4`grass2||19`3`grass2||19`4`grass2||20`3`Boulder||20`4`grass2'; makeObjectsArray(objString); standardPathway('left', 37); standardPathway('right', 47); break; case 61: mSet = 'tidal_4'; areaName = 'Tidal Cave 3 Entrance'; areaTerrain = 'beach'; music_tracks = new Array('beach', 'beach', 'beach'); areaMusic = 'beach'; areaOverlay = 'lensflare'; v3 = 'tidalcave'; v1 = 'tidalcave'; objString = '4`1`s2||4`2`rock||5`17`s2||6`18`s2||7`5`repairstation||11`18`rock||19`3`rock||20`13`rock||20`16`s2'; makeObjectsArray(objString); objString = '0`4||0`15||0`16||1`4||1`15||2`4||2`5||2`6||2`10||2`11||2`12||2`13||2`14||2`15||3`0||3`1||3`2||3`6||3`7||3`8||3`10||3`13||3`14||4`2||4`8||4`9||4`10||5`2||5`3||6`3||7`3||7`4||8`4||9`3||9`4||10`3||11`3||12`3||12`4||13`3||13`4||14`3||15`0||15`1||15`2||15`3'; makeObjectsArray(objString); makePathway(7, 6, 'Doorway', 'repairstation'); makePathway(5, 11, 'Pathway', 37, 335, -100); makePathway(11, 5, 'Pathway', 62, 315, -580); environment = 'outdoor'; break; case 62: mSet = 'tidal_5'; objString = '4`6`s2||5`6`rock||5`16`rock||5`17`s2||5`18`s2||6`17`grass2||6`18`rock||8`3`grass2||8`4`grass2||8`11`s2||9`3`s2||9`4`grass2||9`11`s2||10`10`s2||10`11`s2||11`10`s2||12`10`s2||13`18`grass2||13`19`s2||13`20`rock||14`19`grass2||14`20`grass2||18`3`s2||19`3`rock'; makeObjectsArray(objString); makePathway(10, 21, 'Pathway', 61, 315, -200); standardPathway('left', 63); standardPathway('up', 67); break; case 63: mSet = 'tidal_5'; objString = '3`2`s2||5`3`grass2||5`16`s2||6`2`grass2||6`3`grass2||6`9`rock||6`16`s2||6`17`s2||6`18`grass2||7`2`s2||7`3`grass2||7`17`grass2||7`18`grass2||8`16`rock||12`7`rock||13`18`s2||13`19`grass2||14`18`grass2||14`19`grass2||15`4`s2||15`19`rock||16`3`grass2||16`4`s2||16`16`s2||17`3`s2||17`5`grass2||18`4`rock'; makeObjectsArray(objString); standardPathway('left', 64); standardPathway('right', 62); break; case 64: mSet = 'tidal_5'; objString = '2`13`rock||3`12`s2||5`18`rock||7`13`fungus||7`16`s2||7`17`s2||12`15`s2||13`15`s2||13`16`s2||14`15`s2||15`12`s2||17`15`rock'; makeObjectsArray(objString); standardPathway('up', 65); standardPathway('right', 63); break; case 65: mSet = 'tidal_5'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v4 = 'water_d'; objString = '0`14||0`15||1`14||1`15||2`13||2`14||3`14||3`15||3`16||4`14||4`15||5`15||6`13||6`14||6`15||7`12||7`13||7`14||7`15||8`11||8`12||8`13||9`10||9`11||9`13||10`10||10`13||11`10||11`11||11`13||12`11||12`13||13`11||13`12||13`13||14`12||14`13||14`14||15`12||15`14||15`15||16`12||16`15||17`12||17`15||17`16||18`12||18`16||18`17||19`12||19`17||19`18||20`12||20`13||20`18||21`13||21`18||21`19'; makeObjectsArray(objString); } objString = '1`4`s2||2`2`fungus||5`2`s2||6`2`rock||6`3`s2||7`0`s2||7`2`s2||15`3`s2||16`2`rock||16`3`s2||19`5`fungus||20`4`s2'; makeObjectsArray(objString); standardPathway('down', 64); standardPathway('up', 66); break; case 66: mSet = 'tidal_5'; objString = '1`8`grass2||1`9`fungus||1`10`Boulder||1`11`s2||2`8`grass2||2`9`Boulder||2`10`grass2||3`7`s2||4`1`Boulder||4`2`grass2||5`0`s2||5`1`grass2||5`2`grass2||8`2`s2||15`2`s2||17`2`s2||17`3`Boulder||18`2`grass2||18`3`grass2||19`4`grass2||19`5`grass2||20`3`s2||20`4`grass2||20`7`Boulder||21`4`Boulder'; makeObjectsArray(objString); standardPathway('down', 65); break; case 67: mSet = 'tidal_5'; objString = '1`7`s2||1`14`s2||2`1`s2||3`12`s2||4`7`s2||16`19`s2||17`16`s2||18`9`s2||18`10`s2||19`2`s2||19`6`s2||20`6`s2'; makeObjectsArray(objString); standardPathway('down', 62); standardPathway('up', 68); break; case 68: mSet = 'tidal_5'; objString = '1`7`s2||1`14`s2||2`1`s2||3`12`s2||9`7`grass2||9`8`grass2||9`9`grass2||10`7`grass2||10`8`s2||10`9`grass2||11`7`grass2||11`8`grass2||11`9`grass2||16`19`s2||17`16`s2||19`2`s2||19`6`s2'; makeObjectsArray(objString); standardPathway('down', 67); standardPathway('up', 75); standardPathway('right', 69); break; case 69: mSet = 'tidal_5'; objString = '2`15`s2||2`17`grass2||3`2`s2||3`14`Boulder||3`15`s2||3`16`s2||3`17`grass2||4`14`grass2||4`15`grass2||4`16`grass2||4`17`grass2||5`1`grass2||5`10`grass2||5`15`grass2||5`16`grass2||8`2`s2||8`16`s2||9`17`Boulder||10`7`grass2||12`16`grass2||13`14`s2||15`16`grass2||16`3`Boulder||17`15`Boulder||18`1`grass2||18`3`s2'; makeObjectsArray(objString); standardPathway('left', 68); standardPathway('right', 71); break; case 71: mSet = 'tidal_5'; objString = '0`5`s2||1`5`grass2||1`12`grass2||1`13`s2||1`14`Boulder||2`13`grass2||2`14`grass2||5`2`grass2||5`3`s2||6`2`Boulder||6`3`grass2||6`4`grass2||7`3`grass2||10`4`s2||15`6`s2||16`10`s2||17`10`s2||17`11`Boulder||17`12`grass2||18`11`grass2||18`12`grass2||18`14`grass2||18`15`s2'; makeObjectsArray(objString); standardPathway('down', 73); standardPathway('left', 69); break; case 73: mSet = 'tidal_5'; objString = '1`6`grass2||1`7`grass2||1`8`s2||1`14`s2||2`2`grass2||2`3`s2||2`4`grass2||2`6`grass2||2`13`grass2||2`14`s2||2`15`grass2||2`16`grass2||3`4`grass2||3`15`grass2||4`15`s2||7`9`Boulder||7`18`s2||8`17`Boulder||8`18`grass2||8`19`Boulder||9`18`grass2||12`17`grass2||13`16`Boulder||13`17`grass2||14`16`grass2||15`7`Boulder||17`18`s2||17`19`grass2'; makeObjectsArray(objString); standardPathway('up', 71); standardPathway('right', 74); break; case 74: mSet = 'tidal_5'; if (quest_23.prog == 0 || hh >= 0 && hh < 6 || hh >= 12 && hh < 18) { v2 = 'water_r'; objString = '11`13||11`14||11`15||12`9||12`13||12`14||12`15||13`9||13`10||13`11||13`17||13`18||13`19||13`20||13`21||14`8||14`9||14`11||14`12||14`13||14`14||14`15||14`16||14`17||15`5||15`6||15`7||15`8||16`0||16`1||16`3||16`4||16`5||16`6||16`7||16`8||16`9||16`10||16`11||16`12||16`13||16`18||16`19||16`20||16`21||17`1||17`2||17`3||17`4||17`7||17`8||17`13||17`14||17`15||17`16||17`17||17`18||18`0||18`1||18`2||18`4||19`2||19`3||19`4||20`3||20`4||21`3||21`4'; makeObjectsArray(objString); } objString = '1`3`s2||1`15`s2||1`19`Boulder||2`2`s2||2`3`Boulder||2`4`grass2||2`5`grass2||2`6`s2||2`15`grass2||2`16`grass2||2`17`grass2||3`3`grass2||3`16`grass2||3`19`s2||19`6`chest$f`ITEMS$W03SC$43||20`15`grass2||21`6`s2||21`14`grass2||21`15`Boulder||21`16`grass2||21`17`s2'; makeObjectsArray(objString); standardPathway('left', 73); break; case 75: mSet = 'tidal_6'; objString = '1`5`fungus||2`4`s2||2`12`s2||3`14`fungus||3`16`s2||4`0`fungus||5`3`s2||8`11`rock||9`4`fungus||16`16`s2||17`9`fungus||17`10`s2||17`11`s2||19`4`s2'; makeObjectsArray(objString); standardPathway('down', 68); standardPathway('up', 77); break; case 77: mSet = 'tidal_6'; objString = '0`4`grass2||0`5`s2||0`6`grass2||0`7`fungus||1`4`grass2||1`5`grass2||1`6`grass2||1`7`grass2||3`2`fungus||5`1`fungus||5`3`s2||8`8`grass2||8`9`grass2||8`10`s2||9`8`grass2||9`9`s2||9`10`grass2||10`8`s2||10`9`grass2||10`10`grass2||15`4`s2||16`2`fungus||16`3`grass2||16`4`grass2||17`2`grass2||17`3`grass2||19`3`s2'; makeObjectsArray(objString); standardPathway('down', 75); standardPathway('left', 79); standardPathway('right', 81); break; case 79: mSet = 'tidal_6'; objString = '0`14`s2||1`16`s2||2`16`fungus||2`17`grass2||3`16`grass2||3`17`grass2||4`2`scrapavenger$f||6`3`scrapluna$f||7`0`scrapluna_l||7`2`scrapavenger$f||9`3`scrapluna$f||10`0`scrapavenger$f||10`2`scrapavenger_l||12`2`scrapluna$f||13`1`grass2||14`17`s2||17`4`s2||17`19`fungus'; makeObjectsArray(objString); standardPathway('left', 80); standardPathway('right', 77); break; case 80: var objString = '7`0||7`1||7`2||7`3||7`4||7`5||7`6||7`7||7`8||7`9||7`10||7`11||7`12||7`13||7`14||7`15||7`16||7`17||7`18||7`19||7`20'; makeObjectsArray(objString); mSet = 'tidal_6'; if (quest_20.prog != 99) { makeObject(10, 10, 'talk', 'jack>jack_0'); } standardPathway('right', 79); break; case 81: mSet = 'tidal_6'; objString = '0`14`s2||1`16`s2||2`2`s2||2`14`grass2||2`16`fungus||3`1`grass2||4`1`grass2||5`1`fungus||5`15`s2||6`2`grass2||7`17`fungus||8`16`grass2||9`3`s2||9`16`grass2||12`1`fungus||12`2`grass2||13`1`grass2||14`2`grass2||14`17`s2||14`18`grass2||15`18`grass2||15`19`grass2||17`4`s2||17`19`fungus'; makeObjectsArray(objString); standardPathway('left', 77); standardPathway('right', 84); break; case 84: mSet = 'tidal_6'; objString = '3`1`grass2||4`0`grass2||4`1`fungus||4`2`grass2||4`3`s2||4`12`s2||5`2`grass2||5`3`grass2||5`4`grass2||5`5`rock||6`17`rock||6`18`grass2||6`19`grass2||7`17`grass2||7`18`grass2||7`19`s2||7`20`grass2||8`19`grass2||8`20`grass2||9`4`s2||12`1`rock||12`2`grass2||13`1`grass2||13`21`grass2||14`16`s2||14`17`grass2||14`21`fungus||15`15`grass2||15`16`rock||15`17`grass2||16`6`fungus||16`16`grass2||17`4`s2||21`15`s2'; makeObjectsArray(objString); standardPathway('left', 81); } bgGraphics(areaTerrain, v3, v2, v1, v4, areaOverlay); bgMusic(areaMusic); } } frame 33 { function map10(area) { encounterRate = 0; areaCharType = 'pilot'; clearWorld('Blank'); areaName = 'Acero Terminus'; music_tracks = new Array('town', 'town', 'town'); areaMusic = 'town'; areaTerrain = 'towndirt'; mSet = 0; mapLocation = 10; areaLocation = area; changeSurroundBlank(1, 1); bgMusic(areaMusic); environment = 'outdoor'; if (hh >= TIME_MORNING && hh < TIME_NIGHT) { var v1 = 3; } else { var v1 = 20; } switch (area) { case 1: if (random(v1) == 1) { generateNewChar('malenpc', 180, -240, 'npc', 'moving'); } if (random(v1) == 1) { generateNewChar('femalenpc', 280, -340, 'npc', 'moving'); } if (hh >= TIME_MORNING && hh < TIME_NIGHT && quest_23.prog > 0) { generateNewChar('jezreel', 230, -180, 'npc', 'standing', 'Jezreel'); } tileString = '0`10`track||0`11`track||1`10`track||1`11`track||2`11`track||3`11`track||4`10`track||4`11`track||5`10`track||5`11`track||6`11`track||7`11`track||8`11`track||9`11`track||9`12`track||10`12`track||10`13`track||10`20`track||11`12`track||11`13`track||11`14`track||11`15`track||11`16`track||11`17`track||11`18`track||11`19`track||11`20`track||12`12`track||12`15`track||12`16`track||13`12`track||14`12`track||15`12`track||16`11`track||16`12`track||17`10`track||17`11`track||18`10`track||18`11`track||19`11`track||20`10`track||20`11`track'; makeTilesArray(tileString); objString = '1`8`p2||1`14`p2||2`8`sign$f`Acero Terminus - Gateway to Sios.||11`5`sign$f`Closed at night||12`17`chair||18`5`Boulder||19`20`p2||19`21`p2||20`20`p2||20`21`p2'; makeObjectsArray(objString); makeLargeObject(10, 10, 4, 3, 'terminal', 'r'); if (hh >= TIME_MORNING && hh < TIME_NIGHT) { makePathway(9, 5, 'Doorway', 'terminal'); } makeLargeObject(0, 4, 16, 3, 'mischouse1', 'l'); makeLargeObject(15, 2, 15, 2, 'fountain', 'l'); standardPathway('left', -1, 8); standardPathway('right', 2); standardPathway('down', 3); bgGraphics(areaTerrain, 'town_exit', '', 'airship', ''); break; case 2: if (random(v1) == 1) { generateNewChar('malenpc', 180, -240, 'npc', 'moving'); } if (random(v1) == 1) { generateNewChar('femalenpc', 280, -340, 'npc', 'moving'); } tileString = '1`10`track||1`11`track||2`11`track||3`11`track||4`11`track||5`11`track||6`11`track||7`11`track||7`12`track||8`12`track||9`12`track||9`13`track||9`14`track||9`15`track||10`15`track||10`16`track||10`20`track||11`17`track||11`18`track||11`19`track||11`20`track'; makeTilesArray(tileString); objString = '3`15`chair||3`18`chair||16`15`t1||16`16`t1||16`17`t1||16`18`t1||16`19`t1||17`15`t1||17`16`t1||17`17`t1||17`18`t1||17`19`t1||18`15`t1||18`16`t1||18`17`t1||18`18`t1||18`19`t1'; makeObjectsArray(objString); makeLargeObject(5, 4, 6, 3, 'gearhouse3', 'r'); makeLargeObject(10, 4, 7, 3, 'gearhouse2', 'r'); makeLargeObject(12, 4, 1, 3, 'gearhouse', 'r'); makeLargeObject(15, 4, 8, 3, 'gearhouse', 'r'); if (!(hh >= TIME_MORNING && hh < TIME_NIGHT)) { makePathway(13, 7, 'Doorway', 'fence'); } standardPathway('left', 1); standardPathway('down', 4); bgGraphics(areaTerrain, 'terminal1L', 'wall2', 'sea', ''); break; case 3: if (random(v1) == 1) { generateNewChar('malenpc', 180, -240, 'npc', 'moving'); } if (random(v1) == 1) { generateNewChar('femalenpc', 280, -340, 'npc', 'moving'); } tileString = '9`4`track||9`5`track||10`1`track||10`2`track||10`3`track||10`4`track||10`5`track||10`6`track||10`7`track||10`8`track||10`9`track||11`10`track||11`11`track||12`11`track||12`12`track||13`12`track||14`12`track||15`12`track||16`12`track||17`11`track||17`12`track||18`11`track||19`11`track||20`11`track'; makeTilesArray(tileString); var objString = '5`3`boulder||5`6`hydrant||5`7`p2||14`2`barrel||14`3`barrel||14`4`barrel||14`17`p2||14`18`p2||15`2`barrel||15`3`barrel||15`4`barrel||15`17`p2||15`18`p2||16`2`barrel||16`3`barrel||16`4`barrel||16`17`barrel||17`2`barrel||17`3`barrel||17`4`barrel||18`16`boulder'; makeObjectsArray(objString); makeLargeObject(1, 4, 15, 5, 'vendingmachine', 'l'); makePathway(5, 16, 'Doorway', 'vendingmachine'); makeLargeObject(1, 4, 6, 3, 'mischouse1', 'l'); makeLargeObject(0, 4, 11, 3, 'mischouse1', 'l'); standardPathway('right', 4); standardPathway('up', 1); bgGraphics(areaTerrain, 'wall2', '', 'terminal1U', 'wall2'); break; case 4: if (random(v1) == 1) { generateNewChar('malenpc', 180, -240, 'npc', 'moving'); } if (random(v1) == 1) { generateNewChar('femalenpc', 280, -340, 'npc', 'moving'); } tileString = '0`10`track||0`11`track||1`10`track||1`11`track||2`10`track||3`10`track||4`10`track||5`10`track||6`9`track||7`8`track||7`9`track||8`7`track||8`8`track||9`3`track||9`4`track||9`5`track||9`6`track||9`7`track||10`1`track||10`2`track||10`3`track'; makeTilesArray(tileString); objString = '3`16`t1||3`17`t1||4`13`chair||4`16`t1||4`17`t1||13`14`p2||13`15`p2||13`16`p2||13`17`p2||14`12`p2||14`13`p2||14`14`p2||14`15`p2||14`16`p2||14`17`p2||15`12`p2||15`13`p2||15`14`p2||15`15`p2||15`16`p2||15`17`p2||16`12`p2||16`13`p2||16`14`p2||16`15`p2||16`16`p2||16`17`p2||17`12`p2||17`13`p2||17`14`p2||17`15`p2||17`16`p2||17`17`p2||18`14`p2||18`15`p2||18`16`p2||18`17`Boulder'; makeObjectsArray(objString); makeLargeObject(1, 4, 3, 4, 'house03', 'l'); makePathway(5, 4, 'Doorway', 'house03'); makeLargeObject(0, 4, 17, 3, 'mischouse1', 'l'); makeLargeObject(18, 4, 19, 3, 'mischouse1', 'l'); standardPathway('left', 3); standardPathway('up', 2); bgGraphics(areaTerrain, 'terminal3L', 'wall2', 'terminal2U', 'wall2'); } } } frame 33 { function map11(area) { encounterRate = 10; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Lazlo Mine'; areaTerrain = 'cave'; music_tracks = new Array('cave', 'cave', 'cave'); areaMusic = 'cave'; mapLocation = 11; chestCredits = 20; areaLocation = area; changeSurroundBlank(1, 1); environment = 'indoor'; bgGraphics(areaTerrain, '', '', '', '', areaTerrain); switch (area) { case 1: encounterRate = 'NONSAVE'; areaTerrain = 'jungle'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); areaMusic = 'jungle'; var v1 = '1`9`rock||1`10`rock||1`11`rock||1`12`rock||1`13`rock||2`2`Boulder||2`3`p1||2`20`Boulder||3`2`Boulder||3`3`Boulder||3`5`grass||3`19`grass||4`8`sign$f`Mine closed.||6`19`Boulder||7`18`Boulder||7`19`Boulder||12`3`Boulder||12`19`p1||13`6`repairstation||13`19`grass||14`19`grass||15`4`p1||16`20`Boulder||17`3`Boulder||17`18`Boulder||18`3`grass||18`4`grass||18`18`Boulder'; makeObjectsArray(v1); tileString = '1`10`track||1`11`track||2`10`track||2`11`track||3`10`track||3`11`track||3`12`track||4`11`track||4`12`track||5`11`track||5`12`track||6`12`track||6`13`track||7`12`track||7`13`track||8`11`track||8`12`track||8`13`track||9`10`track||9`11`track||9`12`track||10`9`track||10`10`track||10`11`track||11`9`track||11`10`track||12`9`track||12`10`track||13`10`track||13`11`track||14`10`track||14`11`track||15`10`track||15`11`track||16`9`track||16`10`track||16`11`track||17`9`track||17`10`track||18`10`track||18`11`track||19`10`track||19`11`track||20`10`track||20`11`track'; makeTilesArray(tileString); standardPathway('left', 100); standardPathway('right', -1, 2); makePathway(13, 7, 'Doorway', 'repairstation'); environment = 'outdoor'; bgGraphics(areaTerrain, 'mine', '', 'jungle', '', areaTerrain); break; case 100: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '1`1`wall$f||1`7`lamp`100>20>20||1`14`lamp`100>20>20||1`20`wall$f||2`1`wall$f||2`16`Boulder||2`20`wall$f||3`1`wall$f||3`8`sign$f`You can still turn back now.||3`20`wall$f||4`1`wall$f||4`20`wall$f||5`1`wall$f||5`20`wall$f||6`1`wall$f||6`20`wall$f||7`1`wall$f||7`20`wall$f||8`1`wall$f||8`20`wall$f||9`1`wall$f||9`18`s1||9`20`wall$f||10`1`wall$f||10`20`wall$f||11`1`wall$f||11`20`wall$f||12`1`wall$f||12`20`wall$f||13`1`wall$f||13`20`wall$f||14`1`wall$f||14`5`Boulder||14`20`wall$f||15`1`wall$f||15`20`wall$f||16`1`wall$f||16`20`wall$f||17`1`wall$f||17`20`wall$f||18`1`wall$f||18`17`Boulder||18`20`wall$f||19`1`wall$f||19`3`s1||19`20`wall$f||20`1`wall$f||20`20`wall$f||21`1`wall||21`2`wall||21`3`wall||21`4`wall||21`5`wall||21`6`wall||21`7`wall||21`14`wall||21`15`wall||21`16`wall||21`17`wall||21`18`wall||21`19`wall||21`20`wall'; makeObjectsArray(v1); if (quest_10.prog == 0) { var tileString = '12`1||12`2||12`3||12`4||12`5||12`6||12`7||12`8||12`9||12`10||12`11||12`12||12`13||12`14||12`15||12`16||12`17||12`18||12`19||12`20'; makeChatTilesArray(tileString, 'billy_1', 'talk'); } standardPathway('left', 101); standardPathway('right', 1); break; case 101: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '1`1`wall||1`2`wall||1`3`wall||1`4`wall||1`5`wall||1`6`wall||1`7`wall||1`8`wall||1`9`wall||1`10`wall||1`11`wall||1`12`wall||1`13`wall||1`14`wall||1`15`wall||1`16`wall||1`17`wall||1`18`wall||1`19`wall||1`20`wall||2`1`wall$f||2`20`wall$f||3`1`wall$f||3`20`wall$f||4`1`wall$f||4`16`cart||4`20`wall$f||5`1`wall$f||5`3`cart||5`20`wall$f||6`1`wall$f||6`20`wall$f||7`1`wall$f||7`16`s1||7`20`wall$f||8`4`lamp`20>100>20||8`18`lamp`100>20>20||14`1`wall$f||14`20`wall$f||15`1`wall$f||15`20`wall$f||16`1`wall$f||16`20`wall$f||17`1`wall$f||17`20`wall$f||18`1`wall$f||18`5`s1||18`14`cart||18`20`wall$f||19`1`wall$f||19`20`wall$f||20`1`wall$f||20`20`wall$f'; makeObjectsArray(v1); standardPathway('up', 107); standardPathway('down', 102); standardPathway('right', 100); break; case 102: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '4`18`rock||5`6`cart||6`1`wall$f||7`1`wall||7`2`wall||7`3`wall||7`5`lamp`100>20>20||14`1`wall||14`2`wall||14`5`wall||15`1`wall$f||15`2`cart||16`14`rock'; makeObjectsArray(v1); standardPathway('up', 101); standardPathway('left', 103); break; case 103: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '3`5`s1||3`6`rock||3`8`cart||3`18`s1||4`16`rock||5`13`s1||5`15`rock||8`19`lamp`100>20>20||14`3`s1||15`15`s1||15`16`s1||16`15`s1||17`3`rock'; makeObjectsArray(v1); standardPathway('right', 102); standardPathway('down', 104); break; case 104: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '1`6`s1||2`3`s1||2`6`s1||3`4`rock||3`5`rock||4`1`s1||4`18`s1||5`4`s1||7`17`rock||9`16`s1||10`19`s1||12`14`rock||12`15`rock||13`14`rock||15`18`s1||16`7`rock||16`8`rock||16`12`s1||16`17`s1||16`18`s1||17`5`s1||17`11`s1||17`12`s1||18`4`s1||18`5`s1||18`6`s1||18`15`s1'; makeObjectsArray(v1); standardPathway('up', 103); standardPathway('left', 105); break; case 105: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '2`11`rock||2`15`s1||2`18`s1||3`17`rock||3`18`rock||4`8`s1||4`9`s1||4`10`rock||4`11`s1||4`12`s1||4`14`s1||4`16`s1||4`18`rock||5`5`s1||5`7`s1||6`2`s1||6`4`s1||6`5`s1||6`9`s1||6`10`s1||7`3`s1||7`6`rock||7`11`rock||7`15`s1||8`2`s1||8`3`s1||8`18`lamp`100>20>20||9`5`s1||9`6`s1||10`5`s1||10`9`s1||11`8`s1||12`2`s1||12`3`s1||13`2`s1||13`3`s1||14`1`s1||14`5`rock||15`1`s1||15`2`s1||16`18`s1||16`19`s1||17`3`rock||17`18`s1||18`2`s1||19`15`s1'; makeObjectsArray(v1); standardPathway('right', 104); standardPathway('down', 106); break; case 106: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '3`9`s1||3`10`s1||3`11`s1||3`12`s1||3`13`rock||4`2`s1||4`3`s1||4`5`rock||4`6`rock||4`7`s1||4`8`s1||4`12`s1||4`13`rock||4`14`s1||5`9`cart||5`11`cart||5`15`s1||5`16`s1||6`1`s1||6`2`rock||6`6`cart||6`14`cart||6`16`s1||6`17`s1||8`3`cart||8`17`rock||8`18`rock||10`16`cart||10`19`rock||11`19`s1||12`19`s1||13`19`s1||14`3`cart||14`18`s1||14`19`s1||15`7`cart||15`12`cart||15`17`s1||15`18`s1||16`2`s1||16`3`s1||16`4`s1||16`16`rock||16`17`rock||17`4`s1||18`5`rock||18`7`s1||18`8`s1||18`11`rock||18`14`s1||18`15`s1||19`8`s1||19`14`s1'; makeObjectsArray(v1); standardPathway('up', 105); standardPathway('center', 205, undefined, 'lift_down'); break; case 107: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '2`2`s1||2`3`rock||2`17`s1||3`15`rock||5`6`s1||7`1`wall||7`3`wall||7`4`wall||7`5`wall||7`6`wall||7`7`wall||7`13`wall||7`14`wall||7`15`wall||7`16`wall||7`17`wall||7`18`wall||7`19`wall||7`20`wall||7`21`wall||9`1`s1||11`1`s1||11`2`s1||11`5`s1||12`3`s1||13`1`s1||14`3`s1||15`1`wall||15`2`wall||15`3`wall||15`4`wall||15`5`wall||15`6`wall||15`7`wall||15`8`wall||15`9`wall||15`10`wall||15`11`wall||15`12`wall||15`13`wall||15`14`wall||15`15`wall||15`16`wall||15`17`wall||15`18`wall||15`19`wall||15`20`wall||15`21`wall||18`11`rock||18`15`s1||19`2`s1||19`4`rock||19`7`s1||19`10`s1||19`15`s1||19`20`s1||20`7`s1||21`4`s1'; makeObjectsArray(v1); standardPathway('down', 101); standardPathway('left', 108); break; case 108: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '2`17`s1||2`18`s1||3`14`rock||4`4`s1||4`5`s1||4`6`s1||4`8`rock||4`10`s1||4`13`rock||4`14`rock||5`8`rock||6`1`s1||6`12`rock||7`9`rock||7`12`rock||7`17`s1||7`18`s1||8`1`lamp`20>100>20||8`18`s1||9`15`s1||10`15`s1||10`16`s1||11`16`s1||12`19`rock||16`18`s1||17`2`s1||17`16`rock||18`3`s1||19`5`s1||19`16`s1||20`5`s1||20`15`s1||20`16`s1'; makeObjectsArray(v1); standardPathway('up', 109); standardPathway('right', 107); break; case 109: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '1`7`s1||2`3`s1||2`4`s1||3`3`s1||4`1`s1||4`7`cart||5`1`s1||5`5`s1||5`16`s1||5`17`s1||6`1`s1||6`16`s1||8`15`s1||11`8`lamp`20>100>20||13`2`s1||14`2`s1||14`3`s1||16`6`s1||16`7`s1||16`10`s1||16`20`s1||17`7`s1||17`8`s1||17`9`s1||17`17`s1||17`18`s1||18`5`s1||18`14`s1||18`17`s1||19`5`s1||19`6`s1||19`14`s1'; makeObjectsArray(v1); standardPathway('down', 108); standardPathway('left', 110); break; case 110: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '2`8`s1||3`5`s1||3`8`s1||3`9`s1||4`3`s1||4`5`s1||4`6`rock||4`7`rock||5`1`s1||5`12`s1||5`13`s1||6`2`rock||6`3`rock||6`14`rock||6`15`rock||6`17`s1||6`18`s1||7`10`s1||7`15`rock||7`18`s1||8`10`s1||8`11`s1||8`18`s1||9`19`s1||10`15`rock||11`18`s1||12`18`s1||13`18`s1||14`2`s1||14`3`s1||14`17`rock||14`18`rock||15`5`rock||15`6`rock||15`18`rock||16`2`s1||16`6`rock||16`7`rock||17`2`s1||17`7`rock||18`7`rock||18`18`s1||19`3`s1||19`7`rock||19`18`s1||20`6`s1'; makeObjectsArray(v1); standardPathway('up', 111); standardPathway('right', 109); break; case 111: mSet = 'lazlo_1'; areaName = 'Lazlo Mine Level 1'; var v1 = '2`2`rock||2`3`rock||2`17`rock||3`3`rock||3`17`rock||4`4`rock||4`5`rock||4`15`rock||5`5`rock||5`14`rock||5`15`rock||6`10`s1||6`14`rock||7`5`s1||7`7`rock||7`13`rock||7`14`rock||7`16`s1||7`18`s1||7`19`s1||10`6`lamp`20>100>20||12`4`s1||13`6`rock||14`6`rock||14`15`s1||14`16`s1||14`18`s1||14`19`s1||15`5`rock||15`10`s1||15`13`rock||15`14`rock||16`14`rock||16`15`rock||17`3`rock||18`3`rock||18`17`rock||19`1`rock||19`17`rock||19`18`rock'; makeObjectsArray(v1); standardPathway('down', 110); standardPathway('center', 211, undefined, 'lift_down'); break; case 200: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '1`17`s1||2`2`s1||3`6`t1||3`10`t1||3`13`cart||3`15`t1||3`16`t1||3`17`t1||3`20`t1||4`5`t1||4`6`t1||4`9`t1||4`10`t1||5`12`t1||6`3`t1||6`4`t1||6`8`cart||7`3`t1||7`6`t1||9`9`lamp`20>100>20||11`3`t1||12`3`t1||13`3`t1||15`3`t1||15`5`t1||15`18`t1||15`19`t1||16`1`s1||16`3`t1||16`5`t1||16`18`t1||17`1`s1||17`3`t1||17`5`t1||17`7`cart||18`16`t1||19`14`t1||19`15`t1||20`5`t1||20`15`t1'; makeObjectsArray(v1); standardPathway('down', 203); standardPathway('right', 201); break; case 201: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '1`7`s1||2`6`s1||2`7`s1||2`16`s1||3`2`s1||3`6`s1||3`18`s1||4`4`s1||4`5`s1||4`18`s1||4`19`s1||5`2`s1||5`15`t1||6`4`t1||6`5`t1||6`6`t1||6`7`t1||6`8`t1||6`12`t1||6`13`t1||6`14`t1||6`15`t1||6`16`t1||6`17`t1||6`18`s1||7`4`t1||7`8`t1||7`12`t1||7`17`t1||7`18`s1||8`4`t1||8`5`cart||8`7`t1||8`8`t1||8`12`t1||8`13`t1||8`14`t1||8`15`t1||8`17`t1||9`2`s1||9`4`t1||9`7`t1||9`15`t1||9`17`t1||10`4`t1||10`5`t1||10`7`t1||10`8`lamp`20>100>20||10`13`lamp`20>100>20||10`14`t1||10`15`t1||10`17`t1||11`4`t1||11`5`t1||11`7`t1||11`15`t1||11`17`t1||12`4`t1||12`7`t1||12`15`t1||12`17`t1||13`4`t1||13`7`t1||13`8`t1||13`9`t1||13`13`t1||13`14`t1||13`15`t1||13`17`t1||14`4`t1||14`9`t1||14`13`t1||14`17`t1||15`4`t1||15`5`t1||15`6`t1||15`7`t1||15`8`t1||15`9`t1||15`13`t1||15`14`t1||15`15`t1||15`16`t1||15`17`t1||16`3`s1||17`3`s1||17`6`s1||17`17`s1||17`18`s1||18`3`s1||18`6`s1||18`17`s1||20`15`s1'; makeObjectsArray(v1); standardPathway('left', 200); standardPathway('right', 202); break; case 202: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Level 2'; var v1 = '2`8`lamp`20>100>20||2`17`s1||3`3`s1||3`14`s1||3`15`s1||4`3`s1||4`8`fungus||4`13`fungus||4`15`s1||5`2`s1||5`3`s1||5`7`fungus||5`14`fungus||5`19`s1||6`6`fungus||6`13`t1||6`15`fungus||6`19`s1||7`5`fungus||7`16`fungus||8`4`fungus||8`6`t1||8`17`fungus||9`4`fungus||9`6`t1||10`4`fungus||11`4`fungus||11`6`t1||12`4`fungus||13`5`fungus||13`6`repairstation||13`12`t1||13`17`fungus||13`19`lamp`100>20>20||14`6`fungus||14`10`t1||14`16`fungus||15`7`fungus||15`10`t1||15`15`fungus||16`8`fungus||16`14`fungus||16`18`s1||17`4`s1||17`9`fungus||17`10`fungus||17`11`fungus||17`12`fungus||17`13`fungus||18`5`s1||19`4`s1||19`5`s1'; makeObjectsArray(v1); makePathway(13, 7, 'Doorway', 'repairstation'); standardPathway('down', 204); standardPathway('left', 201); standardPathway('center', 314, undefined, 'lift_down'); break; case 203: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '4`2`s1||4`7`s1||4`8`s1||4`12`s1||4`15`s1||4`16`s1||4`18`s1||5`7`s1||5`18`s1||7`11`lamp`20>100>20||11`8`rock||11`15`rock||17`2`s1||17`3`s1||17`18`s1||17`19`s1||18`5`s1||18`6`s1||18`9`s1||19`13`s1||19`14`s1'; makeObjectsArray(v1); standardPathway('down', 207); standardPathway('up', 200); break; case 204: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '2`4`fungus||3`17`fungus||4`9`rock||4`10`rock||5`9`rock||5`10`rock||7`5`fungus||8`1`s1||8`2`s1||8`16`s1||8`17`s1||8`19`s1||8`20`s1||8`21`s1||9`2`s1||9`3`s1||9`4`s1||9`5`s1||9`15`s1||9`16`s1||10`6`s1||10`14`s1||10`15`s1||11`7`s1||11`8`s1||11`14`s1||12`8`s1||12`14`s1||13`9`s1||13`13`s1||13`14`s1||13`21`s1||14`1`s1||14`9`s1||14`10`s1||14`11`s1||14`12`s1||14`13`s1||14`20`s1||14`21`s1||15`2`s1||15`3`s1||15`4`s1||15`19`s1||15`20`s1||16`4`s1||16`5`s1||16`19`s1||17`5`s1||17`6`s1||17`17`s1||17`18`s1||17`19`s1||18`6`s1||18`7`s1||18`16`s1||18`17`s1||19`7`s1||19`15`s1||19`16`s1||20`8`s1||20`9`s1||20`10`s1||20`11`s1||20`12`s1||20`13`s1||20`14`s1||20`15`s1'; makeObjectsArray(v1); standardPathway('down', 209); standardPathway('up', 202); break; case 205: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '3`7`s1||3`9`s1||4`5`s1||4`6`s1||4`12`s1||5`4`s1||5`14`s1||5`15`s1||6`3`s1||6`7`lamp`100>20>20||6`13`lamp`100>20>20||6`16`s1||6`17`s1||7`3`s1||7`17`s1||8`3`s1||9`3`s1||9`18`s1||9`19`s1||11`3`s1||12`19`s1||13`1`s1||13`2`s1||13`19`s1||14`1`s1||14`3`s1||15`3`s1||15`4`s1||15`18`s1||16`4`s1||16`5`s1||16`17`s1||17`15`s1||18`6`s1||19`7`s1||19`13`s1'; makeObjectsArray(v1); standardPathway('center', 106, undefined, 'lift_up'); standardPathway('right', 206); break; case 206: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '2`2`s1||2`3`s1||2`4`s1||2`5`s1||2`13`s1||2`14`s1||3`1`s1||3`2`s1||3`16`s1||4`1`s1||4`16`s1||4`17`s1||5`1`s1||5`7`cart||5`17`s1||5`18`s1||6`1`s1||6`14`t1||6`18`s1||6`19`s1||7`1`s1||7`14`t1||7`19`s1||8`1`s1||9`18`s1||9`19`s1||10`1`s1||10`2`s1||10`3`s1||10`4`s1||10`16`s1||10`17`s1||10`18`s1||11`1`s1||11`19`s1||12`19`s1||12`20`s1||13`1`s1||13`19`s1||14`1`s1||14`2`s1||14`7`lamp`100>20>20||14`19`s1||15`1`s1||15`2`s1||15`19`s1||16`1`s1||16`2`s1||16`18`s1||16`19`s1||17`2`s1||17`3`s1||17`15`s1||17`16`s1||17`17`s1||17`18`s1||18`3`s1||18`4`s1||19`5`s1||19`6`s1'; makeObjectsArray(v1); standardPathway('left', 205); standardPathway('right', 207); break; case 207: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '2`2`t1||2`3`t1||2`4`t1||2`7`lamp`100>20>20||2`14`lamp`100>20>20||3`2`t1||3`3`t1||3`4`t1||3`19`rock||4`2`t1||4`3`t1||4`4`t1||6`15`t1||7`2`lamp`20>100>20||7`19`lamp`20>100>20||14`2`lamp`20>100>20||14`19`lamp`20>100>20||16`3`rock||18`3`t1||18`4`t1||18`18`t1||18`19`t1||19`3`t1||19`7`lamp`100>20>20||19`14`lamp`100>20>20||19`18`t1||19`19`t1'; makeObjectsArray(v1); if (quest_30.prog == 0 && checkItemNumber('I006Q') >= 3) { tileString = '1`4||2`5||3`5||3`6||4`6||4`7||5`7||5`8||6`8||6`9||7`9||7`10||8`10||8`11||9`11||9`12||10`12||10`13||11`13||11`14||12`14||12`15||13`15||13`16||14`16||14`17||15`17||15`18||16`18||16`19||17`19||17`20||18`20||18`21||19`21'; makeTilesArray(tileString); makeChatTilesArray(tileString, 'worm_boss_0', 'talkshake'); } standardPathway('up', 203); standardPathway('down', 210); standardPathway('left', 206); standardPathway('right', 208); break; case 208: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '3`3`t1||3`4`t1||3`6`lamp`100>20>20||3`15`lamp`100>20>20||3`18`t1||3`19`t1||4`3`t1||4`18`t1||4`19`t1||5`3`t1||5`18`t1||5`19`t1||6`18`t1||6`19`t1||7`6`lamp`100>20>20||7`15`lamp`100>20>20||7`18`t1||7`19`t1||8`18`t1||8`19`t1||9`18`t1||9`19`t1||10`18`t1||10`19`t1||11`6`lamp`100>20>20||11`15`lamp`100>20>20||11`18`t1||11`19`t1||12`18`t1||12`19`t1||13`18`t1||13`19`t1||14`2`t1||14`3`t1||14`18`t1||14`19`t1||15`2`t1||15`3`t1||15`6`lamp`100>20>20||15`15`lamp`100>20>20||15`18`t1||15`19`t1||16`2`t1||16`3`t1||16`18`t1||16`19`t1||17`2`t1||17`3`t1||17`18`t1||17`19`t1||18`18`t1||18`19`t1||19`6`lamp`100>20>20||19`15`lamp`100>20>20||19`18`t1||19`19`t1'; makeObjectsArray(v1); standardPathway('left', 207); standardPathway('right', 209); break; case 209: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '1`5`t1||1`6`t1||1`17`t1||1`18`t1||2`5`t1||2`14`lamp`100>20>20||2`17`t1||2`18`t1||3`17`t1||3`18`t1||4`4`t1||4`8`lamp`100>20>20||4`17`t1||4`18`t1||5`17`t1||5`18`t1||6`2`s1||6`17`t1||6`18`t1||7`2`s1||7`18`t1||9`18`t1||11`17`t1||12`17`t1||12`18`t1||14`15`t1||15`15`t1||15`16`t1||16`12`t1||16`16`t1||17`6`s1||17`7`s1||17`8`s1||19`3`s1'; makeObjectsArray(v1); standardPathway('up', 204); standardPathway('left', 208); break; case 210: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '2`5`s1||2`6`s1||2`7`s1||3`2`s1||3`5`s1||3`7`s1||3`14`s1||3`18`s1||3`19`s1||4`2`s1||4`7`s1||4`8`s1||4`10`s1||4`12`s1||4`14`s1||4`15`s1||4`16`s1||4`18`s1||4`19`s1||5`2`s1||5`3`s1||5`8`s1||5`10`s1||5`12`s1||5`14`s1||5`15`s1||5`16`s1||5`18`s1||6`2`s1||6`3`s1||6`4`s1||6`9`s1||6`10`s1||6`11`s1||6`12`s1||6`13`s1||6`17`s1||6`18`s1||7`2`s1||7`3`s1||7`11`s1||7`12`s1||7`13`s1||14`9`s1||15`9`s1||15`11`s1||16`8`s1||16`10`s1||16`11`s1||17`6`s1||17`7`s1||17`8`s1||17`11`s1||17`18`s1||17`19`s1||18`3`s1||18`6`s1||18`7`s1||18`16`s1||18`18`s1||18`19`s1||19`1`s1||19`3`s1||19`4`s1||19`5`s1||19`6`s1||19`11`s1||19`12`s1||19`13`s1||19`14`s1||19`15`s1||19`17`s1||19`18`s1||19`19`s1||20`13`s1||20`19`s1'; makeObjectsArray(v1); standardPathway('up', 207); standardPathway('down', 211); break; case 211: mSet = 'lazlo_2'; areaName = 'Lazlo Mine Level 2'; var v1 = '3`1`s1||3`2`s1||3`13`t1||4`1`s1||4`2`s1||4`9`s1||5`1`s1||5`2`s1||5`16`cart||6`3`s1||6`4`s1||6`6`s1||7`4`s1||7`5`s1||7`6`s1||7`8`lamp`20>100>20||7`18`t1||15`1`s1||15`4`s1||15`5`s1||15`7`s1||15`8`s1||15`11`cart||15`17`t1||16`1`s1||16`2`s1||16`3`s1||17`2`s1||18`12`s1||18`13`s1'; makeObjectsArray(v1); standardPathway('up', 210); standardPathway('center', 111, undefined, 'lift_up'); break; case 300: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`14`s1||3`15`s1||3`17`s1||3`19`s1||4`11`s1||4`12`s1||4`20`s1||5`9`s1||6`7`s1||6`9`s1||6`13`fungus||7`6`s1||9`6`s1||10`5`s1||10`6`s1||11`4`s1||11`11`lamp`20>20>100||12`4`s1||12`7`fungus||13`4`s1||14`4`s1||15`4`s1||16`2`s1||16`3`s1||16`19`s1||16`20`s1||16`21`s1||17`2`s1||17`18`s1||18`2`s1||18`17`s1||19`4`s1||19`17`s1||20`4`s1||20`5`s1||21`5`s1||21`16`s1'; makeObjectsArray(v1); standardPathway('right', 301); standardPathway('down', 302); break; case 301: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`7`s1||2`7`s1||3`4`s1||3`15`s1||3`16`s1||3`19`fungus||5`3`s1||5`4`fungus||5`7`sign$f`To: Level 4 mines.||5`16`fungus||9`18`s1||10`3`s1||10`18`s1||13`3`s1||13`18`s1||14`18`s1||17`3`fungus||17`6`s1||17`15`s1||17`18`fungus||18`3`fungus||18`11`s1||18`12`s1'; makeObjectsArray(v1); standardPathway('left', 300); standardPathway('center', 400, undefined, 'lift_down'); break; case 302: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`10`s1||1`11`s1||1`12`s1||1`15`s1||1`16`s1||2`9`s1||2`10`s1||2`14`lamp`20>20>100||2`16`s1||3`4`fungus||3`8`s1||3`9`s1||3`17`s1||3`18`s1||4`8`s1||4`18`s1||5`7`s1||5`8`s1||5`18`s1||5`19`s1||6`7`s1||6`19`s1||7`1`s1||7`2`s1||7`7`s1||7`19`s1||7`20`s1||8`2`s1||8`3`s1||8`7`s1||8`20`s1||9`3`s1||9`4`s1||9`7`s1||10`5`s1||10`7`s1||10`13`s1||10`14`s1||10`15`s1||11`6`s1||11`7`s1||11`13`s1||11`15`s1||12`13`s1||12`15`s1||13`13`s1||13`15`s1||13`16`s1||13`17`s1||13`18`s1||14`1`s1||14`2`s1||14`13`s1||14`19`s1||14`20`s1||14`21`s1||15`2`s1||15`13`s1||16`3`s1||16`6`s1||16`7`s1||16`8`s1||16`9`s1||16`10`s1||16`11`s1||16`12`s1||16`13`s1||17`3`s1||17`4`s1||17`5`s1||17`6`s1||17`7`s1||17`8`s1||17`9`s1||17`10`s1||17`11`s1||18`2`fungus||18`17`fungus||18`18`fungus||18`19`fungus||19`17`fungus||19`18`fungus'; makeObjectsArray(v1); standardPathway('up', 300); standardPathway('down', 305); break; case 303: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`11`s1||3`17`s1||3`18`s1||3`19`s1||4`8`s1||4`11`s1||4`12`s1||4`13`s1||4`14`s1||4`15`s1||4`16`s1||4`17`s1||4`19`s1||4`20`s1||5`6`s1||5`8`s1||5`11`s1||6`6`s1||6`11`s1||6`12`s1||6`18`s1||6`19`s1||7`5`s1||7`6`s1||7`10`s1||7`11`s1||7`14`s1||7`19`s1||8`9`s1||8`13`s1||9`5`s1||10`4`s1||11`3`s1||11`4`s1||12`3`s1||12`6`s1||13`3`s1||13`6`s1||14`2`s1||14`6`s1||15`2`s1||16`2`s1||17`2`s1||17`4`s1||17`20`s1||18`2`s1||18`19`s1||18`20`s1||19`2`s1||20`3`s1||20`18`s1||21`2`s1||21`3`s1||21`18`s1'; makeObjectsArray(v1); standardPathway('right', 304); standardPathway('down', 308); break; case 304: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '2`6`s1||3`4`s1||3`6`s1||3`16`s1||4`3`s1||4`18`s1||6`1`s1||6`6`t1||7`4`s1||7`16`s1||7`19`s1||9`17`s1||11`3`s1||11`4`s1||12`4`s1||12`15`t1||13`18`s1||14`6`t1||14`18`s1||15`6`t1||15`15`s1||15`18`s1||16`2`s1||17`2`s1||17`6`s1||18`2`s1||18`4`s1||19`16`s1||19`18`s1||20`16`s1||20`18`s1'; makeObjectsArray(v1); standardPathway('left', 303); standardPathway('right', 305); break; case 305: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '2`5`s1||2`16`s1||3`17`s1||4`3`s1||4`4`s1||5`19`s1||6`2`s1||6`19`s1||7`1`s1||7`3`scrapluna$f||7`21`s1||14`2`lamp`20>20>100||17`20`s1||18`2`s1||18`19`s1||19`2`s1||19`3`s1||20`17`s1||21`5`s1'; makeObjectsArray(v1); standardPathway('left', 304); standardPathway('right', 306); standardPathway('up', 302); standardPathway('down', 309); break; case 306: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`5`s1||1`14`s1||1`15`s1||2`5`s1||2`15`s1||3`4`s1||3`5`s1||3`17`s1||4`2`s1||4`3`s1||4`4`s1||4`5`s1||4`17`s1||5`2`s1||6`2`s1||7`2`s1||7`18`s1||8`15`t1||8`16`t1||8`18`s1||9`16`t1||10`2`s1||10`16`t1||10`18`s1||11`2`s1||11`5`sign$f`(There are giant teeth markings on the sign).||12`3`s1||12`19`s1||13`3`s1||13`18`s1||13`19`s1||14`3`s1||14`19`s1||15`18`s1||16`18`s1||17`3`s1||18`3`s1||18`18`s1||19`18`s1||20`4`s1||20`17`s1||21`4`s1||21`17`s1'; makeObjectsArray(v1); standardPathway('left', 305); standardPathway('right', 307); break; case 307: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`16`s1||2`4`s1||2`16`s1||3`2`s1||3`3`s1||3`16`s1||3`18`rock||4`3`s1||4`17`s1||5`2`s1||5`5`rock||5`18`s1||6`2`s1||6`19`s1||6`20`s1||6`21`s1||7`3`s1||7`21`s1||8`3`s1||8`7`s1||9`3`s1||9`8`s1||10`3`s1||10`9`s1||11`9`s1||12`7`rock||12`9`s1||12`10`s1||13`3`s1||13`4`s1||13`10`s1||13`11`s1||14`4`s1||14`13`rock||15`5`s1||16`8`s1||17`20`s1||17`21`s1||18`4`s1||18`5`s1||18`9`s1||18`14`s1||18`15`s1||18`18`s1||19`6`s1||19`9`s1||19`10`s1||19`11`s1||19`12`s1||19`18`s1||19`19`s1'; makeObjectsArray(v1); standardPathway('left', 306); standardPathway('down', 310); break; case 308: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '2`3`s1||2`5`s1||2`9`s1||2`15`s1||2`18`s1||3`3`s1||3`8`s1||3`9`s1||3`13`s1||3`18`s1||4`3`s1||4`8`s1||4`10`fungus||4`13`s1||4`18`s1||5`5`fungus||5`8`s1||5`15`fungus||5`18`s1||6`8`s1||6`18`s1||7`18`s1||15`7`s1||16`7`s1||16`13`fungus||16`19`s1||17`4`s1||17`7`s1||17`19`s1||18`1`s1||18`4`s1||18`7`s1||18`10`s1||18`13`s1||18`16`s1||18`19`s1||19`1`s1||19`4`s1||19`7`s1||19`10`s1||19`13`s1||19`14`s1||19`16`s1||19`19`s1||20`14`s1'; makeObjectsArray(v1); standardPathway('up', 303); standardPathway('down', 312); break; case 309: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`15`s1||2`3`s1||2`11`s1||2`15`s1||3`2`s1||3`3`s1||3`18`s1||4`8`s1||4`9`s1||5`7`s1||5`8`s1||5`14`t1||5`15`t1||5`16`t1||5`19`s1||6`8`s1||6`10`cart||6`13`sign`Plasmarocks can be found on this level.||6`14`t1||6`15`t1||6`16`t1||16`1`s1||16`3`cart||17`1`s1||17`19`s1||18`4`s1||18`19`s1||19`3`s1||19`6`s1||19`9`s1||19`14`s1||19`15`s1'; makeObjectsArray(v1); standardPathway('up', 305); standardPathway('down', 314); break; case 310: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`3`s1||3`17`s1||3`18`s1||4`3`fungus||4`4`fungus||4`6`s1||4`7`s1||4`9`fungus||4`13`s1||4`15`fungus||4`19`fungus||5`8`fungus||5`9`fungus||5`13`s1||16`20`s1||17`3`s1||17`18`fungus||18`3`s1||18`5`fungus||18`10`fungus||18`11`fungus||18`17`fungus||19`7`s1||19`8`s1||19`15`s1||19`16`s1||20`11`s1||20`16`s1||20`17`s1'; makeObjectsArray(v1); standardPathway('up', 307); standardPathway('down', 316); break; case 311: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; makeObject(4, 10, 'plasmarock', 31); var v1 = '1`3`s1||1`4`s1||1`9`fungus||1`11`fungus||2`8`fungus||2`9`s1||2`10`s1||2`11`s1||2`12`s1||2`14`fungus||3`6`fungus||3`8`s1||3`13`s1||3`16`s1||3`17`s1||4`1`s1||4`2`s1||4`7`s1||4`8`s1||4`14`s1||4`15`fungus||4`16`s1||4`17`s1||5`1`s1||5`7`s1||5`14`s1||6`6`fungus||6`7`s1||6`14`s1||6`15`fungus||7`7`fungus||7`8`s1||7`13`s1||7`14`fungus||7`19`s1||8`6`fungus||8`7`fungus||8`8`fungus||8`14`fungus||8`16`fungus||8`19`s1||8`20`s1||9`8`fungus||9`9`fungus||9`13`fungus||9`15`fungus||9`20`s1||9`21`s1||10`14`fungus||10`15`fungus||11`8`fungus||12`14`fungus||13`14`fungus||13`20`s1||14`1`s1||14`8`fungus||14`20`s1||15`1`s1||15`14`fungus||15`19`s1||15`20`s1||16`1`s1||19`17`s1||19`18`s1||20`5`s1||20`6`s1'; makeObjectsArray(v1); standardPathway('right', 312); break; case 312: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`6`s1||2`4`s1||2`5`s1||2`14`s1||3`3`s1||3`14`s1||4`3`s1||4`17`s1||4`18`s1||5`6`lamp`0>0>0||6`2`s1||6`19`s1||7`19`s1||8`1`s1||15`2`s1||16`2`s1||16`3`s1||16`20`s1||16`21`s1||17`2`s1||17`3`s1||18`2`s1||19`2`s1||19`6`s1||19`17`s1||19`18`s1||20`5`s1||21`16`s1'; makeObjectsArray(v1); standardPathway('left', 311); standardPathway('right', 313); standardPathway('up', 308); standardPathway('down', 318); break; case 313: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`5`s1||1`18`s1||2`2`s1||2`4`s1||2`5`s1||2`17`s1||2`18`s1||3`2`s1||4`1`s1||4`7`cart||4`18`s1||4`19`s1||4`20`s1||5`3`s1||5`17`s1||5`18`s1||6`3`s1||6`4`s1||6`17`s1||7`3`s1||7`4`s1||7`15`t1||7`17`s1||7`18`s1||8`15`t1||8`18`s1||9`18`s1||9`19`s1||10`19`s1||11`3`s1||11`19`s1||12`3`s1||12`4`s1||12`18`s1||13`4`s1||13`18`s1||13`19`s1||14`7`t1||14`19`s1||15`2`s1||15`3`s1||15`7`t1||15`18`s1||16`2`s1||16`7`t1||16`18`s1||17`2`s1||17`3`s1||18`4`s1||18`17`s1||19`2`s1||19`16`s1||19`17`s1||20`6`s1||20`16`s1||20`17`s1||21`15`s1||21`16`s1'; makeObjectsArray(v1); standardPathway('left', 312); standardPathway('right', 314); break; case 314: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`7`t1||1`8`t1||1`13`t1||1`14`t1||2`2`s1||2`3`s1||2`16`s1||3`16`s1||3`17`s1||3`18`s1||3`19`s1||4`2`s1||4`19`s1||5`2`s1||5`5`cart||6`20`t1||7`20`t1||8`13`lamp`20>100>100||9`1`rock||10`1`rock||11`1`rock||12`1`rock||14`7`lamp`20>100>100||14`17`cart||14`20`t1||15`20`t1||16`5`cart||17`1`s1||17`2`s1||18`2`s1||18`19`s1||19`19`s1||20`6`t1||20`7`t1||20`15`t1||20`16`t1'; makeObjectsArray(v1); if (quest_11.prog == 0) { var tileString = '8`7||8`8||8`9||8`10||8`11||8`12||8`14||9`7||9`14||10`7||10`14||11`7||11`14||12`7||12`14||13`7||13`14||14`8||14`9||14`10||14`11||14`12||14`13||14`14'; makeChatTilesArray(tileString, 'billy_2', 'talk'); } standardPathway('center', 202, undefined, 'lift_up'); standardPathway('left', 313); standardPathway('right', 315); standardPathway('up', 309); standardPathway('down', 319); break; case 315: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`4`s1||3`5`s1||3`17`s1||4`17`s1||5`2`s1||5`3`s1||5`5`fungus||5`16`fungus||5`19`fungus||6`2`s1||6`5`fungus||6`16`fungus||8`19`s1||9`18`s1||9`19`s1||11`4`s1||12`4`s1||12`17`s1||12`18`s1||13`4`s1||13`18`s1||14`6`fungus||14`18`s1||15`6`fungus||15`17`s1||16`17`s1||17`5`s1||18`4`s1||19`4`s1||19`17`s1'; makeObjectsArray(v1); standardPathway('left', 314); standardPathway('right', 316); break; case 316: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`3`s1||1`4`s1||2`3`s1||3`17`s1||3`18`s1||4`18`s1||5`1`s1||6`20`s1||7`1`s1||7`20`s1||16`1`s1||16`19`s1||16`20`s1||16`21`s1||17`1`s1||18`2`s1||18`15`cart||18`18`s1||18`19`s1||20`4`s1||20`17`s1||20`18`s1||21`17`s1'; makeObjectsArray(v1); standardPathway('left', 315); standardPathway('right', 317); standardPathway('up', 310); standardPathway('down', 320); break; case 317: encounterRate = 20; mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`5`s1||1`6`s1||1`14`s1||1`15`s1||2`2`s1||2`4`s1||2`5`s1||2`15`s1||3`1`s1||3`14`s1||3`15`s1||4`1`s1||4`14`s1||5`1`s1||5`13`s1||5`14`s1||6`10`s1||6`11`s1||6`12`s1||6`13`s1||6`14`s1||6`15`s1||6`16`s1||6`17`s1||7`1`s1||7`9`s1||7`10`s1||7`11`fungus||7`13`fungus||7`16`fungus||7`17`s1||8`9`s1||8`18`s1||9`1`s1||9`9`s1||9`10`fungus||9`11`chest$f`ITEMS$I003R$38||9`19`s1||10`1`s1||10`9`s1||10`14`sign$f`Plasma rock depleted here.||10`18`fungus||10`19`s1||11`9`s1||11`10`fungus||11`20`s1||12`1`s1||12`9`s1||12`10`s1||12`20`s1||13`10`s1||13`11`s1||13`12`s1||13`13`s1||13`14`fungus||14`12`s1||14`13`s1||15`20`s1||16`20`s1||17`5`s1||18`19`s1||19`15`s1||20`9`s1||20`10`s1||20`12`s1||20`15`s1||21`11`s1||21`13`s1'; makeObjectsArray(v1); standardPathway('left', 316); break; case 318: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '2`17`s1||2`18`s1||2`19`s1||3`2`s1||3`3`s1||3`11`s1||3`12`s1||3`13`s1||3`14`s1||3`15`s1||3`16`s1||4`2`s1||4`4`s1||4`5`s1||4`6`s1||4`8`s1||4`9`s1||4`10`s1||4`11`s1||4`12`s1||4`13`s1||5`5`t1||5`6`t1||5`10`s1||5`11`s1||5`12`s1||5`13`s1||6`17`t1||6`18`t1||15`4`s1||15`9`t1||15`10`t1||15`16`s1||15`19`s1||16`4`s1||16`6`s1||16`14`s1||16`15`s1||16`16`s1||16`19`s1||17`4`s1||17`5`s1||17`6`s1||17`8`s1||17`9`s1||17`10`s1||17`11`s1||17`12`s1||17`13`s1||18`7`s1||18`10`s1||18`12`s1||18`13`s1||18`14`s1||18`15`s1||18`16`s1||18`17`s1||19`2`s1||19`3`s1||19`4`s1||19`6`s1||19`7`s1||19`8`s1||19`10`s1||19`12`s1||19`14`s1||19`15`s1||19`17`s1||19`18`s1||19`19`s1||19`20`s1'; makeObjectsArray(v1); standardPathway('up', 312); standardPathway('down', 321); break; case 319: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`17`s1||3`18`s1||3`19`s1||4`1`s1||4`3`s1||4`4`s1||4`5`s1||4`6`s1||4`12`s1||4`13`s1||4`14`s1||5`2`s1||5`6`s1||5`7`s1||5`11`s1||5`12`s1||5`18`fungus||5`19`fungus||6`7`s1||6`8`s1||6`9`s1||6`10`s1||6`11`s1||6`12`s1||7`8`s1||7`9`s1||7`14`fungus||8`9`rock||9`9`rock||10`9`rock||11`9`rock||12`9`s1||12`10`s1||12`11`s1||13`8`s1||13`9`s1||13`10`s1||13`11`s1||13`12`s1||14`7`s1||14`8`s1||14`13`s1||14`14`s1||15`1`s1||15`5`s1||15`6`s1||15`7`s1||15`15`s1||15`16`s1||15`19`fungus||16`1`s1||16`2`s1||16`3`s1||16`4`s1||16`5`s1||17`4`s1||18`8`s1||18`9`s1||18`10`s1||18`11`s1||18`17`s1||18`18`s1||18`19`s1||19`17`s1'; makeObjectsArray(v1); standardPathway('up', 314); standardPathway('down', 323); break; case 320: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '3`2`s1||3`3`s1||3`15`s1||3`16`s1||3`17`s1||3`18`s1||4`4`s1||4`5`s1||4`13`s1||4`14`s1||4`15`s1||5`11`s1||5`12`s1||5`13`s1||6`3`s1||6`4`s1||6`11`s1||7`4`s1||7`5`s1||7`6`s1||7`7`s1||7`8`s1||7`9`s1||7`10`s1||7`11`s1||7`12`s1||7`16`lamp`0>0>0||8`10`s1||15`20`s1||16`19`s1||16`20`s1||17`1`s1||18`2`s1||18`3`s1||18`4`s1||18`5`s1||18`6`s1||18`7`s1||18`8`s1||18`9`s1||18`15`s1||18`16`s1||19`2`s1||19`3`s1||19`13`s1||19`14`s1||19`15`s1||19`16`s1||19`17`s1||19`18`s1||19`19`s1||20`3`s1||20`4`s1||20`5`s1||20`6`s1||20`7`s1'; makeObjectsArray(v1); standardPathway('up', 316); standardPathway('down', 325); break; case 321: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '2`2`fungus||2`3`fungus||3`2`fungus||3`10`s1||3`11`s1||3`12`s1||3`13`s1||4`6`s1||4`7`s1||4`8`s1||4`9`s1||4`10`s1||4`13`s1||4`14`s1||5`5`s1||5`6`s1||5`15`s1||5`16`s1||6`2`s1||6`3`s1||6`4`s1||6`16`s1||6`17`s1||6`19`fungus||7`2`s1||7`17`s1||7`19`fungus||7`20`fungus||8`18`s1||9`18`s1||9`19`s1||10`19`s1||11`19`s1||12`19`fungus||12`20`fungus||13`3`s1||13`4`s1||13`5`s1||14`1`s1||14`2`s1||14`3`s1||14`5`s1||14`6`s1||15`1`s1||15`6`s1||15`21`s1||16`1`s1||16`2`s1||16`6`s1||16`21`s1||17`5`s1||17`6`s1||17`21`s1||18`5`s1||18`21`s1||19`2`fungus||19`5`s1||19`20`s1||19`21`s1||20`5`s1||20`20`s1||21`5`s1||21`17`s1||21`18`s1||21`19`s1'; makeObjectsArray(v1); standardPathway('right', 322); standardPathway('up', 318); break; case 322: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`3`s1||1`6`s1||1`17`s1||2`3`s1||2`5`s1||2`6`s1||2`15`s1||2`17`s1||2`18`s1||3`15`s1||3`18`s1||4`4`s1||4`6`cart||4`15`s1||4`18`s1||5`4`s1||5`15`s1||5`18`s1||6`4`s1||6`18`s1||7`4`s1||7`6`s1||7`15`s1||7`18`s1||8`3`s1||8`6`s1||8`15`s1||9`3`s1||10`3`s1||11`3`s1||12`3`s1||12`17`s1||12`18`s1||13`3`s1||13`18`s1||14`18`s1||15`17`s1||15`18`s1||16`17`s1||17`4`s1||17`17`s1||18`4`s1||19`4`s1||19`16`s1||20`16`s1||21`5`s1||21`16`s1'; makeObjectsArray(v1); standardPathway('left', 321); standardPathway('right', 323); break; case 323: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`4`s1||1`16`s1||2`4`s1||2`5`s1||2`7`fungus||2`16`s1||2`17`s1||3`5`s1||3`6`fungus||3`7`fungus||3`17`s1||3`18`s1||4`4`s1||4`18`s1||4`19`s1||6`1`fungus||7`16`lamp`20>20>20||7`19`wall||7`20`s1||8`19`wall||8`20`wall||8`21`wall||14`19`wall||14`20`wall||14`21`wall||15`19`wall||17`1`s1||17`2`s1||17`18`s1||18`3`s1||18`18`s1||19`4`s1||19`5`fungus||19`6`fungus||19`18`fungus||19`19`fungus||20`6`fungus'; makeObjectsArray(v1); standardPathway('left', 322); standardPathway('right', 324); standardPathway('up', 319); standardPathway('down', 326); break; case 324: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`3`s1||1`6`fungus||2`3`s1||2`6`fungus||3`3`s1||3`17`s1||4`3`s1||4`17`s1||4`18`s1||5`3`s1||5`6`s1||5`18`s1||6`3`s1||6`6`s1||6`16`fungus||6`17`s1||6`18`s1||7`6`s1||7`15`fungus||7`16`fungus||7`17`s1||8`6`s1||8`17`s1||9`6`s1||10`18`fungus||11`6`fungus||11`16`s1||11`18`fungus||12`6`fungus||12`16`s1||14`20`s1||14`21`s1||15`3`s1||15`7`fungus||15`18`s1||15`21`s1||16`3`s1||16`5`s1||16`18`s1||17`3`s1||17`4`s1||17`5`s1||17`6`s1||18`4`s1||18`6`s1||19`20`s1||20`15`s1||20`19`s1||20`20`s1||21`15`s1'; makeObjectsArray(v1); standardPathway('left', 323); standardPathway('right', 325); break; case 325: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; var v1 = '1`4`s1||2`3`s1||3`2`s1||3`4`s1||3`8`rock||3`19`s1||4`1`s1||4`4`s1||4`5`s1||4`19`s1||5`1`s1||5`3`s1||5`4`s1||5`5`s1||5`19`s1||6`4`s1||6`5`s1||6`6`s1||7`5`s1||7`6`s1||7`7`s1||7`16`rock||7`19`s1||8`6`s1||8`7`s1||8`8`s1||8`19`s1||9`8`s1||9`19`s1||10`18`s1||10`19`s1||11`18`s1||12`18`s1||13`18`s1||14`18`s1||15`15`s1||15`16`s1||15`18`s1||16`16`s1||16`17`s1||16`19`s1||16`20`s1||17`6`rock||17`7`rock||17`8`rock||17`17`s1||17`18`s1||17`19`s1||18`1`s1||18`17`s1||18`18`s1||18`19`s1||19`1`s1||19`4`s1||19`5`s1||19`6`s1||19`7`s1||19`10`rock||19`14`s1||19`17`s1||19`18`s1||20`13`s1||20`18`s1'; makeObjectsArray(v1); standardPathway('left', 324); standardPathway('up', 320); break; case 326: mSet = 'lazlo_3'; areaName = 'Lazlo Mine Level 3'; makeObject(9, 16, 'plasmarock', 32); var v1 = '3`7`cart||3`9`cart||3`14`lamp`10>30>10||4`18`cart||6`1`wall||6`2`wall||6`8`lamp||7`2`wall||7`3`wall||7`4`wall||7`14`fungus||7`15`fungus||7`16`fungus||7`17`fungus||7`18`rock||8`14`fungus||8`18`fungus||9`14`rock||9`18`fungus||10`14`rock||10`18`fungus||11`14`rock||11`15`fungus||11`16`fungus||11`17`fungus||11`18`rock||13`18`lamp`10>30>10||14`2`wall||14`3`wall||14`4`wall||15`1`wall||15`2`wall||15`13`rock||16`10`lamp`10>30>10||16`13`fungus||16`17`fungus||18`4`cart||18`8`cart||18`13`fungus||18`17`fungus||18`18`cart||19`14`fungus||19`16`fungus||19`17`rock'; makeObjectsArray(v1); standardPathway('up', 323); break; case 400: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`5`s1||2`10`s1||3`5`s1||3`7`s1||3`8`s1||3`10`s1||3`11`s1||3`16`s1||4`5`s1||4`11`s1||4`12`s1||5`3`s1||5`14`rock||6`2`s1||6`3`s1||6`7`rock||6`10`rock||6`11`rock||6`17`s1||6`18`s1||6`19`s1||7`4`rock||7`5`rock||7`13`rock||7`20`s1||8`4`rock||8`13`rock||8`14`rock||8`21`s1||10`4`rock||11`4`rock||12`2`s1||12`4`rock||13`2`s1||13`4`rock||13`15`rock||13`16`rock||14`2`s1||14`3`s1||14`5`rock||14`15`rock||14`21`s1||15`3`s1||15`5`rock||15`14`rock||15`20`s1||15`21`s1||16`10`rock||16`11`rock||16`13`rock||16`18`s1||16`19`s1||17`8`rock||17`10`rock||17`11`rock||17`19`s1||17`20`s1||18`5`s1||18`16`s1||19`5`s1||19`15`s1||19`16`s1||20`9`s1||20`10`s1'; makeObjectsArray(v1); standardPathway('center', 301, undefined, 'lift_up'); standardPathway('down', 401); break; case 401: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '3`6`s1||3`7`s1||3`9`s1||4`1`s1||4`5`s1||4`6`s1||4`9`s1||4`10`s1||4`19`s1||4`20`s1||4`21`s1||5`1`s1||5`2`s1||5`3`s1||5`5`s1||5`12`s1||5`13`s1||5`14`s1||5`15`s1||5`16`s1||5`18`s1||5`19`s1||6`1`s1||6`2`s1||6`3`s1||6`8`rock||6`11`s1||6`12`s1||7`17`rock||7`18`rock||8`11`sign`These caverns have not been properly explored.||16`1`s1||16`21`s1||17`2`s1||18`2`s1||18`5`s1||18`10`rock||18`18`s1||18`19`s1||18`20`s1||18`21`s1||19`2`s1||19`3`s1||19`5`s1||19`6`s1||19`7`s1||19`8`s1||19`9`s1||19`12`s1||19`13`s1||19`14`s1||19`15`s1||19`17`s1||19`18`s1'; makeObjectsArray(v1); standardPathway('up', 400); standardPathway('down', 402); break; case 402: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '3`10`s1||3`14`s1||3`20`s1||4`1`s1||4`2`s1||4`3`s1||4`5`s1||4`7`s1||4`8`s1||4`9`s1||4`10`s1||4`12`s1||4`14`s1||4`15`s1||4`17`s1||4`18`s1||4`19`s1||4`20`s1||5`10`s1||5`15`s1||6`7`s1||6`8`s1||6`9`s1||6`10`s1||6`14`s1||6`15`s1||8`12`rock||10`15`rock||12`15`rock||13`14`rock||14`14`rock||16`12`rock||17`2`s1||18`1`s1||18`11`rock||18`17`s1||18`20`s1||18`21`s1||19`1`s1||19`3`s1||19`6`s1||19`17`s1||19`19`s1||20`6`s1||20`7`s1||20`8`s1||20`12`s1||20`13`s1||20`14`s1||20`15`s1||20`16`s1'; makeObjectsArray(v1); standardPathway('up', 401); standardPathway('down', 403); break; case 403: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`6`s1||1`17`s1||2`6`s1||3`4`s1||3`5`s1||3`18`s1||4`3`s1||4`4`s1||4`18`s1||5`1`s1||5`2`s1||5`6`fungus||6`16`fungus||6`18`s1||6`20`s1||6`21`s1||7`21`s1||8`18`s1||9`20`s1||10`20`s1||11`18`s1||11`19`s1||12`18`s1||14`17`s1||14`18`s1||14`19`s1||15`14`fungus||16`17`s1||17`1`s1||17`8`fungus||17`9`fungus||17`17`s1||18`2`s1||18`4`s1||18`5`s1||18`11`s1||18`15`s1||18`16`s1||18`17`s1||19`5`s1||19`9`s1||19`11`s1||19`13`s1||19`14`s1||19`15`s1||20`8`s1||20`9`s1||21`4`s1||21`5`s1||21`6`s1||21`7`s1'; makeObjectsArray(v1); standardPathway('up', 402); standardPathway('left', 404); break; case 404: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`4`s1||1`5`s1||1`6`s1||1`15`s1||1`17`s1||2`4`s1||2`5`s1||2`18`s1||3`18`s1||4`4`s1||4`6`rock||4`18`s1||5`2`s1||5`3`s1||5`4`s1||5`17`s1||5`18`s1||6`2`s1||6`15`rock||6`17`s1||6`18`s1||7`17`s1||8`17`s1||9`2`s1||9`17`s1||10`2`s1||10`3`s1||11`3`s1||11`16`s1||11`17`s1||11`19`s1||12`3`s1||12`17`s1||13`3`s1||13`6`rock||13`17`s1||14`3`s1||14`4`s1||14`6`rock||14`17`s1||15`4`s1||15`15`s1||15`17`s1||15`18`s1||16`4`s1||16`15`s1||16`17`s1||17`4`s1||17`15`s1||17`17`s1||18`3`s1||18`4`s1||18`15`s1||18`17`s1||19`3`s1||19`15`s1||19`16`s1||19`19`s1||21`4`s1'; makeObjectsArray(v1); standardPathway('left', 405); standardPathway('right', 403); break; case 405: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`3`s1||1`5`s1||1`16`s1||2`3`s1||2`5`s1||2`16`s1||3`2`s1||3`3`s1||3`7`rock||3`18`s1||3`19`s1||4`2`s1||4`7`rock||4`18`s1||5`2`s1||5`16`fungus||5`18`s1||6`2`s1||6`4`s1||6`15`rock||6`18`s1||7`2`s1||7`4`s1||7`16`fungus||7`18`s1||8`6`fungus||8`18`s1||9`3`s1||9`6`fungus||9`18`s1||9`19`s1||10`3`s1||10`18`s1||10`19`s1||11`3`s1||11`19`s1||12`3`s1||12`18`s1||12`19`s1||13`2`s1||13`4`fungus||13`18`s1||14`1`s1||14`2`s1||14`3`s1||14`7`rock||14`18`s1||15`2`s1||15`18`s1||16`2`s1||16`4`s1||16`18`s1||17`2`s1||17`4`s1||17`16`s1||17`18`s1||18`3`s1||18`4`s1||18`16`s1||19`3`s1||19`16`s1||19`17`s1||20`3`s1||20`16`s1||21`16`s1'; makeObjectsArray(v1); standardPathway('left', 406); standardPathway('right', 404); break; case 406: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '3`9`fungus||4`13`fungus||4`15`fungus||5`4`fungus||5`12`rock||5`16`fungus||6`8`fungus||6`12`rock||7`12`fungus||7`16`fungus||8`1`s1||8`2`s1||8`3`s1||8`13`rock||8`14`fungus||8`15`fungus||8`18`fungus||9`3`s1||9`4`s1||9`5`s1||10`5`s1||10`6`s1||11`6`s1||11`7`s1||11`8`rock||12`7`s1||12`8`rock||12`9`rock||13`8`rock||13`9`s1||13`10`s1||14`10`s1||14`11`s1||15`11`s1||15`12`s1||15`17`fungus||16`12`s1||16`17`fungus||17`12`s1||17`13`s1||17`14`s1||18`1`s1||18`14`s1||18`15`s1||19`2`s1||19`14`s1||20`2`s1||20`3`s1||20`14`s1||21`4`s1||21`5`s1||21`14`s1'; makeObjectsArray(v1); makeObject(6, 14, 'plasmarock', 33); standardPathway('up', 407); standardPathway('right', 405); break; case 407: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`6`rock||3`10`s1||3`18`rock||4`4`s1||4`5`s1||4`16`s1||5`1`s1||5`2`s1||5`3`s1||5`4`s1||5`5`s1||5`6`s1||5`7`s1||5`8`s1||5`9`s1||5`11`s1||5`13`s1||5`14`s1||5`15`s1||5`16`s1||5`17`s1||5`18`s1||5`19`s1||5`21`s1||6`2`s1||6`3`s1||6`7`s1||6`12`s1||6`13`s1||6`15`s1||6`20`s1||6`21`s1||7`1`s1||7`2`s1||7`12`s1||7`13`s1||16`1`s1||16`2`s1||16`11`s1||16`19`s1||17`2`s1||17`3`s1||17`4`s1||17`5`s1||17`6`s1||17`7`s1||17`8`s1||17`11`s1||17`13`s1||17`14`s1||17`16`s1||17`17`s1||17`18`s1||17`19`s1||17`20`s1||17`21`s1||18`7`s1||18`9`s1||18`10`s1||18`11`s1||18`13`s1||18`14`s1||18`15`s1||18`16`s1||18`19`s1||19`3`rock||19`14`s1'; makeObjectsArray(v1); standardPathway('up', 408); standardPathway('down', 406); break; case 408: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '3`2`s1||3`5`s1||3`6`s1||3`8`s1||3`18`s1||3`20`s1||4`1`s1||4`4`s1||4`6`s1||4`7`s1||4`8`s1||4`11`s1||4`14`s1||4`16`s1||4`17`s1||4`18`s1||4`20`s1||5`3`s1||5`9`rock||5`11`s1||5`12`s1||5`13`fungus||5`14`fungus||5`18`s1||5`19`s1||5`20`s1||6`2`rock||6`7`fungus||6`16`s1||6`19`fungus||7`11`scrapluna$f||15`17`fungus||16`2`s1||16`5`rock||16`7`s1||16`10`fungus||16`15`s1||16`21`s1||17`1`s1||17`2`s1||17`4`s1||17`18`s1||17`19`s1||17`20`s1||17`21`s1||18`1`s1||18`4`s1||18`5`s1||18`6`s1||18`7`s1||18`8`s1||18`10`s1||18`12`s1||18`13`s1||18`14`s1||18`15`s1||18`16`s1||18`17`s1||19`3`fungus||19`7`s1||19`8`s1||19`13`s1'; makeObjectsArray(v1); standardPathway('up', 409); standardPathway('down', 407); break; case 409: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`9`s1||2`10`s1||2`11`s1||2`12`s1||3`7`s1||3`8`s1||3`13`s1||4`7`s1||4`13`s1||5`10`fungus||5`14`s1||5`18`s1||6`6`fungus||6`15`s1||7`3`s1||7`4`s1||8`3`s1||9`2`s1||10`1`s1||10`4`fungus||12`2`s1||12`16`s1||13`3`s1||13`4`s1||13`15`s1||13`16`s1||14`5`s1||14`17`s1||15`6`s1||15`12`s1||15`18`s1||16`11`s1||16`12`s1||16`18`s1||17`13`s1||17`18`s1||17`20`s1||18`5`s1||18`6`s1||18`14`s1||18`15`s1||18`16`s1||18`17`s1||18`18`s1||18`19`s1||19`17`s1||21`17`s1'; makeObjectsArray(v1); standardPathway('right', 410); standardPathway('down', 408); break; case 410: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`3`s1||1`17`s1||2`3`s1||2`6`fungus||2`17`s1||2`18`s1||3`3`s1||3`18`s1||4`3`s1||4`18`s1||5`17`s1||5`18`s1||6`7`cart||6`16`s1||6`17`s1||7`5`s1||7`16`s1||8`5`s1||8`16`s1||9`6`s1||9`17`fungus||10`6`s1||11`6`s1||11`17`s1||12`6`s1||12`17`s1||13`5`s1||13`6`s1||13`17`s1||13`18`s1||14`5`s1||14`6`s1||14`18`s1||15`4`s1||15`5`s1||15`18`s1||16`2`s1||16`3`s1||17`2`s1||17`18`s1||18`1`s1||18`3`fungus||19`1`s1||19`2`s1||19`16`s1||19`17`s1||20`2`s1||20`15`s1||20`16`s1||21`2`s1||21`14`s1'; makeObjectsArray(v1); standardPathway('left', 409); standardPathway('right', 411); break; case 411: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`5`s1||1`17`s1||2`5`s1||2`17`s1||2`18`s1||3`5`s1||3`6`s1||3`18`s1||3`19`s1||4`19`s1||4`20`s1||4`21`s1||5`21`s1||6`4`s1||6`5`s1||7`4`s1||8`1`s1||8`2`s1||8`3`s1||10`1`s1||10`3`fungus||11`1`s1||11`7`fungus||12`1`s1||13`1`s1||13`3`fungus||14`1`s1||15`5`fungus||15`14`s1||15`15`s1||15`16`s1||15`18`s1||15`19`s1||15`20`s1||16`3`s1||16`13`s1||16`14`s1||16`20`s1||16`21`s1||17`4`s1||17`5`s1||17`6`s1||17`7`s1||17`13`s1||18`8`s1||18`9`s1||18`10`s1||18`12`s1'; makeObjectsArray(v1); standardPathway('left', 410); standardPathway('down', 412); break; case 412: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`7`rock||2`8`rock||2`17`s1||2`18`s1||2`19`s1||2`20`s1||3`1`s1||3`16`s1||3`17`s1||4`1`s1||4`2`s1||4`16`s1||5`2`s1||5`3`s1||5`4`s1||5`15`s1||5`16`s1||6`4`s1||6`5`s1||6`6`s1||6`7`s1||6`14`s1||6`15`s1||6`18`rock||7`7`s1||7`8`s1||7`9`s1||7`10`s1||7`11`s1||7`12`s1||7`13`s1||7`18`rock||9`10`sign`Some strange structures have been discovered ahead...||15`1`s1||15`21`s1||16`1`s1||16`2`s1||16`20`s1||16`21`s1||17`2`s1||17`3`s1||17`19`s1||17`20`s1||18`5`s1||18`6`s1||18`7`s1||18`17`s1||18`18`s1||18`19`s1||19`4`rock||19`8`s1||19`9`s1||19`10`s1||19`11`s1||19`13`s1||19`14`s1||19`15`s1||19`16`s1||20`12`s1||20`13`s1'; makeObjectsArray(v1); standardPathway('up', 411); standardPathway('down', 413); break; case 413: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '1`16`s1||2`5`s1||2`6`s1||3`3`rock||3`4`s1||4`2`s1||4`16`rock||4`19`s1||7`15`s1||7`20`s1||8`15`s1||8`18`s1||9`18`s1||10`18`s1||11`11`s1||11`18`s1||12`16`s1||12`18`s1||13`16`s1||14`12`s1||15`10`s1||16`15`s1||16`18`s1||17`1`s1||18`7`s1||18`9`rock||18`11`s1||19`1`s1||19`3`s1||19`5`s1||19`6`s1||19`12`s1||19`13`s1||20`5`s1'; makeObjectsArray(v1); if (quest_30.prog == 0 && checkItemNumber('I006Q') >= 3) { tileString = '1`4||2`5||3`5||3`6||4`6||4`7||5`7||5`8||6`8||6`9||7`9||7`10||8`10||8`11||9`11||9`12||10`12||10`13||11`13||11`14||12`14||12`15||13`15||13`16||14`16||14`17||15`17||15`18||16`18||16`19||17`19||17`20||18`20||18`21||19`21'; makeTilesArray(tileString); makeChatTilesArray(tileString, 'worm_boss_0', 'talkshake'); } standardPathway('up', 412); standardPathway('left', 414); break; case 414: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`9`s1||2`10`s1||3`1`s1||3`2`s1||3`3`s1||3`4`s1||3`7`s1||3`8`s1||3`10`s1||3`11`s1||3`12`s1||3`13`s1||4`5`s1||4`6`s1||4`14`s1||5`2`rock||5`5`s1||5`10`rock||5`15`s1||6`5`s1||6`15`s1||7`15`s1||8`15`s1||9`14`s1||9`15`s1||10`14`s1||11`14`s1||12`14`s1||13`14`s1||13`15`s1||13`16`s1||13`17`s1||14`17`s1||15`1`s1||15`18`s1||15`19`s1||16`1`s1||16`19`s1||17`1`s1||17`16`rock||17`19`s1||18`1`s1||18`2`s1||18`3`s1||18`19`s1||19`3`s1||19`19`s1||20`3`s1||20`4`s1||20`18`s1||20`19`s1||21`5`s1||21`17`s1||21`18`s1'; makeObjectsArray(v1); standardPathway('up', 415); standardPathway('right', 413); break; case 415: mSet = 'lazlo_4'; areaName = 'Lazlo Mine Level 4'; var v1 = '2`2`s1||2`6`s1||2`11`s1||2`12`s1||3`3`s1||3`6`s1||3`8`s1||3`11`s1||3`12`s1||3`19`rock||4`4`s1||4`5`s1||4`7`s1||4`8`s1||4`10`s1||4`11`s1||4`12`s1||4`14`s1||4`15`s1||4`16`s1||4`17`s1||5`1`s1||5`2`s1||5`3`s1||5`4`s1||5`6`s1||5`7`s1||5`9`s1||5`10`s1||5`11`s1||5`12`s1||5`13`s1||5`16`s1||5`17`s1||6`3`s1||6`4`s1||6`5`s1||6`7`s1||6`11`s1||6`12`s1||6`16`s1||6`20`s1||7`3`s1||7`15`s1||7`16`s1||7`18`s1||7`19`s1||7`20`s1||8`4`s1||8`15`s1||8`18`s1||9`2`s1||9`3`s1||9`4`s1||9`5`s1||10`3`s1||11`4`s1||11`5`s1||12`4`s1||12`14`s1||13`3`s1||13`15`s1||13`16`s1||14`2`s1||14`3`s1||14`4`s1||14`5`s1||14`6`s1||14`16`s1||14`19`s1||14`20`s1||15`13`s1||15`15`s1||15`18`s1||15`20`s1||16`4`s1||16`5`s1||16`7`s1||16`8`s1||16`10`s1||16`11`s1||16`12`s1||16`13`s1||16`14`s1||16`15`s1||16`20`s1||16`21`s1||17`4`s1||17`5`s1||17`8`s1||17`13`s1||17`16`s1||18`7`s1||18`8`s1||18`9`s1||18`10`s1||18`12`s1||18`13`s1||18`15`s1||18`18`rock||18`19`rock||19`3`rock||19`7`s1||19`8`s1||19`16`s1'; makeObjectsArray(v1); standardPathway('center', 500, undefined, 'lift_down'); standardPathway('down', 414); break; case 500: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Level 5'; var v1 = '1`4`wall$f||1`17`wall$f||1`18`wall$f||2`4`wall$f||2`18`wall$f||3`4`wall$f||3`18`wall$f||4`4`wall$f||4`5`wall||4`6`wall||4`7`wall||4`14`wall||4`15`wall||4`16`wall||4`17`wall||4`18`wall$f||5`9`rock||6`1`s1||6`2`s1||6`8`rock||6`11`rock||6`13`rock||7`1`s1||7`8`rock||7`9`rock||7`12`rock||7`16`sign`For your own safety. Please do not proceed any further.||7`20`s1||7`21`s1||8`21`s1||10`1`s1||15`1`s1||16`1`s1||17`1`s1||17`2`s1||17`19`s1||17`20`s1||18`19`s1||20`5`s1||20`6`s1||20`15`s1||20`16`s1||20`17`s1'; makeObjectsArray(v1); standardPathway('left', 501); standardPathway('center', 415, undefined, 'lift_up'); break; case 501: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Level 5'; var v1 = '1`3`wall$f||1`18`wall$f||2`1`fungus||2`3`wall$f||2`7`lamp`50>20>50||2`18`wall$f||3`3`wall$f||3`18`wall$f||3`20`fungus||4`3`wall$f||4`18`wall$f||5`3`wall$f||5`18`wall$f||6`3`wall$f||6`15`lamp`50>20>50||6`18`wall$f||7`3`wall$f||7`18`wall$f||8`3`wall$f||8`18`wall$f||9`3`wall$f||9`7`lamp`50>20>50||9`18`wall$f||10`3`wall$f||10`18`wall$f||11`3`wall$f||11`18`wall$f||12`3`wall$f||12`18`wall$f||13`3`wall$f||13`18`wall$f||14`3`wall$f||14`15`lamp`50>20>50||14`18`wall$f||15`3`wall$f||15`18`wall$f||15`20`fungus||16`3`wall$f||16`18`wall$f||17`3`wall$f||17`7`lamp`50>20>50||17`18`wall$f||18`3`wall$f||18`18`wall$f||19`3`wall$f||19`18`wall$f||19`19`fungus||20`3`wall$f||20`18`wall$f||21`3`wall$f||21`18`wall$f'; makeObjectsArray(v1); standardPathway('left', 502); standardPathway('right', 500); break; case 502: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Level 5'; var v1 = '1`3`wall$f||1`18`wall$f||2`1`s1||2`3`wall$f||2`7`lamp`50>20>50||2`18`wall$f||3`3`wall$f||3`18`wall$f||3`20`s1||4`3`wall$f||4`18`wall$f||5`3`wall$f||5`18`wall$f||6`3`wall$f||6`15`lamp`50>20>50||6`18`wall$f||7`3`wall$f||7`18`wall$f||7`20`fungus||8`3`wall$f||8`18`wall$f||9`3`wall$f||9`7`lamp`50>20>50||9`18`wall$f||10`3`wall$f||10`18`wall$f||11`3`wall$f||11`18`wall$f||12`3`wall$f||12`18`wall$f||13`3`wall$f||13`18`wall$f||14`3`wall$f||14`15`lamp`50>20>50||14`18`wall$f||15`3`wall$f||15`18`wall$f||16`3`wall$f||16`18`wall$f||16`19`s1||17`1`s1||17`3`wall$f||17`7`lamp`50>20>50||17`18`wall$f||18`3`wall$f||18`18`wall$f||19`3`wall$f||19`18`wall$f||20`3`wall$f||20`18`wall$f||20`20`s1||21`3`wall$f||21`18`wall$f'; makeObjectsArray(v1); standardPathway('left', 503); standardPathway('right', 501); break; case 503: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Level 5'; var v1 = '1`14`fungus||2`5`fungus||2`6`fungus||2`8`wall||2`9`wall||2`10`wall||2`11`wall||2`12`wall||3`8`wall$f||3`10`chest`ITEMS$A03$39||3`12`wall$f||4`3`wall||4`4`wall||4`5`wall||4`6`wall||4`7`wall||4`8`wall||4`12`wall||4`13`wall||4`14`wall||4`15`wall||4`16`wall||4`17`wall||4`18`wall||4`20`fungus||5`1`fungus||5`3`wall$f||5`18`wall$f||5`20`fungus||5`21`fungus||6`1`fungus||6`3`wall$f||6`18`wall$f||7`3`wall$f||7`18`wall$f||8`3`wall$f||8`18`wall$f||9`3`wall$f||9`18`wall$f||10`3`wall$f||10`18`wall$f||11`3`wall$f||11`18`wall$f||12`3`wall$f||12`18`wall$f||13`3`wall$f||13`18`wall$f||14`3`wall$f||14`18`wall$f||15`3`wall$f||15`18`wall$f||15`20`fungus||16`3`wall$f||16`18`wall$f||17`3`wall$f||17`7`lamp`50>20>50||17`14`lamp`50>20>50||17`18`wall$f||18`3`wall$f||18`18`wall$f||18`20`fungus||19`3`wall$f||19`18`wall$f||19`20`fungus||20`3`wall$f||20`7`lamp`50>20>50||20`14`lamp`50>20>50||20`18`wall$f||21`3`wall||21`18`wall'; makeObjectsArray(v1); standardPathway('right', 502); standardPathway('center', 504, undefined, 'lift_up'); break; case 504: encounterRate = 'NONSAVE'; areaName = 'Lazlo Mine Secret Entrance'; areaTerrain = 'jungle'; music_tracks = new Array('jungle', 'jungle', 'jungle_night'); areaMusic = 'jungle'; var v1 = '3`2`grass||3`19`p1||4`5`p1||6`18`grass||8`17`Boulder||12`19`p1||15`3`Boulder||16`15`grass||16`17`Boulder||16`18`Boulder||18`4`grass||18`6`p1'; makeObjectsArray(v1); standardPathway('left', -1, 12); standardPathway('center', 503, undefined, 'lift_down'); environment = 'outdoor'; bgGraphics(areaTerrain, 'jungle', '', 'jungle', '', areaTerrain); } bgMusic(areaMusic); } } frame 33 { function map12(area) { encounterRate = 0; areaCharType = 'maw'; clearWorld('Blank'); areaName = 'Ancient Ruins'; if (area >= 0 && area < 100) { music_tracks = new Array('jungle', 'jungle', 'jungle_night'); encounterRate = 'NONSAVE'; if (hh >= TIME_MORNING && hh < TIME_NIGHT) { areaMusic = 'jungle'; } else { areaMusic = 'jungle_night'; } environment = 'outdoor'; areaTerrain = 'jungle'; } else { if (area >= 100 && area < 200) { music_tracks = new Array('jungle', 'jungle', 'jungle_night'); if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 3; areaMusic = 'jungle'; } else { encounterRate = 3; areaMusic = 'jungle_night'; } environment = 'outdoor'; areaTerrain = 'ruins1F'; } else { if (area >= 200 && area < 300) { music_tracks = new Array('jungle', 'jungle', 'jungle_night'); if (hh >= TIME_MORNING && hh < TIME_NIGHT) { encounterRate = 3; areaMusic = 'jungle'; } else { encounterRate = 3; areaMusic = 'jungle_night'; } environment = 'outdoor'; areaTerrain = 'ruins2F'; } else { if (area >= -200 && area < 0) { music_tracks = new Array('cave', 'cave', 'cave'); encounterRate = 3; environment = 'indoor'; areaTerrain = 'cave'; areaMusic = 'cave'; } } } } mapLocation = 12; chestCredits = 50; areaLocation = area; changeSurroundBlank(1, 1); bgMusic(areaMusic); switch (area) { case 1: var v3 = '2`5`grass||2`15`pillar2||4`19`grass||5`4`tree||5`7`grass||7`5`boulder||7`16`grass||7`18`boulder||14`17`grass||15`10`grass||17`16`p1||18`8`grass||18`13`grass||19`6`p1'; makeObjectsArray(v3); v3 = '7`5`repairstation'; makeObjectsArray(v3); makePathway(7, 6, 'Doorway', 'repairstation'); if (quest_67.prog == 0) { } else { if (quest_82.prog != 99) { if (parseInt(getCharacterAttr('A004', 'active')) > 0) { var v2 = '19`0||19`1||19`2||19`3||19`4||19`5||19`6||19`7||19`8||19`9||19`10||19`11||19`12||19`13||19`14||19`15||19`16||19`17||19`18||19`19||19`20||19`21'; makeChatTilesArray(v2, 'laura_7', 'talk'); } } } standardPathway('left', 2); standardPathway('right', -1, 11); bgGraphics(areaTerrain, 'jungle', '', 'sea', '', areaTerrain); break; case 2: var v3 = '0`2`wall4||0`3`wall4||0`4`wall4||0`5`wall4||0`6`wall4||0`7`wall4||0`8`wall4||0`13`wall4||0`14`wall4||0`15`wall4||0`16`wall4||0`17`wall4||0`18`wall4||1`8`wall4$f||1`13`wall4$f||1`14`statue||2`8`wall4$f||2`13`wall4$f||3`1`wall4$f||3`8`wall4||3`13`wall4||3`16`grass||3`17`grass||4`5`grass||4`6`grass||8`2`wall4$f||10`2`wall4$f||11`17`wall4$f||12`17`wall4||12`21`wall4||13`16`wall4||14`13`wall4||16`13`grass||16`20`p1||17`15`grass||17`16`grass||17`17`grass||18`8`grass||19`5`p1'; makeObjectsArray(v3); if (quest_67.prog == 0) { v3 = '11`6`talk`laura>laura_1||13`3`campsite'; makeObjectsArray(v3); } else { if (quest_82.prog != 99) { if (parseInt(getCharacterAttr('A004', 'active')) > 0) { } else { v3 = '11`6`talk`laura>laura_7a||13`3`campsite'; makeObjectsArray(v3); var v2 = '10`0||10`1||10`2||10`3||10`4||10`5||10`6||10`7||10`8||10`9||10`10||10`11||10`12||10`13||10`14||10`15||10`16||10`17||10`18||10`19||10`20||10`21'; makeChatTilesArray(v2, 'laura_7a', 'talk'); } } } if (quest_64.prog == 0) { v3 = '12`8`ruinsmonster||10`8`ruinsmonster'; makeObjectsArray(v3); v2 = '19`0||19`1||19`2||19`3||19`4||19`5||19`6||19`7||19`8||19`9||19`10||19`11||19`12||19`13||19`14||19`15||19`16||19`17||19`18||19`19||19`20||19`21'; makeChatTilesArray(v2, 'laura_0', 'talk'); } if (quest_69.prog == 0) { v3 = '3`9`talk`ruinsdoor>laura_3||3`10`talk`blank>laura_3||3`11`talk`blank>laura_3||3`12`talk`blank>laura_3'; makeObjectsArray(v3); } standardPathway('left', 101); standardPathway('right', 1); bgGraphics(areaTerrain, 'ruins1', '', 'sea', '', areaTerrain); break; case 101: mSet = 'ruins1F_1'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4$f||5`16`wall4$f||6`6`tree||6`16`wall4$f||6`17`wall4$f||7`2`grass||7`3`grass||7`4`grass||7`15`grass||7`17`wall4$f||8`2`grass||8`3`grass||8`13`grass||8`14`grass||8`15`grass||8`17`wall4$f||9`13`grass||9`14`grass||9`17`wall4$f||10`9`grass||10`17`wall4$f||11`8`grass||11`9`grass||11`17`wall4$f||12`6`grass||12`7`grass||12`8`grass||12`17`wall4$f||13`17`wall4$f||14`17`wall4$f||15`17`wall4$f||16`17`wall4$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||18`8`wall4$f||18`14`wall4$f||19`8`wall4$f||19`14`wall4$f||20`8`wall4$f||20`14`wall4$f||21`8`wall4||21`14`wall4$f'; makeObjectsArray(v3); standardPathway('up', 102); standardPathway('right', 2); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 102: mSet = 'ruins1F_1'; var v3 = '1`15`tree$f||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall3||4`12`wall3||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`1`pot||5`2`pot||5`3`pot||8`4`boulder||8`15`grass||9`14`grass||10`9`grass||12`6`grass||14`15`boulder||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||19`4`tree'; makeObjectsArray(v3); standardPathway('up', 103); standardPathway('down', 101); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 103: mSet = 'ruins1F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||1`15`tree||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`12`pillar1||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`pillar1$f||6`13`grass||6`14`grass||6`15`grass||7`4`grass||7`13`grass||7`14`p1||7`15`grass||7`16`grass||8`2`grass||8`3`grass||8`4`grass||8`13`grass||8`14`grass||8`15`grass||9`2`grass||9`3`grass||9`13`grass||9`14`grass||10`2`grass||10`3`grass||16`6`pillar1$f||16`11`pillar1||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall3||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 110); standardPathway('down', 102); standardPathway('left', 107); standardPathway('right', 104); bgGraphics(areaTerrain, 'ruins1', '', 'ruins1', '', areaTerrain); break; case 104: mSet = 'ruins1F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`9`p2||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`12`pillar1||4`13`wall4$f||5`1`pot||5`5`pot||5`13`wall4$f||5`16`pillar1||6`13`wall4$f||7`8`grass||7`13`wall4$f||7`16`grass||8`6`grass||8`7`grass||8`8`grass||8`13`wall4$f||9`5`grass||9`6`tree||9`7`grass||9`13`wall4$f||9`16`pillar1||10`5`grass||10`6`grass||10`7`grass||10`13`wall4$f||11`2`p2||11`13`wall4$f||12`13`wall4$f||13`13`wall4$f||13`16`pillar1||14`13`wall4$f||15`13`wall4$f||16`2`pot||16`5`pot||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4'; makeObjectsArray(v3); standardPathway('left', 103); standardPathway('up', 105); bgGraphics(areaTerrain, 'ruins1', '', 'ruins1', '', areaTerrain); break; case 105: mSet = 'ruins1F_1'; var v3 = '1`13`tree||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall3||4`7`wall3||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`3`wall4$f||5`19`pillar1||6`3`wall4$f||7`3`wall4$f||7`11`pot||7`16`grass||8`3`wall4$f||8`5`pot||8`8`grass||8`9`grass||9`3`wall3$f||9`7`grass||9`9`grass||9`10`grass||9`11`grass||10`3`wall4$f||10`7`grass||10`8`grass||10`9`pillar1||10`10`grass||10`11`grass||11`3`wall4$f||11`7`grass||11`8`grass||11`9`grass||11`10`grass||12`3`wall4$f||12`9`grass||13`3`wall4$f||13`5`pot||13`12`pot||14`3`wall4$f||15`3`wall4$f||16`3`wall4$f||16`20`pillar1||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall3||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 104); standardPathway('right', 106); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 106: mSet = 'ruins1F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`7`grass||2`8`boulder||2`9`grass||2`13`wall4$f||3`6`wall4$f||3`7`grass||3`8`p1||3`9`grass||3`13`wall4$f||4`4`tree||4`6`wall4$f||4`7`grass||4`8`grass||4`13`wall4$f||4`15`pillar1||5`6`wall4$f||5`13`wall4$f||6`6`wall3$f||6`13`wall4$f||7`6`wall3$f||7`13`wall4$f||7`15`pillar2||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||10`15`pillar1||11`6`wall3$f||11`13`wall4$f||12`2`tree||12`6`wall3$f||12`13`wall4$f||13`6`wall4$f||13`13`wall4$f||13`15`pillar1||14`6`wall4$f||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||16`15`pillar2||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||19`15`pillar1||20`6`wall4$f||20`13`wall4$f||21`6`wall4||21`7`wall4||21`8`wall3||21`9`wall3||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 105); standardPathway('right', 201); bgGraphics(areaTerrain, 'ruins1', 'stairs_up1', 'mountain', '', areaTerrain); break; case 107: mSet = 'ruins1F_1'; var v3 = '4`1`wall4||4`2`wall3||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||5`17`wall4$f||6`17`wall4$f||7`13`tree||7`17`wall4$f||8`17`wall4$f||9`3`grass||9`4`grass||9`11`grass||9`17`wall4$f||10`9`grass||10`10`pillar2||10`11`grass||10`17`wall3$f||11`9`grass||11`10`grass||11`11`grass||11`17`wall3$f||12`17`wall4$f||13`17`wall4$f||14`17`wall4$f||15`17`wall4$f||16`6`pillar1$f||16`11`pillar1||16`17`wall4$f||17`1`wall4||17`2`wall4||17`3`wall3||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`3`tree||20`6`wall4$f||20`13`wall4$f'; makeObjectsArray(v3); standardPathway('right', 103); standardPathway('up', 108); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 108: mSet = 'ruins1F_1'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`pillar2||1`13`wall4$f||2`5`pillar2||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`12`pillar1||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`5`wall3$f||6`5`wall3$f||7`4`grass||7`5`wall4$f||8`2`grass||8`5`wall4$f||8`11`grass||8`12`grass||8`14`grass||9`2`grass||9`5`wall4$f||9`9`grass||9`10`grass||9`11`grass||9`12`grass||9`13`grass||9`14`grass||9`15`grass||10`2`grass||10`5`pillar2||10`9`grass||10`11`grass||10`12`grass||10`13`grass||10`14`grass||11`5`pillar2||11`11`grass||11`12`grass||12`2`tree||12`5`wall4$f||12`10`grass||12`11`grass||13`5`wall4$f||14`5`wall4$f||15`5`wall4$f||16`5`wall4$f||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall3||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('left', 109); standardPathway('down', 107); bgGraphics(areaTerrain, 'ruins1', '', 'mountain', '', areaTerrain); break; case 109: mSet = 'ruins1F_1'; var v3 = '0`4`statue||0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||1`15`statue||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`6`wall4$f||4`8`boulder||4`9`grass||4`13`wall4$f||4`15`pillar1||5`6`wall4$f||5`8`grass||5`9`grass||5`13`wall4$f||6`2`tree||6`6`wall3$f||6`7`grass||6`8`grass||6`13`wall4$f||7`6`wall3$f||7`7`grass||7`13`wall4$f||7`15`pillar1||8`3`p1||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||10`15`pillar1||11`6`wall4$f||11`13`wall4$f||12`6`wall4$f||12`13`wall4$f||13`6`wall4$f||13`13`wall4$f||14`6`wall4$f||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`9`boulder||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||19`16`tree||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', -101); standardPathway('right', 108); bgGraphics(areaTerrain, 'ruinsb1entrance', '', 'mountain', '', areaTerrain); break; case 110: mSet = 'ruins1F_1'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall3||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`9`grass||5`10`grass||5`11`grass||5`13`wall4$f||6`9`grass||6`10`tree||6`11`grass||6`13`wall4$f||7`9`grass||7`10`grass||7`11`grass||7`12`grass||7`13`wall4$f||8`10`grass||8`11`grass||8`13`wall3$f||9`6`wall3$f||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`7`pot||12`6`wall4$f||12`7`pot||13`6`wall4$f||13`7`pot||14`6`wall4$f||14`7`pot||15`6`wall4$f||16`6`wall4$f||17`1`wall4||17`2`wall3||17`3`wall3||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('up', 111); standardPathway('down', 103); bgGraphics(areaTerrain, 'jungle', '', 'ruins1', '', areaTerrain); break; case 111: mSet = 'ruins1F_1'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall3||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`1`wall4$f||5`2`pillar1||5`16`pillar2||6`1`wall4$f||7`1`wall4$f||7`4`p1||8`1`wall4$f||9`1`wall4$f||9`10`grass||9`11`grass||9`12`grass||10`10`grass||10`11`statue$f||10`12`grass||10`13`grass||11`10`grass||11`11`grass||11`12`grass||11`13`grass||12`10`grass||12`11`grass||12`12`grass||13`1`wall4$f||14`1`wall4$f||14`2`pillar2||14`17`pillar1||15`1`wall4$f||16`1`wall4$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall3||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('up', 112); standardPathway('down', 110); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 112: mSet = 'ruins1F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||1`15`tree||1`16`grass||1`17`grass||2`6`wall4$f||2`13`wall4$f||2`15`grass||2`16`grass||3`6`wall4$f||3`13`wall4$f||4`6`wall4$f||4`7`pot||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4||5`7`wall4||5`8`wall4||6`8`wall4$f||7`3`grass||7`5`grass||7`8`wall4$f||8`2`grass||8`3`grass||8`4`grass||8`5`grass||8`6`grass||8`8`wall4$f||8`18`grass||9`2`grass||9`3`tree||9`4`grass||9`5`grass||9`6`grass||9`8`wall4$f||9`10`grass||9`11`grass||9`13`grass||9`14`grass||9`17`grass||9`18`grass||10`2`grass||10`3`grass||10`4`grass||10`5`grass||10`6`grass||10`8`wall4$f||10`10`grass||10`11`statue$f||10`12`grass||10`13`grass||11`2`grass||11`3`grass||11`4`grass||11`5`grass||11`6`grass||11`8`wall4$f||11`10`grass||11`11`boulder||11`12`grass||12`5`grass||12`8`wall4$f||12`11`grass||12`12`grass||13`8`wall4$f||13`11`grass||13`12`grass||14`8`wall4$f||15`8`wall4$f||16`6`wall4||16`7`wall4||16`8`wall4||17`6`wall4$f||17`7`pot||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 111); standardPathway('left', 113); standardPathway('right', 119); bgGraphics(areaTerrain, 'ruins1', '', 'mountain', '', areaTerrain); break; case 113: mSet = 'ruins1F_1'; var v3 = '4`1`wall4||4`2`pillar2||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||5`11`wall4$f||6`5`grass||6`7`statue||6`8`grass||6`9`grass||6`11`wall4$f||6`13`tree||7`5`grass||7`6`grass||7`7`grass||7`8`grass||7`9`grass||7`11`wall4$f||8`6`boulder||8`7`grass||8`8`grass||8`9`grass||8`11`wall4$f||9`6`grass||9`7`grass||9`8`grass||9`11`wall4$f||10`7`grass||10`8`grass||10`11`wall4||10`12`wall4$f||11`2`grass||11`3`grass||11`12`wall4$f||12`2`grass||12`3`p1||12`12`wall4$f||12`13`pillar1||13`2`grass||13`3`grass||13`4`grass||13`12`wall4||13`13`wall4$f||14`2`grass||14`3`grass||14`4`grass||14`13`wall4$f||15`13`wall4$f||16`13`wall4$f||17`1`wall4||17`2`pillar2||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 114); standardPathway('right', 112); bgGraphics(areaTerrain, 'jungle', '', 'ruins1', '', areaTerrain); break; case 114: mSet = 'ruins1F_2'; var v3 = '1`15`tree||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||7`4`pot||7`6`grass||7`12`grass||7`13`pot||7`14`grass||7`15`grass||8`6`grass||8`7`grass||8`12`grass||8`13`grass||8`14`grass||8`15`grass||9`5`grass||9`6`grass||9`7`grass||9`13`grass||9`14`grass||10`6`pillar2||10`7`boulder||10`8`grass||10`11`pot||11`7`grass||12`7`grass||12`8`grass||13`7`pot||13`8`grass||14`3`tree||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('up', 115); standardPathway('down', 113); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 115: mSet = 'ruins1F_2'; var v3 = '1`13`tree||4`6`wall4||4`7`wall3||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||5`7`pot||6`6`wall4$f||6`7`pot||6`14`grass||6`15`grass||7`6`wall4$f||7`13`grass||7`14`grass||7`15`boulder||7`16`grass||8`6`wall4$f||8`13`grass||8`14`grass||8`15`grass||8`16`grass||8`17`grass||8`18`grass||8`19`grass||9`6`wall4$f||9`11`grass||9`12`grass||9`13`grass||9`14`grass||9`15`grass||9`16`grass||9`17`p1||9`18`grass||9`19`grass||10`6`wall4$f||10`11`grass||10`12`pillar2||10`13`grass||10`14`boulder||10`15`grass||10`16`grass||10`17`grass||10`18`grass||11`6`wall3$f||11`8`grass||11`9`grass||11`10`grass||11`11`grass||11`12`pillar1||11`13`grass||11`14`grass||11`15`grass||12`6`wall3$f||12`8`grass||12`9`grass||12`10`grass||12`11`grass||12`12`grass||12`13`grass||12`14`grass||12`15`grass||13`6`wall4$f||13`8`grass||13`9`grass||13`10`grass||13`11`grass||13`12`grass||13`13`grass||14`6`wall4$f||14`8`boulder||14`9`grass||14`10`grass||15`6`wall4$f||15`8`grass||15`9`grass||15`10`grass||16`6`wall4$f||16`8`grass||16`9`grass||16`10`grass||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 114); standardPathway('right', 116); bgGraphics(areaTerrain, 'mountain', '', 'mountain', '', areaTerrain); break; case 116: mSet = 'ruins1F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`pillar2||5`1`wall4$f||5`5`grass||5`6`grass||5`13`pillar2||6`1`wall4$f||6`3`pot||6`4`grass||6`5`grass||6`13`wall4$f||7`1`wall4$f||7`3`grass||7`4`grass||7`13`wall4$f||8`1`wall4$f||8`13`wall3$f||9`13`wall3$f||10`13`wall4$f||11`13`wall4$f||12`13`wall4$f||13`1`wall4$f||13`13`pillar2||14`1`wall4$f||14`13`pillar2||15`1`wall4$f||15`5`grass||15`6`tree||15`13`wall4$f||16`1`wall4$f||16`6`grass||16`7`grass||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall3||17`3`wall3||17`4`wall4||17`5`wall4||17`6`wall3$f||17`7`grass||17`8`grass||17`13`wall4$f||18`6`wall3||18`7`grass||18`8`grass||18`13`wall4$f||19`6`wall4$f||19`8`grass||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); if (quest_79.prog == 0) { v3 = '9`1`talk`ruinsdoor$f>laura_4||10`1`talk`blank>laura_4||11`1`talk`blank>laura_4||12`1`talk`blank>laura_4'; makeObjectsArray(v3); } standardPathway('up', 120); standardPathway('left', 115); standardPathway('right', 117); bgGraphics(areaTerrain, 'ruins1', '', 'ruins1', '', areaTerrain); break; case 117: mSet = 'ruins1F_2'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||2`15`statue||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`5`wall4$f||5`6`pot||6`5`wall3$f||6`6`pot||6`12`grass||6`13`grass||7`5`wall4$f||7`6`pot||7`11`grass||7`12`boulder||7`13`pillar2||7`14`grass||8`5`wall4$f||8`11`grass||8`12`grass||8`13`grass||8`14`grass||9`5`wall4$f||9`12`grass||9`13`grass||10`5`wall4$f||11`5`wall4$f||12`5`wall4$f||12`6`grass||12`17`boulder||13`5`wall4$f||13`6`grass||13`7`grass||13`8`grass||14`5`wall4$f||14`6`grass||14`7`grass||14`8`grass||14`9`grass||15`5`wall4$f||15`6`p1||15`7`grass||15`8`grass||15`9`grass||15`10`grass||16`5`wall4$f||16`6`grass||16`7`grass||16`8`grass||16`9`grass||17`5`wall4||17`6`wall4||17`7`wall3||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall3||17`19`wall3||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', 118); standardPathway('left', 116); bgGraphics(areaTerrain, 'ruins1', '', 'jungle', '', areaTerrain); break; case 118: mSet = 'ruins1F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`pot||5`7`pot||5`8`pot||5`9`pot||5`10`pot||5`11`pot||5`12`pot||6`16`grass||6`17`grass||6`18`grass||7`16`grass||7`17`boulder||7`18`grass||7`19`grass||8`16`grass||8`17`grass||8`18`grass||8`19`grass||9`4`grass||9`5`grass||10`3`grass||10`4`p1||10`5`grass||11`3`grass||11`4`grass||11`5`grass||12`5`grass||16`6`pillar1$f||16`11`pillar1||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`3`tree||19`6`wall4$f||19`13`wall4$f||19`14`grass||19`15`grass||19`16`grass||19`17`grass||20`6`wall4$f||20`13`wall4$f||20`14`grass||20`15`grass||20`16`p1||20`17`grass||21`6`wall4$f||21`13`wall4$f||21`15`grass||21`16`grass'; makeObjectsArray(v3); standardPathway('up', 117); standardPathway('down', 119); standardPathway('right', 122); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 119: mSet = 'ruins1F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`4`statue||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`11`pillar2||3`13`wall4$f||4`0`wall3||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`wall4$f||5`11`wall4$f||5`12`wall4||5`13`wall4||6`11`wall4$f||7`11`wall4$f||8`11`wall4$f||9`11`wall4$f||10`3`grass||10`4`grass||10`11`wall4$f||11`3`grass||11`4`grass||11`5`grass||11`6`grass||11`11`wall4$f||12`3`grass||12`4`grass||12`5`rock||12`6`grass||12`11`wall4$f||13`3`grass||13`4`grass||13`5`grass||13`6`grass||13`11`wall4$f||13`12`tree||14`4`grass||14`5`grass||14`6`grass||14`11`wall4$f||15`11`wall4$f||16`11`wall4$f||17`0`wall4||17`1`wall3||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall3||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4$f'; makeObjectsArray(v3); standardPathway('up', 118); standardPathway('left', 112); bgGraphics(areaTerrain, 'ruins1', '', 'ruins1', '', areaTerrain); break; case 120: mSet = 'ruins1F_2'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall3||4`17`wall3||4`18`wall3||4`19`wall4||4`20`wall4||6`5`pillar1||6`16`grass||6`17`grass||7`15`grass||7`16`grass||7`17`grass||7`18`grass||7`19`grass||8`15`grass||8`16`grass||8`17`pot||8`18`tree||8`19`grass||9`16`grass||9`17`grass||9`18`grass||9`19`grass||15`5`pillar1||16`17`pot||16`18`pot||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall3||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); if (_level0.quest_81.prog != 99) { var v2 = '5`13||6`13||7`13||8`13||9`13||10`13||11`13||12`13||13`13||14`13||15`13||16`13||17`13'; makeChatTilesArray(v2, 'laura_8', 'talkshake'); v3 = '11`11`ruinsboss'; makeObjectsArray(v3); } standardPathway('up', 121); standardPathway('down', 116); bgGraphics(areaTerrain, 'jungle', '', 'ruins1', '', areaTerrain); break; case 121: mSet = 'ruins1F_3'; var v3 = '1`13`tree||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall3||4`19`wall4||4`20`wall4||5`1`wall4$f||5`14`grass||5`15`grass||5`16`grass||5`17`grass||5`19`statue$f||6`1`wall4$f||6`3`statue$f||6`4`grass||6`5`grass||6`16`grass||6`17`grass||7`1`wall3$f||7`2`grass||7`3`grass||7`4`grass||8`1`wall4$f||8`3`grass||8`4`grass||9`1`wall4$f||10`1`wall4$f||11`1`wall4$f||12`1`wall4$f||13`1`wall4$f||14`1`wall4$f||14`5`grass||15`1`wall4$f||15`3`statue$f||15`5`grass||15`6`grass||15`7`grass||16`1`wall4$f||16`19`statue$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall3||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall3||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||19`6`tree'; makeObjectsArray(v3); v3 = '10`7`talk`ruinsteleporter>laura_9'; makeObjectsArray(v3); standardPathway('down', 120); bgGraphics(areaTerrain, 'mountain', '', 'jungle', '', areaTerrain); break; case 122: mSet = 'ruins1F_3'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall3||4`18`wall3||4`19`wall4||4`20`wall4||5`5`wall4$f||5`12`pillar1||6`5`wall4$f||7`5`wall4$f||7`15`grass||7`16`pot||7`17`grass||7`18`grass||8`5`wall3$f||8`15`grass||8`16`grass||8`17`grass||8`18`grass||9`5`wall4$f||9`15`grass||9`16`p2||9`17`grass||9`18`grass||10`5`wall4$f||10`6`pillar1||10`12`grass||10`13`grass||10`14`grass||10`15`pillar2||10`16`grass||10`17`grass||10`18`grass||11`5`wall4$f||11`12`pot||11`13`grass||11`14`grass||11`15`grass||11`17`grass||11`18`grass||12`5`wall4$f||12`12`grass||12`13`grass||12`14`grass||12`15`grass||12`16`grass||12`17`pot||12`18`grass||13`5`wall3$f||13`14`grass||13`15`grass||13`16`grass||13`17`grass||13`18`grass||14`5`wall4$f||14`8`tree||15`5`wall4$f||16`5`wall4$f||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', 123); standardPathway('left', 118); bgGraphics(areaTerrain, 'ruins1', '', 'jungle', '', areaTerrain); break; case 123: mSet = 'ruins1F_3'; var v3 = '3`8`tree||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||5`7`wall4||5`8`wall4||5`9`wall4||5`10`wall4||5`11`wall4||5`12`wall4||5`13`wall4$f||6`5`pillar2||6`15`pillar1||7`8`grass||7`9`grass||7`10`grass||7`11`grass||7`12`grass||8`8`grass||8`9`grass||8`10`boulder||8`11`grass||8`12`grass||8`13`grass||8`14`grass||9`9`grass||9`10`grass||9`11`grass||9`13`grass||9`14`grass||10`10`grass||10`11`grass||10`12`grass||10`13`boulder||10`14`grass||10`15`grass||11`12`grass||11`13`grass||11`14`grass||11`15`grass||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||20`17`tree'; makeObjectsArray(v3); standardPathway('up', 122); standardPathway('down', 124); bgGraphics(areaTerrain, 'mountain', '', 'ruins1', '', areaTerrain); break; case 124: mSet = 'ruins1F_3'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||5`6`pillar2||5`8`pillar1||5`10`pillar1||5`15`grass||5`16`grass||5`17`grass||5`19`wall4$f||6`14`grass||6`15`grass||6`16`grass||6`17`grass||6`19`wall4$f||7`14`grass||7`15`grass||7`16`grass||7`17`grass||7`19`wall4$f||8`13`grass||8`14`grass||8`15`grass||8`16`grass||8`17`grass||8`19`wall4$f||9`12`grass||9`13`grass||9`14`grass||9`15`p1||9`16`tree||9`17`grass||9`19`wall4$f||10`12`grass||10`13`grass||10`14`grass||10`15`grass||10`16`grass||10`17`grass||10`19`wall4$f||11`11`grass||11`12`grass||11`13`grass||11`14`pot||11`15`grass||11`16`grass||11`17`grass||11`18`grass||11`19`wall4$f||11`20`wall4||11`21`wall4||12`11`grass||12`12`grass||12`13`grass||12`14`grass||12`15`grass||12`16`grass||12`17`grass||12`18`grass||12`19`grass||12`21`wall4$f||13`11`grass||13`12`grass||13`13`grass||13`14`grass||13`15`grass||13`16`grass||13`17`grass||13`18`grass||13`19`grass||13`21`wall4$f||14`11`grass||14`12`grass||14`13`grass||14`14`grass||14`15`grass||14`16`grass||14`17`grass||14`18`chest`ITEMS$I003R$83||14`19`grass||14`21`wall4$f||15`12`grass||15`13`grass||15`14`grass||15`15`grass||15`16`grass||15`17`grass||15`18`grass||15`19`grass||15`21`wall4$f||16`21`wall4$f||17`1`wall4||17`2`wall4||17`3`wall3||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall3||17`12`wall3||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4$f'; makeObjectsArray(v3); standardPathway('up', 123); bgGraphics(areaTerrain, 'jungle', '', 'ruins1', '', areaTerrain); break; case 201: mSet = 'ruins2F_1'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4$f||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4$f||5`8`wall4$f||5`21`wall4$f||6`8`wall4$f||6`10`statue||6`19`statue||6`21`wall4$f||7`8`wall4$f||7`21`wall4$f||8`8`wall4$f||8`21`wall4$f||9`8`wall4$f||9`21`wall4$f||10`8`wall3$f||10`21`wall4$f||11`8`wall3$f||11`21`wall4$f||12`21`wall4$f||13`21`wall4$f||14`21`wall4$f||15`21`wall4$f||16`21`wall4$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall3||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4$f'; makeObjectsArray(v3); standardPathway('up', 202); standardPathway('left', 106); bgGraphics(areaTerrain, 'ruinsl1entrance', '', '', '', areaTerrain); break; case 202: mSet = 'ruins2F_1'; var v3 = '4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall3||4`10`wall3||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall3||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||5`13`pot||5`14`pot||5`15`pot||6`6`wall4$f||7`6`wall4$f||8`6`wall4$f||8`15`boulder||8`16`p2||9`6`pillar2||10`6`wall4$f||11`6`wall4$f||12`6`wall4$f||12`11`pillar1||13`6`wall4$f||13`11`boulder||14`6`pillar2||15`6`wall4$f||16`6`wall4$f||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 201); standardPathway('right', 203); bgGraphics(areaTerrain, 'ruins3', '', 'ruins2', '', areaTerrain); break; case 203: mSet = 'ruins2F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`6`wall4$f||4`10`p2||4`13`wall4$f||5`6`wall4$f||5`7`pillar2||5`13`wall4$f||6`6`wall4$f||6`13`wall4$f||7`6`wall4$f||7`13`wall3$f||8`6`wall4$f||8`7`pillar2||8`13`wall4$f||9`6`wall4$f||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`7`pillar1||11`13`wall4$f||12`6`wall4$f||12`11`pot||12`13`wall4$f||13`6`wall4$f||13`11`pot||13`13`wall4$f||14`6`wall3$f||14`11`pot||14`13`wall4$f||15`6`wall3$f||15`8`p2||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 202); standardPathway('right', 204); bgGraphics(areaTerrain, '', '', 'ruins3', '', areaTerrain); break; case 204: mSet = 'ruins2F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`0`pillar2$f||1`3`pillar1||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`9`scrap$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall3`3||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`wall4$f||5`2`pot||5`3`pot||5`4`pot||5`5`pot||5`13`wall4$f||5`16`pillar1||6`13`wall4$f||7`13`wall3$f||8`7`rock||8`8`p2$f||8`13`wall3$f||9`13`wall4$f||10`13`wall4$f||11`2`scrap||11`13`wall4$f||12`2`rock||12`13`wall4$f||13`13`wall4$f||13`16`pillar1||14`13`wall4$f||15`13`wall4$f||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall3||17`11`wall4||17`12`wall4||17`13`wall4'; makeObjectsArray(v3); standardPathway('up', 205); standardPathway('left', 203); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case 205: mSet = 'ruins2F_1'; var v3 = '4`1`wall3||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall3||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||6`3`pillar2||6`6`pillar1||6`10`pillar2||6`14`pillar1||6`18`pillar1||16`1`pillar1||16`4`pillar1||16`9`pillar2||16`14`pillar2||16`19`pillar1||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall3||17`8`wall3||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall3||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('up', 206); standardPathway('down', 204); bgGraphics(areaTerrain, 'ruins2', '', '', '', areaTerrain); break; case 206: mSet = 'ruins2F_1'; var v3 = '0`6`wall4$f||0`13`wall3$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`9`pillar2||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4$f||4`9`scrap||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||10`3`pillar1||10`9`statue$f||10`16`pillar1||17`0`wall4||17`1`wall4||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall3||17`18`wall3||17`19`wall4||17`20`wall4||18`6`wall4$f||18`9`pillar2||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 211); standardPathway('down', 205); standardPathway('left', 207); standardPathway('right', 217); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case 207: mSet = 'ruins2F_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`8`p2||3`9`boulder||3`13`wall4$f||4`6`wall4$f||4`13`wall4$f||5`6`wall4$f||5`13`wall4$f||6`6`wall4$f||6`7`pot||6`13`wall4$f||7`6`wall4$f||7`7`pot||7`13`wall4$f||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`7`statue$f||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`7`pot||11`13`wall4$f||12`6`wall3$f||12`7`pot||12`13`wall4$f||13`6`wall3$f||13`13`wall4$f||14`6`wall4$f||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`7`boulder||17`10`pillar1||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 208); standardPathway('right', 206); bgGraphics(areaTerrain, '', '', 'ruins2', '', areaTerrain); break; case 208: mSet = 'ruins2F_1'; var v3 = '4`1`wall4||4`2`wall3||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||5`13`wall4$f||6`13`wall3$f||7`3`pot||7`6`pot||7`9`pot||7`13`wall4$f||8`9`boulder||8`13`wall4$f||9`13`wall4$f||10`5`wall4||10`6`wall4||10`7`wall4||10`13`wall4$f||11`5`wall3$f||11`6`p2$f||11`13`wall3$f||12`13`wall3$f||13`13`wall4$f||14`13`wall4$f||15`13`wall4$f||16`13`wall4$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 209); standardPathway('right', 207); bgGraphics(areaTerrain, 'ruins2', '', '', '', areaTerrain); break; case 209: mSet = 'ruins2F_1'; var v3 = '4`1`wall3||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||6`3`pillar2||6`10`pillar2||6`18`pillar1||10`17`boulder||12`12`wall4$f||13`10`boulder||13`12`wall3$f||14`12`wall4$f||15`12`wall4$f||16`1`pillar1||16`9`pillar2||16`12`wall3$f||16`19`pillar1||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall3||17`9`wall4||17`10`wall4||17`11`wall3||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('up', 210); standardPathway('down', 208); bgGraphics(areaTerrain, 'ruins3', '', '', '', areaTerrain); break; case 210: mSet = 'ruins2F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`pillar2||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`pillar2||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`0`wall4$f||5`6`rock||5`7`p2||6`0`wall4$f||6`2`statue$f||6`5`rock||6`6`rock||7`0`pillar2||7`5`rock||7`6`p2||8`0`wall3$f||8`1`chest$f`ITEMS$M002$84||8`4`rock||8`5`rock||8`14`pillar1||8`16`p2||9`0`wall4$f||9`3`rock||9`4`rock||10`0`wall4$f||10`1`rock||10`2`rock||10`3`rock||11`0`wall4$f||11`1`rock||11`2`rock||12`0`pillar2||12`14`pillar2||13`0`wall3$f||13`1`wall3||14`0`wall4$f||15`0`wall4$f||16`0`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall3||17`8`wall3||17`9`wall4||17`10`wall4||17`11`pillar2||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`pillar2||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('down', 209); bgGraphics(areaTerrain, 'ruins2', '', 'ruins3', '', areaTerrain); break; case 211: mSet = 'ruins2F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall3||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall3||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||7`5`pillar1||8`17`pillar1||10`10`pillar2||10`11`p2||11`10`p2||11`11`rock||12`17`pillar1||14`5`pillar1||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall3||17`10`wall3||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', 212); standardPathway('down', 206); bgGraphics(areaTerrain, 'ruins2', '', '', '', areaTerrain); break; case 212: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`7`wall4||0`8`wall4||0`9`wall4||0`10`wall4||0`11`wall4||0`12`wall4||0`13`wall4||0`14`wall4||0`15`wall4||0`16`wall4$f||1`6`wall4$f||1`7`pot||1`11`statue||1`15`pot||1`16`wall4$f||2`6`wall4$f||2`16`wall4$f||3`6`wall4$f||3`7`pot||3`15`pot||3`16`wall4$f||4`6`wall4$f||4`16`wall4$f||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||6`6`wall4$f||7`6`wall4$f||7`12`pillar2||8`6`wall3$f||8`10`pillar1||8`16`p2||9`6`wall3$f||10`6`wall4$f||11`6`wall4$f||12`6`wall4$f||12`12`pillar1||12`19`pillar2||13`6`wall4$f||13`10`pillar2||14`6`wall4$f||15`6`wall4$f||16`6`wall4$f||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall3$f||18`13`wall4$f||19`6`wall3$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 211); standardPathway('right', 213); bgGraphics(areaTerrain, 'ruins2', '', 'ruins3', '', areaTerrain); break; case 213: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall3$f||3`6`wall4$f||3`13`wall3$f||4`6`wall3$f||4`13`wall4$f||5`6`wall4$f||5`13`wall4$f||6`6`wall4$f||6`13`wall4$f||7`6`wall4$f||7`8`pillar1||7`9`pillar2||7`13`wall4$f||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`8`scrap||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`13`wall4$f||12`6`wall4$f||12`7`pot||12`13`wall4$f||13`6`wall4$f||13`7`pot||13`13`wall4$f||14`6`wall4$f||14`7`pot||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall3$f||16`13`wall4$f||17`6`wall3$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 212); standardPathway('right', 214); bgGraphics(areaTerrain, '', '', 'ruins3', '', areaTerrain); break; case 214: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall3$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4||4`3`pillar2||4`4`wall4||4`5`wall4||4`6`wall4$f||4`9`boulder$f||4`13`wall4$f||5`1`statue||5`2`p2||5`13`wall4$f||5`16`pot||6`13`wall4$f||6`16`pot||7`13`pillar2||7`16`pot||8`13`wall3$f||8`16`pot||9`13`wall4$f||9`16`pot||10`6`pillar2||10`13`wall4$f||10`16`pot||11`6`p2||11`13`wall4$f||11`16`pot||12`13`wall3$f||12`16`pot||13`13`wall4$f||14`13`wall4$f||15`13`wall4$f||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall4||17`6`pillar2$f||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4'; makeObjectsArray(v3); standardPathway('up', 215); standardPathway('left', 213); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case 215: mSet = 'ruins2F_2'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`8`p2||3`13`wall4$f||4`5`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`5`wall4$f||5`13`pot||5`14`pot||5`15`pot||6`5`wall3$f||7`5`wall4$f||8`5`wall4$f||8`14`p2||9`5`wall4$f||10`5`wall4$f||10`11`p2$f||11`5`wall4$f||12`5`wall4$f||13`5`wall4$f||13`9`p2$f||14`5`wall4$f||15`5`wall4$f||16`5`wall4$f||16`6`pillar1$f||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', 214); standardPathway('left', 216); bgGraphics(areaTerrain, '', '', 'ruins2', '', areaTerrain); break; case 216: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`7`wall4||0`8`wall4||0`9`wall4||0`10`wall4||0`11`wall4||0`12`wall3||0`13`wall3||0`14`wall4||0`15`wall4||0`16`wall4||0`17`wall4||0`18`wall4||0`19`wall4||0`20`wall4||0`21`wall4$f||1`6`wall4$f||1`21`wall4$f||2`6`wall4$f||2`9`pillar1||2`17`pillar1||2`21`wall4$f||3`3`pillar1||3`6`wall4$f||3`21`wall4$f||4`2`pillar2||4`6`wall4$f||4`21`wall4$f||5`3`p2||5`6`wall4$f||5`21`wall4$f||6`6`wall3$f||6`13`statue||6`21`wall4$f||7`2`pillar1||7`6`wall4$f||7`21`wall4$f||8`6`wall4$f||8`11`scrap||8`21`wall4$f||9`6`wall4$f||9`21`wall4$f||10`6`wall4$f||10`9`pillar1||10`17`pillar2||10`21`wall4$f||11`6`wall4$f||11`9`p2||11`21`wall4$f||12`6`wall4$f||12`21`wall4$f||13`6`wall4$f||13`21`wall4$f||14`6`wall4$f||14`13`wall4||14`14`wall4||14`15`wall4||14`16`wall4||14`17`wall3||14`18`wall3||14`19`wall4||14`20`wall4||14`21`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('right', 215); bgGraphics(areaTerrain, 'ruins3', '', 'ruins2', '', areaTerrain); break; case 217: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`1`statue$f||3`6`wall4$f||3`13`wall3$f||4`6`wall4$f||4`13`wall3$f||5`6`wall4$f||5`13`wall4$f||6`6`wall4$f||6`7`pot||6`13`wall4$f||7`6`wall4$f||7`7`pot||7`13`wall4$f||8`6`wall4$f||8`7`pot||8`13`wall4$f||9`0`statue$f||9`6`wall4$f||9`7`boulder||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`13`wall4$f||12`6`wall4$f||12`13`wall4$f||12`14`wall4||12`15`wall4||12`16`wall3||13`6`wall4$f||13`13`wall4$f||14`6`wall4$f||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`8`pillar1||17`9`p2||17`13`wall4$f||18`6`wall4$f||18`9`p2||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 206); standardPathway('right', 218); bgGraphics(areaTerrain, '', '', 'ruins3', '', areaTerrain); break; case 218: mSet = 'ruins2F_2'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall3||4`18`wall3||4`19`wall4||4`20`wall4||5`5`wall4$f||5`14`pot||5`15`pot||6`2`wall4||6`3`wall4||6`4`wall4||6`5`wall4||7`2`wall4$f||7`3`pot||8`2`wall4$f||8`14`p2||9`2`wall3$f||9`7`pillar1||10`2`wall3$f||10`7`pillar1$f||11`2`wall4$f||11`6`pillar2||11`7`scrap||12`2`wall4$f||13`2`wall4$f||14`2`wall4$f||15`2`wall4$f||16`2`wall4$f||17`2`wall4$f||17`5`boulder$f||17`6`boulder||17`15`wall4$f||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`2`wall4$f||18`15`wall4$f||19`2`wall4$f||19`15`wall4$f||20`2`wall4$f||20`15`wall4$f||21`2`wall4$f||21`3`wall4||21`4`wall4||21`5`wall4||21`6`wall4||21`7`wall4||21`8`wall4||21`9`wall4||21`10`wall3||21`11`wall4||21`12`wall4||21`13`wall4||21`14`wall4||21`15`wall4$f'; makeObjectsArray(v3); standardPathway('down', 219); standardPathway('left', 217); bgGraphics(areaTerrain, '', '', 'ruins2', '', areaTerrain); break; case 219: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall3$f||3`6`wall4$f||3`13`wall4||3`14`wall4||3`15`wall4||3`16`wall4||3`17`wall4||3`18`wall4||3`19`wall4||3`20`wall4||3`21`wall4||4`0`wall4||4`1`wall4||4`2`wall4||4`3`pillar2||4`4`wall4||4`5`wall4||4`6`wall4$f||4`8`pillar1||4`9`pillar1||4`16`pot||4`18`pot||4`21`wall4$f||5`16`pot||5`18`pot||5`21`wall4$f||6`16`pot||6`18`pot||6`21`wall4$f||7`21`wall4$f||8`14`wall4||8`15`wall4||8`16`wall4||8`17`wall3||8`18`wall4||8`19`wall4||8`20`wall4||8`21`wall4$f||9`21`wall4$f||10`21`wall4$f||11`4`scrap||11`21`wall3$f||12`12`scrap||12`21`wall4$f||13`12`p2||13`21`wall4$f||14`21`wall4$f||15`21`wall4$f||16`21`wall4$f||17`0`wall4||17`1`wall4||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall4||17`6`pillar2$f||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall3||17`14`wall3||17`15`wall3||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', 218); standardPathway('left', 220); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case 220: mSet = 'ruins2F_2'; var v3 = '0`0`wall4||0`1`wall4||0`2`wall4||0`3`wall4||0`4`wall4||0`5`wall4||0`6`wall3||0`7`wall3||0`8`wall3||0`9`wall3||0`10`wall4||0`11`wall4||0`12`wall4||0`13`wall4||0`14`wall4||0`15`wall4||0`16`wall4$f||1`0`wall4$f||1`1`pillar2||1`15`pillar1||1`16`wall4$f||2`0`wall4$f||2`16`wall4$f||3`0`wall4$f||3`10`pot||3`11`pot||3`12`pot||3`16`wall4$f||4`0`wall4$f||4`3`pot||4`8`pot||4`16`wall4$f||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`0`wall4$f||5`2`pot||5`3`pot||5`6`pot||5`7`pot||5`13`pot||6`0`wall4$f||6`2`pot||6`4`pot||6`5`p2||6`6`p2||6`10`pot||7`0`wall4$f||7`7`pillar2||7`8`pot||7`9`pot||7`11`p2||7`14`pot||8`0`wall4$f||8`3`p2||8`5`pot||8`11`p2||8`13`pot||9`0`wall4$f||9`3`pot||9`6`boulder||9`12`pot||9`13`pot||10`0`wall4$f||10`4`pot||10`5`pot||10`9`pot||10`10`pot||10`11`pot||11`0`wall4$f||11`3`boulder||12`0`wall4$f||13`0`wall4$f||14`0`wall4$f||15`0`wall4$f||15`1`pillar1||16`0`wall4||16`1`wall4||16`2`wall4||16`3`wall4||16`4`wall4||16`5`wall4||16`6`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall3$f||18`13`wall4$f||19`6`wall3$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', 221); standardPathway('right', 219); bgGraphics(areaTerrain, 'ruins2', '', 'ruins2', '', areaTerrain); break; case 221: if (quest_88.prog != 99) { var v2 = '5`4||6`4||7`4||8`4||9`4||10`4||11`4||12`4||13`4||14`4||15`4||16`4||17`4'; makeChatTilesArray(v2, 'laura_10a', 'talk'); } mSet = 'ruins2F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`pillar2`3||4`3`wall4||4`4`wall3||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall3||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`pillar2||4`16`wall4||4`17`wall4||4`19`wall4||4`20`wall4||5`6`pot||5`8`pot||5`10`pot||5`12`pot||8`2`p2$f||8`16`p2||12`5`scrap$f||16`6`pillar1$f||16`11`pillar1||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall3||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 220); standardPathway('down', 222); standardPathway('right', 225); bgGraphics(areaTerrain, 'ruins2', '', '', '', areaTerrain); break; case 222: mSet = 'ruins2F_2'; var v3 = '4`1`wall4||4`2`wall3||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||5`4`pillar1||5`10`wall3$f||5`15`pot||5`17`wall4$f||6`10`wall4$f||6`13`rock||6`17`wall4$f||7`4`boulder||7`10`wall3$f||7`17`wall4$f||8`10`wall3$f||8`17`wall4$f||9`17`wall4$f||10`6`pot||10`7`pot||10`8`pot||10`17`wall4$f||11`6`pot||11`7`pot||11`8`pot||11`17`wall4$f||12`17`wall4$f||13`1`boulder$f||13`17`wall4$f||14`1`pillar2$f||14`17`wall4$f||15`17`wall4$f||16`6`pillar1$f||16`12`pillar2$f||16`17`wall4$f||17`1`wall4||17`2`wall4||17`3`wall3||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', 221); standardPathway('right', 223); bgGraphics(areaTerrain, 'ruins2', '', '', '', areaTerrain); break; case 223: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall3$f||2`13`wall4$f||3`1`statue$f||3`6`wall4$f||3`13`wall3$f||4`6`pillar2||4`13`wall3$f||5`6`pillar2||5`13`wall4$f||6`6`wall4$f||6`13`wall4$f||7`6`wall4$f||7`13`wall4$f||8`3`wall4$f||8`4`wall4||8`5`wall4||8`6`wall4$f||8`13`wall4$f||9`3`wall4$f||9`4`pot||9`5`pot||9`13`pillar2||10`3`wall4$f||10`13`wall4$f||11`3`wall3$f||11`13`wall4$f||12`3`wall4$f||12`13`wall4$f||13`3`wall4$f||13`13`wall4$f||14`3`wall4$f||14`4`pot||14`5`pot||14`13`wall4$f||15`3`wall4$f||15`4`pot||15`5`pot||15`12`pillar2||15`13`wall4$f||16`3`wall4$f||16`4`wall4||16`5`wall4||16`6`wall4$f||16`12`pillar2||16`13`wall4$f||17`6`wall4$f||17`10`scrap||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 222); standardPathway('right', 224); bgGraphics(areaTerrain, '', '', 'ruins2', '', areaTerrain); break; case 224: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`3`statue$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`pillar2||3`6`pillar2||3`13`wall4$f||4`6`pillar2||4`13`wall4$f||5`6`wall4$f||5`10`pillar1||5`13`wall4$f||6`6`wall4$f||6`10`p2||6`11`boulder||6`13`wall3$f||7`6`wall4$f||7`13`wall4$f||8`3`statue$f||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`13`wall4$f||10`6`wall3$f||10`13`wall4$f||11`6`wall3$f||11`8`p2||11`13`pillar2||12`6`wall4$f||12`13`wall4$f||13`6`wall4$f||13`13`wall4$f||14`6`wall4$f||14`13`wall4$f||15`3`statue$f||15`6`wall4$f||15`10`ruinspuzzle||15`13`wall4$f||16`3`p2||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`7`pot||18`13`pillar2||19`6`wall4$f||19`7`pot||19`13`wall4$f||20`6`wall4$f||20`7`pot||20`13`wall4$f||21`6`wall4$f||21`7`wall4||21`8`wall4||21`9`wall4||21`10`wall4||21`11`wall4||21`12`wall4||21`13`wall4$f'; makeObjectsArray(v3); makePathway(14, 10, 'Doorway', 'ruinspuzzle1'); standardPathway('left', 223); bgGraphics(areaTerrain, '', '', 'ruins3', '', areaTerrain); break; case 225: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`1`statue$f||3`6`wall4$f||3`13`wall4$f||4`6`wall3$f||4`13`wall4$f||5`6`wall3$f||5`13`wall4$f||6`3`pillar1||6`6`wall3$f||6`13`wall4$f||7`3`pillar1||7`6`wall3||7`7`wall3||7`8`wall4||7`13`wall4$f||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`7`pot||9`13`wall4$f||10`3`pillar1||10`6`wall4$f||10`7`p2||10`13`wall4$f||11`3`p2||11`6`wall4$f||11`10`wall3||11`11`wall4||11`12`wall4||11`13`wall4$f||12`6`wall4$f||12`13`wall4$f||13`3`pillar1||13`6`wall4$f||13`13`wall4$f||14`3`pillar1||14`6`wall4$f||14`13`wall4$f||15`6`wall4$f||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall3$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', 221); standardPathway('right', 226); bgGraphics(areaTerrain, '', '', 'ruins2', '', areaTerrain); break; case 226: mSet = 'ruins2F_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall3$f||3`6`wall4$f||3`13`wall4||3`14`wall4||3`15`wall4||3`16`wall4||3`17`wall3||3`18`wall4||3`19`wall4||3`20`wall4||3`21`wall4||4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall3||4`4`wall4||4`5`wall4||4`6`wall4$f||4`21`wall4$f||5`3`wall3$f||5`15`p2$f||5`21`wall4$f||6`3`wall3$f||6`21`wall4$f||7`3`wall4$f||7`4`p2$f||7`21`wall4$f||8`3`wall4$f||8`14`wall4||8`15`wall4||8`18`wall4||8`19`wall4||8`20`pillar1||8`21`wall4$f||9`14`wall4$f||9`15`pillar1||9`21`wall4$f||10`14`wall3$f||10`21`wall4$f||11`14`wall4$f||11`21`pillar2||12`14`wall4$f||12`21`wall4$f||13`0`p2||13`14`wall4$f||13`18`statue||13`21`wall4$f||14`14`wall4$f||14`21`wall4$f||15`15`pillar1||15`21`wall4$f||16`21`wall4$f||17`0`wall4||17`1`wall3||17`2`wall3||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall3||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', 227); standardPathway('left', 225); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case 227: mSet = 'ruins2F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`11`pot||5`12`pot||5`13`pot||5`14`pot||5`15`pot||5`16`pot||9`16`scrap||11`11`pillar1||11`12`p2||12`4`scrap||12`11`p2||12`12`boulder||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', 228); standardPathway('down', 226); bgGraphics(areaTerrain, 'ruins3', '', '', '', areaTerrain); break; case 228: mSet = 'ruins2F_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall3||4`7`wall3||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall3||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`0`wall4$f||6`0`wall4$f||6`11`pillar1||7`0`pillar2||7`4`p2||7`6`pillar1||7`7`pot||7`12`pillar1||7`13`pot||8`0`wall3$f||8`12`pot||8`13`pot||9`0`wall4$f||9`13`p2||10`0`wall4$f||11`0`wall4$f||12`0`pillar2||13`0`wall4$f||13`5`pot||13`6`pillar1||13`8`p2||13`11`pillar1||13`12`pot||14`0`wall4$f||14`5`pot||14`6`pot||14`12`pot||15`0`wall4$f||16`0`wall4$f||16`1`chest`ITEMS$W03MF$85||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall3||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('down', 227); bgGraphics(areaTerrain, 'ruins3', '', 'ruins3', '', areaTerrain); break; case -101: mSet = 'ruinsB1_1'; var v3 = '4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall3||4`8`wall3||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||5`1`statue||5`15`statue||5`17`wall4$f||6`17`wall4$f||7`17`wall4$f||8`8`fungus||8`17`wall4$f||9`17`wall4$f||10`17`wall4$f||11`3`fungus||11`17`wall4$f||12`17`wall4$f||13`17`wall4$f||14`17`wall4$f||15`17`wall4$f||16`6`pillar1$f||16`11`pillar1||16`17`wall4$f||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4'; makeObjectsArray(v3); standardPathway('up', -102); standardPathway('right', 109); bgGraphics(areaTerrain, '', 'stairs_up1', '', '', areaTerrain); break; case -102: mSet = 'ruinsB1_1'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`12`grass||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall3||4`19`wall4||4`20`wall4||5`5`wall4$f||5`10`grass||5`11`fungus||5`12`grass||6`5`wall4$f||6`10`fungus||6`11`grass||6`12`grass||7`5`wall4$f||8`5`wall4$f||8`18`fungus||9`5`wall4$f||9`18`grass||10`0`wall4||10`1`wall4||10`2`wall4||10`3`wall4||10`4`wall4||10`5`wall4||11`0`wall4$f||12`0`wall4$f||13`0`wall4$f||13`3`stand1`100>80>50>50||14`0`wall4$f||15`0`wall4$f||16`0`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall3||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall3||17`14`wall3||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', -101); standardPathway('left', -103); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -103: mSet = 'ruinsB1_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`3`statue$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`pillar1||4`13`wall4$f||5`13`wall4$f||6`6`grass||6`13`wall4$f||7`5`boulder||7`6`grass||7`13`wall4$f||8`4`grass||8`6`grass||8`13`wall4$f||9`13`wall4$f||10`3`stand1`100>80>50>50||10`13`wall4$f||11`13`wall4$f||12`13`wall4$f||13`1`fungus||13`2`grass||13`13`wall4$f||14`1`grass||14`13`wall4$f||15`13`wall4$f||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`7`pillar1||18`13`wall4$f||19`3`statue$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', -107); standardPathway('left', -104); standardPathway('right', -102); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -104: mSet = 'ruinsB1_1'; var v3 = '4`6`wall4||4`7`wall3||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`pillar2||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||6`6`wall4$f||7`6`wall4$f||7`8`stand1`100>80>50>50||7`10`statue||7`12`stand1`100>80>50>50||7`13`grass||7`15`boulder||8`6`wall4$f||8`18`grass||9`6`wall4$f||9`14`grass||9`19`grass||10`6`wall4$f||10`13`grass||10`14`boulder||10`15`grass||10`16`grass||10`17`grass||10`18`grass||11`6`pillar2||11`8`grass||11`9`grass||11`14`grass||11`15`grass||12`6`pillar2||12`8`grass||12`11`grass||13`6`wall4$f||13`8`grass||13`10`grass||14`6`wall4$f||14`8`boulder||15`6`wall4$f||15`8`grass||16`6`wall4$f||16`8`grass||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`pillar2$f||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', -105); standardPathway('right', -103); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -105: mSet = 'ruinsB1_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`stand1`100>80>50>50||2`13`stand1`100>80>50>50||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`wall4$f||5`13`wall4$f||6`13`wall4||6`14`wall4||6`15`wall4||6`16`wall4||6`17`wall4||6`18`wall4||6`19`wall4||6`20`wall4||7`20`wall4$f||8`12`pillar1||8`14`grass||8`15`grass||8`16`pillar1||8`20`wall4$f||9`12`grass||9`15`grass||9`17`grass||9`20`wall4$f||10`12`grass||10`14`rock||10`20`wall3$f||11`14`grass||11`15`grass||11`20`wall4$f||12`12`pillar1||12`14`grass||12`15`grass||12`16`grass||12`17`pillar1||12`20`wall4$f||13`20`wall4$f||14`20`wall4$f||15`13`wall4||15`14`wall4||15`15`wall4||15`16`wall4||15`17`wall4||15`18`wall4||15`19`wall4||15`20`wall4||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`7`grass||17`8`fungus||17`9`grass||17`13`wall4$f||18`2`wall4$f||18`5`fungus||18`6`grass||18`7`grass||18`13`wall4$f||19`2`wall4$f||19`6`grass||19`13`wall4$f||20`2`wall4$f||20`13`wall4$f||21`2`wall4||21`3`wall4||21`4`wall4||21`5`wall4||21`6`wall4||21`7`wall3||21`8`wall4||21`9`wall4||21`10`wall3||21`11`wall4||21`12`wall4||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', -104); standardPathway('left', -106); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -106: mSet = 'ruinsB1_1'; var v3 = '0`6`wall4$f||0`7`wall4||0`8`wall4||0`9`wall4||0`10`wall4||0`11`wall4||0`12`wall4||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||3`15`stand1`60>80>100>50||4`6`wall4$f||4`8`grass||4`13`wall4$f||5`6`wall4$f||5`7`fungus||5`8`grass||5`13`wall3$f||6`6`wall4$f||6`7`grass||6`13`wall4$f||7`6`wall4$f||7`13`wall4$f||8`6`wall4$f||8`13`wall4$f||9`6`wall4$f||9`7`pillar1||9`13`wall4$f||10`6`wall4$f||10`13`wall4$f||11`6`wall4$f||11`13`wall4$f||11`15`stand1`60>80>100>50||12`6`wall4$f||12`7`pillar1||12`13`wall4$f||13`6`wall4$f||13`13`wall4$f||14`6`wall3$f||14`13`wall4$f||15`6`wall3$f||15`7`pillar1||15`13`wall4$f||16`6`wall4$f||16`13`wall4$f||17`6`wall4$f||17`13`wall4$f||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||19`15`stand1`60>80>100>50||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('right', -105); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -107: mSet = 'ruinsB1_1'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`pillar2$f||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`pillar2||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`2`stand1`0>0>0>0||5`9`stand1`100>80>50>50||5`17`stand1`100>80>50>50||16`1`stand1`100>80>50>50||16`9`stand1`0>0>0>0||16`17`stand1`100>80>50>50||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`pillar2||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`pillar2||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', -108); standardPathway('down', -103); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -108: mSet = 'ruinsB1_1'; var v3 = '0`5`wall4$f||0`6`stand1`100>80>50>50||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall4$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`5`pillar2$f||5`15`pot||5`16`pot||5`18`pot||6`5`wall4$f||7`5`wall4$f||8`5`wall4$f||8`11`grass||8`12`grass||9`5`wall4$f||9`10`grass||9`11`grass||9`12`boulder||9`13`grass||10`5`wall4$f||10`11`grass||10`12`grass||10`14`grass||11`5`pillar2||12`5`wall4$f||13`5`wall4$f||14`5`wall4$f||15`5`wall4$f||16`5`wall4$f||16`6`stand1`0>0>0>0||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`pillar2||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', -107); standardPathway('left', -109); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -109: mSet = 'ruinsB1_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`0`wall4$f||5`1`pillar1||5`20`pillar1||5`21`wall4$f||6`0`wall4$f||6`21`wall4$f||7`0`wall4$f||7`3`pot||7`4`pot||7`14`grass||7`17`s1||7`21`wall4$f||8`0`wall4$f||8`3`pot||8`4`pot||8`9`pillar1||8`14`grass||8`15`grass||8`21`wall4$f||9`0`wall4$f||9`3`pot||9`4`pot||9`21`wall4$f||10`0`wall4$f||10`9`pot||10`14`pot||10`15`pot||10`16`pot||10`21`wall4$f||11`0`wall4$f||11`3`grass||11`14`pot||11`15`pot||11`16`pot||11`21`wall4$f||12`0`wall4$f||12`3`grass||12`9`pillar1||12`21`wall4$f||13`0`wall4$f||13`14`grass||13`21`wall4$f||14`0`wall4$f||14`3`fungus||14`21`wall4$f||15`0`wall4$f||15`21`wall4$f||16`0`wall4$f||16`21`wall4$f||17`0`wall4$f||17`21`wall4$f||18`0`wall4$f||18`1`pillar1||18`20`pillar2$f||18`21`wall4$f||19`0`wall4||19`1`wall4||19`2`wall4||19`3`wall4||19`4`wall4||19`5`wall4||19`6`wall4$f||19`13`wall4$f||19`14`wall4||19`15`wall4||19`16`wall4||19`17`wall4||19`18`wall4||19`19`wall4||19`20`wall4||19`21`wall4||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', -110); standardPathway('right', -108); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -110: mSet = 'ruinsB1_1'; var v3 = '3`12`grass||3`13`grass||4`11`grass||4`12`statue||4`15`wall4$f||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`15`wall4$f||6`15`wall4$f||7`8`grass||7`11`wall4$f||7`12`wall4||7`13`wall4||7`14`wall4||7`15`wall4||8`8`statue||8`11`wall4$f||9`11`wall4$f||10`7`wall4$f||10`8`wall4||10`9`wall4||10`10`wall4||10`11`wall4||11`6`wall4$f||11`7`wall4||12`4`pillar1||12`6`wall4$f||12`15`boulder||12`16`grass||13`3`grass||13`4`grass||13`6`wall4$f||13`14`boulder||13`15`grass||14`4`grass||14`6`wall4$f||14`10`s2||15`4`grass||15`6`wall4$f||16`6`wall4$f||17`6`wall4$f||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`pillar2$f||17`18`wall4||17`19`wall4||17`20`wall4||18`3`grass||18`5`pillar1||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', -111); standardPathway('right', -109); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -111: mSet = 'ruinsB1_1'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`5`statue||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`13`wall4$f||5`13`wall4$f||6`8`fungus||6`13`pillar2$f||7`8`grass||7`13`wall4$f||8`13`wall4$f||9`13`wall4$f||10`13`wall4$f||11`3`grass||11`13`wall4$f||12`2`grass||12`3`boulder||12`13`wall4$f||13`13`wall4$f||14`13`pillar2||15`13`wall4$f||16`5`grass||16`6`pot||16`7`grass||16`8`grass||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`4`grass||17`5`pillar1||17`6`grass||17`7`grass||17`8`grass||17`13`wall4$f||18`2`wall4$f||18`4`pot||18`5`grass||18`6`boulder||18`7`grass||18`13`wall4$f||19`2`wall4$f||19`5`grass||19`6`grass||19`7`grass||19`13`wall4$f||20`2`wall4$f||20`13`wall4$f||21`2`wall4||21`3`wall4||21`4`wall4||21`5`wall4||21`6`wall4||21`7`wall4||21`8`wall4||21`9`wall4||21`10`wall4||21`11`wall4||21`12`wall4||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', -110); standardPathway('left', -112); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -112: mSet = 'ruinsB1_1'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`5`pot||5`6`pot||5`7`pot||5`8`pot||5`9`pot||7`14`grass||7`15`grass||8`15`fungus||9`15`grass||12`3`grass||16`6`stand1`100>80>50>50||16`13`stand1`100>80>50>50||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('up', -115); standardPathway('down', -113); standardPathway('right', -111); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -113: mSet = 'ruinsB1_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall3||4`12`wall3||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||6`11`rock||7`10`rock||7`11`rock||9`4`pillar1||9`5`wall4||9`6`wall4||9`7`wall4||9`8`wall4||9`9`wall4||9`10`rock||9`11`rock||9`12`wall4||9`13`wall4||9`14`wall4||9`15`wall4||9`16`pillar2||10`5`wall4$f||10`15`wall4$f||10`17`grass||10`18`grass||11`3`grass||11`5`wall4$f||11`15`wall4$f||11`16`pot||11`17`grass||11`18`grass||12`2`grass||12`3`boulder||12`5`wall4$f||12`7`pot||12`15`wall4$f||12`16`pot||12`17`grass||13`2`grass||13`5`wall3$f||13`7`pot||13`15`wall4$f||13`16`pot||14`5`wall4$f||14`7`pot||14`11`chest`ITEMS$W03MS$86||14`15`wall4$f||15`5`wall4$f||15`7`pot||15`15`wall4$f||16`5`wall4$f||16`15`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4$f||17`15`wall4$f||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', -112); standardPathway('down', -114); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -114: mSet = 'ruinsB1_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`pillar2||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`pillar2||4`11`pillar2||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`pillar2$f||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`21`wall4$f||6`19`statue||6`21`wall4$f||7`21`wall4$f||8`21`wall4$f||9`5`wall4||9`6`wall4||9`7`wall4||9`21`wall4$f||10`5`wall4$f||10`21`wall4$f||11`5`wall4$f||11`12`grass||11`13`grass||11`14`pot||11`21`wall4$f||12`5`wall4$f||12`7`pot||12`10`grass||12`13`grass||12`14`s2||12`21`wall4$f||13`5`wall4$f||13`8`grass||13`9`grass||13`10`grass||13`11`boulder||13`12`grass||13`13`grass||13`14`grass||13`15`grass||13`21`wall4$f||14`5`wall4$f||14`8`grass||14`9`grass||14`11`grass||14`12`grass||14`13`grass||14`21`wall4$f||15`5`wall4$f||15`8`grass||15`9`grass||15`10`grass||15`11`pillar1||15`13`grass||15`14`grass||15`21`wall4$f||16`5`wall4$f||16`7`grass||16`11`grass||16`12`grass||16`14`grass||16`15`grass||16`21`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4$f||17`8`grass||17`9`grass||17`10`grass||17`11`grass||17`13`grass||17`15`grass||17`18`wall4$f||17`19`wall4||17`20`wall4||17`21`wall4||18`5`wall4$f||18`7`pot||18`8`grass||18`13`grass||18`14`grass||18`15`pot||18`18`wall4$f||19`5`wall4$f||19`18`wall4$f||20`5`wall4$f||20`18`wall4$f||21`5`wall4||21`6`wall4||21`7`wall4||21`8`wall4||21`9`wall4||21`10`wall4||21`11`pillar2$f||21`12`pillar2||21`13`wall4||21`14`wall4||21`15`wall4||21`16`wall4||21`17`wall4||21`18`wall4'; makeObjectsArray(v3); standardPathway('up', -113); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -115: mSet = 'ruinsB1_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`pillar2$f||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`pillar2||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall3||4`20`wall4||4`21`wall4||5`2`stand1`0>0>0>0||5`9`stand1`60>80>100>50||5`17`stand1`60>80>100>50||8`9`grass||8`10`grass||8`11`grass||8`12`grass||9`7`pillar1$f||9`9`grass||9`10`grass||9`11`pillar2||9`12`grass||9`13`grass||9`15`pillar1||10`7`p2||10`10`grass||10`11`boulder||10`12`grass||11`10`grass||11`11`grass||11`12`grass||16`1`stand1`60>80>100>50||16`9`stand1`60>80>100>50||16`17`stand1`60>80>100>50||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`pillar2||17`5`wall4||17`6`wall3||17`7`wall3||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`pillar2||17`14`wall4||17`15`wall3||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', -116); standardPathway('down', -112); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -116: if (quest_87.prog != 99) { var v2 = '5`14||6`14||7`14||8`14||9`14||10`14||11`14||12`14||13`14||14`14||15`14||16`14||17`14'; makeChatTilesArray(v2, 'laura_10', 'talk'); } mSet = 'ruinsB1_2'; var v3 = '0`6`wall4||0`7`wall4||0`8`wall4||0`9`wall4||0`10`wall4||0`11`wall4||0`12`wall4$f||1`6`wall4$f||1`7`pot||1`8`pot||1`9`pot||1`10`pot||1`12`wall4$f||2`6`wall4$f||2`8`pot||2`9`pot||2`10`pot||2`12`wall4$f||3`6`wall4$f||3`12`wall4$f||4`6`wall4$f||4`12`wall4$f||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall3||4`17`wall3||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||5`12`stand1`60>100>50>50||6`6`wall4$f||7`6`wall4$f||8`6`wall3$f||9`6`wall4$f||9`17`rock||9`18`boulder||10`6`wall4$f||10`17`boulder||10`18`grass||11`6`wall4$f||12`6`wall4$f||13`6`wall4$f||14`6`wall4$f||15`6`wall4$f||16`6`wall3$f||16`7`fungus||16`8`grass||16`13`stand1`0>0>0>0||17`6`wall3$f||17`7`grass||17`8`grass||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', -115); standardPathway('right', -117); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -117: mSet = 'ruinsB1_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall3$f||2`13`wall4$f||3`6`wall3$f||3`7`grass||3`8`s1||3`13`wall4$f||4`6`wall4$f||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`6`wall4$f||5`20`pillar1||5`21`wall4$f||6`6`wall4$f||6`21`wall4$f||7`6`wall4$f||7`7`pillar1||7`21`wall4$f||8`6`wall4$f||8`7`wall4||8`8`wall4||8`9`wall4||8`10`wall4||8`11`wall4||8`12`wall4||8`13`wall4||8`14`wall4||8`15`wall4$f||8`18`grass||8`19`fungus||8`21`wall4$f||9`15`wall4$f||9`17`grass||9`21`wall4$f||10`8`stand1`60>100>50>50||10`10`stand1`60>100>50>50||10`12`stand1`60>100>50>50||10`15`wall4$f||10`17`grass||10`21`wall4$f||11`15`wall4$f||11`21`wall4$f||12`15`wall4$f||12`21`wall4$f||13`15`wall4$f||13`21`wall4$f||14`6`wall4$f||14`7`wall4||14`8`wall4||14`9`wall4||14`10`wall4||14`11`wall3||14`12`wall4||14`13`wall4||14`14`wall4||14`15`wall4$f||14`21`wall4$f||15`6`wall4$f||15`7`pillar1||15`21`wall4$f||16`6`wall4$f||16`21`wall4$f||17`6`wall4$f||17`9`grass||17`10`grass||17`21`wall4$f||18`6`wall4$f||18`9`grass||18`20`pillar1||18`21`wall4$f||19`6`wall4$f||19`13`wall4$f||19`14`wall4||19`15`wall4||19`16`wall4||19`17`wall3||19`18`wall3||19`19`wall4||19`20`wall4||19`21`wall4||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('left', -116); standardPathway('right', -118); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -118: mSet = 'ruinsB1_2'; var v3 = '0`6`wall4$f||0`13`wall4$f||1`6`wall4$f||1`13`wall4$f||2`6`wall4$f||2`13`wall4$f||3`6`wall4$f||3`13`wall4$f||4`0`wall4||4`1`wall4||4`2`wall4`3||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4$f||4`8`grass||4`13`wall4$f||5`1`pot||5`3`stand1`100>80>50>50||5`8`fungus||5`13`wall4$f||6`13`wall4$f||7`13`wall3$f||8`13`wall4$f||9`4`pillar2||9`5`grass||9`13`wall3$f||10`4`grass||10`13`wall3$f||11`13`wall4$f||12`13`wall4$f||13`13`wall4$f||14`13`wall4$f||15`13`wall4$f||16`1`pot||16`2`pot||16`12`pillar1||16`13`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall3||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4'; makeObjectsArray(v3); standardPathway('up', -119); standardPathway('left', -117); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -119: mSet = 'ruinsB1_2'; var v3 = '4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`pillar2$f||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall3||4`10`wall3||4`11`wall4||4`12`wall4||4`13`pillar2||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||6`19`fungus||8`8`pot||8`13`pot||9`7`pot||9`15`pot||10`11`stand1`60>100>50>50||11`11`boulder||12`4`grass||12`7`pot||12`8`p2$f||12`15`pot||13`2`grass||13`3`fungus||13`4`grass||14`2`grass||14`3`grass||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`pillar2||17`5`wall4||17`6`wall4||17`7`wall3||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`pillar2||17`14`wall4||17`15`wall3||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); standardPathway('up', -120); standardPathway('down', -118); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -120: mSet = 'ruinsB1_2'; var v3 = '0`5`wall4$f||0`13`wall4$f||1`5`wall4$f||1`13`wall4$f||2`5`wall4$f||2`13`wall4$f||3`5`wall4$f||3`13`wall4$f||4`5`wall3$f||4`13`wall4$f||4`14`wall4||4`15`wall4||4`16`pillar2||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`2`grass||5`5`wall4$f||6`2`boulder||6`3`grass||6`5`wall4$f||6`11`grass||6`16`grass||7`2`statue$f||7`3`grass||7`5`wall4$f||7`11`grass||7`12`grass||7`16`grass||8`3`grass||8`5`wall4$f||9`5`wall4$f||9`9`pillar1||10`5`wall4$f||10`14`pillar1||11`5`wall3$f||12`5`wall4$f||13`5`wall4$f||14`5`wall4$f||14`7`boulder||14`8`grass||15`5`wall4$f||15`7`grass||16`5`wall4$f||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall3||17`11`wall3||17`12`wall4||17`13`wall4||17`14`wall4||17`15`pillar2$f||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4'; makeObjectsArray(v3); standardPathway('down', -119); standardPathway('left', -121); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -121: mSet = 'ruinsB1_2'; var v3 = '0`6`wall4||0`7`wall4||0`8`wall4||0`9`wall4||0`10`wall4||0`11`wall4||0`12`wall4$f||1`6`wall4$f||1`7`p2||1`12`wall4$f||2`6`wall4$f||2`7`pot||2`9`statue||2`12`wall4$f||3`6`wall4$f||3`7`pot||3`12`wall4$f||4`6`wall4$f||4`7`pot||4`12`wall4$f||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||5`6`wall4$f||5`12`wall4$f||5`15`pillar2||5`18`pillar1||6`6`wall4$f||6`12`wall4$f||6`15`grass||6`17`grass||6`18`grass||7`6`wall4$f||7`12`wall3$f||7`18`grass||7`19`grass||8`6`wall4$f||9`6`wall4$f||9`16`s2||10`6`wall4$f||11`6`wall4$f||11`7`wall3||11`8`wall4||11`9`wall4||12`6`wall4$f||13`6`wall4$f||14`6`wall4$f||14`7`pillar1||14`8`grass||15`6`wall4$f||15`7`grass||15`8`boulder||15`9`grass||16`6`wall3$f||16`7`pillar2$f||16`8`grass||16`9`grass||17`6`wall4$f||17`7`grass||17`8`grass||17`13`wall4$f||17`14`wall4||17`15`wall4||17`16`wall3||17`17`wall3||17`18`wall4||17`19`wall4||17`20`wall4||18`6`wall4$f||18`7`pillar1||18`13`wall4$f||19`6`wall4$f||19`13`wall4$f||20`6`wall4$f||20`13`wall4$f||21`6`wall4$f||21`13`wall4$f'; makeObjectsArray(v3); standardPathway('down', -122); standardPathway('right', -120); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); break; case -122: mSet = 'ruinsB1_2'; var v3 = '0`6`statue||0`11`grass||0`12`grass||0`13`statue||1`1`statue||1`2`grass||1`4`fungus||1`8`grass||1`9`grass||1`10`boulder||1`11`grass||1`14`p2||1`15`grass||1`16`grass||2`0`grass||2`1`grass||2`8`grass||2`16`grass||4`0`wall4||4`1`wall4||4`2`wall4||4`3`wall4||4`4`wall4||4`5`wall4||4`6`wall4||4`7`wall4||4`8`wall4||4`9`wall4||4`10`wall4||4`11`wall4||4`12`wall4||4`13`wall4||4`14`wall4||4`15`wall4||4`16`wall4||4`17`wall4||4`18`wall4||4`19`wall4||4`20`wall4||4`21`wall4||5`2`stand1`0>0>0>0||5`5`pillar1||5`9`stand1`60>100>50>50||5`13`pillar1||5`17`stand1`0>0>0>0||5`21`wall4$f||6`21`wall4$f||7`21`wall4$f||8`21`wall4$f||9`21`wall4$f||10`21`wall4$f||11`17`ruinspuzzle||11`21`wall4$f||12`21`wall4$f||13`21`wall4$f||14`21`wall4$f||15`21`wall4$f||16`1`stand1`60>100>50>50||16`4`pillar1||16`9`stand1`0>0>0>0||16`12`pillar1||16`17`stand1`60>100>50>50||16`21`wall4$f||17`0`wall4||17`1`wall4||17`2`wall4||17`3`wall4||17`4`wall4||17`5`wall4||17`6`wall4||17`7`wall4||17`8`wall4||17`9`wall4||17`10`wall4||17`11`wall4||17`12`wall4||17`13`wall4||17`14`wall4||17`15`wall4||17`16`wall4||17`17`wall4||17`18`wall4||17`19`wall4||17`20`wall4||17`21`wall4'; makeObjectsArray(v3); makePathway(11, 16, 'Doorway', 'ruinspuzzle2'); standardPathway('up', -121); bgGraphics(areaTerrain, '', '', '', '', areaTerrain); } } } frame 33 { isometricAS = function (maxx, maxz) { this.maxx = maxx; this.maxz = maxz; this.theta = 30; this.alpha = 45; this.theta *= 0.0174532925199433; this.alpha *= 0.0174532925199433; this.sinTheta = Math.sin(this.theta); this.cosTheta = Math.cos(this.theta); this.sinAlpha = Math.sin(this.alpha); this.cosAlpha = Math.cos(this.alpha); }; isometricAS.prototype.mapToScreen = function (xpp, ypp, zpp) { var v3 = ypp; var v4 = xpp * this.cosAlpha + zpp * this.sinAlpha; var v2 = zpp * this.cosAlpha - xpp * this.sinAlpha; var v6 = v4; var v5 = v3 * this.cosTheta - v2 * this.sinTheta; return [v6, v5]; }; isometricAS.prototype.mapToIsoWorld = function (screenX, screenY) { var v2 = (screenX / this.cosAlpha - screenY / this.sinAlpha * this.sinTheta) * (1 / (this.cosAlpha / this.sinAlpha + this.sinAlpha / this.cosAlpha)); var v3 = (1 / this.cosAlpha) * (screenX - v2 * this.sinAlpha); return [v3, v2]; }; isometricAS.prototype.calculateDepth = function (x, y, z) { var v4 = 5; x = Math.abs(x) * v4; y = Math.abs(y); z = Math.abs(z) * v4; var v2 = this.maxx; var v5 = this.maxz; var v7 = v2 * (v5 - 1) + x; var v6 = v2 * (z - 1) + x + v7 * y; return v6; }; } frame 33 { function enterShop(shop, hideMenu, showWorld_param) { questlog._visible = false; savebox._visible = false; inventory._visible = false; areaNameClip._visible = false; _global.action = 'talking'; worldMenu._visible = false; if (!showWorld_param) { hideWorld(); } shopSystem.gotoAndStop('blank'); shopSystem.gotoAndStop(shop); shopSystem._visible = true; if (hideMenu) { shopSystem.menu._visible = false; } bg.gotoAndStop(shop); } function exitShop() { shopSystem._visible = false; if (!talkingSystem._visible) { _global.action = 'walking'; worldMenu._visible = true; floor.mouseClickRegion._visible = true; areaNameClip._visible = true; } bg.gotoAndStop(areaTerrain); _level0.populate_inventory(); showWorld(); } function hideWorld() { floor._visible = false; lighting._visible = false; canopyClip._visible = false; bgLeft._visible = false; bgRight._visible = false; bgUp._visible = false; bgDown._visible = false; } function showWorld() { floor._visible = true; lighting._visible = true; canopyClip._visible = true; bgLeft._visible = true; bgRight._visible = true; bgUp._visible = true; bgDown._visible = true; } } frame 33 { function generateNewChar(newChar, newX, newZ, type, state, displayName) { ++charCount; buildCharacter('n' + charCount, world.path, newChar); world['n' + charCount].char = newChar; world['n' + charCount].type = type; world['n' + charCount].tempx = newX; world['n' + charCount].tempz = newZ; world['n' + charCount].moving = false; world['n' + charCount].walkTime = 100; world['n' + charCount].action = 'walking'; world['n' + charCount].walkDir = random(8) + 1; if (newChar == 'malenpc' || newChar == 'femalenpc') { floor['n' + charCount].newChar = newChar; floor['n' + charCount].r1 = random(100); floor['n' + charCount].g1 = random(100); floor['n' + charCount].b1 = random(100); floor['n' + charCount].r2 = random(100); floor['n' + charCount].g2 = random(100); floor['n' + charCount].b2 = random(100); if (newChar == 'femalenpc') { displayName = randomFemaleNPCnames[random(randomFemaleNPCnames.length)]; } else { displayName = randomMaleNPCnames[random(randomMaleNPCnames.length)]; } floor['n' + charCount].displayName = displayName; } floor['n' + charCount].onEnterFrame = function () { moveCharacter(this._name); detectObjects(this._name); positionCharacter(this._name); if (state == 'moving') { AI(this._name); } }; floor['n' + charCount].onRollOver = function () { txter = displayName; point = new Object(); point.x = _x; point.y = _y; this.localToGlobal(point); txtbubble.popup_text(txter, 60, '0xFFCC99', point.x, point.y - 30, 0, 0, 'hide'); txtbubble.settimer(40); }; floor['n' + charCount].onRelease = function () { if (Math.abs(_level0.floor[player]._x - _level0.floor[this._name]._x) < 50 && Math.abs(_level0.floor[player]._y - _level0.floor[this._name]._y) < 50) { if (!_level0.talkingSystem._visible) { _level0.worldMenu._visible = false; if (this.newChar == 'malenpc' || this.newChar == 'femalenpc') { _level0.talkingSystem[newChar + '_1_1'].speaker = this.displayName; } _level0.talkingSystem.chatActivate(_level0.talkingSystem[newChar + '_1']); _level0.talkingSystem._visible = true; } } else { txter = 'Too far!'; point = new Object(); point.x = _x; point.y = _y; this.localToGlobal(point); txtbubble.popup_text(txter, 50, '0xFFCCCC', point.x + 30, point.y - 30, 0, 0, 'hide'); txtbubble.settimer(40); } }; } function AI(char) { if (world[char].action == 'walking') { if (world[char].walkTime < 0) { world[char].walkTime = 30 + random(30); world[char].walkDir = random(50); switch (world[char].walkDir) { case 1: _root.AIworldClicked(char, world[char].clip._x + 50, world[char].clip._y + 25); break; break; case 2: case 3: _root.AIworldClicked(char, world[char].clip._x + 50, world[char].clip._y - 25); break; break; case 4: case 5: _root.AIworldClicked(char, world[char].clip._x - 50, world[char].clip._y - 25); break; break; case 6: case 7: _root.AIworldClicked(char, world[char].clip._x - 50, world[char].clip._y + 25); break; case 8: break; default: } } --world[char].walkTime; } } function buildWorld(floorx, floorz) { world = new Object(); world.maxx = floorx; world.maxz = floorz; world.cellWidth = 29; world.width = floorx * world.cellWidth; world.length = -floorz * world.cellWidth; world.path = floor; buildFloor(floor, floorx, floorz); charCount = 0; buildCharacter(player, floor); } function buildCharacter(char, path, charClip) { world[char] = new Object(); world[char].tempx = 100; world[char].tempy = 0; world[char].tempz = -100; world[char].speed = 6; world[char].feeler = 10; world[char].width = 10; world[char].xmov = 0; world[char].ymov = 0; world[char].zmov = 0; world[char].moving = false; world[char].frame = -1; path.attachMovie('worldChar', char, 100 + charCount); world[char].clip = path[char]; world[char].clip.gotoAndStop(charClip); positionCharacter(char); } function positionCharacter(char) { world[char].x = world[char].tempx; world[char].y = world[char].tempy; world[char].z = world[char].tempz; var v2 = iso.mapToScreen(world[char].x, world[char].y, world[char].z); world[char].clip._x = v2[0]; world[char].clip._y = v2[1]; } function buildFloor(path, floorx, floorz) { path.tile._visible = false; world.tiles = []; var v6 = 0; var v2 = 1; while (v2 <= floorx) { var v1 = 1; while (v1 <= floorz) { if (v2 == 1) { world.tiles[v1] = []; } var v9 = iso.calculateDepth(v1, v6, v2); var v3 = 'cell' + v1 + '_' + v2; path.attachMovie('tile', v3, v9); var v4 = path[v3]; world.tiles[v1][v2] = {'x': v1, 'y': v6, 'z': v2, 'depth': v9, 'clip': v4}; var v7 = (v1 - 1) * world.cellWidth; var v5 = -(v2 - 1) * world.cellWidth; temp = iso.mapToScreen(v7, v6, v5); v4._x = temp[0]; v4._y = temp[1]; ++v1; } ++v2; } } function clearWorld(tileSet) { floor._visible = true; lighting._visible = true; canopyClip._visible = true; bgLeft._visible = true; bgRight._visible = true; bgUp._visible = true; bgDown._visible = true; if (areaCharType == 'pilot') { world[player].clip.gotoAndStop(selectedPilot); } else { selectedMaw = getCharacterAttr('A001', 'botid'); world[player].clip.gotoAndStop(selectedMaw); } var v2 = 0; while (v2 <= maxx) { var v1 = 0; while (v1 <= maxz) { world.tiles[v2 + 1][v1 + 1].property = undefined; world.tiles[v2 + 1][v1 + 1].type = undefined; world.tiles[v2 + 1][v1 + 1].isObject = false; world.tiles[v2 + 1][v1 + 1].clip.objects.gotoAndStop(1); world.tiles[v2 + 1][v1 + 1].isPathway = false; world.tiles[v2 + 1][v1 + 1].destination = -1; world.tiles[v2 + 1][v1 + 1].neighbour = undefined; world.tiles[v2 + 1][v1 + 1].destinationPositX = undefined; world.tiles[v2 + 1][v1 + 1].destinationPositZ = undefined; world.tiles[v2 + 1][v1 + 1].clip.innerTile.gotoAndStop(tileSet); delete world.tiles[v2 + 1][v1 + 1].clip.onRelease; ++v1; } ++v2; } bgLeft.gotoAndStop('blank'); bgRight.gotoAndStop('blank'); bgUp.gotoAndStop('blank'); bgDown.gotoAndStop('blank'); i = 0; while (i <= 20) { floor['n' + i].removeMovieClip(); ++i; } charCount = 0; } function makeObject(x, z, object, property) { var v3 = object.split('$'); world.tiles[x + 1][z + 1].isObject = true; world.tiles[x + 1][z + 1].type = v3[0]; world.tiles[x + 1][z + 1].property = property; if (v3[1]) { world.tiles[x + 1][z + 1].clip.objects._xscale = -100; } else { world.tiles[x + 1][z + 1].clip.objects._xscale = 100; } world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(v3[0]); switch (v3[0]) { case 'lamp': var v5 = new Color(world.tiles[x + 1][z + 1].clip.objects.clip); var v4 = property.split('>'); v5.setTransform({'ra': v4[0], 'ga': v4[1], 'ba': v4[2], 'aa': 100}); break; case 'stand1': var v5 = new Color(world.tiles[x + 1][z + 1].clip.objects.clip); var v4 = property.split('>'); v5.setTransform({'ra': v4[0], 'ga': v4[1], 'ba': v4[2], 'aa': v4[3]}); break; case 'sign': world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionReadSign(x + 1, z + 1); } }; break; case 'grass': case 'grass2': world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionCutGrass(x + 1, z + 1); } }; break; case 'rock': world.tiles[x + 1][z + 1].clip.objects.clip.gotoAndStop(1); world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionBlastRock(x + 1, z + 1); } }; break; case 'plasmarock': if (_level0['quest_' + property].prog != 99) { world.tiles[x + 1][z + 1].clip.objects.clip.gotoAndStop(1); world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionTakePlasmarock(x + 1, z + 1); } }; } else { world.tiles[x + 1][z + 1].isObject = false; world.tiles[x + 1][z + 1].type = undefined; world.tiles[x + 1][z + 1].property = undefined; world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(1); } break; case 'chest': var v6 = property.split('$'); if (_level0['quest_' + v6[2]].prog != 99) { world.tiles[x + 1][z + 1].clip.objects.clip.gotoAndStop(1); world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionTakeItem(x + 1, z + 1); } }; } else { world.tiles[x + 1][z + 1].isObject = false; world.tiles[x + 1][z + 1].type = undefined; world.tiles[x + 1][z + 1].property = undefined; world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(1); } break; case 'plasmarock_old': if (random(100) <= 25) { world.tiles[x + 1][z + 1].clip.objects.clip.gotoAndStop(1); world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionTakePlasmarock(x + 1, z + 1); } }; } else { world.tiles[x + 1][z + 1].isObject = false; world.tiles[x + 1][z + 1].type = undefined; world.tiles[x + 1][z + 1].property = undefined; world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(1); } break; case 'talk': var v4 = property.split('>'); v3 = v4[0].split('$'); if (v3[1]) { world.tiles[x + 1][z + 1].clip.objects._xscale = -100; } else { world.tiles[x + 1][z + 1].clip.objects._xscale = 100; } world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(v3[0]); world.tiles[x + 1][z + 1].property = v4[1]; world.tiles[x + 1][z + 1].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 100 && Math.abs(this._y - world[player].clip._y) < 100) { if (!_level0.talkingSystem._visible) { actionTalk(x + 1, z + 1); } } else { txter = 'Too far!'; point = new Object(); point.x = _x; point.y = _y; this.localToGlobal(point); txtbubble.popup_text(txter, 50, '0xFFCCCC', point.x + 30, point.y - 30, 0, 0, 'hide'); txtbubble.settimer(40); } }; break; case 'chair': } } function makeManyObjects(x, xnum, z, znum, object) { var v2 = 0; while (v2 < xnum) { var v1 = 0; while (v1 < znum) { makeObject(x + v2, z + v1, object); ++v1; } ++v2; } } function makeObjectsArray(objString) { var v2 = objString.split('||'); var v1 = 0; while (v1 <= v2.length) { obj = v2[v1].split('`'); makeObject(parseInt(obj[0]), parseInt(obj[1]), obj[2], obj[3]); ++v1; } } function makeTilesArray(tileString) { var v2 = tileString.split('||'); var v1 = 0; while (v1 <= v2.length) { tile = v2[v1].split('`'); world.tiles[parseInt(tile[0]) + 1][parseInt(tile[1]) + 1].clip.innerTile.gotoAndStop(tile[2]); ++v1; } } function makeChatTilesArray(tileString, person, chatmode) { var v2 = tileString.split('||'); var v1 = 0; while (v1 <= v2.length) { tile = v2[v1].split('`'); makePathway(parseInt(tile[0]), parseInt(tile[1]), 'blank', chatmode, undefined, undefined, person); ++v1; } } function makeLargeObject(x, xnum, z, znum, object, dir) { if (dir == 'l') { makeManyObjects(x - 1, xnum + 1, z - 1, znum + 1, 'Blank'); world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(object); } else { makeManyObjects(x + 3 - xnum, xnum, z + 1 - znum, znum, 'Blank'); world.tiles[x + 1][z + 1].clip.objects.gotoAndStop(object); } } function makePathway(x, z, image, destination, destinationPositX, destinationPositZ, neighbour, special) { world.tiles[x + 1][z + 1].isObject = false; world.tiles[x + 1][z + 1].isPathway = true; world.tiles[x + 1][z + 1].destination = destination; world.tiles[x + 1][z + 1].neighbour = neighbour; world.tiles[x + 1][z + 1].destinationPositX = destinationPositX; world.tiles[x + 1][z + 1].destinationPositZ = destinationPositZ; world.tiles[x + 1][z + 1].clip.innerTile.gotoAndStop(image); } function standardPathway(dir, destination, neighbour, specialtile) { var v1 = 'Pathway'; if (destination == -1) { v1 = 'MapPathway'; } if (specialtile) { v1 = specialtile; } switch (dir) { case 'up': makePathway(10, 0, v1, destination, 315, -580, neighbour); makePathway(11, 0, v1, destination, 315, -580, neighbour); break; case 'down': makePathway(10, 21, v1, destination, 315, -60, neighbour); makePathway(11, 21, v1, destination, 315, -60, neighbour); break; case 'left': makePathway(0, 10, v1, destination, 580, -310, neighbour); makePathway(0, 11, v1, destination, 580, -310, neighbour); break; case 'right': makePathway(21, 10, v1, destination, 70, -310, neighbour); makePathway(21, 11, v1, destination, 70, -310, neighbour); break; case 'center': makePathway(10, 10, v1, destination, 315, -260, neighbour); } } function changeGroundTile(x, z, object) { world.tiles[x + 1][z + 1].clip.innerTile.gotoAndStop(object); } function changeManyGroundTiles(x, xnum, z, znum, object) { var v2 = 0; while (v2 < xnum) { var v1 = 0; while (v1 < znum) { world.tiles[x + v2 + 1][z + v1 + 1].clip.innerTile.gotoAndStop(object); ++v1; } ++v2; } } function changeSurroundBlank(x, z) { var v1 = 1; while (v1 <= maxx) { var v3 = 1; while (v3 <= x) { world.tiles[v1][v3].isObject = true; world.tiles[v1][v3].clip.innerTile.gotoAndStop('Blank'); world.tiles[v1][maxx + 1 - v3].isObject = true; world.tiles[v1][maxx + 1 - v3].clip.innerTile.gotoAndStop('Blank'); ++v3; } var v2 = 1; while (v2 <= z) { world.tiles[v2][v1].isObject = true; world.tiles[v2][v1].clip.innerTile.gotoAndStop('Blank'); world.tiles[maxx + 1 - v2][v1].isObject = true; world.tiles[maxx + 1 - v2][v1].clip.innerTile.gotoAndStop('Blank'); ++v2; } ++v1; } } function bgGraphics(main, left, right, up, down, canopy) { bgColour('normalmode'); bg.gotoAndStop(main); if (left != '') { bgLeft.gotoAndStop(left); } if (right != '') { bgRight.gotoAndStop(right); } if (up != '') { bgUp.gotoAndStop(up); } if (down != '') { bgDown.gotoAndStop(down); } if (currentcanopy != canopy) { currentcanopy = canopy; if (canopy == '' || canopy == undefined) { canopyClip.gotoAndStop(1); } else { canopyClip.gotoAndStop(currentcanopy); } } } function bgColour(mode) { var v1 = new Color(skyColor); switch (environment) { case 'indoor': v1.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); lighting.gotoAndStop(1); break; case 'outdoor': if (mode == 'normalmode') { v1.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { skyColor.gotoAndStop('morning'); lighting.gotoAndStop('morning'); } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { skyColor.gotoAndStop('afternoon'); lighting.gotoAndStop('afternoon'); } else { skyColor.gotoAndStop('night'); lighting.gotoAndStop('night'); } } } else { v1.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { skyColor.gotoAndPlay('morningtransit'); lighting.gotoAndPlay('morningtransit'); } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { skyColor.gotoAndPlay('afternoontransit'); lighting.gotoAndPlay('afternoontransit'); } else { skyColor.gotoAndPlay('nighttransit'); lighting.gotoAndPlay('nighttransit'); } } } break; case 'seacave': lighting.gotoAndStop('seacave'); if (mode == 'normalmode') { v1.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { skyColor.gotoAndStop('morning'); } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { skyColor.gotoAndStop('afternoon'); } else { skyColor.gotoAndStop('night'); } } } else { v1.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (hh >= TIME_MORNING && hh < TIME_AFTERNOON) { skyColor.gotoAndPlay('morningtransit'); } else { if (hh >= TIME_AFTERNOON && hh < TIME_NIGHT) { skyColor.gotoAndPlay('afternoontransit'); } else { skyColor.gotoAndPlay('nighttransit'); } } } } } function mapAction() { var v4 = world[player].tempx + world[player].feelerx; var v3 = Math.abs(world[player].tempz + world[player].feelerz); var v1 = Math.ceil(v4 / world.cellWidth); var v2 = Math.ceil(v3 / world.cellWidth); if (world.tiles[v1][v2].isObject) { mapActionCheck(v1, v2); } switch (world[player].frame) { case 1: ++v1; break; case 2: ++v1; --v2; break; case 3: --v2; break; case 4: --v1; --v2; break; case 5: --v1; break; case 6: --v1; ++v2; break; case 7: ++v2; break; case 8: ++v1; ++v2; } if (world.tiles[v1][v2].isObject) { mapActionCheck(v1, v2); } } function mapActionCheck(x_tile, z_tile) { switch (world.tiles[x_tile][z_tile].type) { case 'sign': actionReadSign(x_tile, z_tile); break; case 'grass': case 'grass2': actionCutGrass(x_tile, z_tile); break; case 'rock': actionBlastRock(x_tile, z_tile); break; case 'chest': actionTakeItem(x_tile, z_tile); break; case 'talk': actionTalk(x_tile, z_tile); break; case 'plasmarock': actionTakePlasmarock(x_tile, z_tile); break; case 'chair': } } function charAreaPosition(dir, x, z) { switch (dir) { case 'left': world[player].tempx = 70; world[player].tempz = -310; world[player].clip.char.gotoAndStop('stand1'); break; case 'right': world[player].tempx = 580; world[player].tempz = -310; world[player].clip.char.gotoAndStop('stand5'); break; case 'up': world[player].tempx = 315; world[player].tempz = -60; world[player].clip.char.gotoAndStop('stand7'); break; case 'down': world[player].tempx = 315; world[player].tempz = -580; world[player].clip.char.gotoAndStop('stand3'); break; case 'custom': world[player].tempx = 200; world[player].tempz = -500; } } function mapPositor() { switch (mapLocation) { case 0: map0(6); charAreaPosition('up'); break; case 1: map1(1); charAreaPosition('down'); break; case 2: switch (mapLastPosit) { case 1: map2(1); charAreaPosition('up'); break; case 3: map2(3); charAreaPosition('right'); break; case 4: map2(7); charAreaPosition('left'); break; case 5: map2(22); charAreaPosition('down'); break; case 6: map2(208); charAreaPosition('right'); break; case 11: map2(20); charAreaPosition('left'); } break; case 3: map3(18); charAreaPosition('down'); break; case 4: map4(1); charAreaPosition('right'); break; case 5: map5(1); charAreaPosition('up'); break; case 6: switch (mapLastPosit) { case 2: map6(1); charAreaPosition('left'); break; case 7: map6(1); charAreaPosition('right'); } break; case 7: switch (mapLastPosit) { case 6: map7(13); charAreaPosition('left'); break; case 8: map7(1); charAreaPosition('up'); } break; case 8: switch (mapLastPosit) { case 7: map8(7); charAreaPosition('down'); break; case 9: map8(1); charAreaPosition('left'); break; case 10: map8(10); charAreaPosition('right'); } break; case 9: map9(0); charAreaPosition('right'); break; case 10: map10(1); charAreaPosition('left'); break; case 11: switch (mapLastPosit) { case 2: map11(1); charAreaPosition('right'); break; case 12: map11(504); charAreaPosition('left'); } break; case 12: map12(1); charAreaPosition('right'); } } function actionBlastRock(x_tile, z_tile) { var v2 = _level0.getActiveCharacters(); var v5 = false; var v1 = 0; while (v1 < v2.length) { if (v2[v1].getAttribute('id') == 'A002') { v5 = true; } ++v1; } if (v5) { playSound('explode'); world.tiles[x_tile][z_tile].isObject = false; world.tiles[x_tile][z_tile].type = ''; delete world.tiles[x_tile][z_tile].clip.onRelease; world.tiles[x_tile][z_tile].clip.objects.clip.play(); } else { txter = 'You need a different MaW to blast this rock.'; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } } function actionTakePlasmarock(x_tile, z_tile) { if (_level0.addItem('I006Q', 1) == 'SUCCESS') { playSound('grab'); _level0['quest_' + world.tiles[x_tile][z_tile].property].prog = 99; world.tiles[x_tile][z_tile].isObject = false; world.tiles[x_tile][z_tile].type = ''; delete world.tiles[x_tile][z_tile].clip.onRelease; world.tiles[x_tile][z_tile].clip.objects.gotoAndStop(1); populate_inventory(); txter = '1 Plasmarock obtained!'; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } else { playSound('error'); txter = 'Inventory full!'; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } } function actionTakeItem(x_tile, z_tile) { var v4 = world.tiles[x_tile][z_tile].property.split('$'); var v7 = v4[0]; var v3 = v4[1]; var v6 = v4[2]; var v5 = true; switch (v7) { case 'ENEMY': startCombat(); break; case 'CREDITS': playSound('cash'); txter = 'You have found ' + int(v3) + ' credits!'; setCredits(int(v3) + getCredits()); inventory.credits.text = getCredits(); point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); break; default: if (_level0.addItem(v3, 1) == 'SUCCESS') { playSound('grab'); if (v6) { _level0['quest_' + v6].prog = 99; } populate_inventory(); txter = invenitem[v3].name + ' obtained!'; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } else { v5 = false; playSound('error'); txter = 'Found ' + invenitem[v3].name + '!\n But inventory is full!'; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } } if (v5) { world.tiles[x_tile][z_tile].clip.objects.gotoAndStop(world.tiles[x_tile][z_tile].type + '_opened'); world.tiles[x_tile][z_tile].type = undefined; world.tiles[x_tile][z_tile].isObject = false; delete world.tiles[x_tile][z_tile].clip.onRelease; } } function actionCutGrass(x_tile, z_tile) { playSound('cut'); if (random(10) == 0) { world.tiles[x_tile][z_tile].type = 'chest'; world.tiles[x_tile][z_tile].clip.objects.gotoAndStop('chest'); if (random(5) == 0 && encounterRate != 0 && encounterRate != 'NONSAVE') { world.tiles[x_tile][z_tile].property = 'ITEMS$I001R'; } else { world.tiles[x_tile][z_tile].property = 'CREDITS$' + (random(chestCredits) + 1); } world.tiles[x_tile][z_tile].clip.onRelease = function () { if (Math.abs(this._x - world[player].clip._x) < 50 && Math.abs(this._y - world[player].clip._y) < 50) { actionTakeItem(x_tile, z_tile); } }; } else { world.tiles[x_tile][z_tile].isObject = false; world.tiles[x_tile][z_tile].type = ''; delete world.tiles[x_tile][z_tile].clip.onRelease; world.tiles[x_tile][z_tile].clip.objects.gotoAndStop(1); } } function actionReadSign(x_tile, z_tile) { txter = world.tiles[x_tile][z_tile].property; point = new Object(); point.x = world.tiles[x_tile][z_tile].clip.objects._x; point.y = world.tiles[x_tile][z_tile].clip.objects._y; world.tiles[x_tile][z_tile].clip.objects.localToGlobal(point); txtbubble.popup_text(txter, 150, '0xD6E1E9', point.x, point.y + 70, world.tiles[x_tile][z_tile].clip.objects._width, world.tiles[x_tile][z_tile].clip.objects._height); txtbubble.settimer(50); } function actionSit_key(target) { if (Math.abs(target._x - world[player].clip._x) < 30 && Math.abs(target._y - world[player].clip._y) < 30) { world[player].moving = false; world[player].clip.char.gotoAndStop('sit'); var v2 = iso.mapToIsoWorld(target._x, target._y); var v4 = v2[0]; var v3 = v2[1]; world[player].tempx = v4; world[player].tempz = v3; positionCharacter(player); if (world[player].clip.getDepth() < target.getDepth()) { } } } function actionSit_mouse() { if (Math.abs(this._x - world[player].clip._x) < 30 && Math.abs(this._y - world[player].clip._y) < 30) { world[player].moving = false; world[player].clip.char.gotoAndStop('sit'); var v2 = iso.mapToIsoWorld(this._x, this._y); var v4 = v2[0]; var v3 = v2[1]; world[player].tempx = v4; world[player].tempz = v3; positionCharacter(player); if (world[player].clip.getDepth() < this.getDepth()) { } } } function actionTalk(x_tile, z_tile) { talkingSystem.chatActivate(talkingSystem[world.tiles[x_tile][z_tile].property]); talkingSystem._visible = true; worldMenu._visible = false; _global.action = 'talking'; } function timing() { if (timingdelay++ >= 30) { timingdelay = 0; if (++mm > 59) { mm = 0; if (++hh > 23) { hh -= 24; ++dd; } if (hh == TIME_MORNING || hh == TIME_AFTERNOON || hh == TIME_NIGHT) { bgColour('transitmode'); } } if (mm < 10) { mmtxt = '0' + mm; } else { mmtxt = mm; } if (hh < 10) { hhtxt = '0' + hh; } else { hhtxt = hh; } } } function timingRefresh() { if (mm > 59) { mm = 0; ++hh; } bgColour('normalmode'); if (hh > 23) { hh -= 24; ++dd; } if (mm < 10) { mmtxt = '0' + mm; } else { mmtxt = mm; } if (hh < 10) { hhtxt = '0' + hh; } else { hhtxt = hh; } } function resetmap() { _level0['map' + _level0.mapLocation](_level0.areaLocation); } function shake(xStrength, yStrength, time) { _level0._x = random(xStrength) - random(xStrength); _level0._y = random(yStrength) - random(yStrength); ++_level0.shakeTime; if (_level0.shakeTime == time) { clearInterval(_level0.shakeI); _level0.shakeTime = 0; _level0._x = 0; _level0._y = 0; } } function shakefunction(intervaltime, xStrength, yStrength, time) { clearInterval(shakeI); _level0.shakeTime = 0; _level0.shakeI = setInterval(_level0.shake, intervaltime, xStrength, yStrength, time); } function worldClicked(char, xm, ym) { var v7 = iso.mapToIsoWorld(xm, ym); xm = v7[0]; var v3 = v7[1]; if (_global.action == 'walking') { if (xm >= 0 && xm <= world.width && v3 >= world.length && v3 <= 0) { var v13 = world[char].x; var v12 = world[char].z; world[char].startx = v13; world[char].startz = v12; world[char].endx = xm; world[char].endz = v3; var v8 = 45; var v6 = Math.atan2(v3 - v12, xm - v13); var v5 = v6 * 180 / Math.PI; v5 += v8 / 2; if (v5 < 0) { v5 += 360; } var v9 = Math.ceil(v5 / v8); world[char].clip.char.gotoAndStop('walk' + v9); world[char].frame = v9; world[char].moving = true; var v11 = Math.cos(v6); var v10 = Math.sin(v6); world[char].xmov = world[char].speed * v11; world[char].zmov = world[char].speed * v10; world[char].feelerx = world[char].feeler * v11; world[char].feelerz = world[char].feeler * v10; } } } function AIworldClicked(char, xm, ym) { var v7 = iso.mapToIsoWorld(xm, ym); xm = v7[0]; var v3 = v7[1]; if (_global.action == 'walking') { if (xm >= 0 && xm <= world.width && v3 >= world.length && v3 <= 0) { var v13 = world[char].x; var v12 = world[char].z; world[char].startx = v13; world[char].startz = v12; world[char].endx = xm; world[char].endz = v3; var v8 = 45; var v6 = Math.atan2(v3 - v12, xm - v13); var v5 = v6 * 180 / Math.PI; v5 += v8 / 2; if (v5 < 0) { v5 += 360; } var v9 = Math.ceil(v5 / v8); world[char].clip.char.gotoAndStop('walk' + v9); world[char].frame = v9; world[char].moving = true; var v11 = Math.cos(v6); var v10 = Math.sin(v6); world[char].xmov = world[char].speed * v11; world[char].zmov = world[char].speed * v10; world[char].feelerx = world[char].feeler * v11; world[char].feelerz = world[char].feeler * v10; } } } function moveCharacter(char) { if (world[char].moving) { if (char == player) { encounter(); } world[char].tempx = world[char].x + world[char].xmov; world[char].tempy = world[char].y + world[char].ymov; world[char].tempz = world[char].z + world[char].zmov; var v9 = world[char].startx; var v8 = world[char].startz; var v7 = world[char].endx; var v6 = world[char].endz; var v11 = world[char].tempx; var v10 = world[char].tempz; var v4 = v7 - v9; var v3 = v7 - v11; var v5 = v6 - v8; var v2 = v6 - v10; if (v4 == 0) { v4 = 1; } if (v3 == 0) { v3 = 1; } if (v5 == 0) { v5 = 1; } if (v2 == 0) { v2 = 1; } if (v4 / Math.abs(v4) != v3 / Math.abs(v3) || v5 / Math.abs(v5) != v2 / Math.abs(v2)) { world[char].moving = false; world[char].xmov = 0; world[char].zmov = 0; world[char].tempx = v7; world[char].tempz = v6; world[char].clip.char.gotoAndStop('stand' + world[char].frame); } } } function encounter() { if (encounterRate != 0 && encounterRate != 'NONSAVE') { chance -= encounterRate; if (chance <= 0) { chance = random(3500) + 1500; startCombat(); world[player].moving = false; world[player].clip.char.gotoAndStop('stand' + world[player].frame); } } } function detectObjects(char, type) { var v9 = world[char].tempx + world[char].feelerx; var v8 = Math.abs(world[char].tempz + world[char].feelerz); var v4 = Math.ceil(v9 / world.cellWidth); var v5 = Math.ceil(v8 / world.cellWidth); if (!world.tiles[v4][v5].isObject) { v9 = world[char].tempx; v8 = Math.abs(world[char].tempz); v4 = Math.ceil(v9 / world.cellWidth); v5 = Math.ceil(v8 / world.cellWidth); var v7 = world.tiles[v4][v5].depth + 1; world[char].clip.swapDepths(v7); if (world.tiles[v4][v5].isPathway && world[char].moving) { world[char].clip.char.gotoAndStop('stand' + world[char].frame); world[char].moving = false; if (type == 'player') { switch (world.tiles[v4][v5].destination) { case -1: _global.action = 'talking'; floor.mouseClickRegion._visible = false; mapClip._visible = true; mapLastPosit = world.tiles[v4][v5].neighbour; if (!checkAreaLocked(world.tiles[v4][v5].neighbour)) { unlockArea(world.tiles[v4][v5].neighbour); } mapClip.mapChar._x = mapClip['map' + mapLocation]._x; mapClip.mapChar._y = mapClip['map' + mapLocation]._y + 20; mapClip.refreshMap(); mapClip.moveable = true; break; case 'repairstation': world[char].tempx = 280; world[char].tempz = -200; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'clothesShop': case 'house01': world[char].tempx = 280; world[char].tempz = -200; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'house02': world[char].tempx = 280; world[char].tempz = -200; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'house03': world[char].tempx = 280; world[char].tempz = -200; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'inn': case 'inn2': world[char].tempx = 195; world[char].tempz = -250; world[char].clip.char.gotoAndStop('stand1'); enterShop(world.tiles[v4][v5].destination); break; case 'ronGarage': case 'vendingmachine': world[char].tempx = 195; world[char].tempz = -485; world[char].clip.char.gotoAndStop('stand1'); enterShop(world.tiles[v4][v5].destination); break; case 'fence': world[char].tempx = 395; world[char].tempz = -295; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'friedricestall': case 'terminal': world[char].tempx = 280; world[char].tempz = -200; world[char].clip.char.gotoAndStop('stand7'); enterShop(world.tiles[v4][v5].destination); break; case 'guild': world[char].tempx = 200; world[char].tempz = -455; world[char].clip.char.gotoAndStop('stand1'); enterShop(world.tiles[v4][v5].destination); break; case 'ruinspuzzle1': world[char].tempx = 370; world[char].tempz = -300; world[char].clip.char.gotoAndStop('stand5'); enterShop(world.tiles[v4][v5].destination); break; case 'ruinspuzzle2': world[char].tempx = 335; world[char].tempz = -425; world[char].clip.char.gotoAndStop('stand3'); enterShop(world.tiles[v4][v5].destination); break; case 'shake': shakefunction(10, 3, 3, 200); break; case 'talkshake': _level0.playSound('quake'); shakefunction(10, 3, 3, 200); case 'talk': _level0.worldMenu._visible = false; _level0.talkingSystem.chatActivate(_level0.talkingSystem[world.tiles[v4][v5].neighbour]); _level0.talkingSystem._visible = true; break; default: world[player].tempx = world.tiles[v4][v5].destinationPositX; world[player].tempz = world.tiles[v4][v5].destinationPositZ; _root['map' + _root.mapLocation](world.tiles[v4][v5].destination); } } } } else { if (world[char].moving) { world[char].tempx = world[char].x; world[char].tempz = world[char].z; world[char].xmov = 0; world[char].ymov = 0; world[char].moving = false; var v6 = world[char].frame; world[char].clip.char.gotoAndStop('stand' + v6); } } } function captureKeys() { if (_global.action == 'walking') { xx = world[player].clip._x; zz = world[player].clip._y; if (Key.isDown(39)) { xx += xSize; zz += zSize; worldClicked(player, xx, zz); } else { if (Key.isDown(37)) { xx -= xSize; zz -= zSize; worldClicked(player, xx, zz); } else { if (Key.isDown(38)) { xx += xSize; zz -= zSize; worldClicked(player, xx, zz); } else { if (Key.isDown(40)) { xx -= xSize; zz += zSize; worldClicked(player, xx, zz); } } } } } } function init_map() { heroName = getCharacterAttr('A001', 'name'); if (getCharacterAttr('A001', 'gender') == 'm') { selectedPilot = 'jin'; } else { selectedPilot = 'yun'; } selectedMaw = getCharacterAttr('A001', 'botid'); if (!checkAreaLocked(0)) { unlockArea(0); } if (!checkAreaLocked(1)) { unlockArea(1); } if (!checkAreaLocked(2)) { unlockArea(2); } currentMusic = -1; if (mapLocation == undefined || areaLocation == undefined) { error._visible = true; } else { error._visible = false; } mm = getMM(); hh = getHH(); dd = getDD(); _root['map' + mapLocation](parseInt(areaLocation)); world[player].tempx = parseInt(tx); world[player].tempz = parseInt(tz); _global.action = 'walking'; _global.clicked = false; talkingSystem._visible = false; shopSystem._visible = false; combatSceneClip._visible = false; mapClip._visible = false; levelUpMessage._visible = false; help._visible = false; savebox._visible = false; questlog._visible = false; inventory._visible = false; savebox.changebutt._visible = false; timingdelay = 0; talkingSystem.gotoAndStop(2); } randomMaleNPCnames = new Array('Adam', 'Akhiller', 'Ampkit', 'Boonies', 'Brandon', 'Brocke', 'Cal', 'Cervantes', 'Christopher', 'Clinton', 'Cobi', 'Dar', 'David', 'Flechette', 'Hehayo', 'Joe', 'Kaidumo', 'Kirby', 'Kirevo', 'Malcom', 'Mango', 'Max', 'Maximus', 'Neo', 'Ordule', 'Pyrrus', 'Ramil', 'Remy', 'Rook', 'Sicshot', 'Slashaar', 'Trey', 'Ty', 'Sam', 'Jay', 'Reef', 'Xeron', 'Wheeze', 'Wolfgang', 'Zac', 'Zakath', 'Zarqa'); randomFemaleNPCnames = new Array('Ariel', 'Angela', 'Candice', 'Carrie', 'Chris', 'Celeste', 'Dawn', 'Electra', 'Fiona', 'Hazel', 'Jane', 'Joscelyn', 'Kelly', 'Kyeti', 'Laura', 'Mandy', 'Millie', 'Nancy', 'Polly', 'Sally', 'Seela', 'Sharon', 'Shermaine', 'Shirley', 'Valerie'); mapActionKeyList = new Object(); mapActionKeyList.onKeyUp = function () { if (Key.getCode() == 32) { if (_global.action == 'walking') { mapAction(); } } }; Key.addListener(mapActionKeyList); maxx = 22; maxz = 22; iso = new isometricAS(maxx, maxz); player = 'playerChar'; buildWorld(maxx, maxz); floor.mouseClickRegion.onRelease = function () { _root.worldClicked(player, _root.floor._xmouse, _root.floor._ymouse); }; xSize = 20; zSize = 10; reload_data(); init_map(); stop(); _root.onEnterFrame = function () { moveCharacter(player); detectObjects(player, 'player'); positionCharacter(player); timing(); captureKeys(); }; } frame 33 { function unpauseMusic() { if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOn() { _global.musicSetting = true; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 100, 'ga': 100, 'ba': 100}); if (_level0.combatSceneClip._visible) { _level0.battleMusic(); } else { currentMusic = ''; _level0.bgMusic(areaMusic); } } function musicOff() { _global.musicSetting = false; var v2 = new Color(worldMenu.musicbtn); v2.setTransform({'ra': 0, 'ga': 0, 'ba': 0}); stopAllSounds(); } function bgMusic(newMusic, noloop) { if (_global.musicSetting) { if (currentMusic != newMusic) { if (newMusic == undefined) { newMusic = _root.areaMusic; } currentMusic = newMusic; stopAllSounds(); var v3 = new MovieClipLoader(); var v5 = new Object(); v3.addListener(v5); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v5.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } } function battleMusic() { if (_global.musicSetting) { if (_level0.combatmusic) { currentMusic = _level0.combatmusic; } else { currentMusic = 'battle' + (random(2) + 1); } var v3 = new MovieClipLoader(); var v4 = new Object(); v3.addListener(v4); _root.createEmptyMovieClip('music', _root.getNextHighestDepth()); v3.loadClip('audio.bin', music); v4.onLoadInit = function () { music.gotoAndStop(currentMusic); }; } } function playSound(s) { if (_global.musicSetting) { sflag = !sflag; if (sflag) { soundfx.gotoAndStop(1); soundfx.gotoAndStop(s); } else { soundfx2.gotoAndStop(1); soundfx2.gotoAndStop(s); } } } sflag = true; } frame 33 { function quit() { _global.option = undefined; Key.removeListener(talkingSystem.keylist); Key.removeListener(mapActionKeyList); gotoAndStop(4); } function endGame() { _global.option = undefined; _global.mantrashow = _level0.quest_82.prog; Key.removeListener(talkingSystem.keylist); Key.removeListener(mapActionKeyList); gotoAndPlay(35); } } button 1803 { on (release) { _level0.quit(); } } movieClip 1809 { } movieClip 1811 { } movieClip 1814 { } movieClip 1817 { } movieClip 1820 { } movieClip 1823 { } movieClip 1826 { } movieClip 1829 { } movieClip 1833 { } movieClip 1835 { } movieClip 1839 { } movieClip 1842 { } movieClip 1845 { } movieClip 1848 { } movieClip 1851 { } movieClip 1853 { } movieClip 1855 { } movieClip 1857 { } movieClip 1859 { } movieClip 1861 { } movieClip 1863 { } movieClip 1865 { } movieClip 1867 { } movieClip 1869 { } movieClip 1871 { } movieClip 1873 { } movieClip 1875 { } movieClip 1879 { frame 1 { function refreshMap() { mapChar.innerClip.gotoAndStop(_level0.selectedMaw); mapChar.innerClip.char.gotoAndStop(1); mapChar.innerClip.char.gotoAndStop('walk8'); i = 0; while (i <= 12) { if (_level0.checkAreaLocked(i)) { this['map' + i]._visible = true; this['route' + i]._visible = true; } else { this['map' + i]._visible = false; this['route' + i]._visible = false; } ++i; } } function mapMover(subDestination, finalDestination, target) { var v1 = 50; if (_level0.mapClip.mapChar.xspeed == -1) { _level0.mapClip.mapChar.xspeed = (_level0.mapClip['map' + subDestination]._x - _level0.mapClip.mapChar._x) / v1; _level0.mapClip.mapChar.yspeed = (_level0.mapClip['map' + subDestination]._y - _level0.mapClip.mapChar._y) / v1; counter = 0; } ++counter; _level0.mapClip.mapChar._x += _level0.mapClip.mapChar.xspeed; _level0.mapClip.mapChar._y += _level0.mapClip.mapChar.yspeed; if (counter >= v1) { clearInterval(_level0.mapClip.mapMoverI); _level0.mapLocation = subDestination; _level0.mapClip.activateMapMove(subDestination, 'map' + finalDestination); } } function activateMapMove(start, destination) { finalDestination = parseInt(destination.substr(3)); _level0.mapClip.moveable = false; _level0.mapClip.mapChar.xspeed = -1; _level0.mapClip.mapChar.yspeed = -1; if (start == finalDestination) { _global.action = 'walking'; _level0.mapClip._visible = false; _level0.floor.mouseClickRegion._visible = true; _level0.mapPositor(); _level0.mapClip.moveable = true; _level0.areaname._visible = true; _level0.areaname.gotoAndPlay(2); _level0.areaname.areaname.areaname1.text = _level0.areaName.toUpperCase(); _level0.areaname.areaname.areaname2.text = _level0.areaName.toUpperCase(); } else { _level0.mapLastPosit = start; switch (finalDestination) { case 0: switch (start) { case 1: subDestination = 0; break; case 2: subDestination = 1; break; case 3: case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 1: switch (start) { case 0: subDestination = 1; break; case 2: subDestination = 1; break; case 3: case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 2: switch (start) { case 0: subDestination = 1; break; case 1: case 3: case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 3: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 3; break; case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 4: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 4; break; case 3: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 5: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 5; break; case 3: case 4: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 6: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 6; break; case 3: case 4: case 5: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 7: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 6; break; case 3: case 4: case 5: subDestination = 2; break; case 6: subDestination = 7; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 8: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 6; break; case 3: case 4: case 5: subDestination = 2; break; case 6: subDestination = 7; break; case 7: subDestination = 8; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 9: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 6; break; case 3: case 4: case 5: subDestination = 2; break; case 6: subDestination = 7; break; case 7: subDestination = 8; break; case 8: subDestination = 9; break; case 10: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 10: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 6; break; case 3: case 4: case 5: subDestination = 6; break; case 6: subDestination = 7; break; case 7: subDestination = 8; break; case 8: subDestination = 10; break; case 9: subDestination = 8; break; case 11: subDestination = 2; break; case 12: subDestination = 11; } break; case 11: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 11; break; case 3: case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 12: subDestination = 11; } break; case 12: switch (start) { case 0: subDestination = 1; break; case 1: subDestination = 2; break; case 2: subDestination = 11; break; case 3: case 4: case 5: case 6: subDestination = 2; break; case 7: subDestination = 6; break; case 8: subDestination = 7; break; case 9: subDestination = 8; break; case 10: subDestination = 8; break; case 11: subDestination = 12; } } _level0.mapClip.mapMoverI = setInterval(mapMover, 10, subDestination, finalDestination, this); } } } instance map0 of movieClip 1814 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map7 of movieClip 1817 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map6 of movieClip 1820 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map11 of movieClip 1823 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map12 of movieClip 1826 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map5 of movieClip 1829 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map4 of movieClip 1833 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map2 of movieClip 1835 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map3 of movieClip 1839 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map1 of movieClip 1842 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map10 of movieClip 1845 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map8 of movieClip 1848 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } instance map9 of movieClip 1851 { onClipEvent (release) { if (_root.mapClip.moveable) { _parent.activateMapMove(_root.mapLocation, this._name); } } } } movieClip 1881 { } movieClip 1882 { frame 1 { stop(); } frame 2 { gotoAndPlay('out'); } frame 11 { stop(); _parent.endOfMessageActions(); if (_parent.sleep) { gotoAndPlay('sleep'); _parent.sleep = false; } else { play(); } } frame 28 { gotoAndStop(1); } frame 29 { _level0.bgMusic('sleep', true); _parent.sleep = false; play(); } frame 120 { gotoAndStop(1); } } button 1885 { on (release) { _parent._parent.carryOn(); } } movieClip 1886 { } movieClip 1928 { frame 1 { stop(); } } movieClip 1930 { } movieClip 1933 { } movieClip 1936 { instance submit of movieClip 1933 { onClipEvent (keyPress '<Enter>') { _parent._parent.checkPassword(); } } } movieClip 1942 { } movieClip 1943 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1944 { frame 1 { stop(); textCursor._visible = false; } frame 1 { function splitText() { speechBox.text = ''; displayComplete = false; if (charDialogue.length < 190) { currTextBlock = charDialogue; lastBlock = true; } else { tempText = charDialogue.slice(0, 190); tempTextArray = tempText.split(' '); newText = ''; i = 0; while (i < tempTextArray.length - 1) { newText = newText + tempTextArray[i] + ' '; ++i; } currTextBlock = newText; charDialogue = charDialogue.slice(newText.length); } charIndex = 0; clearInterval(textInterval); talkSoundCounter = 0; textInterval = setInterval(writeText, 30); } function charIn() { gotoAndPlay('CharIn'); lastBlock = false; if (!charName or charName == '') { charNameDisplay.text = ''; nameBacking._visible = false; } else { charNameDisplay.text = charName; nameBacking._visible = true; } splitText(); } function writeText() { if (charIndex != currTextBlock.length) { if (_parent.transition_screen._currentframe == 1) { if (talkSoundCounter == 1) { _level0.playSound('talkSound'); } ++talkSoundCounter; if (talkSoundCounter > 2) { talkSoundCounter = 0; } speechBox.text += currTextBlock.charAt(charIndex); ++charIndex; } } else { if (!displayComplete) { displayComplete = true; textCursor._visible = true; } } } function nextText() { if (_parent.currChatArea == 'down') { if (!displayComplete) { clearInterval(textInterval); speechBox.text = ''; speechBox.text = currTextBlock; displayComplete = true; textCursor._visible = true; } else { if (!lastBlock) { splitText(); } else { if (!talkComplete) { _level0.playSound('confirmSound'); ++_parent.chatCount; inPlay = false; if (_parent.transit) { _parent.transition_screen.gotoAndPlay('in'); _parent.transit = false; } if (_parent.transition_screen._currentframe == 1) { _parent.endOfMessageActions(); } if (branch) { _parent.chatActivate(_parent[branch]); branch = false; } } else {} } } } if (_parent.chatCount >= _parent.chatSet.length and !talkComplete) { clearInterval(_parent.CI); gotoAndPlay('CharOut'); speechBox.text = ''; charNameDisplay.text = ''; textCursor._visible = false; talkComplete = true; } } function answersDisplay() { speechBox.text = ''; charNameDisplay.text = charName; textCursor._visible = false; displayComplete = true; gotoAndStop('answers'); ansCustom._visible = false; var v2 = 0; while (v2 < 3) { this['ans' + v2]._visible = false; ++v2; } v2 = 0; while (v2 < ansArray.length) { this['ans' + v2].gotoAndStop(1); if (v2 == 0) { this['ans' + v2].gotoAndStop(2); } this['ans' + v2].ans_label.text = '<' + (v2 + 1) + '> ' + ansArray[v2]; this['ans' + v2]._visible = true; ++v2; } } function passwordDisplay() { speechBox.text = ''; charNameDisplay.text = charName; textCursor._visible = false; displayComplete = true; gotoAndStop('answers'); ansCustom._visible = true; Selection.setFocus(ansCustom.ans_label); var v2 = 0; while (v2 < 3) { this['ans' + v2]._visible = false; ++v2; } } function checkPassword() { var v3 = 'wrong'; ansCustom._visible = false; var v2 = 0; while (v2 < ansArray.length) { if (ansCustom.ans_label.text.toLowerCase() == ansArray[v2]) { v3 = v2; break; } ++v2; } if (v3 != 'wrong') { var v4 = responses[v3 + 1]; } else { var v4 = responses[0]; } _parent.chatActivate(_parent[v4]); } charIndex = 0; } frame 9 { stop(); } frame 19 { stop(); } frame 29 { stop(); gotoAndPlay('hide'); } frame 30 { stop(); } instance ans1 of movieClip 1943 { onClipEvent (release, keyPress '2') { _level0.playSound('confirmSound'); _parent._parent.chatActivate(_parent._parent[_parent.responses[1]]); } onClipEvent (rollOver) { _level0.playSound('select'); var prevText = _parent.ans0.ans_label.text; _parent.ans0.gotoAndStop(1); _parent.ans0.ans_label.text = prevText; prevText = _parent.ans2.ans_label.text; _parent.ans2.gotoAndStop(1); _parent.ans2.ans_label.text = prevText; prevText = ans_label.text; gotoAndStop(2); ans_label.text = prevText; answerIndex = 1; } } instance ans2 of movieClip 1943 { onClipEvent (release, keyPress '3') { _level0.playSound('confirmSound'); _parent._parent.chatActivate(_parent._parent[_parent.responses[2]]); } onClipEvent (rollOver) { _level0.playSound('select'); var prevText = _parent.ans0.ans_label.text; _parent.ans0.gotoAndStop(1); _parent.ans0.ans_label.text = prevText; prevText = _parent.ans1.ans_label.text; _parent.ans1.gotoAndStop(1); _parent.ans1.ans_label.text = prevText; prevText = ans_label.text; gotoAndStop(2); ans_label.text = prevText; answerIndex = 2; } } instance ans0 of movieClip 1943 { onClipEvent (release, keyPress '1') { _level0.playSound('confirmSound'); _parent._parent.chatActivate(_parent._parent[_parent.responses[0]]); } onClipEvent (rollOver) { _level0.playSound('select'); var prevText = _parent.ans1.ans_label.text; _parent.ans1.gotoAndStop(1); _parent.ans1.ans_label.text = prevText; prevText = _parent.ans2.ans_label.text; _parent.ans2.gotoAndStop(1); _parent.ans2.ans_label.text = prevText; prevText = ans_label.text; gotoAndStop(2); ans_label.text = prevText; answerIndex = 0; } } frame 69 { stop(); _parent.endCoversation(); } } movieClip 1947 { frame 1 { stop(); textCursor._visible = false; } frame 1 { function splitText() { speechBox.text = ''; displayComplete = false; if (charDialogue.length < 190) { currTextBlock = charDialogue; lastBlock = true; } else { tempText = charDialogue.slice(0, 190); tempTextArray = tempText.split(' '); newText = ''; i = 0; while (i < tempTextArray.length - 1) { newText = newText + tempTextArray[i] + ' '; ++i; } currTextBlock = newText; charDialogue = charDialogue.slice(newText.length); } charIndex = 0; clearInterval(textInterval); talkSoundCounter = 0; textInterval = setInterval(writeText, 30); } function charIn() { gotoAndPlay('CharIn'); lastBlock = false; if (!charName or charName == '') { charNameDisplay.text = ''; nameBacking._visible = false; } else { charNameDisplay.text = charName; nameBacking._visible = true; } splitText(); } function writeText() { if (charIndex != currTextBlock.length) { if (_parent.transition_screen._currentframe == 1) { if (talkSoundCounter == 1) { _level0.playSound('talkSound'); } ++talkSoundCounter; if (talkSoundCounter > 2) { talkSoundCounter = 0; } speechBox.text += currTextBlock.charAt(charIndex); ++charIndex; } } else { if (!displayComplete) { displayComplete = true; textCursor._visible = true; } } } function nextText() { if (_parent.currChatArea == 'up') { if (!displayComplete) { clearInterval(textInterval); speechBox.text = ''; speechBox.text = currTextBlock; displayComplete = true; textCursor._visible = true; } else { if (!lastBlock) { splitText(); } else { if (!talkComplete) { _level0.playSound('confirmSound'); ++_parent.chatCount; inPlay = false; if (_parent.transit) { _parent.transition_screen.gotoAndPlay('in'); _parent.transit = false; } if (_parent.transition_screen._currentframe == 1) { _parent.endOfMessageActions(); } if (branch) { _parent.chatActivate(_parent[branch]); branch = false; } } else {} } } } if (_parent.chatCount >= _parent.chatSet.length and !talkComplete) { clearInterval(_parent.CI); gotoAndPlay('CharOut'); speechBox.text = ''; charNameDisplay.text = ''; textCursor._visible = false; talkComplete = true; } } charIndex = 0; } frame 9 { stop(); } frame 10 { play(); } frame 19 { stop(); } frame 20 { play(); } frame 29 { stop(); gotoAndPlay('hide'); } frame 40 { stop(); _parent.endCoversation(); } } movieClip 1948 { frame 1 { function chatActivate(chatArray) { _global.action = 'talking'; _level0.worldMenu._visible = false; _level0.floor.mouseClickRegion._visible = false; _level0.areaNameClip._visible = false; bottomChatHolder._visible = true; topChatHolder._visible = true; this._visible = true; clearInterval(CI); _level0.questlog._visible = false; _level0.inventory._visible = false; bottomChatHolder.inPlay = false; topChatHolder.inPlay = false; topChatHolder.talkComplete = false; bottomChatHolder.talkComplete = false; clearInterval(topChatHolder.textInterval); clearInterval(bottomChatHolder.textInterval); chatCount = 0; chatSet = chatArray; chatStatus = 'normal'; Key.removeListener(keylist); keylist = new Object(); keylist.onKeyUp = function () { if (Key.getCode() == 32) { carryOn(); } }; Key.addListener(keylist); CI = setInterval(makeDialogue, 20, chatSet); } function makeDialogue(chatArray) { if (chatArray[chatCount].area == 'up' and chatArray[chatCount]) { if (!chatArray[chatCount].portrait) { topChatHolder.chatPic.gotoAndStop(1); } else { topChatHolder.chatPic.gotoAndStop(chatArray[chatCount].portrait); } if (!topChatHolder.inPlay) { currChatArea = chatArray[chatCount].area; topChatHolder.charName = chatArray[chatCount].speaker; if (chatArray[chatCount].dialogue.length > 1) { switch (chatArray[chatCount].chatType) { case 'random': randomLine(chatArray, topChatHolder); break; case 'randomBranch': randomBranch(chatArray, topChatHolder); break; case 'password': passwordLine(chatArray, topChatHolder); break; case 'choice': chooseLine(chatArray, topChatHolder); break; case 'compare': compareBranch(chatArray, topChatHolder); } } else { singleLine(chatArray, topChatHolder); } triggerAction(chatArray[chatCount]); } } else { if (chatArray[chatCount].area == 'down' and chatArray[chatCount]) { if (!chatArray[chatCount].portrait) { bottomChatHolder.chatPic.gotoAndStop(1); } else { bottomChatHolder.chatPic.gotoAndStop(chatArray[chatCount].portrait); } if (!bottomChatHolder.inPlay) { currChatArea = chatArray[chatCount].area; bottomChatHolder.charName = chatArray[chatCount].speaker; if (chatArray[chatCount].dialogue.length > 1) { switch (chatArray[chatCount].chatType) { case 'random': randomLine(chatArray, bottomChatHolder); break; case 'randomBranch': randomBranch(chatArray, bottomChatHolder); break; case 'password': passwordLine(chatArray, bottomChatHolder); break; case 'choice': chooseLine(chatArray, bottomChatHolder); break; case 'compare': compareBranch(chatArray, bottomChatHolder); } } else { singleLine(chatArray, bottomChatHolder); } triggerAction(chatArray[chatCount]); } } } } function singleLine(chatArray, holder) { holder.charDialogue = chatArray[chatCount].dialogue[0]; holder.inPlay = true; holder.charIn(); } function passwordLine(chatArray, holder) { chatStatus = 'answers'; holder.ansArray = chatArray[chatCount].dialogue; holder.responses = chatArray[chatCount].responses; holder.inPlay = true; holder.passwordDisplay(); } function chooseLine(chatArray, holder) { chatStatus = 'answers'; holder.ansArray = chatArray[chatCount].dialogue; holder.responses = chatArray[chatCount].responses; holder.inPlay = true; holder.answersDisplay(); } function randomLine(chatArray, holder) { var v1 = random(chatArray[chatCount].dialogue.length); holder.charDialogue = chatArray[chatCount].dialogue[v1]; holder.branch = chatArray[chatCount].responses[v1]; holder.inPlay = true; holder.charIn(); } function compareBranch(chatArray, holder) { var v7 = 0; var v4 = 0; while (v4 < chatArray[chatCount].conditionArray.length) { var v2 = false; var v5 = chatArray[chatCount].conditionArray[v4]; var v3 = 0; while (v3 < v5.length) { var v1 = v5[v3]; switch (v1.compareType) { case 'quest': v2 = compareQuest(v1); break; case 'item': v2 = compareItem(v1); break; case 'stats': v2 = compareStats(v1); break; case 'credits': v2 = compareCredits(v1); } if (!v2) { break; } ++v3; } if (v2) { v7 = v4 + 1; } ++v4; } holder.charDialogue = chatArray[chatCount].dialogue[v7]; holder.branch = chatArray[chatCount].responses[v7]; holder.inPlay = true; holder.charIn(); } function compareItem(comparer) { var v1 = _level0.checkItemNumber(comparer.id); if (v1 >= comparer.minVal and v1 <= comparer.maxVal) { return true; } else { return false; } } function compareCredits(comparer) { var v1 = _level0.getCredits(); if (v1 >= comparer.minVal and v1 <= comparer.maxVal) { return true; } else { return false; } } function compareQuest(comparer) { var v2 = _root['quest_' + comparer.id].prog; if (v2 == comparer.statusVal) { return true; } else { return false; } } function compareStats(comparer) { if (comparer.hero) { var v3 = _root['hero_' + comparer.hero][comparer.statusType]; } else { var v3 = _root[comparer.statusType]; } if (isNaN(v3)) { if (v3 == comparer.statusVal) { return true; } else { return false; } } else { if (v3 >= comparer.minVal and v3 <= comparer.maxVal) { return true; } else { return false; } } } function triggerAction(chatObj) { startFight = false; combatTrigger = false; gameOver = false; leaveCombat = false; winBattle = false; var v3 = chatObj.actions; if (v3) { var v2 = 0; while (v2 < v3.length) { var v1 = v3[v2]; switch (v1.actionType) { case 'quest': _level0['quest_' + v1.id].prog = int(v1.val); break; case 'item': itemChange(v1.id, v1.val); break; case 'party': _level0.addCharacter(v1.id, v1.pos); break; case 'wakeParty': _level0.activateCharacter(v1.id, v1.pos); break; case 'sleepParty': _level0.inactivateCharacter(v1.id); break; case 'bg': if (v1.transit) { transit = true; } else { transit = false; } if (v1.sleep) { sleep = true; } else { sleep = false; } if (v1.bg) { changeBG = v1.bg; } else { changeBG = false; } break; case 'music': _level0.bgMusic(v1.trackname, v1.noloop); break; case 'startFight': startFight = true; break; case 'gameOver': gameOver = true; break; case 'endgame': endGame = true; break; case 'leaveCombat': leaveCombat = v1.chatID; break; case 'bottomVisible': bottomChatHolder._visible = v1.toShow; break; case 'topVisible': topChatHolder._visible = v1.toShow; break; case 'newmap': newMap = v1.mapID; newMapArea = v1.areaID; newMapLocX = v1.locX; newMapLocZ = v1.locZ; break; case 'setTime': setTimeHours = v1.hours; setTimeMins = v1.mins; break; case 'shiftTime': shiftHours = v1.hours; shiftMins = v1.mins; break; case 'shop': shopName = v1.shopName; shopMenuHide = v1.shopMenuHide; break; case 'winBattle': winBattle = true; break; case 'combat': combatTrigger = v1.mSet; break; case 'credits': _level0.setCredits(_level0.getCredits() + v1.val); break; case 'fame': _level0.setFame(_level0.getFame() + v1.val); break; case 'resetmap': resetMap = true; break; case 'shake': _level0.shakefunction(v1.iTime, v1.xStrength, v1.yStrength, v1.counter); break; case 'sound': _level0.playSound(v1.id); break; case 'animate_map': _level0.floor[v1.id].objects.clip.gotoAndPlay(v1.val); break; case 'exitShop': exitShop = true; break; break; case 'stats': case 'mawChange': _level0.replaceMaw(v1.charid, v1.botid); } ++v2; } } } function itemChange(id, amount) { if (amount < 0) { _level0.removeItem(id, Math.abs(amount)); } else { _root.addItem(id, amount, true); } } function carryOn() { if (currChatArea == 'down' and chatStatus == 'normal' and transition_screen._currentframe == 1) { bottomChatHolder.nextText(); topChatHolder.nextText(); } else { if (currChatArea == 'up' and chatStatus == 'normal' and transition_screen._currentframe == 1) { topChatHolder.nextText(); bottomChatHolder.nextText(); } } } function endOfMessageActions() { if (newMap) { _level0['map' + newMap](newMapArea); _level0.mapLocation = newMap; _level0.world[_level0.player].tempx = newMapLocX; _level0.world[_level0.player].tempz = newMapLocZ; newMap = false; newMapArea = false; newMapLocX = false; newMapLocZ = false; } if (shopName != undefined) { _level0.enterShop(shopName, shopMenuHide); shopName = undefined; shopMenuHide = undefined; } if (changeBG) { _level0.bg.gotoAndStop(changeBG); changeBG = false; } if (bottomVisible != undefined) { bottomChatHolder._visible = bottomVisible; bottomVisible = undefined; } if (topVisible != undefined) { topChatHolder._visible = topVisible; topVisible = undefined; } if (resetMap) { _level0['map' + _level0.mapLocation](_level0.areaLocation); resetMap = false; } if (setTimeHours) { _level0.hh = setTimeHours; setTimeHours = false; } if (shiftHours) { _level0.hh += shiftHours; _level0.timingRefresh(); shiftHours = false; } if (setTimeMins) { _level0.mm = setTimeMins; setTimeMins = false; } if (shiftMins) { _level0.mm += shiftMins; _level0.timingRefresh(); shiftMins = false; } if (exitShop) { _level0.exitShop(); exitShop = false; } if (startFight) { _level0.combatSceneClip.combatScene.myState = 'heroSelect'; startFight = false; } if (gameOver) { _level0.combatSceneClip.combatScene.loser(); gameOver = false; } if (leaveCombat) { _level0.endCombat(leaveCombat); leaveCombat = false; } if (winBattle) { _level0.combatSceneClip.combatScene.winner(); winBattle = false; } if (combatTrigger) { _level0.startCombat(combatTrigger); combatTrigger = false; } } function endCoversation() { Key.removeListener(keylist); clearInterval(CI); clearInterval(topChatHolder.textInterval); clearInterval(bottomChatHolder.textInterval); bottomChatHolder._visible = true; topChatHolder._visible = true; this._visible = false; _level0.populate_inventory(); if (_level0.shopSystem._visible) { if (_level0.shopSystem.menu) { _level0.shopSystem.menu._visible = true; } } else { if (!_level0.combatSceneClip._visible) { _global.action = 'walking'; _level0.floor._visible = true; _level0.worldMenu._visible = true; _level0.floor.mouseClickRegion._visible = true; _level0.bgDown._visible = true; _level0.bgRight._visible = true; _level0.bgUp._visible = true; _level0.bgLeft._visible = true; _level0.areaNameClip._visible = true; _level0.canopyClip._visible = true; } } if (endGame) { _level0.endGame(); endGame = false; } } if (_global.option == 'newgame') { _level0.world[_level0.player].clip.char.gotoAndStop('stand1'); chatActivate(calisto_0); _global.mainsave.save(); } ron_0_0 = new Object(); ron_0_0.area = 'down'; ron_0_0.portrait = _level0.charA001.portrait; ron_0_0.speaker = _level0.heroName; action1 = {'actionType': 'setTime', 'hours': 6, 'mins': 59}; action2 = {'actionType': 'topVisible', 'toShow': false}; ron_0_0.dialogue = new Array('...zzzZZZzzzZZZ...'); ron_0_0.actions = new Array(action1, action2); ron_0_0a = new Object(); ron_0_0a.area = 'up'; ron_0_0a.speaker = 'Uncle Ron'; ron_0_0a.portrait = 'ron'; ron_0_0a.dialogue = new Array('...'); action1 = {'actionType': 'topVisible', 'toShow': true}; ron_0_0a.actions = new Array(action1); ron_0_0b = new Object(); ron_0_0b.area = 'up'; ron_0_0b.speaker = 'Uncle Ron'; ron_0_0b.portrait = 'ron'; ron_0_0b.dialogue = new Array(_level0.heroName + '!'); ron_0_0c = new Object(); ron_0_0c.area = 'up'; ron_0_0c.speaker = 'Uncle Ron'; ron_0_0c.portrait = 'ron'; ron_0_0c.dialogue = new Array('Up and at \'em, ' + _level0.heroName + '.'); ron_0_0d = new Object(); ron_0_0d.area = 'down'; ron_0_0d.portrait = _level0.charA001.portrait; ron_0_0d.speaker = _level0.heroName; ron_0_0d.dialogue = new Array('...zzzZZZ...Wha..?'); ron_0_0e = new Object(); ron_0_0e.area = 'down'; ron_0_0e.portrait = _level0.charA001.portrait; ron_0_0e.speaker = _level0.heroName; ron_0_0e.dialogue = new Array('...Ron...M\'sleepy...'); ron_0_1 = new Object(); ron_0_1.area = 'up'; ron_0_1.speaker = 'Uncle Ron'; ron_0_1.portrait = 'ron'; ron_0_1.dialogue = new Array('Go ahead and freshen up. I\'ll wait right here.'); ron_0_1e = new Object(); ron_0_1e.area = 'down'; ron_0_1e.portrait = _level0.charA001.portrait; ron_0_1e.speaker = _level0.heroName; ron_0_1e.dialogue = new Array('...*Yawn*...Fine fine...'); action1 = {'actionType': 'bg', 'transit': true}; ron_0_1e.actions = new Array(action1); ron_0_2 = new Object(); ron_0_2.area = 'up'; ron_0_2.speaker = 'Uncle Ron'; ron_0_2.portrait = 'ron'; ron_0_2.dialogue = new Array('Thought you were going to \'forget\' about helping me in the store today.'); action1 = {'actionType': 'topVisible', 'toShow': true}; action2 = {'actionType': 'bottomVisible', 'toShow': false}; ron_0_2.actions = new Array(action1, action2); ron_0_3 = new Object(); ron_0_3.area = 'down'; ron_0_3.portrait = _level0.charA001.portrait; ron_0_3.speaker = _level0.heroName; action1 = {'actionType': 'bottomVisible', 'toShow': true}; ron_0_3.dialogue = new Array('Now now Ron, would I ever do that?'); ron_0_3.actions = new Array(action1); ron_0_4 = new Object(); ron_0_4.area = 'up'; ron_0_4.portrait = 'ron'; ron_0_4.speaker = 'Uncle Ron'; ron_0_4.dialogue = new Array('Wouldn\'t be the first time.'); ron_0_5 = new Object(); ron_0_5.area = 'down'; ron_0_5.portrait = _level0.charA001.portrait; ron_0_5.speaker = _level0.heroName; ron_0_5.dialogue = new Array('Heh heh. So what\'s up for today?'); ron_0_6 = new Object(); ron_0_6.area = 'up'; ron_0_6.portrait = 'ron'; ron_0_6.speaker = 'Uncle Ron'; ron_0_6.dialogue = new Array('First thing\'s first. I need to get some spare parts.'); ron_0_8 = new Object(); ron_0_8.area = 'up'; ron_0_8.portrait = 'ron'; ron_0_8.speaker = 'Uncle Ron'; ron_0_8.dialogue = new Array('With my ankle twisted, I can\'t do it, so you\'re going to do it for me.'); ron_0_16 = new Object(); ron_0_16.area = 'down'; ron_0_16.portrait = _level0.charA001.portrait; ron_0_16.speaker = _level0.heroName; ron_0_16.dialogue = new Array('Wait wait wait, don\'t tell me...'); ron_0_17 = new Object(); ron_0_17.area = 'down'; ron_0_17.portrait = _level0.charA001.portrait; ron_0_17.speaker = _level0.heroName; ron_0_17.dialogue = new Array('These parts can only be found at The Scrapyard.'); ron_0_18 = new Object(); ron_0_18.area = 'up'; ron_0_18.portrait = 'ron'; ron_0_18.speaker = 'Uncle Ron'; ron_0_18.dialogue = new Array('That\'s right. You\'d have to go though the Great Tiki Jungle to get there.'); ron_0_18a = new Object(); ron_0_18a.area = 'up'; ron_0_18a.portrait = 'ron'; ron_0_18a.speaker = 'Uncle Ron'; ron_0_18a.dialogue = new Array('Now I know you\'re worried about the renegade machinery there, so I suggest you use your MAW.'); ron_0_19 = new Object(); ron_0_19.area = 'down'; ron_0_19.chatType = 'choice'; ron_0_19.portrait = _level0.charA001.portrait; ron_0_19.speaker = _level0.heroName; ron_0_19.dialogue = new Array('Oh great...', 'Woohoo!'); ron_0_19.responses = new Array('ron_0a', 'ron_0b'); ron_0_19a = new Object(); ron_0_19a.area = 'down'; ron_0_19a.portrait = _level0.charA001.portrait; ron_0_19a.speaker = _level0.heroName; ron_0_19a.dialogue = new Array('Oh great...'); ron_0_19b = new Object(); ron_0_19b.area = 'down'; ron_0_19b.portrait = _level0.charA001.portrait; ron_0_19b.speaker = _level0.heroName; ron_0_19b.dialogue = new Array('Woohoo!'); ron_0_19a1 = new Object(); ron_0_19a1.area = 'up'; ron_0_19a1.portrait = 'ron'; ron_0_19a1.speaker = 'Uncle Ron'; ron_0_19a1.dialogue = new Array('I\'m quite sure it\'s a better alternative than going on foot.'); ron_0_19b1 = new Object(); ron_0_19b1.area = 'up'; ron_0_19b1.portrait = 'ron'; ron_0_19b1.speaker = 'Uncle Ron'; ron_0_19b1.dialogue = new Array('Glad to see that you\'re so enthusiastic about it.'); ron_0_20 = new Object(); ron_0_20.area = 'up'; ron_0_20.portrait = 'ron'; ron_0_20.speaker = 'Uncle Ron'; ron_0_20.dialogue = new Array('Anyway, your MAW will be a big help if you run into any trouble at The Scrapyard.'); ron_0_21 = new Object(); ron_0_21.area = 'down'; ron_0_21.portrait = _level0.charA001.portrait; ron_0_21.speaker = _level0.heroName; ron_0_21.dialogue = new Array('What are the parts for anyway?'); ron_0_22 = new Object(); ron_0_22.area = 'up'; ron_0_22.portrait = 'ron'; ron_0_22.speaker = 'Uncle Ron'; ron_0_22.dialogue = new Array('We\'ll worry about that later.'); ron_0_23 = new Object(); ron_0_23.area = 'up'; ron_0_23.speaker = 'Uncle Ron'; ron_0_23.portrait = 'ron'; ron_0_23.dialogue = new Array('Now help me up. We\'re going to the garage.', 'Now help me up. We\'re going to the garage.'); ron_0_23.chatType = 'random'; ron_0_23.responses = new Array('ron_1', 'ron_1'); action1 = {'actionType': 'bg', 'transit': true, 'bg': 'rongarage'}; action2 = {'actionType': 'newmap', 'mapID': 1, 'areaID': 1, 'locX': 200, 'locZ': -490}; action3 = {'actionType': 'shop', 'shopName': 'rongarage', 'shopMenuHide': true}; ron_0_23.actions = new Array(action1, action2, action3); ron_0 = new Array(ron_0_0, ron_0_0a, ron_0_0b, ron_0_0c, ron_0_0d, ron_0_0e, ron_0_1, ron_0_1e, ron_0_2, ron_0_3, ron_0_4, ron_0_5, ron_0_6, ron_0_8, ron_0_16, ron_0_17, ron_0_18, ron_0_18a, ron_0_19); ron_0a = new Array(ron_0_19a, ron_0_19a1, ron_0_20, ron_0_21, ron_0_22, ron_0_23); ron_0b = new Array(ron_0_19b, ron_0_19b1, ron_0_20, ron_0_21, ron_0_22, ron_0_23); ron_1_2 = new Object(); ron_1_2.area = 'up'; ron_1_2.portrait = 'ron'; ron_1_2.speaker = 'Uncle Ron'; ron_1_2.dialogue = new Array('Well now, your Luna seems to be in good condition.'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; ron_1_2.actions = new Array(action1); ron_1_3 = new Object(); ron_1_3.area = 'down'; ron_1_3.portrait = _level0.charA001.portrait; ron_1_3.speaker = _level0.heroName; ron_1_3.dialogue = new Array('Can I use one of the other models instead?'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; ron_1_3.actions = new Array(action1); ron_1_4 = new Object(); ron_1_4.area = 'up'; ron_1_4.portrait = 'ron'; ron_1_4.speaker = 'Uncle Ron'; ron_1_4.dialogue = new Array('Just use your own, ' + _level0.heroName + '.'); ron_1_5 = new Object(); ron_1_5.area = 'up'; ron_1_5.portrait = 'ron'; ron_1_5.speaker = 'Uncle Ron'; ron_1_5.dialogue = new Array('Besides, most of the other MAWs here require some additional servicing before they can be used.'); ron_1_6 = new Object(); ron_1_6.area = 'down'; ron_1_6.portrait = _level0.charA001.portrait; ron_1_6.speaker = _level0.heroName; ron_1_6.dialogue = new Array('Okay, that\'s fine by me.'); ron_1_10 = new Object(); ron_1_10.area = 'up'; ron_1_10.portrait = 'ron'; ron_1_10.speaker = 'Uncle Ron'; ron_1_10.dialogue = new Array('Now about those parts...'); ron_1_11 = new Object(); ron_1_11.area = 'up'; ron_1_11.portrait = 'ron'; ron_1_11.speaker = 'Uncle Ron'; ron_1_11.dialogue = new Array('I need you to get me 5 Gears, 3 Gyrobolts and 1 Polyboard.'); action1 = {'actionType': 'quest', 'id': '1', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I003Q', 'val': 1}; ron_1_11.actions = new Array(action1, action2); ron_1_12 = new Object(); ron_1_12.area = 'up'; ron_1_12.portrait = 'ron'; ron_1_12.speaker = 'Uncle Ron'; ron_1_12.dialogue = new Array('Here, I\'ll put it down on a list for you.'); ron_1_12a = new Object(); ron_1_12a.area = 'up'; ron_1_12a.portrait = 'ron'; ron_1_12a.speaker = 'Uncle Ron'; ron_1_12a.dialogue = new Array('Easy enough a task for you?'); ron_1_13 = new Object(); ron_1_13.area = 'down'; ron_1_13.portrait = _level0.charA001.portrait; ron_1_13.speaker = _level0.heroName; ron_1_13.dialogue = new Array('Leave it to me, Ron.'); action1 = {'actionType': 'setTime', 'hours': 8, 'mins': 0}; ron_1_13.actions = new Array('action1'); ron_1 = new Array(ron_1_2, ron_1_3, ron_1_4, ron_1_5, ron_1_6, ron_1_10, ron_1_11, ron_1_12, ron_1_12a, ron_1_13); ron_2_1 = new Object(); ron_2_1.area = 'up'; ron_2_1.portrait = 'ron'; ron_2_1.speaker = 'Uncle Ron'; ron_2_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '1', 'statusVal': 1}; condition2_1 = {'compareType': 'quest', 'id': '1', 'statusVal': 99}; condition2_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 0}; condition3_1 = {'compareType': 'quest', 'id': '3', 'statusVal': 1}; condition4_1 = {'compareType': 'quest', 'id': '3', 'statusVal': 99}; condition4_2 = {'compareType': 'quest', 'id': '8', 'statusVal': 0}; condition5_1 = {'compareType': 'quest', 'id': '3', 'statusVal': 99}; condition5_2 = {'compareType': 'quest', 'id': '8', 'statusVal': 1}; condition6_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition6_2 = {'compareType': 'quest', 'id': '24', 'statusVal': 1}; condition1 = new Array(condition1_1); condition2 = new Array(condition2_1, condition2_2); condition3 = new Array(condition2_1, condition3_1); condition4 = new Array(condition4_1, condition4_2); condition5 = new Array(condition5_1, condition5_2); condition6 = new Array(condition6_1, condition6_2); ron_2_1.conditionArray = new Array(condition1, condition2, condition3, condition4, condition5, condition6); ron_2_1.dialogue = new Array('...', 'Do you have the parts yet?', 'What is it, ' + _level0.heroName + '?', 'Do you have the 3 plasmarocks?', 'Just let me get this last bolt aaaaand...', 'Better hand that Macrogen over to Calisto soon.', 'Have you collected the polyboards from the terminal?'); ron_2_1.responses = new Array('ron_0', 'ron_3', 'ron_3c', 'ron_4', 'ron_4d', 'ron_4c', 'ron_5'); ron_3_1 = new Object(); ron_3_1.area = 'down'; ron_3_1.portrait = _level0.charA001.portrait; ron_3_1.speaker = _level0.heroName; ron_3_1.chatType = 'compare'; condition1_1 = {'compareType': 'item', 'id': 'I000Q', 'minVal': 5, 'maxVal': 999}; condition1_2 = {'compareType': 'item', 'id': 'I001Q', 'minVal': 1, 'maxVal': 999}; condition1_3 = {'compareType': 'item', 'id': 'I002Q', 'minVal': 3, 'maxVal': 999}; condition1 = new Array(condition1_1, condition1_2, condition1_3); ron_3_1.conditionArray = new Array(condition1); ron_3_1.dialogue = new Array('Not yet.', 'I have them.'); ron_3_1.responses = new Array('ron_3a', 'ron_3b'); ron_3a_1 = new Object(); ron_3a_1.area = 'up'; ron_3a_1.portrait = 'ron'; ron_3a_1.speaker = 'Uncle Ron'; ron_3a_1.dialogue = new Array('Take your time.'); ron_2 = new Array(ron_2_1); ron_3 = new Array(ron_3_1); ron_3a = new Array(ron_3a_1); ron_3b_1 = new Object(); ron_3b_1.area = 'up'; ron_3b_1.portrait = 'ron'; ron_3b_1.speaker = 'Uncle Ron'; ron_3b_1.dialogue = new Array('Excellent! Here\'s something for your efforts. (+ 300 credits)'); action1 = {'actionType': 'quest', 'id': '1', 'val': 99}; action2 = {'actionType': 'item', 'id': 'I000Q', 'val': -5}; action3 = {'actionType': 'item', 'id': 'I002Q', 'val': -3}; action4 = {'actionType': 'item', 'id': 'I001Q', 'val': -1}; action5 = {'actionType': 'item', 'id': 'I003Q', 'val': -1}; action6 = {'actionType': 'credits', 'val': 300}; ron_3b_1.actions = new Array(action1, action2, action3, action4, action5, action6); ron_3b_2 = new Object(); ron_3b_2.area = 'down'; ron_3b_2.portrait = _level0.charA001.portrait; ron_3b_2.speaker = _level0.heroName; ron_3b_2.dialogue = new Array('What are the parts for?'); ron_3b_2a = new Object(); ron_3b_2a.area = 'up'; ron_3b_2a.portrait = 'ron'; ron_3b_2a.speaker = 'Uncle Ron'; ron_3b_2a.dialogue = new Array('Well the situation\'s like this...'); ron_3b_2b = new Object(); ron_3b_2b.area = 'up'; ron_3b_2b.portrait = 'ron'; ron_3b_2b.speaker = 'Uncle Ron'; ron_3b_2b.dialogue = new Array('Why don\'t you go take a walk and come back later.'); ron_3b_3 = new Object(); ron_3b_3.area = 'up'; ron_3b_3.portrait = 'ron'; ron_3b_3.speaker = 'Uncle Ron'; ron_3b_3.dialogue = new Array('Calisto called this morning while she was doing maintenance. One of the Sprouts damaged the auto extender of the bridge at Endless Gorge.'); ron_3b_4 = new Object(); ron_3b_4.area = 'down'; ron_3b_4.portrait = _level0.charA001.portrait; ron_3b_4.speaker = _level0.heroName; ron_3b_4.dialogue = new Array('Again?? That\'s the third time this month!'); ron_3b_5 = new Object(); ron_3b_5.area = 'up'; ron_3b_5.portrait = 'ron'; ron_3b_5.speaker = 'Uncle Ron'; ron_3b_5.dialogue = new Array('That\'s what I told her. In any case, she needs a replacement Macrogen, so I\'m building her one right now.'); ron_3b_5b = new Object(); ron_3b_5b.area = 'down'; ron_3b_5b.portrait = _level0.charA001.portrait; ron_3b_5b.speaker = _level0.heroName; ron_3b_5b.dialogue = new Array('So that\'s why you need those parts.'); ron_3b_5c = new Object(); ron_3b_5c.area = 'up'; ron_3b_5c.portrait = 'ron'; ron_3b_5c.speaker = 'Uncle Ron'; ron_3b_5c.dialogue = new Array('Yes, but we\'re not done yet.'); ron_3b_5d = new Object(); ron_3b_5d.area = 'down'; ron_3b_5d.portrait = _level0.charA001.portrait; ron_3b_5d.speaker = _level0.heroName; ron_3b_5d.dialogue = new Array('We\'re not?'); ron_3b_6 = new Object(); ron_3b_6.area = 'up'; ron_3b_6.portrait = 'ron'; ron_3b_6.speaker = 'Uncle Ron'; ron_3b_6.dialogue = new Array('No, I\'m going to need 3 small chunks of plasmarock.'); action1 = {'actionType': 'quest', 'id': '3', 'val': 1}; ron_3b_6.actions = new Array(action1); ron_3b_7 = new Object(); ron_3b_7.area = 'down'; ron_3b_7.portrait = _level0.charA001.portrait; ron_3b_7.speaker = _level0.heroName; ron_3b_7.dialogue = new Array('Ohhhh that\'s right... Fuel for the macrogen.'); ron_3b_8 = new Object(); ron_3b_8.area = 'down'; ron_3b_8.portrait = _level0.charA001.portrait; ron_3b_8.speaker = _level0.heroName; ron_3b_8.dialogue = new Array('But don\'t you already have some in the garage?'); ron_3b_9 = new Object(); ron_3b_9.area = 'up'; ron_3b_9.portrait = 'ron'; ron_3b_9.speaker = 'Uncle Ron'; ron_3b_9.dialogue = new Array('Those are already encapsulated. I need it in its raw form.'); ron_3b_9a = new Object(); ron_3b_9a.area = 'down'; ron_3b_9a.chatType = 'compare'; ron_3b_9a.portrait = _level0.charA001.portrait; ron_3b_9a.speaker = _level0.heroName; condition1_1 = {'compareType': 'item', 'id': 'I010Q', 'minVal': 1, 'maxVal': 999}; condition1 = new Array(condition1_1); ron_3b_9a.conditionArray = new Array(condition1); ron_3b_9a.dialogue = new Array('Let me get to it then.', 'Oh yeah, I also found this chassis from a derelict MAW in the scrapyard.'); ron_3b_9a.responses = new Array('ron_3e', 'ron_3d'); ron_3b_9b = new Object(); ron_3b_9b.area = 'down'; ron_3b_9b.portrait = _level0.charA001.portrait; ron_3b_9b.speaker = _level0.heroName; ron_3b_9b.dialogue = new Array('Thought you might have some use for it.'); ron_3b_9c = new Object(); ron_3b_9c.area = 'up'; ron_3b_9c.portrait = 'ron'; ron_3b_9c.speaker = 'Uncle Ron'; ron_3b_9c.dialogue = new Array('Oh ho, an Avenger model...'); ron_3b_9d = new Object(); ron_3b_9d.area = 'up'; ron_3b_9d.portrait = 'ron'; ron_3b_9d.speaker = 'Uncle Ron'; ron_3b_9d.dialogue = new Array('Leave it here first. I\'ll need the core system too before I can do anything with the chassis.'); action1 = {'actionType': 'quest', 'id': '25', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I010Q', 'val': -1}; ron_3b_9d.actions = new Array(action1, action2); ron_3b_9e = new Object(); ron_3b_9e.area = 'up'; ron_3b_9e.portrait = 'ron'; ron_3b_9e.speaker = 'Uncle Ron'; ron_3b_9e.dialogue = new Array('For now, let\'s just worry about the plasmarock.'); ron_3b_10 = new Object(); ron_3b_10.area = 'down'; ron_3b_10.chatType = 'random'; ron_3b_10.portrait = _level0.charA001.portrait; ron_3b_10.speaker = _level0.heroName; ron_3b_10.dialogue = new Array('Ok, I\'ll get right to it.', 'Ok, I\'ll get right to it.'); ron_3b_10.responses = new Array('ron_3e', 'ron_3e'); ron_3b_11 = new Object(); ron_3b_11.area = 'up'; ron_3b_11.portrait = 'ron'; ron_3b_11.speaker = 'Uncle Ron'; ron_3b_11.dialogue = new Array('Hold on a minute, ' + _level0.heroName + '. You\'re going to need some help on this.'); ron_3b_12 = new Object(); ron_3b_12.area = 'up'; ron_3b_12.portrait = 'ron'; ron_3b_12.speaker = 'Uncle Ron'; ron_3b_12.dialogue = new Array('Billy! Get over here.'); ron_3b_13 = new Object(); ron_3b_13.area = 'up'; ron_3b_13.portrait = 'barrage'; ron_3b_13.speaker = 'Billy Barrage'; ron_3b_13.dialogue = new Array('Be right over Mister R!'); ron_3b_14 = new Object(); ron_3b_14.area = 'down'; ron_3b_14.portrait = _level0.charA001.portrait; ron_3b_14.speaker = _level0.heroName; ron_3b_14.dialogue = new Array('Oh, Billy Barrage is here?'); ron_3b_15 = new Object(); ron_3b_15.area = 'up'; ron_3b_15.portrait = 'ron'; ron_3b_15.speaker = 'Uncle Ron'; ron_3b_15.dialogue = new Array('He came in with his MAW last night'); ron_3b_16 = new Object(); ron_3b_16.area = 'down'; ron_3b_16.portrait = _level0.charA001.portrait; ron_3b_16.speaker = _level0.heroName; ron_3b_16.dialogue = new Array('But how would Billy help in this case?'); ron_3b_17 = new Object(); ron_3b_17.area = 'up'; ron_3b_17.portrait = 'ron'; ron_3b_17.speaker = 'Uncle Ron'; ron_3b_17.dialogue = new Array('The reason is simple. On Acero Isle, we get our plasmarock mainly from within the Lazlo Mines.'); ron_3b_18 = new Object(); ron_3b_18.area = 'up'; ron_3b_18.portrait = 'ron'; ron_3b_18.speaker = 'Uncle Ron'; ron_3b_18.dialogue = new Array('Billy\'s MAW has more power than yours, so it can easily break down any rocky obstacles in the mines.'); ron_3b_19 = new Object(); ron_3b_19.area = 'up'; ron_3b_19.portrait = 'ron'; ron_3b_19.speaker = 'Uncle Ron'; ron_3b_19.dialogue = new Array('Besides, the mines are a dangerous place. Having another person to go with you wouldn\'t hurt.'); ron_3b_20 = new Object(); ron_3b_20.area = 'up'; ron_3b_20.portrait = 'barrage'; ron_3b_20.speaker = 'Billy Barrage'; ron_3b_20.dialogue = new Array('What\'s up Mister R?'); ron_3b_21 = new Object(); ron_3b_21.area = 'up'; ron_3b_21.portrait = 'barrage'; ron_3b_21.speaker = 'Billy Barrage'; ron_3b_21.dialogue = new Array('Oh heeeey... ' + _level0.heroName + '!!!'); ron_3b_22 = new Object(); ron_3b_22.area = 'down'; ron_3b_22.portrait = _level0.charA001.portrait; ron_3b_22.speaker = _level0.heroName; ron_3b_22.dialogue = new Array('Hey Billy, how have you been?'); ron_3b_23 = new Object(); ron_3b_23.area = 'up'; ron_3b_23.portrait = 'barrage'; ron_3b_23.speaker = 'Billy Barrage'; ron_3b_23.dialogue = new Array('Never been better! Mister R here did a bang-up job repairing my MAW last night.'); ron_3b_23a = new Object(); ron_3b_23a.area = 'down'; ron_3b_23a.portrait = _level0.charA001.portrait; ron_3b_23a.speaker = _level0.heroName; ron_3b_23a.dialogue = new Array('How about Dixie?'); ron_3b_23b = new Object(); ron_3b_23b.area = 'up'; ron_3b_23b.portrait = 'barrage'; ron_3b_23b.speaker = 'Billy Barrage'; ron_3b_23b.dialogue = new Array('Mom? Oh, she\'s doing alright. As always, she\'s not on Acero. Probably out there handling another case. '); ron_3b_24 = new Object(); ron_3b_24.area = 'up'; ron_3b_24.portrait = 'ron'; ron_3b_24.speaker = 'Uncle Ron'; ron_3b_24.dialogue = new Array('Billy, I was wondering if you could help ' + _level0.heroName + ' out.'); ron_3b_25 = new Object(); ron_3b_25.area = 'down'; ron_3b_25.portrait = _level0.charA001.portrait; ron_3b_25.speaker = _level0.heroName; ron_3b_25.dialogue = new Array('I need to get 3 small chunks of plasmarock at the Lazlo Mines.'); ron_3b_25a = new Object(); ron_3b_25a.area = 'down'; ron_3b_25a.portrait = _level0.charA001.portrait; ron_3b_25a.speaker = _level0.heroName; ron_3b_25a.dialogue = new Array('Calisto\'s fixing the bridge at endless gorge and she needs a new Macrogen, so Ron\'s building her one.'); ron_3b_26 = new Object(); ron_3b_26.area = 'up'; ron_3b_26.portrait = 'barrage'; ron_3b_26.speaker = 'Billy Barrage'; ron_3b_26.dialogue = new Array('Sure thing! I was heading back to Acero Terminus anyway. Can\'t go with the bridge down.'); action1 = {'actionType': 'party', 'id': 'A002', 'pos': 2}; ron_3b_26.actions = new Array(action1); ron_3b_26a = new Object(); ron_3b_26a.area = 'up'; ron_3b_26a.portrait = 'barrage'; ron_3b_26a.speaker = 'Billy Barrage'; ron_3b_26a.dialogue = new Array('Besides, I\'ve dealt with mines before.'); ron_3b_27 = new Object(); ron_3b_27.area = 'down'; ron_3b_27.portrait = _level0.charA001.portrait; ron_3b_27.speaker = _level0.heroName; ron_3b_27.dialogue = new Array('Oh that\'s right, your dad used to work in the mines didn\'t he?'); ron_3b_28 = new Object(); ron_3b_28.area = 'up'; ron_3b_28.portrait = 'barrage'; ron_3b_28.speaker = 'Billy Barrage'; ron_3b_28.dialogue = new Array('Yep.'); ron_3b_29 = new Object(); ron_3b_29.area = 'up'; ron_3b_29.portrait = 'ron'; ron_3b_29.speaker = 'Uncle Ron'; ron_3b_29.dialogue = new Array('You two better get going. If I know Calisto, she\'s probably getting frustrated from all the waiting right now.'); ron_3b_30 = new Object(); ron_3b_30.area = 'down'; ron_3b_30.portrait = 'barrage'; ron_3b_30.speaker = 'Billy Barrage'; ron_3b_30.dialogue = new Array('Right, let\'s go ' + _level0.heroName + '!'); ron_4_1 = new Object(); ron_4_1.area = 'down'; ron_4_1.portrait = _level0.charA001.portrait; ron_4_1.speaker = _level0.heroName; ron_4_1.chatType = 'compare'; condition1_1 = {'compareType': 'item', 'id': 'I006Q', 'minVal': 3, 'maxVal': 999}; condition1 = new Array(condition1_1); ron_4_1.conditionArray = new Array(condition1); ron_4_1.dialogue = new Array('We\'ll get it soon.', 'Here, just like you asked.'); ron_4_1.responses = new Array('ron_4a', 'ron_4b'); ron_4_2 = new Object(); ron_4_2.area = 'down'; ron_4_2.portrait = 'barrage'; ron_4_2.speaker = 'Billy Barrage'; ron_4_2.dialogue = new Array('You can count on us Mister R!'); ron_3c = new Array(ron_3b_2, ron_3b_2a, ron_3b_3, ron_3b_4, ron_3b_5, ron_3b_5b, ron_3b_5c, ron_3b_5d, ron_3b_6, ron_3b_7, ron_3b_8, ron_3b_9, ron_3b_9a); ron_3b = new Array(ron_3b_1, ron_3b_2, ron_3b_2a, ron_3b_3, ron_3b_4, ron_3b_5, ron_3b_5b, ron_3b_5c, ron_3b_5d, ron_3b_6, ron_3b_7, ron_3b_8, ron_3b_9, ron_3b_9a); ron_3d = new Array(ron_3b_9b, ron_3b_9c, ron_3b_9d, ron_3b_9e, ron_3b_10); ron_3e = new Array(ron_3b_11, ron_3b_12, ron_3b_13, ron_3b_14, ron_3b_15, ron_3b_16, ron_3b_17, ron_3b_18, ron_3b_19, ron_3b_20, ron_3b_21, ron_3b_22, ron_3b_23, ron_3b_24, ron_3b_25, ron_3b_25a, ron_3b_26, ron_3b_26a, ron_3b_27, ron_3b_28, ron_3b_29, ron_3b_30); ron_4 = new Array(ron_4_1); ron_4a = new Array(ron_4_2); ron_4_3 = new Object(); ron_4_3.area = 'up'; ron_4_3.portrait = 'ron'; ron_4_3.speaker = 'Uncle Ron'; ron_4_3.dialogue = new Array('That will do nicely. Good work... both of you! (+ 500 credits)'); action1 = {'actionType': 'quest', 'id': '3', 'val': 99}; action2 = {'actionType': 'credits', 'val': 500}; action3 = {'actionType': 'item', 'id': 'I006Q', 'val': -3}; ron_4_3.actions = new Array(action1, action2, action3); ron_4_4 = new Object(); ron_4_4.area = 'up'; ron_4_4.portrait = 'ron'; ron_4_4.speaker = 'Uncle Ron'; ron_4_4.dialogue = new Array('Now I can go on to build the Macrogen.'); ron_4_4a = new Object(); ron_4_4a.area = 'down'; ron_4_4a.chatType = 'compare'; ron_4_4a.portrait = _level0.charA001.portrait; ron_4_4a.speaker = _level0.heroName; condition1_1 = {'compareType': 'item', 'id': 'I011Q', 'minVal': 1, 'maxVal': 999}; condition1_2 = {'compareType': 'quest', 'id': '25', 'statusVal': 1}; condition1 = new Array(condition1_1, condition1_2); ron_4_4a.conditionArray = new Array(condition1); ron_4_4a.dialogue = new Array('We\'ll wait for you here then.', 'Oh, I also found a core system for the Avenger.'); ron_4_4a.responses = new Array('ron_4f', 'ron_4e'); ron_4_4b = new Object(); ron_4_4b.area = 'up'; ron_4_4b.portrait = 'ron'; ron_4_4b.speaker = 'Uncle Ron'; ron_4_4b.dialogue = new Array('That\'s good! Bring your MAW into the garage, and place the Avenger parts next to it.'); ron_4_4c = new Object(); ron_4_4c.area = 'up'; ron_4_4c.portrait = 'ron'; ron_4_4c.speaker = 'Uncle Ron'; ron_4_4c.dialogue = new Array('I think it\'s time you got yourself a new model.'); action1 = {'actionType': 'quest', 'id': '25', 'val': 99}; action2 = {'actionType': 'item', 'id': 'I011Q', 'val': -1}; ron_4_4c.actions = new Array(action1, action2); ron_4_4d = new Object(); ron_4_4d.area = 'down'; ron_4_4d.chatType = 'random'; ron_4_4d.portrait = _level0.charA001.portrait; ron_4_4d.speaker = _level0.heroName; ron_4_4d.dialogue = new Array('Seriously?! I\'ll go bring it in right now.', 'Seriously?! I\'ll go bring it in right now.'); ron_4_4d.responses = new Array('ron_4f', 'ron_4f'); ron_4_5 = new Object(); ron_4_5.area = 'up'; ron_4_5.portrait = 'ron'; ron_4_5.speaker = 'Uncle Ron'; ron_4_5.dialogue = new Array('This is going to take a while.'); ron_4_6 = new Object(); ron_4_6.area = 'down'; ron_4_6.portrait = 'barrage'; ron_4_6.speaker = 'Billy Barrage'; ron_4_6.chatType = 'random'; ron_4_6.dialogue = new Array('No problem Mister R.', 'No problem Mister R.'); ron_4_6.responses = new Array('ron_4d', 'ron_4d'); action1 = {'actionType': 'bg', 'transit': true}; ron_4_6.actions = new Array(action1); ron_4_7 = new Object(); ron_4_7.area = 'down'; ron_4_7.portrait = _level0.charA001.portrait; ron_4_7.speaker = _level0.heroName; ron_4_7.dialogue = new Array('We\'ll just come back later then.'); ron_4_8 = new Object(); ron_4_8.area = 'up'; ron_4_8.chatType = 'compare'; ron_4_8.portrait = 'ron'; ron_4_8.speaker = 'Uncle Ron'; condition1_1 = {'compareType': 'quest', 'id': '25', 'statusVal': 99}; condition1 = new Array(condition1_1); ron_4_8.conditionArray = new Array(condition1); action1 = {'actionType': 'bottomVisible', 'toShow': false}; ron_4_8.dialogue = new Array('There. I\'m finally finished.', 'There. I\'m finally finished.'); ron_4_8.responses = new Array('ron_4g', 'ron_4h'); ron_4_8.actions = new Array(action1); ron_4_8e = new Object(); ron_4_8e.area = 'down'; ron_4_8e.portrait = _level0.charA001.portrait; ron_4_8e.speaker = _level0.heroName; ron_4_8e.dialogue = new Array('What about the Avenger?'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; ron_4_8e.actions = new Array(action1); ron_4_8a = new Object(); ron_4_8a.area = 'up'; ron_4_8a.portrait = 'ron'; ron_4_8a.speaker = 'Uncle Ron'; ron_4_8a.dialogue = new Array('That\'s ready too ' + _level0.heroName + '.'); ron_4_8b = new Object(); ron_4_8b.area = 'up'; ron_4_8b.portrait = 'ron'; ron_4_8b.speaker = 'Uncle Ron'; ron_4_8b.dialogue = new Array('I\'ve taken down all the attachments from your Luna, so remember to fix them on your new MAW.'); action1 = {'actionType': 'mawChange', 'charid': 'A001', 'botid': 'avenger'}; ron_4_8b.actions = new Array(action1); ron_4_8c = new Object(); ron_4_8c.area = 'down'; ron_4_8c.chatType = 'random'; ron_4_8c.portrait = _level0.charA001.portrait; ron_4_8c.speaker = _level0.heroName; ron_4_8c.dialogue = new Array('Thanks so much for this Ron. Can\'t wait to try it out.', 'Thanks so much for this Ron. Can\'t wait to try it out.'); ron_4_8c.responses = new Array('ron_4g', 'ron_4g'); ron_4_8d = new Object(); ron_4_8d.area = 'down'; ron_4_8d.portrait = _level0.charA001.portrait; ron_4_8d.speaker = _level0.heroName; ron_4_8d.dialogue = new Array('So what now?'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; ron_4_8d.actions = new Array(action1); ron_4_9 = new Object(); ron_4_9.area = 'up'; ron_4_9.portrait = 'ron'; ron_4_9.speaker = 'Uncle Ron'; ron_4_9.dialogue = new Array('Time to bring this over to Calisto.'); action1 = {'actionType': 'item', 'id': 'I007Q', 'val': 1}; action2 = {'actionType': 'quest', 'id': '8', 'val': 1}; ron_4_9.actions = new Array(action1, action2); ron_4_10 = new Object(); ron_4_10.area = 'down'; ron_4_10.portrait = _level0.charA001.portrait; ron_4_10.speaker = _level0.heroName; ron_4_10.dialogue = new Array('... If she\'s still waiting at the gorge.'); ron_4_11 = new Object(); ron_4_11.area = 'up'; ron_4_11.portrait = 'ron'; ron_4_11.speaker = 'Uncle Ron'; ron_4_11.dialogue = new Array('Oh and ' + _level0.heroName + ', once the bridge is fixed, cross it and head to Acero Terminus.'); ron_4_11a = new Object(); ron_4_11a.area = 'up'; ron_4_11a.portrait = 'ron'; ron_4_11a.speaker = 'Uncle Ron'; ron_4_11a.dialogue = new Array('Drake called to tell me that the shipment of polyboards I ordered just came in.'); ron_4_11b = new Object(); ron_4_11b.area = 'up'; ron_4_11b.portrait = 'ron'; ron_4_11b.speaker = 'Uncle Ron'; ron_4_11b.dialogue = new Array('So just go over to the terminal building to pick those up.'); action1 = {'actionType': 'quest', 'id': '24', 'val': 1}; ron_4_11b.actions = new Array(action1); ron_4_12 = new Object(); ron_4_12.area = 'down'; ron_4_12.portrait = _level0.charA001.portrait; ron_4_12.speaker = _level0.heroName; ron_4_12.dialogue = new Array('Oh joy. More work.'); ron_4b = new Array(ron_4_3, ron_4_4, ron_4_4a); ron_4c = new Array(ron_4_10); ron_4d = new Array(ron_4_8, ron_4_9, ron_4_10, ron_4_11, ron_4_11a, ron_4_11b, ron_4_12); ron_4e = new Array(ron_4_4b, ron_4_4c, ron_4_4d); ron_4f = new Array(ron_4_5, ron_4_6); ron_4g = new Array(ron_4_8d, ron_4_9, ron_4_10, ron_4_11, ron_4_11a, ron_4_11b, ron_4_12); ron_4h = new Array(ron_4_8e, ron_4_8a, ron_4_8b, ron_4_8c); ron_5_0 = new Object(); ron_5_0.area = 'down'; ron_5_0.chatType = 'compare'; ron_5_0.portrait = _level0.charA001.portrait; ron_5_0.speaker = _level0.heroName; condition1_1 = {'compareType': 'quest', 'id': '27', 'statusVal': 99}; condition1 = new Array(condition1_1); ron_5_0.conditionArray = new Array(condition1); ron_5_0.dialogue = new Array('Oh right right! I nearly forgot all about it.', 'Oh right right! I nearly forgot all about it.'); ron_5_0.responses = new Array('ron_5a', 'ron_5b'); ron_5_1 = new Object(); ron_5_1.area = 'down'; ron_5_1.portrait = 'calisto'; ron_5_1.speaker = 'Calisto'; ron_5_1.dialogue = new Array('Hey Ron, thank you so much for buildin\' that Macrogen.'); ron_5_2 = new Object(); ron_5_2.area = 'up'; ron_5_2.portrait = 'ron'; ron_5_2.speaker = 'Uncle Ron'; ron_5_2.dialogue = new Array('Ah, my former apprentice...'); ron_5_3 = new Object(); ron_5_3.area = 'up'; ron_5_3.portrait = 'ron'; ron_5_3.speaker = 'Uncle Ron'; action1 = {'actionType': 'quest', 'id': '27', 'val': 99}; ron_5_3.dialogue = new Array('Always glad to help.'); ron_5_3.actions = new Array(action1); ron_5_4 = new Object(); ron_5_4.area = 'down'; ron_5_4.portrait = 'calisto'; ron_5_4.speaker = 'Calisto'; ron_5_4.dialogue = new Array('Sounds to me like \'nearly\' is an understatement.'); ron_5 = new Array(ron_5_0); ron_5a = new Array(ron_5_1, ron_5_2, ron_5_3); ron_5b = new Array(ron_5_4); robyn_0_1 = new Object(); robyn_0_1.area = 'up'; robyn_0_1.speaker = 'Robyn'; robyn_0_1.portrait = 'robyn'; robyn_0_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '2', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '18', 'statusVal': 99}; condition2 = new Array(condition2_1); robyn_0_1.conditionArray = new Array(condition1, condition2); robyn_0_1.dialogue = new Array('Hey kiddo, haven\'t seen you around for quite a while.', 'Something I can do for you kiddo?', 'Something I can do for you kiddo?'); robyn_0_1.responses = new Array('robyn_0a', 'robyn_0b', 'robyn_0b'); robyn_0a_1 = new Object(); robyn_0a_1.area = 'down'; robyn_0a_1.speaker = _level0.heroName; robyn_0a_1.portrait = _level0.charA001.portrait; robyn_0a_1.dialogue = new Array('Yeah I\'ve been kind of busy.'); robyn_0a_2 = new Object(); robyn_0a_2.area = 'up'; robyn_0a_2.speaker = 'Robyn'; robyn_0a_2.portrait = 'robyn'; robyn_0a_2.dialogue = new Array('Hope you haven\'t been giving old Ron too much trouble.'); robyn_0a_3 = new Object(); robyn_0a_3.area = 'up'; robyn_0a_3.speaker = 'Robyn'; robyn_0a_3.portrait = 'robyn'; robyn_0a_3.dialogue = new Array('Anyway, can I get you anything?'); robyn_0a_4 = new Object(); robyn_0a_4.area = 'down'; robyn_0a_4.speaker = _level0.heroName; robyn_0a_4.portrait = _level0.charA001.portrait; robyn_0a_4.dialogue = new Array('That\'s alright, Robyn.'); robyn_0a_5 = new Object(); robyn_0a_5.area = 'down'; robyn_0a_5.speaker = _level0.heroName; robyn_0a_5.portrait = _level0.charA001.portrait; robyn_0a_5.dialogue = new Array('Just thought I\'d drop by the Clockwork Inn for a visit.'); robyn_0a_6 = new Object(); robyn_0a_6.area = 'up'; robyn_0a_6.speaker = 'Robyn'; robyn_0a_6.portrait = 'robyn'; robyn_0a_6.dialogue = new Array('Well now, isn\'t that nice?'); robyn_0a_7 = new Object(); robyn_0a_7.area = 'up'; robyn_0a_7.speaker = 'Robyn'; robyn_0a_7.portrait = 'robyn'; robyn_0a_7.dialogue = new Array('I\'ll be right here if you need something.'); action1 = {'actionType': 'quest', 'id': '2', 'val': 99}; robyn_0a_7.actions = new Array(action1); robyn_0 = new Array(robyn_0_1); robyn_0a = new Array(robyn_0a_1, robyn_0a_2, robyn_0a_3, robyn_0a_4, robyn_0a_5, robyn_0a_6, robyn_0a_7); robyn_0b_1 = new Object(); robyn_0b_1.area = 'down'; robyn_0b_1.speaker = _level0.heroName; robyn_0b_1.portrait = _level0.charA001.portrait; robyn_0b_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '7', 'statusVal': 1}; condition1_2 = {'compareType': 'item', 'id': 'I005Q', 'minVal': 1, 'maxVal': 999}; condition1 = new Array(condition1_1, condition1_2); robyn_0b_1.conditionArray = new Array(condition1); robyn_0b_1.dialogue = new Array('Anything interesting to share?', 'Elyssa wanted me to give you this bill.'); robyn_0b_1.responses = new Array('robyn_0b1', 'robyn_2'); robyn_0b_2 = new Object(); robyn_0b_2.area = 'up'; robyn_0b_2.speaker = 'Robyn'; robyn_0b_2.portrait = 'robyn'; robyn_0b_2.chatType = 'random'; robyn_0b_2.dialogue = new Array('Only my meat loaf slices. You want one?', 'Kiddo, here\'s a friendly reminder for you...', 'You know, I\'m really annoyed that I still can\'t guess Donna\'s last name.'); robyn_0b_2.responses = new Array('robyn_0d', 'robyn_0e', 'robyn_0c'); robyn_0c_1 = new Object(); robyn_0c_1.area = 'up'; robyn_0c_1.speaker = 'Robyn'; robyn_0c_1.portrait = 'robyn'; robyn_0c_1.dialogue = new Array('Elyssa would probably know though. After all, they\'re business partners.'); robyn_1_1 = new Object(); robyn_1_1.area = 'down'; robyn_1_1.speaker = _level0.heroName; robyn_1_1.portrait = _level0.charA001.portrait; robyn_1_1.dialogue = new Array('Thanks, Robyn.'); robyn_0d_1 = new Object(); robyn_0d_1.area = 'down'; robyn_0d_1.speaker = _level0.heroName; robyn_0d_1.portrait = _level0.charA001.portrait; robyn_0d_1.dialogue = new Array('Uhhh.. I appreciate the offer, but no thanks.'); robyn_0e_1 = new Object(); robyn_0e_1.area = 'up'; robyn_0e_1.speaker = 'Robyn'; robyn_0e_1.portrait = 'robyn'; robyn_0e_1.dialogue = new Array('Always remember to have a weapon selected before making an attack with a MAW.'); robyn_0e_2 = new Object(); robyn_0e_2.area = 'up'; robyn_0e_2.speaker = 'Robyn'; robyn_0e_2.portrait = 'robyn'; robyn_0e_2.dialogue = new Array('Otherwise you won\'t be able to do anything.'); robyn_1_2 = new Object(); robyn_1_2.area = 'up'; robyn_1_2.speaker = 'Robyn'; robyn_1_2.portrait = 'robyn'; robyn_1_2.dialogue = new Array('Anytime kiddo.'); robyn_0b = new Array(robyn_0b_1, robyn_0b_2); robyn_0b1 = new Array(robyn_0b_2); robyn_0c = new Array(robyn_0c_1, robyn_1_1, robyn_1_2); robyn_0d = new Array(robyn_0d_1, robyn_1_2); robyn_0e = new Array(robyn_0e_1, robyn_0e_2, robyn_1_1); robyn_2_1 = new Object(); robyn_2_1.area = 'up'; robyn_2_1.speaker = 'Robyn'; robyn_2_1.portrait = 'robyn'; robyn_2_1.dialogue = new Array('Thanks kiddo. I almost forgot about this.'); action1 = {'actionType': 'quest', 'id': '7', 'val': 2}; action2 = {'actionType': 'item', 'id': 'I005Q', 'val': -1}; robyn_2_1.actions = new Array(action1, action2); robyn_2_2 = new Object(); robyn_2_2.area = 'up'; robyn_2_2.speaker = 'Robyn'; robyn_2_2.portrait = 'robyn'; robyn_2_2.dialogue = new Array('Tell her that I\'ll pay her tomorrow.'); robyn_2_3 = new Object(); robyn_2_3.area = 'down'; robyn_2_3.speaker = _level0.heroName; robyn_2_3.portrait = _level0.charA001.portrait; robyn_2_3.dialogue = new Array('Alright.'); robyn_2 = new Array(robyn_2_1, robyn_2_2, robyn_2_3); donna_0_1 = new Object(); donna_0_1.area = 'up'; donna_0_1.speaker = 'Donna'; donna_0_1.portrait = 'donna'; donna_0_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '4', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '5', 'statusVal': 1}; condition1 = new Array(condition1_1, condition1_2); condition2_1 = {'compareType': 'quest', 'id': '4', 'statusVal': 99}; condition2_2 = {'compareType': 'quest', 'id': '5', 'statusVal': 99}; condition2 = new Array(condition2_1, condition2_2); donna_0_1.conditionArray = new Array(condition1, condition2); donna_0_1.dialogue = new Array('Hi ' + _level0.heroName + '!', 'Oh you\'re back!', 'What\'s up smarty-pants?'); donna_0_1.responses = new Array('donna_0a', 'donna_1', 'donna_1a'); donna_0_2 = new Object(); donna_0_2.area = 'down'; donna_0_2.speaker = _level0.heroName; donna_0_2.portrait = _level0.charA001.portrait; donna_0_2.dialogue = new Array('Hey Donna.'); donna_0_3 = new Object(); donna_0_3.area = 'down'; donna_0_3.speaker = _level0.heroName; donna_0_3.portrait = _level0.charA001.portrait; donna_0_3.dialogue = new Array('Wait a second, aren\'t you suppose to be at work?'); donna_0_4 = new Object(); donna_0_4.area = 'up'; donna_0_4.speaker = 'Donna'; donna_0_4.portrait = 'donna'; donna_0_4.dialogue = new Array('It\'s my day off.'); donna_0_5 = new Object(); donna_0_5.area = 'down'; donna_0_5.speaker = _level0.heroName; donna_0_5.portrait = _level0.charA001.portrait; donna_0_5.dialogue = new Array('It\'s always your day off.'); donna_0_6 = new Object(); donna_0_6.area = 'up'; donna_0_6.speaker = 'Donna'; donna_0_6.portrait = 'donna'; donna_0_6.dialogue = new Array('Oh come on, not always.'); donna_0_7 = new Object(); donna_0_7.area = 'up'; donna_0_7.speaker = 'Donna'; donna_0_7.portrait = 'donna'; donna_0_7.dialogue = new Array('Usually. Heh heh.'); donna_0_8 = new Object(); donna_0_8.area = 'down'; donna_0_8.speaker = _level0.heroName; donna_0_8.portrait = _level0.charA001.portrait; donna_0_8.dialogue = new Array('Elyssa must be pretty frustrated with you constantly goofing off like that.'); donna_0_9 = new Object(); donna_0_9.area = 'up'; donna_0_9.speaker = 'Donna'; donna_0_9.portrait = 'donna'; donna_0_9.dialogue = new Array('Ah don\'t worry about it.'); donna_0_10 = new Object(); donna_0_10.area = 'up'; donna_0_10.speaker = 'Donna'; donna_0_10.portrait = 'donna'; donna_0_10.dialogue = new Array('Say, you want to take a shot at guessing my last name today?'); donna_0_11 = new Object(); donna_0_11.area = 'down'; donna_0_11.speaker = _level0.heroName; donna_0_11.portrait = _level0.charA001.portrait; donna_0_11.dialogue = new Array('You\'re really good at changing the subject aren\'t you?'); donna_0_12 = new Object(); donna_0_12.area = 'down'; donna_0_12.speaker = _level0.heroName; donna_0_12.portrait = _level0.charA001.portrait; donna_0_12.dialogue = new Array('Well maybe later, Donna.'); donna_0_13 = new Object(); donna_0_13.area = 'up'; donna_0_13.speaker = 'Donna'; donna_0_13.portrait = 'donna'; donna_0_13.dialogue = new Array('Okay. Later then!'); action1 = {'actionType': 'quest', 'id': '4', 'val': 99}; action2 = {'actionType': 'quest', 'id': '5', 'val': 1}; donna_0_13.actions = new Array(action1, action2); donna_0 = new Array(donna_0_1); donna_0a = new Array(donna_0_2, donna_0_3, donna_0_4, donna_0_5, donna_0_6, donna_0_7, donna_0_8, donna_0_9, donna_0_10, donna_0_11, donna_0_12, donna_0_13); donna_1_1 = new Object(); donna_1_1.area = 'down'; donna_1_1.chatType = 'choice'; donna_1_1.portrait = _level0.charA001.portrait; donna_1_1.speaker = _level0.heroName; donna_1_1.dialogue = new Array('Just wanted to chat, Donna.', 'I\'d like to take a shot at guessing that last name of yours.'); donna_1_1.responses = new Array('donna_1a', 'donna_1b'); donna_1a_1 = new Object(); donna_1a_1.area = 'down'; donna_1a_1.speaker = _level0.heroName; donna_1a_1.portrait = _level0.charA001.portrait; donna_1a_1.dialogue = new Array('Just wanted to chat, Donna.'); donna_1b_1 = new Object(); donna_1b_1.area = 'down'; donna_1b_1.speaker = _level0.heroName; donna_1b_1.portrait = _level0.charA001.portrait; donna_1b_1.dialogue = new Array('I\'d like to take a shot at guessing that last name of yours.'); donna_1a_2 = new Object(); donna_1a_2.area = 'up'; donna_1a_2.speaker = 'Donna'; donna_1a_2.portrait = 'donna'; donna_1a_2.dialogue = new Array('Oh okay. You know what...'); donna_1a_3 = new Object(); donna_1a_3.area = 'up'; donna_1a_3.speaker = 'Donna'; donna_1a_3.portrait = 'donna'; donna_1a_3.chatType = 'random'; donna_1a_3.dialogue = new Array('I had this uncle who once went into a MAW battle without equipping any weapons.', 'I love lemon pie.'); donna_1a_3.responses = new Array('donna_1f', 'donna_1g'); donna_1f_1 = new Object(); donna_1f_1.area = 'up'; donna_1f_1.speaker = 'Donna'; donna_1f_1.portrait = 'donna'; donna_1f_1.dialogue = new Array('The poor guy couldn\'t do anything at all to win.'); donna_1f_2 = new Object(); donna_1f_2.area = 'down'; donna_1f_2.speaker = _level0.heroName; donna_1f_2.portrait = _level0.charA001.portrait; donna_1f_2.dialogue = new Array('Didn\'t he at least try to escape from the battle?'); donna_1f_3 = new Object(); donna_1f_3.area = 'up'; donna_1f_3.speaker = 'Donna'; donna_1f_3.portrait = 'donna'; donna_1f_3.dialogue = new Array('Sure he did! He exited his MAW and ran for his life.'); donna_1f_4 = new Object(); donna_1f_4.area = 'up'; donna_1f_4.speaker = 'Donna'; donna_1f_4.portrait = 'donna'; donna_1f_4.dialogue = new Array('Unfortunately, the enemy MAW stepped on him. Poor Uncle Looney.'); donna_1f_5 = new Object(); donna_1f_5.area = 'down'; donna_1f_5.speaker = _level0.heroName; donna_1f_5.portrait = _level0.charA001.portrait; donna_1f_5.dialogue = new Array('No comment.'); donna_1g_1 = new Object(); donna_1g_1.area = 'down'; donna_1g_1.speaker = _level0.heroName; donna_1g_1.portrait = _level0.charA001.portrait; donna_1g_1.dialogue = new Array('Gee, now there\'s a comforting thought.'); donna_1 = new Array(donna_1_1); donna_1a = new Array(donna_1a_1, donna_1a_2, donna_1a_3); donna_1f = new Array(donna_1f_1, donna_1f_2, donna_1f_3, donna_1f_4, donna_1f_5); donna_1g = new Array(donna_1g_1); donna_1b_2 = new Object(); donna_1b_2.area = 'up'; donna_1b_2.speaker = 'Donna'; donna_1b_2.portrait = 'donna'; donna_1b_2.dialogue = new Array('Oh ho... This should be interesting!'); donna_1b_3 = new Object(); donna_1b_3.area = 'down'; donna_1b_3.speaker = _level0.heroName; donna_1b_3.portrait = _level0.charA001.portrait; donna_1b_3.chatType = 'password'; donna_1b_3.dialogue = new Array('troy', 'drew', 'moss', 'pinciotti', 'martin', 'tello'); donna_1b_3.responses = new Array('donna_1c', 'donna_1d', 'donna_1e', 'donna_1d2', 'donna_1d3', 'donna_1d4', 'donna_1d5'); donna_1c_1 = new Object(); donna_1c_1.area = 'up'; donna_1c_1.speaker = 'Donna'; donna_1c_1.portrait = 'donna'; donna_1c_1.dialogue = new Array('*EHH* Wrong answer!'); donna_1d_1 = new Object(); donna_1d_1.area = 'up'; donna_1d_1.speaker = 'Donna'; donna_1d_1.portrait = 'donna'; donna_1d_1.dialogue = new Array('Wow, someone\'s clearly been reading too many comic books.'); action1 = {'actionType': 'quest', 'id': '59', 'val': 99}; action2 = {'actionType': 'quest', 'id': '60', 'val': 1}; action3 = {'actionType': 'quest', 'id': '61', 'val': 1}; action4 = {'actionType': 'quest', 'id': '62', 'val': 1}; action5 = {'actionType': 'quest', 'id': '63', 'val': 1}; donna_1d_1.actions = new Array(action1, action2, action3, action4, action5); donna_1d_2 = new Object(); donna_1d_2.area = 'up'; donna_1d_2.speaker = 'Donna'; donna_1d_2.portrait = 'donna'; donna_1d_2.dialogue = new Array('Geez... Do I look like someone who\'s into politics?'); action1 = {'actionType': 'quest', 'id': '59', 'val': 1}; action2 = {'actionType': 'quest', 'id': '60', 'val': 99}; action3 = {'actionType': 'quest', 'id': '61', 'val': 1}; action4 = {'actionType': 'quest', 'id': '62', 'val': 1}; action5 = {'actionType': 'quest', 'id': '63', 'val': 1}; donna_1d_2.actions = new Array(action1, action2, action3, action4, action5); donna_1d_3 = new Object(); donna_1d_3.area = 'up'; donna_1d_3.speaker = 'Donna'; donna_1d_3.portrait = 'donna'; donna_1d_3.dialogue = new Array('Ah, I can see that you\'re into the flowery era of peace, love and classic rock, but...'); action1 = {'actionType': 'quest', 'id': '59', 'val': 1}; action2 = {'actionType': 'quest', 'id': '60', 'val': 1}; action3 = {'actionType': 'quest', 'id': '61', 'val': 99}; action4 = {'actionType': 'quest', 'id': '62', 'val': 1}; action5 = {'actionType': 'quest', 'id': '63', 'val': 1}; donna_1d_3.actions = new Array(action1, action2, action3, action4, action5); donna_1d_4 = new Object(); donna_1d_4.area = 'up'; donna_1d_4.speaker = 'Donna'; donna_1d_4.portrait = 'donna'; donna_1d_4.dialogue = new Array('What makes you think that I live all the way on the west coast?'); action1 = {'actionType': 'quest', 'id': '59', 'val': 1}; action2 = {'actionType': 'quest', 'id': '60', 'val': 1}; action3 = {'actionType': 'quest', 'id': '61', 'val': 1}; action4 = {'actionType': 'quest', 'id': '62', 'val': 99}; action5 = {'actionType': 'quest', 'id': '63', 'val': 1}; donna_1d_4.actions = new Array(action1, action2, action3, action4, action5); donna_1d_5 = new Object(); donna_1d_5.area = 'up'; donna_1d_5.speaker = 'Donna'; donna_1d_5.portrait = 'donna'; donna_1d_5.dialogue = new Array('I am SO not the artist that you think I am.'); action1 = {'actionType': 'quest', 'id': '59', 'val': 1}; action2 = {'actionType': 'quest', 'id': '60', 'val': 1}; action3 = {'actionType': 'quest', 'id': '61', 'val': 1}; action4 = {'actionType': 'quest', 'id': '62', 'val': 1}; action5 = {'actionType': 'quest', 'id': '63', 'val': 99}; donna_1d_5.actions = new Array(action1, action2, action3, action4, action5); donna_1e_1 = new Object(); donna_1e_1.area = 'up'; donna_1e_1.speaker = 'Donna'; donna_1e_1.portrait = 'donna'; donna_1e_1.dialogue = new Array('You got it right! That\'s unbelievable!'); donna_1e_2 = new Object(); donna_1e_2.area = 'up'; donna_1e_2.speaker = 'Donna'; donna_1e_2.portrait = 'donna'; donna_1e_2.dialogue = new Array('Just for that, I\'m giving you this voucher from our shop.'); action1 = {'actionType': 'quest', 'id': '5', 'val': 99}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': 1}; donna_1e_2.actions = new Array(action1, action2); donna_1e_3 = new Object(); donna_1e_3.area = 'down'; donna_1e_3.speaker = _level0.heroName; donna_1e_3.portrait = _level0.charA001.portrait; donna_1e_3.dialogue = new Array('Gee thanks, Donna!'); donna_1c_2 = new Object(); donna_1c_2.area = 'up'; donna_1c_2.speaker = 'Donna'; donna_1c_2.portrait = 'donna'; donna_1c_2.dialogue = new Array('Better luck next time, ' + _level0.heroName + '.'); donna_1b = new Array(donna_1b_1, donna_1b_2, donna_1b_3); donna_1c = new Array(donna_1c_1, donna_1c_2); donna_1d = new Array(donna_1d_1, donna_1c_1, donna_1c_2); donna_1e = new Array(donna_1e_1, donna_1e_2, donna_1e_3); donna_1d2 = new Array(donna_1d_2, donna_1c_1, donna_1c_2); donna_1d3 = new Array(donna_1d_3, donna_1c_1, donna_1c_2); donna_1d4 = new Array(donna_1d_4, donna_1c_1, donna_1c_2); donna_1d5 = new Array(donna_1d_5, donna_1c_1, donna_1c_2); zocra_1_1 = new Object(); zocra_1_1.area = 'up'; zocra_1_1.speaker = 'Captain Zocra'; zocra_1_1.portrait = 'malenpc'; zocra_1_1.dialogue = new Array('Venture out at your own risk. There are a lot of dangerous creatures in the jungle. Make sure that you are well prepared before moving into the deeper regions.'); zocra_1_2 = new Object(); zocra_1_2.area = 'down'; zocra_1_2.speaker = _level0.heroName; zocra_1_2.portrait = _level0.charA001.portrait; zocra_1_2.dialogue = new Array('Thanks! I will take note.'); zocra_1 = new Array(zocra_1_1, zocra_1_2); elyssa_1_1 = new Object(); elyssa_1_1.area = 'up'; elyssa_1_1.speaker = 'Elyssa'; elyssa_1_1.portrait = 'elyssa'; elyssa_1_1.dialogue = new Array('Hello ' + _level0.heroName + '.'); elyssa_1_2 = new Object(); elyssa_1_2.area = 'down'; elyssa_1_2.portrait = _level0.charA001.portrait; elyssa_1_2.speaker = _level0.heroName; elyssa_1_2.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '6', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '18', 'statusVal': 99}; condition2 = new Array(condition2_1); condition3_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition3_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 1}; condition3_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 1}; condition3_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 1}; condition3_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 1}; condition3_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 1}; condition3 = new Array(condition3_1, condition3_2, condition3_3, condition3_4, condition3_5, condition3_6); condition4_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition4_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 99}; condition4_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 1}; condition4_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 1}; condition4_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 1}; condition4_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 1}; condition4 = new Array(condition4_1, condition4_2, condition4_3, condition4_4, condition4_5, condition4_6); condition5_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition5_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 1}; condition5_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 99}; condition5_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 1}; condition5_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 1}; condition5_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 1}; condition5 = new Array(condition5_1, condition5_2, condition5_3, condition5_4, condition5_5, condition5_6); condition6_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition6_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 1}; condition6_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 1}; condition6_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 99}; condition6_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 1}; condition6_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 1}; condition6 = new Array(condition6_1, condition6_2, condition6_3, condition6_4, condition6_5, condition6_6); condition7_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition7_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 1}; condition7_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 1}; condition7_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 1}; condition7_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 99}; condition7_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 1}; condition7 = new Array(condition7_1, condition7_2, condition7_3, condition7_4, condition7_5, condition7_6); condition8_1 = {'compareType': 'item', 'id': 'I004Q', 'minVal': 1, 'maxVal': 999}; condition8_2 = {'compareType': 'quest', 'id': '59', 'statusVal': 1}; condition8_3 = {'compareType': 'quest', 'id': '60', 'statusVal': 1}; condition8_4 = {'compareType': 'quest', 'id': '61', 'statusVal': 1}; condition8_5 = {'compareType': 'quest', 'id': '62', 'statusVal': 1}; condition8_6 = {'compareType': 'quest', 'id': '63', 'statusVal': 99}; condition8 = new Array(condition8_1, condition8_2, condition8_3, condition8_4, condition8_5, condition8_6); condition9_1 = {'compareType': 'quest', 'id': '7', 'statusVal': 2}; condition9 = new Array(condition9_1); elyssa_1_2.conditionArray = new Array(condition1, condition2, condition3, condition4, condition5, condition6, condition7, condition8, condition9); elyssa_1_2.dialogue = new Array('How\'s business, Elyssa?', 'Hi Elyssa.', 'Hi Elyssa.', 'Hey Elyssa, I\'d like to use this voucher.', 'Hey Elyssa, I\'d like to use this voucher.', 'Hey Elyssa, I\'d like to use this voucher.', 'Hey Elyssa, I\'d like to use this voucher.', 'Hey Elyssa, I\'d like to use this voucher.', 'Hey Elyssa, I\'d like to use this voucher.', 'Robyn says she\'ll pay you tomorrow.'); elyssa_1_2.responses = new Array('elyssa_1a', 'elyssa_2', 'elyssa_2', 'elyssa_5', 'elyssa_5a', 'elyssa_5b', 'elyssa_5c', 'elyssa_5d', 'elyssa_5e', 'elyssa_6'); elyssa_1_3 = new Object(); elyssa_1_3.area = 'up'; elyssa_1_3.speaker = 'Elyssa'; elyssa_1_3.portrait = 'elyssa'; elyssa_1_3.dialogue = new Array('Quite slow actually.'); elyssa_1_4 = new Object(); elyssa_1_4.area = 'up'; elyssa_1_4.speaker = 'Elyssa'; elyssa_1_4.portrait = 'elyssa'; elyssa_1_4.dialogue = new Array('And how are things over at Ron\'s Garage sweetie?'); elyssa_1_5 = new Object(); elyssa_1_5.area = 'down'; elyssa_1_5.portrait = _level0.charA001.portrait; elyssa_1_5.speaker = _level0.heroName; elyssa_1_5.dialogue = new Array('Ron twisted his ankle yesterday, so I\'ll be running some errands for him today.'); elyssa_1_6 = new Object(); elyssa_1_6.area = 'up'; elyssa_1_6.speaker = 'Elyssa'; elyssa_1_6.portrait = 'elyssa'; elyssa_1_6.dialogue = new Array('It\'s nice that you\'re helping him out, unlike SOME people I know.'); elyssa_1_7 = new Object(); elyssa_1_7.area = 'down'; elyssa_1_7.portrait = _level0.charA001.portrait; elyssa_1_7.speaker = _level0.heroName; elyssa_1_7.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '4', 'statusVal': 99}; condition1 = new Array(condition1_1); elyssa_1_7.conditionArray = new Array(condition1); elyssa_1_7.dialogue = new Array('Donna\'s not here today?', 'You mean Donna? She\'s over at the Clockwork Inn.'); elyssa_1_7.responses = new Array('elyssa_1b', 'elyssa_1c'); elyssa_1_8 = new Object(); elyssa_1_8.area = 'up'; elyssa_1_8.speaker = 'Elyssa'; elyssa_1_8.portrait = 'elyssa'; elyssa_1_8.dialogue = new Array('That girl... I should just cut her share of the profits one day.'); elyssa_1_9 = new Object(); elyssa_1_9.area = 'up'; elyssa_1_9.speaker = 'Elyssa'; elyssa_1_9.portrait = 'elyssa'; elyssa_1_9.dialogue = new Array('No she\'s not.'); elyssa_1_10 = new Object(); elyssa_1_10.area = 'up'; elyssa_1_10.speaker = 'Elyssa'; elyssa_1_10.portrait = 'elyssa'; elyssa_1_10.dialogue = new Array('Even though she is my best friend, sometimes I can\'t help but wonder why I put up with her.'); elyssa_1_11 = new Object(); elyssa_1_11.area = 'up'; elyssa_1_11.speaker = 'Elyssa'; elyssa_1_11.portrait = 'elyssa'; elyssa_1_11.dialogue = new Array('Anyway, feel free to look around, sweetie. Maybe you can help speed-up business for today.'); action1 = {'actionType': 'quest', 'id': '6', 'val': 99}; elyssa_1_11.actions = new Array(action1); elyssa_1_12 = new Object(); elyssa_1_12.area = 'down'; elyssa_1_12.portrait = _level0.charA001.portrait; elyssa_1_12.speaker = _level0.heroName; elyssa_1_12.dialogue = new Array('Sure thing.'); elyssa_1 = new Array(elyssa_1_1, elyssa_1_2); elyssa_1a = new Array(elyssa_1_3, elyssa_1_4, elyssa_1_5, elyssa_1_6, elyssa_1_7); elyssa_1b = new Array(elyssa_1_9, elyssa_1_10, elyssa_1_11, elyssa_1_12); elyssa_1c = new Array(elyssa_1_8, elyssa_1_10, elyssa_1_11, elyssa_1_12); elyssa_2_1 = new Object(); elyssa_2_1.area = 'up'; elyssa_2_1.speaker = 'Elyssa'; elyssa_2_1.portrait = 'elyssa'; elyssa_2_1.chatType = 'random'; elyssa_2_1.dialogue = new Array('I wish Donna was here.', 'Sometimes I can\'t help but feel proud about this shop.', 'Sweetie, can you do me a favour?'); elyssa_2_1.responses = new Array('elyssa_4', 'elyssa_2a', 'elyssa_3'); elyssa_2_2 = new Object(); elyssa_2_2.area = 'down'; elyssa_2_2.portrait = _level0.charA001.portrait; elyssa_2_2.speaker = _level0.heroName; elyssa_2_2.dialogue = new Array('How long has it been since you and Donna started this?'); elyssa_2_3 = new Object(); elyssa_2_3.area = 'up'; elyssa_2_3.speaker = 'Elyssa'; elyssa_2_3.portrait = 'elyssa'; elyssa_2_3.dialogue = new Array('*Sigh* Look at all the clothes. Aren\'t they beautiful?'); elyssa_2_4 = new Object(); elyssa_2_4.area = 'up'; elyssa_2_4.speaker = 'Elyssa'; elyssa_2_4.portrait = 'elyssa'; elyssa_2_4.dialogue = new Array('I\'m sorry, did you say something?'); elyssa_2_5 = new Object(); elyssa_2_5.area = 'down'; elyssa_2_5.portrait = _level0.charA001.portrait; elyssa_2_5.speaker = _level0.heroName; elyssa_2_5.dialogue = new Array('...'); elyssa_2_6 = new Object(); elyssa_2_6.area = 'down'; elyssa_2_6.portrait = _level0.charA001.portrait; elyssa_2_6.speaker = _level0.heroName; elyssa_2_6.dialogue = new Array('Never mind.'); elyssa_2 = new Array(elyssa_2_1); elyssa_2a = new Array(elyssa_2_2, elyssa_2_3, elyssa_2_4, elyssa_2_5, elyssa_2_6); elyssa_3_0 = new Object(); elyssa_3_0.area = 'down'; elyssa_3_0.portrait = _level0.charA001.portrait; elyssa_3_0.speaker = _level0.heroName; elyssa_3_0.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '7', 'statusVal': 1}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '7', 'statusVal': 99}; condition2 = new Array(condition2_1); elyssa_3_0.conditionArray = new Array(condition1, condition2); elyssa_3_0.dialogue = new Array('What is it?', 'But I\'m already doing you a favour.', 'What is it?'); elyssa_3_0.responses = new Array('elyssa_3a', 'elyssa_3b', 'elyssa_3c'); elyssa_3_0a = new Object(); elyssa_3_0a.area = 'up'; elyssa_3_0a.speaker = 'Elyssa'; elyssa_3_0a.portrait = 'elyssa'; elyssa_3_0a.dialogue = new Array('A simple bill delivery.'); elyssa_3_0b = new Object(); elyssa_3_0b.area = 'up'; elyssa_3_0b.speaker = 'Elyssa'; elyssa_3_0b.portrait = 'elyssa'; elyssa_3_0b.dialogue = new Array('I need you to do me another one.'); elyssa_3_1 = new Object(); elyssa_3_1.area = 'down'; elyssa_3_1.portrait = _level0.charA001.portrait; elyssa_3_1.speaker = _level0.heroName; elyssa_3_1.chatType = 'choice'; elyssa_3_1.dialogue = new Array('Yes.', 'No.'); elyssa_3_1.responses = new Array('elyssa_3d', 'elyssa_3e'); elyssa_3_2 = new Object(); elyssa_3_2.area = 'down'; elyssa_3_2.portrait = _level0.charA001.portrait; elyssa_3_2.speaker = _level0.heroName; elyssa_3_2.dialogue = new Array('I can do that.'); elyssa_3_2a = new Object(); elyssa_3_2a.area = 'down'; elyssa_3_2a.portrait = _level0.charA001.portrait; elyssa_3_2a.speaker = _level0.heroName; elyssa_3_2a.dialogue = new Array('What is it this time?'); elyssa_3_3 = new Object(); elyssa_3_3.area = 'down'; elyssa_3_3.portrait = _level0.charA001.portrait; elyssa_3_3.speaker = _level0.heroName; elyssa_3_3.dialogue = new Array('Sorry Elyssa, I\'m kind of busy right now.'); elyssa_3_4 = new Object(); elyssa_3_4.area = 'up'; elyssa_3_4.speaker = 'Elyssa'; elyssa_3_4.portrait = 'elyssa'; elyssa_3_4.dialogue = new Array('That\'s okay sweetie. I\'ll just do it later then.'); elyssa_3_5 = new Object(); elyssa_3_5.area = 'up'; elyssa_3_5.speaker = 'Elyssa'; elyssa_3_5.portrait = 'elyssa'; elyssa_3_5.dialogue = new Array('Buy something.'); elyssa_3_6 = new Object(); elyssa_3_6.area = 'up'; elyssa_3_6.speaker = 'Elyssa'; elyssa_3_6.portrait = 'elyssa'; elyssa_3_6.dialogue = new Array('Thank you. Just send this bill over to Robyn at the inn.'); action1 = {'actionType': 'quest', 'id': '7', 'val': 1}; elyssa_3_6.actions = new Array(action1); elyssa_3_7 = new Object(); elyssa_3_7.area = 'up'; elyssa_3_7.speaker = 'Elyssa'; elyssa_3_7.portrait = 'elyssa'; elyssa_3_7.dialogue = new Array('Here, take it.'); elyssa_3_8 = new Object(); elyssa_3_8.area = 'down'; elyssa_3_8.portrait = _level0.charA001.portrait; elyssa_3_8.speaker = _level0.heroName; elyssa_3_8.dialogue = new Array('"Goods received by D.Drew."'); elyssa_3_9 = new Object(); elyssa_3_9.area = 'down'; elyssa_3_9.portrait = _level0.charA001.portrait; elyssa_3_9.speaker = _level0.heroName; elyssa_3_9.dialogue = new Array('Um... Elyssa, this isn\'t a bill, it\'s a receipt.'); elyssa_3_10 = new Object(); elyssa_3_10.area = 'up'; elyssa_3_10.speaker = 'Elyssa'; elyssa_3_10.portrait = 'elyssa'; elyssa_3_10.dialogue = new Array('Oh! Sorry about that, sweetie.'); elyssa_3_11 = new Object(); elyssa_3_11.area = 'up'; elyssa_3_11.speaker = 'Elyssa'; elyssa_3_11.portrait = 'elyssa'; elyssa_3_11.dialogue = new Array('Here\'s the right one.'); action1 = {'actionType': 'item', 'id': 'I005Q', 'val': 1}; elyssa_3_11.actions = new Array(action1); elyssa_3_12 = new Object(); elyssa_3_12.area = 'down'; elyssa_3_12.portrait = _level0.charA001.portrait; elyssa_3_12.speaker = _level0.heroName; elyssa_3_12.dialogue = new Array('Okay.'); elyssa_3 = new Array(elyssa_3_0); elyssa_3a = new Array(elyssa_3_0a, elyssa_3_1); elyssa_3b = new Array(elyssa_3_0b, elyssa_3_2a, elyssa_3_5); elyssa_3c = new Array(elyssa_3_5); elyssa_3d = new Array(elyssa_3_2, elyssa_3_6, elyssa_3_7, elyssa_3_8, elyssa_3_9, elyssa_3_10, elyssa_3_11, elyssa_3_12); elyssa_3e = new Array(elyssa_3_3, elyssa_3_4); elyssa_4_1 = new Object(); elyssa_4_1.area = 'up'; elyssa_4_1.speaker = 'Elyssa'; elyssa_4_1.portrait = 'elyssa'; elyssa_4_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '5', 'statusVal': 1}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '5', 'statusVal': 99}; condition2 = new Array(condition2_1); elyssa_4_1.conditionArray = new Array(condition1, condition2); elyssa_4_1.dialogue = new Array('It can get so boring sometimes.', 'It can get so boring sometimes.', 'It can get so boring sometimes.'); elyssa_4_1.responses = new Array('elyssa_4a', 'elyssa_4b', 'elyssa_4a'); elyssa_4_2 = new Object(); elyssa_4_2.area = 'down'; elyssa_4_2.portrait = _level0.charA001.portrait; elyssa_4_2.speaker = _level0.heroName; elyssa_4_2.dialogue = new Array('Why don\'t you just... take a break?'); elyssa_4_3 = new Object(); elyssa_4_3.area = 'up'; elyssa_4_3.speaker = 'Elyssa'; elyssa_4_3.portrait = 'elyssa'; elyssa_4_3.dialogue = new Array('And I suppose you\'ll run the store for me while I\'m away, right ' + _level0.heroName + '?'); elyssa_4_4 = new Object(); elyssa_4_4.area = 'down'; elyssa_4_4.portrait = _level0.charA001.portrait; elyssa_4_4.speaker = _level0.heroName; elyssa_4_4.dialogue = new Array('Okay, point taken.'); elyssa_4_5 = new Object(); elyssa_4_5.area = 'down'; elyssa_4_5.portrait = _level0.charA001.portrait; elyssa_4_5.speaker = _level0.heroName; elyssa_4_5.chatType = 'choice'; elyssa_4_5.dialogue = new Array('Take a break then.', 'Do you know Donna\'s last name?'); elyssa_4_5.responses = new Array('elyssa_4a', 'elyssa_4c'); elyssa_4_6 = new Object(); elyssa_4_6.area = 'down'; elyssa_4_6.portrait = _level0.charA001.portrait; elyssa_4_6.speaker = _level0.heroName; elyssa_4_6.dialogue = new Array('Speaking of Donna, do you know her last name by any chance?'); elyssa_4_7 = new Object(); elyssa_4_7.area = 'up'; elyssa_4_7.speaker = 'Elyssa'; elyssa_4_7.portrait = 'elyssa'; elyssa_4_7.dialogue = new Array('Sorry sweetie, I made a pact with her about this. My lips sealed when it comes to this subject.'); elyssa_4_8 = new Object(); elyssa_4_8.area = 'down'; elyssa_4_8.portrait = _level0.charA001.portrait; elyssa_4_8.speaker = _level0.heroName; elyssa_4_8.dialogue = new Array('Oh well.'); elyssa_4 = new Array(elyssa_4_1); elyssa_4a = new Array(elyssa_4_2, elyssa_4_3, elyssa_4_4); elyssa_4b = new Array(elyssa_4_5); elyssa_4c = new Array(elyssa_4_6, elyssa_4_7, elyssa_4_8); elyssa_5_1 = new Object(); elyssa_5_1.area = 'up'; elyssa_5_1.speaker = 'Elyssa'; elyssa_5_1.portrait = 'elyssa'; elyssa_5_1.dialogue = new Array('Sure. Just give me a minute here...'); elyssa_5_2 = new Object(); elyssa_5_2.area = 'up'; elyssa_5_2.speaker = 'Elyssa'; elyssa_5_2.portrait = 'elyssa'; elyssa_5_2.dialogue = new Array('Here you go sweetie. A free pair of glass goggles.'); elyssa_5_3 = new Object(); elyssa_5_3.area = 'down'; elyssa_5_3.portrait = _level0.charA001.portrait; elyssa_5_3.speaker = _level0.heroName; elyssa_5_3.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C01AH', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_3.actions = new Array(action1, action2); elyssa_5_4 = new Object(); elyssa_5_4.area = 'up'; elyssa_5_4.speaker = 'Elyssa'; elyssa_5_4.portrait = 'elyssa'; elyssa_5_4.dialogue = new Array('Come back soon.'); elyssa_5_5 = new Object(); elyssa_5_5.area = 'up'; elyssa_5_5.speaker = 'Elyssa'; elyssa_5_5.portrait = 'elyssa'; elyssa_5_5.dialogue = new Array('Here you go sweetie. A free pair of star-shaped earrings.'); elyssa_5_6 = new Object(); elyssa_5_6.area = 'down'; elyssa_5_6.portrait = _level0.charA001.portrait; elyssa_5_6.speaker = _level0.heroName; elyssa_5_6.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C02AH', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_6.actions = new Array(action1, action2); elyssa_5_7 = new Object(); elyssa_5_7.area = 'up'; elyssa_5_7.speaker = 'Elyssa'; elyssa_5_7.portrait = 'elyssa'; elyssa_5_7.dialogue = new Array('Here you go sweetie. A nice, little election badge.'); elyssa_5_8 = new Object(); elyssa_5_8.area = 'down'; elyssa_5_8.portrait = _level0.charA001.portrait; elyssa_5_8.speaker = _level0.heroName; elyssa_5_8.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C03AA', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_8.actions = new Array(action1, action2); elyssa_5_9 = new Object(); elyssa_5_9.area = 'up'; elyssa_5_9.speaker = 'Elyssa'; elyssa_5_9.portrait = 'elyssa'; elyssa_5_9.dialogue = new Array('Here you go sweetie. A nice pair of bell bottoms.'); elyssa_5_10 = new Object(); elyssa_5_10.area = 'down'; elyssa_5_10.portrait = _level0.charA001.portrait; elyssa_5_10.speaker = _level0.heroName; elyssa_5_10.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C05AB', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_10.actions = new Array(action1, action2); elyssa_5_11 = new Object(); elyssa_5_11.area = 'up'; elyssa_5_11.speaker = 'Elyssa'; elyssa_5_11.portrait = 'elyssa'; elyssa_5_11.dialogue = new Array('Here you go sweetie. A beautiful, black leather jacket.'); elyssa_5_12 = new Object(); elyssa_5_12.area = 'down'; elyssa_5_12.portrait = _level0.charA001.portrait; elyssa_5_12.speaker = _level0.heroName; elyssa_5_12.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C05AT', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_12.actions = new Array(action1, action2); elyssa_5_13 = new Object(); elyssa_5_13.area = 'up'; elyssa_5_13.speaker = 'Elyssa'; elyssa_5_13.portrait = 'elyssa'; elyssa_5_13.dialogue = new Array('Here you go sweetie. A nice, little artist cap.'); elyssa_5_14 = new Object(); elyssa_5_14.area = 'down'; elyssa_5_14.portrait = _level0.charA001.portrait; elyssa_5_14.speaker = _level0.heroName; elyssa_5_14.dialogue = new Array('Thanks.'); action1 = {'actionType': 'item', 'id': 'C03AH', 'val': 1}; action2 = {'actionType': 'item', 'id': 'I004Q', 'val': -1}; elyssa_5_14.actions = new Array(action1, action2); elyssa_5 = new Array(elyssa_5_1, elyssa_5_2, elyssa_5_3, elyssa_5_4); elyssa_5a = new Array(elyssa_5_1, elyssa_5_5, elyssa_5_6, elyssa_5_4); elyssa_5b = new Array(elyssa_5_1, elyssa_5_7, elyssa_5_8, elyssa_5_4); elyssa_5c = new Array(elyssa_5_1, elyssa_5_9, elyssa_5_10, elyssa_5_4); elyssa_5d = new Array(elyssa_5_1, elyssa_5_11, elyssa_5_12, elyssa_5_4); elyssa_5e = new Array(elyssa_5_1, elyssa_5_13, elyssa_5_14, elyssa_5_4); elyssa_6_1 = new Object(); elyssa_6_1.area = 'up'; elyssa_6_1.speaker = 'Elyssa'; elyssa_6_1.portrait = 'elyssa'; elyssa_6_1.dialogue = new Array('Thank you ' + _level0.heroName + '.'); elyssa_6_2 = new Object(); elyssa_6_2.area = 'up'; elyssa_6_2.speaker = 'Elyssa'; elyssa_6_2.portrait = 'elyssa'; elyssa_6_2.dialogue = new Array('And here\'s a small fee for the trouble.'); action1 = {'actionType': 'credits', 'val': 50}; action2 = {'actionType': 'quest', 'id': '7', 'val': 99}; elyssa_6_2.actions = new Array(action1, action2); elyssa_6 = new Array(elyssa_6_1, elyssa_6_2); clare_1_1 = new Object(); clare_1_1.area = 'up'; clare_1_1.speaker = 'Clare'; clare_1_1.portrait = 'femalenpc'; clare_1_1.dialogue = new Array('Hmm.. I hope to travel to other parts of Sios someday..'); clare_1_2 = new Object(); clare_1_2.area = 'down'; clare_1_2.portrait = _level0.charA001.portrait; clare_1_2.speaker = _level0.heroName; clare_1_2.dialogue = new Array('I\'d love to do so too!'); clare_1 = new Array(clare_1_1, clare_1_2); chowfun_1_1 = new Object(); chowfun_1_1.area = 'up'; chowfun_1_1.speaker = 'Chow Fun'; chowfun_1_1.portrait = 'chowfun'; chowfun_1_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '12', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '16', 'statusVal': 99}; condition2 = new Array(condition2_1); chowfun_1_1.conditionArray = new Array(condition1, condition2); chowfun_1_1.dialogue = new Array(_level0.heroName + '! Nice to see you today.', 'Hello ' + _level0.heroName + '! What can I do for you?', 'You...'); chowfun_1_1.responses = new Array('chowfun_1a', 'chowfun_2', 'chowfun_3g'); chowfun_1_2 = new Object(); chowfun_1_2.area = 'up'; chowfun_1_2.speaker = 'Chow Fun'; chowfun_1_2.portrait = 'chowfun'; chowfun_1_2.dialogue = new Array('You here for my fried rice?'); chowfun_1_3 = new Object(); chowfun_1_3.area = 'down'; chowfun_1_3.speaker = _level0.heroName; chowfun_1_3.portrait = _level0.charA001.portrait; chowfun_1_3.dialogue = new Array('Um.. No Mr Chow.'); chowfun_1_4 = new Object(); chowfun_1_4.area = 'up'; chowfun_1_4.speaker = 'Chow Fun'; chowfun_1_4.portrait = 'chowfun'; chowfun_1_4.dialogue = new Array('Buy fishing materials?'); chowfun_1_5 = new Object(); chowfun_1_5.area = 'down'; chowfun_1_5.speaker = _level0.heroName; chowfun_1_5.portrait = _level0.charA001.portrait; chowfun_1_5.dialogue = new Array('Um.. No it isn\'t that either.'); chowfun_1_6 = new Object(); chowfun_1_6.area = 'up'; chowfun_1_6.speaker = 'Chow Fun'; chowfun_1_6.portrait = 'chowfun'; chowfun_1_6.dialogue = new Array('Sell me fish?'); chowfun_1_7 = new Object(); chowfun_1_7.area = 'down'; chowfun_1_7.speaker = _level0.heroName; chowfun_1_7.portrait = _level0.charA001.portrait; chowfun_1_7.dialogue = new Array('Ah not really. I\'m just here to hang out at the Cove.'); chowfun_1_8 = new Object(); chowfun_1_8.area = 'up'; chowfun_1_8.speaker = 'Chow Fun'; chowfun_1_8.portrait = 'chowfun'; chowfun_1_8.dialogue = new Array('Oh good good. Azura Cove is always nice, yes?'); chowfun_1_9 = new Object(); chowfun_1_9.area = 'down'; chowfun_1_9.speaker = _level0.heroName; chowfun_1_9.portrait = _level0.charA001.portrait; chowfun_1_9.dialogue = new Array('Yes it is. I\'ll see you around Mr Chow.'); action1 = {'actionType': 'quest', 'id': '12', 'val': 99}; chowfun_1_9.actions = new Array(action1); chowfun_1_10 = new Object(); chowfun_1_10.area = 'up'; chowfun_1_10.speaker = 'Chow Fun'; chowfun_1_10.portrait = 'chowfun'; chowfun_1_10.dialogue = new Array('Okay. If you hungry, you come to my shop anytime. No problem.'); chowfun_1 = new Array(chowfun_1_1); chowfun_1a = new Array(chowfun_1_2, chowfun_1_3, chowfun_1_4, chowfun_1_5, chowfun_1_6, chowfun_1_7, chowfun_1_8, chowfun_1_9, chowfun_1_10); chowfun_2_1 = new Object(); chowfun_2_1.area = 'down'; chowfun_2_1.chatType = 'choice'; chowfun_2_1.speaker = _level0.heroName; chowfun_2_1.portrait = _level0.charA001.portrait; chowfun_2_1.dialogue = new Array('Fried Rice', 'Chat'); chowfun_2_1.responses = new Array('chowfun_3', 'chowfun_2a'); chowfun_2_2 = new Object(); chowfun_2_2.area = 'down'; chowfun_2_2.speaker = _level0.heroName; chowfun_2_2.portrait = _level0.charA001.portrait; chowfun_2_2.dialogue = new Array('Let\'s just chat Mr Chow.'); chowfun_2_3 = new Object(); chowfun_2_3.area = 'up'; chowfun_2_3.speaker = 'Chow Fun'; chowfun_2_3.portrait = 'chowfun'; chowfun_2_3.dialogue = new Array('Okay, we talk.'); chowfun_2_4 = new Object(); chowfun_2_4.area = 'up'; chowfun_2_4.speaker = 'Chow Fun'; chowfun_2_4.portrait = 'chowfun'; chowfun_2_4.chatType = 'random'; chowfun_2_4.dialogue = new Array('I have a MAW you know?', 'There are many important things in fishing.', 'Do you know how to fish?', 'If you catch any fish, you come to me.', 'Come to my shop if you need fishing items.'); chowfun_2_4.responses = new Array('chowfun_2b', 'chowfun_2c', 'chowfun_2d', 'chowfun_2e', 'chowfun_2f'); chowfun_2_5 = new Object(); chowfun_2_5.area = 'down'; chowfun_2_5.speaker = _level0.heroName; chowfun_2_5.portrait = _level0.charA001.portrait; chowfun_2_5.dialogue = new Array('Sure Mr Chow, you\'ve mentioned it before.'); chowfun_2_6 = new Object(); chowfun_2_6.area = 'up'; chowfun_2_6.speaker = 'Chow Fun'; chowfun_2_6.portrait = 'chowfun'; chowfun_2_6.dialogue = new Array('It\'s out in the back.'); chowfun_2_7 = new Object(); chowfun_2_7.area = 'up'; chowfun_2_7.speaker = 'Chow Fun'; chowfun_2_7.portrait = 'chowfun'; chowfun_2_7.dialogue = new Array('I think I make good MAW pilot.'); chowfun_2_8 = new Object(); chowfun_2_8.area = 'down'; chowfun_2_8.speaker = _level0.heroName; chowfun_2_8.portrait = _level0.charA001.portrait; chowfun_2_8.dialogue = new Array('But don\'t you specialise in cooking and fishing?'); chowfun_2_9 = new Object(); chowfun_2_9.area = 'up'; chowfun_2_9.speaker = 'Chow Fun'; chowfun_2_9.portrait = 'chowfun'; chowfun_2_9.dialogue = new Array('Ah you young people never believe me. Maybe one day I show you.'); chowfun_2_10 = new Object(); chowfun_2_10.area = 'down'; chowfun_2_10.speaker = _level0.heroName; chowfun_2_10.portrait = _level0.charA001.portrait; chowfun_2_10.dialogue = new Array('Like what?'); chowfun_2_10a = new Object(); chowfun_2_10a.area = 'down'; chowfun_2_10a.chatType = 'choice'; chowfun_2_10a.speaker = _level0.heroName; chowfun_2_10a.portrait = _level0.charA001.portrait; chowfun_2_10a.dialogue = new Array('Yes', 'No'); chowfun_2_10a.responses = new Array('chowfun_2g', 'chowfun_2h'); chowfun_2_10b = new Object(); chowfun_2_10b.area = 'down'; chowfun_2_10b.speaker = _level0.heroName; chowfun_2_10b.portrait = _level0.charA001.portrait; chowfun_2_10b.dialogue = new Array('Not really.'); chowfun_2_10c = new Object(); chowfun_2_10c.area = 'down'; chowfun_2_10c.speaker = _level0.heroName; chowfun_2_10c.portrait = _level0.charA001.portrait; chowfun_2_10c.dialogue = new Array('I\'ve done it before.'); chowfun_2_10d = new Object(); chowfun_2_10d.area = 'up'; chowfun_2_10d.speaker = 'Chow Fun'; chowfun_2_10d.portrait = 'chowfun'; chowfun_2_10d.dialogue = new Array('No problem. I teach you basics.'); chowfun_2_10e = new Object(); chowfun_2_10e.area = 'up'; chowfun_2_10e.speaker = 'Chow Fun'; chowfun_2_10e.portrait = 'chowfun'; chowfun_2_10e.dialogue = new Array('Okay. You don\'t need lesson then.'); chowfun_2_11 = new Object(); chowfun_2_11.area = 'up'; chowfun_2_11.speaker = 'Chow Fun'; chowfun_2_11.portrait = 'chowfun'; chowfun_2_11.chatType = 'random'; chowfun_2_11.dialogue = new Array('Different baits sink to different depths.', 'Always better to get stronger fishing lines.', 'Stronger rods not always better.', 'Casting distance very important, because different fish swim at different distance.'); chowfun_2_11.responses = new Array('chowfun_2i', 'chowfun_2j', 'chowfun_2k', 'chowfun_2l'); chowfun_2_12 = new Object(); chowfun_2_12.area = 'up'; chowfun_2_12.speaker = 'Chow Fun'; chowfun_2_12.portrait = 'chowfun'; chowfun_2_12.dialogue = new Array('You cast line, and then you wait. When fish bites on to bait, you reel in your line.'); chowfun_2_12a = new Object(); chowfun_2_12a.area = 'up'; chowfun_2_12a.speaker = 'Chow Fun'; chowfun_2_12a.portrait = 'chowfun'; chowfun_2_12a.dialogue = new Array('But be careful when reeling. If you pull too much, line will break. Once you reel the line to shore or surface, fish is yours.'); chowfun_2_12b = new Object(); chowfun_2_12b.area = 'up'; chowfun_2_12b.speaker = 'Chow Fun'; chowfun_2_12b.portrait = 'chowfun'; chowfun_2_12b.dialogue = new Array('You can also reel in fishing line towards shore when waiting for fish to bite.'); chowfun_2_12c = new Object(); chowfun_2_12c.area = 'up'; chowfun_2_12c.speaker = 'Chow Fun'; chowfun_2_12c.portrait = 'chowfun'; chowfun_2_12c.dialogue = new Array('Very simple.'); chowfun_2_13 = new Object(); chowfun_2_13.area = 'up'; chowfun_2_13.speaker = 'Chow Fun'; chowfun_2_13.portrait = 'chowfun'; chowfun_2_13.dialogue = new Array('Very useful, since some fish live very deep in the water.'); chowfun_2_14 = new Object(); chowfun_2_14.area = 'up'; chowfun_2_14.speaker = 'Chow Fun'; chowfun_2_14.portrait = 'chowfun'; chowfun_2_14.dialogue = new Array('If line is stronger, then weight limit is more, and line will have less chance of breaking while reeling.'); chowfun_2_15 = new Object(); chowfun_2_15.area = 'up'; chowfun_2_15.speaker = 'Chow Fun'; chowfun_2_15.portrait = 'chowfun'; chowfun_2_15.dialogue = new Array('Sometimes, rod\'s pull becomes so strong that fishing line breaks easily.'); chowfun_2_15a = new Object(); chowfun_2_15a.area = 'up'; chowfun_2_15a.speaker = 'Chow Fun'; chowfun_2_15a.portrait = 'chowfun'; chowfun_2_15a.dialogue = new Array('Best to use strong rods with strong lines, especially when you want to catch bigger fish.'); chowfun_2_16 = new Object(); chowfun_2_16.area = 'up'; chowfun_2_16.speaker = 'Chow Fun'; chowfun_2_16.portrait = 'chowfun'; chowfun_2_16.dialogue = new Array('When distance nearer to shore, it is faster and easier to catch fish.'); chowfun_2_17 = new Object(); chowfun_2_17.area = 'up'; chowfun_2_17.speaker = 'Chow Fun'; chowfun_2_17.portrait = 'chowfun'; chowfun_2_17.dialogue = new Array('I need it to make beautiful fish cake for my fried rice, so I give you best price for it.'); chowfun_2_18 = new Object(); chowfun_2_18.area = 'up'; chowfun_2_18.speaker = 'Chow Fun'; chowfun_2_18.portrait = 'chowfun'; chowfun_2_18.dialogue = new Array('My shop the only place on Acero that sell fishing lines, fishing bait and fishing rods.'); chowfun_2_18a = new Object(); chowfun_2_18a.area = 'up'; chowfun_2_18a.speaker = 'Chow Fun'; chowfun_2_18a.portrait = 'chowfun'; chowfun_2_18a.dialogue = new Array('...And fried rice.'); chowfun_2_19 = new Object(); chowfun_2_19.area = 'down'; chowfun_2_19.speaker = _level0.heroName; chowfun_2_19.portrait = _level0.charA001.portrait; chowfun_2_19.dialogue = new Array('Thanks, Mr Chow. I\'ll take note.'); chowfun_2 = new Array(chowfun_2_1); chowfun_2a = new Array(chowfun_2_2, chowfun_2_3, chowfun_2_4); chowfun_2b = new Array(chowfun_2_5, chowfun_2_6, chowfun_2_7, chowfun_2_8, chowfun_2_9); chowfun_2c = new Array(chowfun_2_10, chowfun_2_11); chowfun_2d = new Array(chowfun_2_10a); chowfun_2e = new Array(chowfun_2_17, chowfun_2_19); chowfun_2f = new Array(chowfun_2_18, chowfun_2_18a, chowfun_2_19); chowfun_2g = new Array(chowfun_2_10c, chowfun_2_10e); chowfun_2h = new Array(chowfun_2_10b, chowfun_2_10d, chowfun_2_12, chowfun_2_12a, chowfun_2_12b, chowfun_2_12c); chowfun_2i = new Array(chowfun_2_13, chowfun_2_19); chowfun_2j = new Array(chowfun_2_14, chowfun_2_19); chowfun_2k = new Array(chowfun_2_15, chowfun_2_15a, chowfun_2_19); chowfun_2l = new Array(chowfun_2_16, chowfun_2_19); chowfun_3_1 = new Object(); chowfun_3_1.area = 'down'; chowfun_3_1.speaker = _level0.heroName; chowfun_3_1.portrait = _level0.charA001.portrait; chowfun_3_1.dialogue = new Array('One plate of fried rice Mr Chow.'); chowfun_3_2 = new Object(); chowfun_3_2.area = 'up'; chowfun_3_2.speaker = 'Chow Fun'; chowfun_3_2.portrait = 'chowfun'; chowfun_3_2.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '16', 'statusVal': 99}; condition1 = new Array(condition1_1); chowfun_3_2.conditionArray = new Array(condition1); chowfun_3_2.dialogue = new Array('Okay, 10 credits.', 'No. No more fried rice for you.'); chowfun_3_2.responses = new Array('chowfun_3f', 'chowfun_3g'); chowfun_3_2a = new Object(); chowfun_3_2a.area = 'down'; chowfun_3_2a.speaker = _level0.heroName; chowfun_3_2a.portrait = _level0.charA001.portrait; chowfun_3_2a.dialogue = new Array('Okay fine.'); chowfun_3_2b = new Object(); chowfun_3_2b.area = 'up'; chowfun_3_2b.speaker = 'Chow Fun'; chowfun_3_2b.portrait = 'chowfun'; chowfun_3_2b.dialogue = new Array('Go away!'); chowfun_3_3 = new Object(); chowfun_3_3.area = 'down'; chowfun_3_3.speaker = _level0.heroName; chowfun_3_3.chatType = 'choice'; chowfun_3_3.portrait = _level0.charA001.portrait; chowfun_3_3.dialogue = new Array('Yes', 'No', 'Haggle'); chowfun_3_3.responses = new Array('chowfun_3a', 'chowfun_3b', 'chowfun_3c'); chowfun_3_4 = new Object(); chowfun_3_4.area = 'down'; chowfun_3_4.speaker = _level0.heroName; chowfun_3_4.chatType = 'compare'; condition1_1 = {'compareType': 'credits', 'minVal': 10, 'maxVal': 99999999}; condition1 = new Array(condition1_1); chowfun_3_4.conditionArray = new Array(condition1); chowfun_3_4.portrait = _level0.charA001.portrait; chowfun_3_4.dialogue = new Array('I uh.. don\'t have enough credits.', 'It\'s a deal.'); chowfun_3_4.responses = new Array('chowfun_3d', 'chowfun_4'); chowfun_3_5 = new Object(); chowfun_3_5.area = 'up'; chowfun_3_5.speaker = 'Chow Fun'; chowfun_3_5.portrait = 'chowfun'; chowfun_3_5.dialogue = new Array('You don\'t like my rice?'); chowfun_3_6 = new Object(); chowfun_3_6.area = 'down'; chowfun_3_6.speaker = _level0.heroName; chowfun_3_6.portrait = _level0.charA001.portrait; chowfun_3_6.dialogue = new Array('No it isn\'t that Mr Chow. I just don\'t feel like spending any credits right now.'); chowfun_3_7 = new Object(); chowfun_3_7.area = 'down'; chowfun_3_7.speaker = _level0.heroName; chowfun_3_7.portrait = _level0.charA001.portrait; chowfun_3_7.dialogue = new Array('Can\'t you make it any cheaper?'); chowfun_3_8 = new Object(); chowfun_3_8.area = 'down'; chowfun_3_8.speaker = _level0.heroName; chowfun_3_8.portrait = _level0.charA001.portrait; chowfun_3_8.dialogue = new Array('I think I\'ll take a pass on the fried rice then.'); chowfun_3_9 = new Object(); chowfun_3_9.area = 'up'; chowfun_3_9.speaker = 'Chow Fun'; chowfun_3_9.portrait = 'chowfun'; chowfun_3_9.dialogue = new Array('Okay. You seem like a nice person. I give you best price ever...'); chowfun_3_10 = new Object(); chowfun_3_10.area = 'up'; chowfun_3_10.speaker = 'Chow Fun'; chowfun_3_10.portrait = 'chowfun'; chowfun_3_10.dialogue = new Array('9 credits.'); chowfun_3_11 = new Object(); chowfun_3_11.area = 'down'; chowfun_3_11.speaker = _level0.heroName; chowfun_3_11.chatType = 'choice'; chowfun_3_11.portrait = _level0.charA001.portrait; chowfun_3_11.dialogue = new Array('Yes', 'No'); chowfun_3_11.responses = new Array('chowfun_3e', 'chowfun_3b'); chowfun_3_12 = new Object(); chowfun_3_12.area = 'down'; chowfun_3_12.chatType = 'compare'; chowfun_3_12.speaker = _level0.heroName; chowfun_3_12.portrait = _level0.charA001.portrait; condition1_1 = {'compareType': 'credits', 'minVal': 9, 'maxVal': 99999999}; condition1 = new Array(condition1_1); chowfun_3_12.conditionArray = new Array(condition1); chowfun_3_12.dialogue = new Array('I uh.. don\'t have enough credits.', 'It\'s a deal.'); chowfun_3_12.responses = new Array('chowfun_3d', 'chowfun_4a'); chowfun_3 = new Array(chowfun_3_1, chowfun_3_2); chowfun_3f = new Array(chowfun_3_3); chowfun_3g = new Array(chowfun_3_2b, chowfun_3_2a); chowfun_3a = new Array(chowfun_3_4); chowfun_3b = new Array(chowfun_3_8, chowfun_3_5, chowfun_3_6, chowfun_1_10); chowfun_3c = new Array(chowfun_3_7, chowfun_3_9, chowfun_3_10, chowfun_3_11); chowfun_3d = new Array(chowfun_3_8, chowfun_1_10); chowfun_3e = new Array(chowfun_3_12); chowfun_4_1 = new Object(); chowfun_4_1.area = 'up'; chowfun_4_1.speaker = 'Chow Fun'; chowfun_4_1.portrait = 'chowfun'; chowfun_4_1.chatType = 'random'; chowfun_4_1.dialogue = new Array('Okay. You just wait here.', 'Okay. You just wait here.'); chowfun_4_1.responses = new Array('chowfun_4b', 'chowfun_4b'); action1 = {'actionType': 'credits', 'val': -10}; action2 = {'actionType': 'bg', 'transit': true}; chowfun_4_1.actions = new Array(action1, action2); chowfun_4_1a = new Object(); chowfun_4_1a.area = 'up'; chowfun_4_1a.speaker = 'Chow Fun'; chowfun_4_1a.portrait = 'chowfun'; chowfun_4_1a.chatType = 'random'; chowfun_4_1a.dialogue = new Array('Okay. You just wait here.', 'Okay. You just wait here.'); chowfun_4_1a.responses = new Array('chowfun_4b', 'chowfun_4b'); action1 = {'actionType': 'credits', 'val': -9}; action2 = {'actionType': 'bg', 'transit': true}; chowfun_4_1a.actions = new Array(action1, action2); chowfun_4_2 = new Object(); chowfun_4_2.area = 'up'; chowfun_4_2.speaker = 'Chow Fun'; chowfun_4_2.portrait = 'chowfun'; chowfun_4_2.dialogue = new Array('Done!'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; chowfun_4_2.actions = new Array(action1); chowfun_4_3 = new Object(); chowfun_4_3.area = 'down'; chowfun_4_3.speaker = _level0.heroName; chowfun_4_3.portrait = _level0.charA001.portrait; chowfun_4_3.dialogue = new Array('Wow that was fast.'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; chowfun_4_3.actions = new Array(action1); chowfun_4_4 = new Object(); chowfun_4_4.area = 'down'; chowfun_4_4.speaker = _level0.heroName; chowfun_4_4.portrait = _level0.charA001.portrait; chowfun_4_4.dialogue = new Array('Let me try some.'); chowfun_4_5 = new Object(); chowfun_4_5.area = 'down'; chowfun_4_5.speaker = _level0.heroName; chowfun_4_5.portrait = _level0.charA001.portrait; chowfun_4_5.dialogue = new Array('(Takes a spoonful of fried rice)'); chowfun_4_6 = new Object(); chowfun_4_6.area = 'up'; chowfun_4_6.speaker = 'Chow Fun'; chowfun_4_6.portrait = 'chowfun'; chowfun_4_6.dialogue = new Array('How is it?'); chowfun_4_7 = new Object(); chowfun_4_7.area = 'down'; chowfun_4_7.speaker = _level0.heroName; chowfun_4_7.portrait = _level0.charA001.portrait; chowfun_4_7.chatType = 'choice'; chowfun_4_7.dialogue = new Array('Good', 'Bad', 'Terrible'); chowfun_4_7.responses = new Array('chowfun_4c', 'chowfun_5', 'chowfun_6'); chowfun_4_8 = new Object(); chowfun_4_8.area = 'down'; chowfun_4_8.speaker = _level0.heroName; chowfun_4_8.portrait = _level0.charA001.portrait; chowfun_4_8.dialogue = new Array('Hey, this is pretty tasty Mr Chow.'); chowfun_4_9 = new Object(); chowfun_4_9.area = 'down'; chowfun_4_9.speaker = _level0.heroName; chowfun_4_9.portrait = _level0.charA001.portrait; chowfun_4_9.dialogue = new Array('(Finishes eating the plate of fried rice)'); action1 = {'actionType': 'quest', 'id': '13', 'val': 1}; action2 = {'actionType': 'quest', 'id': '14', 'val': 1}; action3 = {'actionType': 'quest', 'id': '15', 'val': 1}; chowfun_4_9.actions = new Array(action1, action2, action3); chowfun_4_10 = new Object(); chowfun_4_10.area = 'up'; chowfun_4_10.speaker = 'Chow Fun'; chowfun_4_10.portrait = 'chowfun'; chowfun_4_10.dialogue = new Array('That\'s good. I am always happy when my customer is happy.'); chowfun_4 = new Array(chowfun_4_1); chowfun_4a = new Array(chowfun_4_1a); chowfun_4b = new Array(chowfun_4_2, chowfun_4_3, chowfun_4_4, chowfun_4_5, chowfun_4_6, chowfun_4_7); chowfun_4c = new Array(chowfun_4_8, chowfun_4_9, chowfun_4_10); chowfun_5_1 = new Object(); chowfun_5_1.area = 'down'; chowfun_5_1.speaker = _level0.heroName; chowfun_5_1.portrait = _level0.charA001.portrait; chowfun_5_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '13', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '14', 'statusVal': 99}; condition2 = new Array(condition2_1); condition3_1 = {'compareType': 'quest', 'id': '15', 'statusVal': 99}; condition3 = new Array(condition3_1); chowfun_5_1.conditionArray = new Array(condition1, condition2, condition3); chowfun_5_1.dialogue = new Array('This fried rice stinks.', 'This fried rice stinks.', 'This fried rice stinks.', 'This fried rice stinks.'); chowfun_5_1.responses = new Array('chowfun_5a', 'chowfun_5b', 'chowfun_5c', 'chowfun_5d'); chowfun_5_2 = new Object(); chowfun_5_2.area = 'up'; chowfun_5_2.speaker = 'Chow Fun'; chowfun_5_2.portrait = 'chowfun'; chowfun_5_2.dialogue = new Array('Oh yeah?'); action1 = {'actionType': 'quest', 'id': '13', 'val': 99}; chowfun_5_2.actions = new Array(action1); chowfun_5_3 = new Object(); chowfun_5_3.area = 'up'; chowfun_5_3.speaker = 'Chow Fun'; chowfun_5_3.portrait = 'chowfun'; chowfun_5_3.dialogue = new Array('No problem. I can change another for you.'); chowfun_5_4 = new Object(); chowfun_5_4.area = 'down'; chowfun_5_4.speaker = _level0.heroName; chowfun_5_4.portrait = _level0.charA001.portrait; chowfun_5_4.dialogue = new Array('Uh... That\'s alright. Maybe next time.'); chowfun_6_1 = new Object(); chowfun_6_1.area = 'down'; chowfun_6_1.speaker = _level0.heroName; chowfun_6_1.portrait = _level0.charA001.portrait; chowfun_6_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '14', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '15', 'statusVal': 99}; condition2 = new Array(condition2_1); chowfun_6_1.conditionArray = new Array(condition1, condition2); chowfun_6_1.dialogue = new Array('This fried rice stinks!!!', 'This fried rice stinks!!!', 'This fried rice stinks!!!'); chowfun_6_1.responses = new Array('chowfun_6a', 'chowfun_6b', 'chowfun_6b'); chowfun_6_2 = new Object(); chowfun_6_2.area = 'down'; chowfun_6_2.speaker = _level0.heroName; chowfun_6_2.portrait = _level0.charA001.portrait; chowfun_6_2.dialogue = new Array('(Throws the plate of rice at Chow\'s face)'); chowfun_6_3 = new Object(); chowfun_6_3.area = 'up'; chowfun_6_3.speaker = 'Chow Fun'; chowfun_6_3.portrait = 'chowfun'; chowfun_6_3.dialogue = new Array('What\'s the matter with you?'); chowfun_6_4 = new Object(); chowfun_6_4.area = 'up'; chowfun_6_4.speaker = 'Chow Fun'; chowfun_6_4.portrait = 'chowfun'; chowfun_6_4.dialogue = new Array('You got a big problem?'); action1 = {'actionType': 'quest', 'id': '15', 'val': 99}; action2 = {'actionType': 'quest', 'id': '13', 'val': 1}; action3 = {'actionType': 'quest', 'id': '14', 'val': 1}; chowfun_6_4.actions = new Array(action1, action2, action3); chowfun_6_4a = new Object(); chowfun_6_4a.area = 'up'; chowfun_6_4a.speaker = 'Chow Fun'; chowfun_6_4a.portrait = 'chowfun'; chowfun_6_4a.dialogue = new Array('You got a big problem?'); action1 = {'actionType': 'quest', 'id': '14', 'val': 99}; action2 = {'actionType': 'quest', 'id': '13', 'val': 1}; chowfun_6_4a.actions = new Array(action1, action2); chowfun_6_5 = new Object(); chowfun_6_5.area = 'up'; chowfun_6_5.speaker = 'Chow Fun'; chowfun_6_5.portrait = 'chowfun'; chowfun_6_5.dialogue = new Array('You don\'t like my rice?!?'); chowfun_6_6 = new Object(); chowfun_6_6.area = 'up'; chowfun_6_6.speaker = 'Chow Fun'; chowfun_6_6.portrait = 'chowfun'; chowfun_6_6.dialogue = new Array('(Scoops rice back on to the plate with his hands)'); chowfun_6_7 = new Object(); chowfun_6_7.area = 'up'; chowfun_6_7.speaker = 'Chow Fun'; chowfun_6_7.portrait = 'chowfun'; chowfun_6_7.dialogue = new Array('What\'s wrong with the food?'); action1 = {'actionType': 'quest', 'id': '14', 'val': 99}; action2 = {'actionType': 'quest', 'id': '13', 'val': 1}; chowfun_6_7.actions = new Array(action1, action2); chowfun_6_7a = new Object(); chowfun_6_7a.area = 'up'; chowfun_6_7a.speaker = 'Chow Fun'; chowfun_6_7a.portrait = 'chowfun'; chowfun_6_7a.dialogue = new Array('What\'s wrong with the food?'); chowfun_6_8 = new Object(); chowfun_6_8.area = 'up'; chowfun_6_8.speaker = 'Chow Fun'; chowfun_6_8.portrait = 'chowfun'; chowfun_6_8.dialogue = new Array('(Eats the fried rice himself)'); chowfun_6_9 = new Object(); chowfun_6_9.area = 'up'; chowfun_6_9.speaker = 'Chow Fun'; chowfun_6_9.portrait = 'chowfun'; chowfun_6_9.dialogue = new Array('It is beautiful for me.'); chowfun_6_10 = new Object(); chowfun_6_10.area = 'up'; chowfun_6_10.speaker = 'Chow Fun'; chowfun_6_10.portrait = 'chowfun'; chowfun_6_10.dialogue = new Array('For you, rice nothing.'); chowfun_6_11 = new Object(); chowfun_6_11.area = 'up'; chowfun_6_11.speaker = 'Chow Fun'; chowfun_6_11.portrait = 'chowfun'; chowfun_6_11.dialogue = new Array('But for me, rice just like my father and mother.'); chowfun_6_12 = new Object(); chowfun_6_12.area = 'up'; chowfun_6_12.speaker = 'Chow Fun'; chowfun_6_12.portrait = 'chowfun'; chowfun_6_12.dialogue = new Array('Don\'t mess with my family!'); chowfun_6_13 = new Object(); chowfun_6_13.area = 'up'; chowfun_6_13.speaker = 'Chow Fun'; chowfun_6_13.portrait = 'chowfun'; chowfun_6_13.dialogue = new Array('*Sob* I am very hurt about it...'); chowfun_6_14 = new Object(); chowfun_6_14.area = 'up'; chowfun_6_14.speaker = 'Chow Fun'; chowfun_6_14.portrait = 'chowfun'; chowfun_6_14.dialogue = new Array('I feel sorry with my rice... *Sob*'); chowfun_7_1 = new Object(); chowfun_7_1.area = 'up'; chowfun_7_1.speaker = 'Chow Fun'; chowfun_7_1.portrait = 'chowfun'; chowfun_7_1.dialogue = new Array('If you have any dignity, apologize to the rice now!!!'); chowfun_7_2 = new Object(); chowfun_7_2.area = 'down'; chowfun_7_2.speaker = _level0.heroName; chowfun_7_2.portrait = _level0.charA001.portrait; chowfun_7_2.chatType = 'choice'; chowfun_7_2.dialogue = new Array('Yes', 'No'); chowfun_7_2.responses = new Array('chowfun_7', 'chowfun_7a'); chowfun_5 = new Array(chowfun_5_1); chowfun_5a = new Array(chowfun_5_2, chowfun_5_3, chowfun_5_4, chowfun_1_10); chowfun_5b = new Array(chowfun_6_7, chowfun_6_8, chowfun_6_9, chowfun_3_5, chowfun_5_3, chowfun_5_4, chowfun_1_10); chowfun_5c = new Array(chowfun_6_3, chowfun_6_4, chowfun_6_5, chowfun_5_3, chowfun_5_4, chowfun_1_10); chowfun_5d = new Array(chowfun_3_5, chowfun_6_5, chowfun_6_8, chowfun_6_10, chowfun_6_11, chowfun_6_12, chowfun_6_13, chowfun_6_14, chowfun_7_1, chowfun_7_2); chowfun_6 = new Array(chowfun_6_1); chowfun_6a = new Array(chowfun_6_2, chowfun_6_3, chowfun_6_4a, chowfun_3_5, chowfun_6_5, chowfun_6_6, chowfun_5_3, chowfun_5_4, chowfun_1_10); chowfun_6b = new Array(chowfun_6_2, chowfun_3_5, chowfun_6_5, chowfun_6_6, chowfun_6_7a, chowfun_6_8, chowfun_6_9, chowfun_6_10, chowfun_6_11, chowfun_6_12, chowfun_6_13, chowfun_6_14, chowfun_7_1, chowfun_7_2); chowfun_7_3 = new Object(); chowfun_7_3.area = 'down'; chowfun_7_3.speaker = _level0.heroName; chowfun_7_3.portrait = _level0.charA001.portrait; chowfun_7_3.dialogue = new Array('Apologize? Uh... I\'m sorry?'); chowfun_7_4 = new Object(); chowfun_7_4.area = 'up'; chowfun_7_4.speaker = 'Chow Fun'; chowfun_7_4.portrait = 'chowfun'; chowfun_7_4.dialogue = new Array('That\'s better. Much better.'); action1 = {'actionType': 'quest', 'id': '13', 'val': 1}; action2 = {'actionType': 'quest', 'id': '14', 'val': 1}; action3 = {'actionType': 'quest', 'id': '15', 'val': 1}; chowfun_7_4.actions = new Array(action1, action2, action3); chowfun_7_5 = new Object(); chowfun_7_5.area = 'down'; chowfun_7_5.speaker = _level0.heroName; chowfun_7_5.portrait = _level0.charA001.portrait; chowfun_7_5.dialogue = new Array('To heck with your rice, and to heck with you!'); chowfun_7_6 = new Object(); chowfun_7_6.area = 'up'; chowfun_7_6.speaker = 'Chow Fun'; chowfun_7_6.portrait = 'chowfun'; chowfun_7_6.dialogue = new Array('Open your mouth and eat the rice!!!'); chowfun_7_7 = new Object(); chowfun_7_7.area = 'down'; chowfun_7_7.speaker = _level0.heroName; chowfun_7_7.portrait = _level0.charA001.portrait; chowfun_7_7.chatType = 'choice'; chowfun_7_7.dialogue = new Array('Yes', 'No'); chowfun_7_7.responses = new Array('chowfun_7b', 'chowfun_7c'); chowfun_7_8 = new Object(); chowfun_7_8.area = 'down'; chowfun_7_8.speaker = _level0.heroName; chowfun_7_8.portrait = _level0.charA001.portrait; chowfun_7_8.dialogue = new Array('(Silently finishes up the plate of fried rice)'); chowfun_7_9 = new Object(); chowfun_7_9.area = 'down'; chowfun_7_9.speaker = _level0.heroName; chowfun_7_9.portrait = _level0.charA001.portrait; chowfun_7_9.dialogue = new Array('Never!'); action1 = {'actionType': 'quest', 'id': '16', 'val': 99}; chowfun_7_9.actions = new Array(action1); chowfun_7_10 = new Object(); chowfun_7_10.area = 'up'; chowfun_7_10.speaker = 'Chow Fun'; chowfun_7_10.portrait = 'chowfun'; chowfun_7_10.dialogue = new Array('Then we settle this with MAWs! Right here, right now!'); action1 = {'actionType': 'combat', 'mSet': 'chef'}; action2 = {'actionType': 'exitShop'}; chowfun_7_10.actions = new Array(action1, action2); chowfun_7_11 = new Object(); chowfun_7_11.area = 'up'; chowfun_7_11.speaker = 'Chow Fun'; chowfun_7_11.portrait = 'chowfun'; chowfun_7_11.dialogue = new Array('Maybe you beat my MAW, but I give you most divine punishment ever!'); chowfun_7_12 = new Object(); chowfun_7_12.area = 'up'; chowfun_7_12.speaker = 'Chow Fun'; chowfun_7_12.portrait = 'chowfun'; chowfun_7_12.dialogue = new Array('I never cook fried rice for you again!'); chowfun_7_13 = new Object(); chowfun_7_13.area = 'down'; chowfun_7_13.speaker = _level0.heroName; chowfun_7_13.portrait = _level0.charA001.portrait; chowfun_7_13.dialogue = new Array('Fine by me.'); chowfun_7 = new Array(chowfun_7_3, chowfun_7_4); chowfun_7a = new Array(chowfun_7_5, chowfun_7_6, chowfun_7_7); chowfun_7b = new Array(chowfun_7_8, chowfun_7_4); chowfun_7c = new Array(chowfun_7_9, chowfun_7_10); chowfun_7d = new Array(chowfun_7_11, chowfun_7_12, chowfun_7_13); calisto_0_1 = new Object(); calisto_0_1.area = 'up'; calisto_0_1.speaker = 'Calisto Filio'; calisto_0_1.portrait = 'calisto'; calisto_0_1.dialogue = new Array('So, are you ready?'); calisto_0_2 = new Object(); calisto_0_2.area = 'down'; calisto_0_2.speaker = _level0.heroName; calisto_0_2.portrait = _level0.charA001.portrait; calisto_0_2.dialogue = new Array('Let\'s do this!'); action1 = {'actionType': 'combat', 'mSet': 'intro_1'}; calisto_0_2.actions = new Array(action1); calisto_0_2a = new Object(); calisto_0_2a.area = 'up'; calisto_0_2a.speaker = 'Calisto Filio'; calisto_0_2a.portrait = 'calisto'; calisto_0_2a.dialogue = new Array('Well, we\'re here.'); calisto_0_2b = new Object(); calisto_0_2b.area = 'up'; calisto_0_2b.speaker = 'Calisto Filio'; calisto_0_2b.portrait = 'calisto'; calisto_0_2b.dialogue = new Array('You know, I really really don\'t want to \'baby-sit\' you today.'); calisto_0_2c = new Object(); calisto_0_2c.area = 'down'; calisto_0_2c.speaker = _level0.heroName; calisto_0_2c.portrait = _level0.charA001.portrait; calisto_0_2c.dialogue = new Array('Oh come on Cali, I\'m the one being trained, not you, and you don\'t hear me whining.'); calisto_0_2d = new Object(); calisto_0_2d.area = 'down'; calisto_0_2d.speaker = _level0.heroName; calisto_0_2d.portrait = _level0.charA001.portrait; calisto_0_2d.dialogue = new Array('Besides, you wouldn\'t be doing this if Ron didn\'t twist his ankle.'); calisto_0_2e = new Object(); calisto_0_2e.area = 'down'; calisto_0_2e.speaker = _level0.heroName; calisto_0_2e.portrait = _level0.charA001.portrait; calisto_0_2e.dialogue = new Array('He can\'t train me today, so he picked you. After all, you are my \'senior\'.'); calisto_0_2f = new Object(); calisto_0_2f.area = 'up'; calisto_0_2f.speaker = 'Calisto Filio'; calisto_0_2f.portrait = 'calisto'; calisto_0_2f.dialogue = new Array('Ahem, in more ways than one I might add.'); calisto_0_2g = new Object(); calisto_0_2g.area = 'down'; calisto_0_2g.speaker = _level0.heroName; calisto_0_2g.portrait = _level0.charA001.portrait; calisto_0_2g.dialogue = new Array('Riiiiight. You\'re older in age too.'); calisto_0_2h = new Object(); calisto_0_2h.area = 'up'; calisto_0_2h.speaker = 'Calisto Filio'; calisto_0_2h.portrait = 'calisto'; calisto_0_2h.dialogue = new Array('Hey! That wasn\'t what I meant and you know it.'); calisto_0_2i = new Object(); calisto_0_2i.area = 'down'; calisto_0_2i.speaker = _level0.heroName; calisto_0_2i.portrait = _level0.charA001.portrait; calisto_0_2i.dialogue = new Array('But it\'s a fact.'); calisto_0_2j = new Object(); calisto_0_2j.area = 'up'; calisto_0_2j.speaker = 'Calisto Filio'; calisto_0_2j.portrait = 'calisto'; calisto_0_2j.dialogue = new Array('Fine fine, let\'s just get to your training.'); calisto_0_2k = new Object(); calisto_0_2k.area = 'down'; calisto_0_2k.speaker = _level0.heroName; calisto_0_2k.portrait = _level0.charA001.portrait; calisto_0_2k.dialogue = new Array('Let\'s.'); calisto_0_3 = new Object(); calisto_0_3.area = 'up'; calisto_0_3.speaker = 'Calisto Filio'; calisto_0_3.portrait = 'calisto'; calisto_0_3.dialogue = new Array('Ok ' + _level0.heroName + ', before we begin...'); calisto_0_3a = new Object(); calisto_0_3a.area = 'up'; calisto_0_3a.speaker = 'Calisto Filio'; calisto_0_3a.portrait = 'calisto'; calisto_0_3a.dialogue = new Array('Do you think you\'ll need a refresher course on pilotin\' the MAW?'); calisto_0_3b = new Object(); calisto_0_3b.area = 'down'; calisto_0_3b.chatType = 'choice'; calisto_0_3b.speaker = _level0.heroName; calisto_0_3b.portrait = _level0.charA001.portrait; calisto_0_3b.dialogue = new Array('Yes', 'No'); calisto_0_3b.responses = new Array('calisto_0a', 'calisto_0b'); calisto_0 = new Array(calisto_0_2a, calisto_0_2b, calisto_0_2c, calisto_0_2d, calisto_0_2e, calisto_0_2f, calisto_0_2g, calisto_0_2h, calisto_0_2i, calisto_0_2j, calisto_0_2k, calisto_0_3, calisto_0_3a, calisto_0_3b); calisto_0_3c = new Object(); calisto_0_3c.area = 'down'; calisto_0_3c.speaker = _level0.heroName; calisto_0_3c.portrait = _level0.charA001.portrait; calisto_0_3c.dialogue = new Array('Actually I think I--'); calisto_0_3d = new Object(); calisto_0_3d.area = 'down'; calisto_0_3d.speaker = _level0.heroName; calisto_0_3d.portrait = _level0.charA001.portrait; calisto_0_3d.dialogue = new Array('No thanks Cali, I\'m fine.'); calisto_0_3e = new Object(); calisto_0_3e.area = 'up'; calisto_0_3e.speaker = 'Calisto Filio'; calisto_0_3e.portrait = 'calisto'; calisto_0_3e.dialogue = new Array('*Groan* Okay fine, fine. We\'ll run through this again.'); action1 = {'actionType': 'shop', 'shopName': 'nil', 'shopMenuHide': true}; action2 = {'actionType': 'bg', 'transit': true, 'bg': 'tutorial_1'}; calisto_0_3e.actions = new Array(action1, action2); calisto_0_3f = new Object(); calisto_0_3f.area = 'up'; calisto_0_3f.speaker = 'Calisto Filio'; calisto_0_3f.portrait = 'calisto'; action1 = {'actionType': 'bottomVisible', 'toShow': false}; calisto_0_3f.dialogue = new Array('First thing\'s first. Do you see that orange bar at the right hand corner of your interface.'); calisto_0_3f.actions = new Array(action1); calisto_0_3g = new Object(); calisto_0_3g.area = 'down'; calisto_0_3g.speaker = _level0.heroName; calisto_0_3g.portrait = _level0.charA001.portrait; calisto_0_3g.dialogue = new Array('Sure.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_2'}; action2 = {'actionType': 'bottomVisible', 'toShow': true}; calisto_0_3g.actions = new Array(action1, action2); calisto_0_3h = new Object(); calisto_0_3h.area = 'up'; calisto_0_3h.speaker = 'Calisto Filio'; calisto_0_3h.portrait = 'calisto'; calisto_0_3h.dialogue = new Array('Ok, that indicates the energy levels of your Moblie Adaptive Weapon (or MAW). Once it hits 100%, your MAW is ready for action.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_3'}; calisto_0_3h.actions = new Array(action1); calisto_0_3i = new Object(); calisto_0_3i.area = 'up'; calisto_0_3i.speaker = 'Calisto Filio'; calisto_0_3i.portrait = 'calisto'; calisto_0_3i.dialogue = new Array('Now, once your MAW is ready, a menu will pop up on your interface.'); calisto_0_3j = new Object(); calisto_0_3j.area = 'up'; calisto_0_3j.speaker = 'Calisto Filio'; calisto_0_3j.portrait = 'calisto'; calisto_0_3j.dialogue = new Array('On the right side of this menu, you\'ll notice 2 slots.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_4'}; calisto_0_3j.actions = new Array(action1); calisto_0_3k = new Object(); calisto_0_3k.area = 'up'; calisto_0_3k.speaker = 'Calisto Filio'; calisto_0_3k.portrait = 'calisto'; calisto_0_3k.dialogue = new Array('These will show the weapons your MAW has. The slot that is highlighted will show which weapon is currently in use.'); calisto_0_3l = new Object(); calisto_0_3l.area = 'up'; calisto_0_3l.speaker = 'Calisto Filio'; calisto_0_3l.portrait = 'calisto'; calisto_0_3l.dialogue = new Array('To choose a weapon, click on any one slot, or press \'1\' or \'2\'.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_5'}; calisto_0_3l.actions = new Array(action1); calisto_0_3m = new Object(); calisto_0_3m.area = 'up'; calisto_0_3m.speaker = 'Calisto Filio'; calisto_0_3m.portrait = 'calisto'; calisto_0_3m.dialogue = new Array('Do not select a slot labelled \'NONE\', since that means the slot has no weapon, preventin\' you from attackin\'.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_3'}; calisto_0_3m.actions = new Array(action1); calisto_0_3n = new Object(); calisto_0_3n.area = 'down'; calisto_0_3n.speaker = _level0.heroName; calisto_0_3n.portrait = _level0.charA001.portrait; calisto_0_3n.dialogue = new Array('Alright, what\'s next?'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_5a'}; calisto_0_3n.actions = new Array(action1); calisto_0_3o = new Object(); calisto_0_3o.area = 'up'; calisto_0_3o.speaker = 'Calisto Filio'; calisto_0_3o.portrait = 'calisto'; calisto_0_3o.dialogue = new Array('Now, to pull off an attack, click on the \'ATTACK\' button, or press the \'A\' key. A pointer will appear above your enemies.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_6'}; calisto_0_3o.actions = new Array(action1); calisto_0_3p = new Object(); calisto_0_3p.area = 'up'; calisto_0_3p.speaker = 'Calisto Filio'; calisto_0_3p.portrait = 'calisto'; calisto_0_3p.dialogue = new Array('Next, select which enemy you want to attack, either by clicking, or by scrollin\' through them with the LEFT and RIGHT keys, and then pressin\' SPACE.'); calisto_0_3q = new Object(); calisto_0_3q.area = 'up'; calisto_0_3q.speaker = 'Calisto Filio'; calisto_0_3q.portrait = 'calisto'; calisto_0_3q.dialogue = new Array('Make sure the pointer is above the correct enemy that you want to select. Take your time, since enemies will not attack at this point of time.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_7'}; calisto_0_3q.actions = new Array(action1); calisto_0_3q1 = new Object(); calisto_0_3q1.area = 'up'; calisto_0_3q1.speaker = 'Calisto Filio'; calisto_0_3q1.portrait = 'calisto'; calisto_0_3q1.dialogue = new Array('Once you pull off an attack, a portion of your energy level will be deducted, and you\'ll have to wait until your MAW is ready again.'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; calisto_0_3q1.actions = new Array(action1, action2); calisto_0_3r = new Object(); calisto_0_3r.area = 'down'; calisto_0_3r.speaker = _level0.heroName; calisto_0_3r.portrait = _level0.charA001.portrait; action1 = {'actionType': 'topVisible', 'toShow': false}; action2 = {'actionType': 'exitShop'}; calisto_0_3r.dialogue = new Array('And that\'s it?'); calisto_0_3r.actions = new Array(action1, action2); calisto_0_3s = new Object(); calisto_0_3s.area = 'up'; calisto_0_3s.speaker = 'Calisto Filio'; calisto_0_3s.portrait = 'calisto'; action1 = {'actionType': 'topVisible', 'toShow': true}; calisto_0_3s.dialogue = new Array('That\'s it. Do you need me to go through it once more?'); calisto_0_3s.actions = new Array(action1); calisto_0_3t = new Object(); calisto_0_3t.area = 'up'; calisto_0_3t.speaker = 'Calisto Filio'; calisto_0_3t.portrait = 'calisto'; calisto_0_3t.dialogue = new Array('Good. Now take down the dummy!'); action1 = {'actionType': 'combat', 'mSet': 'intro_1'}; calisto_0_3t.actions = new Array(action1); calisto_0a = new Array(calisto_0_3c, calisto_0_3e, calisto_0_3f, calisto_0_3g, calisto_0_3h, calisto_0_3i, calisto_0_3j, calisto_0_3k, calisto_0_3l, calisto_0_3m, calisto_0_3n, calisto_0_3o, calisto_0_3p, calisto_0_3q, calisto_0_3q1, calisto_0_3r, calisto_0_3s, calisto_0_3b); calisto_0b = new Array(calisto_0_3d, calisto_0_1, calisto_0_2); calisto_0_4a = new Object(); calisto_0_4a.area = 'up'; calisto_0_4a.speaker = 'Calisto Filio'; calisto_0_4a.portrait = 'calisto'; calisto_0_4a.dialogue = new Array('Nice work.'); calisto_0_4b = new Object(); calisto_0_4b.area = 'down'; calisto_0_4b.speaker = _level0.heroName; calisto_0_4b.portrait = _level0.charA001.portrait; calisto_0_4b.dialogue = new Array('Oh that was nothing.'); calisto_0_4b1 = new Object(); calisto_0_4b1.area = 'up'; calisto_0_4b1.speaker = 'Calisto Filio'; calisto_0_4b1.portrait = 'calisto'; calisto_0_4b1.dialogue = new Array('Hmph. Don\'t get too comfortable, there\'s more.'); calisto_0_4c = new Object(); calisto_0_4c.area = 'up'; calisto_0_4c.speaker = 'Calisto Filio'; calisto_0_4c.portrait = 'calisto'; calisto_0_4c.dialogue = new Array('We\'ll move on to live targets. Do you need to know about advanced combat techniques?'); calisto_0_4d = new Object(); calisto_0_4d.area = 'down'; calisto_0_4d.chatType = 'choice'; calisto_0_4d.speaker = _level0.heroName; calisto_0_4d.portrait = _level0.charA001.portrait; calisto_0_4d.dialogue = new Array('Yes', 'No'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; calisto_0_4d.responses = new Array('calisto_0d', 'calisto_0e'); calisto_0_4d.actions = new Array(action1); calisto_0_4e = new Object(); calisto_0_4e.area = 'down'; calisto_0_4e.speaker = _level0.heroName; calisto_0_4e.portrait = _level0.charA001.portrait; calisto_0_4e.dialogue = new Array('No, I already know what to do.'); calisto_0_4f = new Object(); calisto_0_4f.area = 'down'; calisto_0_4f.speaker = _level0.heroName; calisto_0_4f.portrait = _level0.charA001.portrait; calisto_0_4f.dialogue = new Array('Well I er...'); calisto_0_4g = new Object(); calisto_0_4g.area = 'up'; calisto_0_4g.speaker = 'Calisto Filio'; calisto_0_4g.portrait = 'calisto'; calisto_0_4g.dialogue = new Array('*Sigh* Why am I not surprised.'); action1 = {'actionType': 'bg', 'transit': true, 'bg': 'tutorial_8'}; action2 = {'actionType': 'shop', 'shopName': 'nil', 'shopMenuHide': true}; calisto_0_4g.actions = new Array(action1, action2); calisto_0_4h = new Object(); calisto_0_4h.area = 'up'; calisto_0_4h.speaker = 'Calisto Filio'; calisto_0_4h.portrait = 'calisto'; action1 = {'actionType': 'bottomVisible', 'toShow': false}; calisto_0_4h.dialogue = new Array('Alright, since most enemies you face don\'t just do nothin\'...'); calisto_0_4h.actions = new Array(action1); calisto_0_4i = new Object(); calisto_0_4i.area = 'up'; calisto_0_4i.speaker = 'Calisto Filio'; calisto_0_4i.portrait = 'calisto'; calisto_0_4i.dialogue = new Array('There is an obvious need to consider other aspects of combat besides offense.'); calisto_0_4j = new Object(); calisto_0_4j.area = 'down'; calisto_0_4j.speaker = _level0.heroName; calisto_0_4j.portrait = _level0.charA001.portrait; calisto_0_4j.dialogue = new Array('Like defense right?'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_8a'}; action2 = {'actionType': 'bottomVisible', 'toShow': true}; calisto_0_4j.actions = new Array(action1, action2); calisto_0_4k = new Object(); calisto_0_4k.area = 'up'; calisto_0_4k.speaker = 'Calisto Filio'; calisto_0_4k.portrait = 'calisto'; calisto_0_4k.dialogue = new Array('That\'s right. Just click on the \'DEFEND\' button or press the \'D\' key.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_9'}; calisto_0_4k.actions = new Array(action1); calisto_0_4l = new Object(); calisto_0_4l.area = 'up'; calisto_0_4l.speaker = 'Calisto Filio'; calisto_0_4l.portrait = 'calisto'; calisto_0_4l.dialogue = new Array('Your MAW will begin to block, allowin\' it to take less damage until you perform your next action.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_10'}; calisto_0_4l.actions = new Array(action1); calisto_0_4m = new Object(); calisto_0_4m.area = 'up'; calisto_0_4m.speaker = 'Calisto Filio'; calisto_0_4m.portrait = 'calisto'; calisto_0_4m.dialogue = new Array('Now, if you look closely at the bottom of the interface menu, you will see an INVENTORY bar.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_11'}; calisto_0_4m.actions = new Array(action1); calisto_0_4n = new Object(); calisto_0_4n.area = 'up'; calisto_0_4n.speaker = 'Calisto Filio'; calisto_0_4n.portrait = 'calisto'; calisto_0_4n.dialogue = new Array('To scroll through the INVENTORY bar, click the back and forward arrows at the side of the bar, or use the keys \'Q\' and \'W\'.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_12'}; calisto_0_4n.actions = new Array(action1); calisto_0_4o = new Object(); calisto_0_4o.area = 'up'; calisto_0_4o.speaker = 'Calisto Filio'; calisto_0_4o.portrait = 'calisto'; calisto_0_4o.dialogue = new Array('This is used together with the \'USE\' command, by clicking it or pressing the \'S\' key.'); calisto_0_4p = new Object(); calisto_0_4p.area = 'up'; calisto_0_4p.speaker = 'Calisto Filio'; calisto_0_4p.portrait = 'calisto'; calisto_0_4p.dialogue = new Array('Such a commmand is especially important when you need to use items to repair your MAW.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_3'}; calisto_0_4p.actions = new Array(action1); calisto_0_4q = new Object(); calisto_0_4q.area = 'down'; calisto_0_4q.speaker = _level0.heroName; calisto_0_4q.portrait = _level0.charA001.portrait; calisto_0_4q.dialogue = new Array('Anything else, Cali?'); calisto_0_4q1 = new Object(); calisto_0_4q1.area = 'up'; calisto_0_4q1.speaker = 'Calisto Filio'; calisto_0_4q1.portrait = 'calisto'; calisto_0_4q1.dialogue = new Array('Wellll.... As you know, your MAW\'s energy levels can go beyond 100%.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_12a'}; calisto_0_4q1.actions = new Array(action1); calisto_0_4q2 = new Object(); calisto_0_4q2.area = 'up'; calisto_0_4q2.speaker = 'Calisto Filio'; calisto_0_4q2.portrait = 'calisto'; calisto_0_4q2.dialogue = new Array('At 125%, the energy bar will start to flash, and any SPECIAL SKILLS developed for the MAW will kick in.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_12b'}; calisto_0_4q2.actions = new Array(action1); calisto_0_4q3 = new Object(); calisto_0_4q3.area = 'up'; calisto_0_4q3.speaker = 'Calisto Filio'; calisto_0_4q3.portrait = 'calisto'; calisto_0_4q3.dialogue = new Array('These skills are developed later on as you gain more experience in MAW combat.'); calisto_0_4q4 = new Object(); calisto_0_4q4.area = 'up'; calisto_0_4q4.speaker = 'Calisto Filio'; calisto_0_4q4.portrait = 'calisto'; calisto_0_4q4.dialogue = new Array('Click on their respective buttons, or press the key that corresponds to the highlighted letter in the skill\'s name, and see what it does.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_8'}; calisto_0_4q4.actions = new Array(action1); calisto_0_4r = new Object(); calisto_0_4r.area = 'up'; calisto_0_4r.speaker = 'Calisto Filio'; calisto_0_4r.portrait = 'calisto'; calisto_0_4r.dialogue = new Array('One more thing, if at any time you feel you can\'t win a battle, don\'t be ashamed to run.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_13'}; calisto_0_4r.actions = new Array(action1); calisto_0_4s = new Object(); calisto_0_4s.area = 'up'; calisto_0_4s.speaker = 'Calisto Filio'; calisto_0_4s.portrait = 'calisto'; calisto_0_4s.dialogue = new Array('Click the \'ESCAPE\' command at the bottom right of the menu, or press the \'E\' key.'); action1 = {'actionType': 'bg', 'transit': false, 'bg': 'tutorial_14'}; calisto_0_4s.actions = new Array(action1); calisto_0_4t = new Object(); calisto_0_4t.area = 'up'; calisto_0_4t.speaker = 'Calisto Filio'; calisto_0_4t.portrait = 'calisto'; calisto_0_4t.dialogue = new Array('You will always escape with success. It\'s only a question of how long it takes.'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; action3 = {'actionType': 'exitShop'}; calisto_0_4t.actions = new Array(action1, action2, action3); calisto_0_4u = new Object(); calisto_0_4u.area = 'up'; calisto_0_4u.speaker = 'Calisto Filio'; calisto_0_4u.portrait = 'calisto'; calisto_0_4u.dialogue = new Array('So... Do I need to repeat myself?'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; calisto_0_4u.actions = new Array(action1); calisto_0_4v = new Object(); calisto_0_4v.area = 'up'; calisto_0_4v.speaker = 'Calisto Filio'; calisto_0_4v.portrait = 'calisto'; calisto_0_4v.dialogue = new Array('Then let\'s take down that swarm of gearflies.'); calisto_0_4w = new Object(); calisto_0_4w.area = 'down'; calisto_0_4w.speaker = _level0.heroName; calisto_0_4w.portrait = _level0.charA001.portrait; calisto_0_4w.dialogue = new Array('Where?'); calisto_0_4x = new Object(); calisto_0_4x.area = 'up'; calisto_0_4x.speaker = 'Calisto Filio'; calisto_0_4x.portrait = 'calisto'; calisto_0_4x.dialogue = new Array('Over there...'); calisto_0_4y = new Object(); calisto_0_4y.area = 'down'; calisto_0_4y.speaker = _level0.heroName; calisto_0_4y.portrait = _level0.charA001.portrait; calisto_0_4y.dialogue = new Array('I can\'t se--Oh! There they are.'); action1 = {'actionType': 'combat', 'mSet': 'intro_2'}; calisto_0_4y.actions = new Array(action1); calisto_0c = new Array(calisto_0_4a, calisto_0_4b, calisto_0_4b1, calisto_0_4c, calisto_0_4d); calisto_0d = new Array(calisto_0_4f, calisto_0_4g, calisto_0_4h, calisto_0_4i, calisto_0_4j, calisto_0_4k, calisto_0_4l, calisto_0_4m, calisto_0_4n, calisto_0_4o, calisto_0_4p, calisto_0_4q, calisto_0_4q1, calisto_0_4q2, calisto_0_4q3, calisto_0_4q4, calisto_0_4r, calisto_0_4s, calisto_0_4t, calisto_0_4u, calisto_0_4d); calisto_0e = new Array(calisto_0_4e, calisto_0_4v, calisto_0_4w, calisto_0_4x, calisto_0_4y); calisto_0_5 = new Object(); calisto_0_5.area = 'up'; calisto_0_5.speaker = 'Calisto Filio'; calisto_0_5.portrait = 'calisto'; calisto_0_5.dialogue = new Array('Very nice, ' + _level0.heroName + '. You did pretty good.'); calisto_0_5a = new Object(); calisto_0_5a.area = 'down'; calisto_0_5a.speaker = _level0.heroName; calisto_0_5a.portrait = _level0.charA001.portrait; calisto_0_5a.dialogue = new Array('Why thank you, Cali.'); calisto_0_5a1 = new Object(); calisto_0_5a1.area = 'up'; calisto_0_5a1.speaker = 'Calisto Filio'; calisto_0_5a1.portrait = 'calisto'; calisto_0_5a1.dialogue = new Array('And now for the final phase of today\'s trainin\'...'); calisto_0_5a2 = new Object(); calisto_0_5a2.area = 'down'; calisto_0_5a2.speaker = _level0.heroName; calisto_0_5a2.portrait = _level0.charA001.portrait; calisto_0_5a2.dialogue = new Array('Which is...?'); calisto_0_5b = new Object(); calisto_0_5b.area = 'up'; calisto_0_5b.speaker = 'Calisto Filio'; calisto_0_5b.portrait = 'calisto'; calisto_0_5b.dialogue = new Array('Navigate your way out of this grotto. Simple as that.'); calisto_0_5c = new Object(); calisto_0_5c.area = 'up'; calisto_0_5c.speaker = 'Calisto Filio'; calisto_0_5c.portrait = 'calisto'; calisto_0_5c.dialogue = new Array('You might encounter a couple more gearflies along the way.'); calisto_0_5d = new Object(); calisto_0_5d.area = 'up'; calisto_0_5d.speaker = 'Calisto Filio'; calisto_0_5d.portrait = 'calisto'; calisto_0_5d.dialogue = new Array('Should be \'fun\'. *Grin*'); action1 = {'actionType': 'animate_map', 'id': 'cell12_8', 'val': 'a2'}; action2 = {'actionType': 'quest', 'id': '26', 'val': 2}; action3 = {'actionType': 'resetmap'}; calisto_0_5d.actions = new Array(action1, action2, action3); calisto_0_5e = new Object(); calisto_0_5e.area = 'down'; calisto_0_5e.speaker = _level0.heroName; calisto_0_5e.portrait = _level0.charA001.portrait; calisto_0_5e.dialogue = new Array('Says you.'); calisto_0f = new Array(calisto_0_5, calisto_0_5a, calisto_0_5a1, calisto_0_5a2, calisto_0_5b, calisto_0_5c, calisto_0_5d, calisto_0_5e); calisto_0_6 = new Object(); calisto_0_6.area = 'up'; calisto_0_6.speaker = 'Calisto Filio'; calisto_0_6.portrait = 'calisto'; calisto_0_6.dialogue = new Array('Alright, this is it.'); calisto_0_6a = new Object(); calisto_0_6a.area = 'down'; calisto_0_6a.speaker = _level0.heroName; calisto_0_6a.portrait = _level0.charA001.portrait; calisto_0_6a.dialogue = new Array('We\'re done?'); calisto_0_6b = new Object(); calisto_0_6b.area = 'up'; calisto_0_6b.speaker = 'Calisto Filio'; calisto_0_6b.portrait = 'calisto'; calisto_0_6b.dialogue = new Array('We\'re done. The end of today\'s trainin\' session.'); calisto_0_6b1 = new Object(); calisto_0_6b1.area = 'down'; calisto_0_6b1.speaker = _level0.heroName; calisto_0_6b1.portrait = _level0.charA001.portrait; calisto_0_6b1.dialogue = new Array('Finally!!!'); calisto_0_6b2 = new Object(); calisto_0_6b2.area = 'up'; calisto_0_6b2.speaker = 'Calisto Filio'; calisto_0_6b2.portrait = 'calisto'; calisto_0_6b2.dialogue = new Array('Oh come on, don\'t make it sound like it\'s THAT bad.'); calisto_0_6b3 = new Object(); calisto_0_6b3.area = 'up'; calisto_0_6b3.speaker = 'Calisto Filio'; calisto_0_6b3.portrait = 'calisto'; calisto_0_6b3.dialogue = new Array('Don\'t you want to be a great MAW pilot someday?'); calisto_0_6b4 = new Object(); calisto_0_6b4.area = 'down'; calisto_0_6b4.chatType = 'choice'; calisto_0_6b4.speaker = _level0.heroName; calisto_0_6b4.portrait = _level0.charA001.portrait; calisto_0_6b4.dialogue = new Array('I do?', 'I do!', 'Don\'t you?'); calisto_0_6b4.responses = new Array('calisto_0h', 'calisto_0i', 'calisto_0j'); calisto_0_6b5 = new Object(); calisto_0_6b5.area = 'down'; calisto_0_6b5.speaker = _level0.heroName; calisto_0_6b5.portrait = _level0.charA001.portrait; calisto_0_6b5.dialogue = new Array('I do?'); calisto_0_6b6 = new Object(); calisto_0_6b6.area = 'up'; calisto_0_6b6.speaker = 'Calisto Filio'; calisto_0_6b6.portrait = 'calisto'; calisto_0_6b6.dialogue = new Array('I sense a lack of self-confidence...'); calisto_0_6b7 = new Object(); calisto_0_6b7.area = 'down'; calisto_0_6b7.speaker = _level0.heroName; calisto_0_6b7.portrait = _level0.charA001.portrait; calisto_0_6b7.dialogue = new Array('Well it\'s not as if that\'s going to be my mission in life.'); calisto_0_6b8 = new Object(); calisto_0_6b8.area = 'down'; calisto_0_6b8.speaker = _level0.heroName; calisto_0_6b8.portrait = _level0.charA001.portrait; calisto_0_6b8.dialogue = new Array('I do!'); calisto_0_6b9 = new Object(); calisto_0_6b9.area = 'up'; calisto_0_6b9.speaker = 'Calisto Filio'; calisto_0_6b9.portrait = 'calisto'; calisto_0_6b9.dialogue = new Array('Ha! That\'s the spirit.'); calisto_0_6b10 = new Object(); calisto_0_6b10.area = 'down'; calisto_0_6b10.speaker = _level0.heroName; calisto_0_6b10.portrait = _level0.charA001.portrait; calisto_0_6b10.dialogue = new Array('Don\'t you?'); calisto_0_6b11 = new Object(); calisto_0_6b11.area = 'up'; calisto_0_6b11.speaker = 'Calisto Filio'; calisto_0_6b11.portrait = 'calisto'; calisto_0_6b11.dialogue = new Array('Hey, I was the one askin\' the question...'); calisto_0_6b12 = new Object(); calisto_0_6b12.area = 'up'; calisto_0_6b12.speaker = 'Calisto Filio'; calisto_0_6b12.portrait = 'calisto'; calisto_0_6b12.dialogue = new Array('Besides, I already am pretty good MAW pilot, or Ron wouldn\'t have asked me to train you.'); calisto_0_6b13 = new Object(); calisto_0_6b13.area = 'down'; calisto_0_6b13.speaker = _level0.heroName; calisto_0_6b13.portrait = _level0.charA001.portrait; calisto_0_6b13.dialogue = new Array('A little overconfident, aren\'t we?'); calisto_0_6c = new Object(); calisto_0_6c.area = 'down'; calisto_0_6c.speaker = _level0.heroName; calisto_0_6c.portrait = _level0.charA001.portrait; calisto_0_6c.dialogue = new Array('Anyway, all I want to do now is go back and slump on my bed.'); calisto_0_6d = new Object(); calisto_0_6d.area = 'down'; calisto_0_6d.speaker = _level0.heroName; calisto_0_6d.portrait = _level0.charA001.portrait; calisto_0_6d.dialogue = new Array('And let\'s not forget that I have to help out in the garage tomorrow.'); calisto_0_6e = new Object(); calisto_0_6e.area = 'up'; calisto_0_6e.speaker = 'Calisto Filio'; calisto_0_6e.portrait = 'calisto'; calisto_0_6e.dialogue = new Array('Big whoop. I used to do that all the time when I was under Ron.'); calisto_0_6f = new Object(); calisto_0_6f.area = 'up'; calisto_0_6f.speaker = 'Calisto Filio'; calisto_0_6f.portrait = 'calisto'; calisto_0_6f.dialogue = new Array('Just be glad you don\'t have to do bridge maintenance like me.'); calisto_0_6g = new Object(); calisto_0_6g.area = 'down'; calisto_0_6g.speaker = _level0.heroName; calisto_0_6g.portrait = _level0.charA001.portrait; calisto_0_6g.dialogue = new Array('Bridge maintenance?'); calisto_0_6h = new Object(); calisto_0_6h.area = 'up'; calisto_0_6h.speaker = 'Calisto Filio'; calisto_0_6h.portrait = 'calisto'; calisto_0_6h.dialogue = new Array('Yeah, you know the one at the Endless Gorge? I have to service it every few months or so.'); calisto_0_6i = new Object(); calisto_0_6i.area = 'down'; calisto_0_6i.speaker = _level0.heroName; calisto_0_6i.portrait = _level0.charA001.portrait; calisto_0_6i.dialogue = new Array('Wow, those shoes of yours... I do not want to be in them tomorrow.'); calisto_0_6j = new Object(); calisto_0_6j.area = 'up'; calisto_0_6j.speaker = 'Calisto Filio'; calisto_0_6j.portrait = 'calisto'; calisto_0_6j.dialogue = new Array('Told you.'); calisto_0_6k = new Object(); calisto_0_6k.area = 'up'; calisto_0_6k.speaker = 'Calisto Filio'; calisto_0_6k.portrait = 'calisto'; calisto_0_6k.dialogue = new Array('Now come on, let\'s get out of this grotto and go home.'); calisto_0_6l = new Object(); calisto_0_6l.area = 'down'; calisto_0_6l.speaker = _level0.heroName; calisto_0_6l.portrait = _level0.charA001.portrait; calisto_0_6l.dialogue = new Array('Right, you go your way, and I go mine.'); action1 = {'actionType': 'quest', 'id': '26', 'val': 99}; action3 = {'actionType': 'bg', 'transit': true, 'bg': 'blackout'}; action2 = {'actionType': 'shop', 'shopName': 'blackout', 'shopMenuHide': true}; action4 = {'actionType': 'sleepParty', 'id': 'A003'}; calisto_0_6l.actions = new Array(action1, action2, action3, action4); calisto_0_6m = new Object(); calisto_0_6m.area = 'down'; calisto_0_6m.speaker = ''; calisto_0_6m.portrait = ''; calisto_0_6m.dialogue = new Array('(...And so...)'); action1 = {'actionType': 'topVisible', 'toShow': false}; calisto_0_6m.actions = new Array(action1); calisto_0_6n = new Object(); calisto_0_6n.area = 'down'; calisto_0_6n.speaker = ''; calisto_0_6n.portrait = ''; calisto_0_6n.dialogue = new Array('(' + _level0.heroName + ' finally returns to Tikila Village...)'); action1 = {'actionType': 'bg', 'transit': true}; action3 = {'actionType': 'newmap', 'mapID': 1, 'areaID': 2, 'locX': 310, 'locZ': -210}; action4 = {'actionType': 'setTime', 'hours': 20, 'mins': 59}; action2 = {'actionType': 'exitShop'}; calisto_0_6n.actions = new Array(action1, action2, action3, action4); calisto_0_7 = new Object(); calisto_0_7.area = 'down'; calisto_0_7.speaker = _level0.heroName; calisto_0_7.portrait = _level0.charA001.portrait; calisto_0_7.dialogue = new Array('*Yawn* That was certainly tiring...'); calisto_0_7a = new Object(); calisto_0_7a.area = 'down'; calisto_0_7a.chatType = 'random'; calisto_0_7a.speaker = _level0.heroName; calisto_0_7a.portrait = _level0.charA001.portrait; calisto_0_7a.dialogue = new Array('Hope I\'m able to get up early tomorrow.', 'Hope I\'m able to get up early tomorrow.'); action1 = {'actionType': 'bg', 'transit': true, 'sleep': true, 'bg': 'house01'}; action2 = {'actionType': 'shop', 'shopName': 'house01', 'shopMenuHide': true}; calisto_0_7a.actions = new Array(action1, action2); calisto_0_7a.responses = new Array('ron_0', 'ron_0'); calisto_0g = new Array(calisto_0_6, calisto_0_6a, calisto_0_6b, calisto_0_6b1, calisto_0_6b2, calisto_0_6b3, calisto_0_6b4); calisto_0h = new Array(calisto_0_6b5, calisto_0_6b6, calisto_0_6b7, calisto_0_6c, calisto_0_6d, calisto_0_6e, calisto_0_6f, calisto_0_6g, calisto_0_6h, calisto_0_6i, calisto_0_6j, calisto_0_6k, calisto_0_6l, calisto_0_6m, calisto_0_6n, calisto_0_7, calisto_0_7a); calisto_0i = new Array(calisto_0_6b8, calisto_0_6b9, calisto_0_6c, calisto_0_6d, calisto_0_6e, calisto_0_6f, calisto_0_6g, calisto_0_6h, calisto_0_6i, calisto_0_6j, calisto_0_6k, calisto_0_6l, calisto_0_6m, calisto_0_6n, calisto_0_7, calisto_0_7a); calisto_0j = new Array(calisto_0_6b10, calisto_0_6b11, calisto_0_6b12, calisto_0_6b13, calisto_0_6c, calisto_0_6d, calisto_0_6e, calisto_0_6f, calisto_0_6g, calisto_0_6h, calisto_0_6i, calisto_0_6j, calisto_0_6k, calisto_0_6l, calisto_0_6m, calisto_0_6n, calisto_0_7, calisto_0_7a); calisto_1_1 = new Object(); calisto_1_1.area = 'up'; calisto_1_1.speaker = 'Calisto Filio'; calisto_1_1.portrait = 'calisto'; calisto_1_1.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 1}; condition1_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 0}; condition2_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 0}; condition2_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 1}; condition3_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 1}; condition3_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 1}; condition4_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 99}; condition4_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 1}; condition5_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 99}; condition5_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 99}; condition5_3 = {'compareType': 'item', 'id': 'I007Q', 'minVal': 1, 'maxVal': 999}; condition6_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 0}; condition6_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 99}; condition7_1 = {'compareType': 'quest', 'id': '9', 'statusVal': 1}; condition7_2 = {'compareType': 'quest', 'id': '3', 'statusVal': 99}; condition1 = new Array(condition1_1, condition1_2); condition2 = new Array(condition2_1, condition2_2); condition3 = new Array(condition3_1, condition3_2); condition4 = new Array(condition4_1, condition4_2); condition5 = new Array(condition5_1, condition5_2, condition5_3); condition6 = new Array(condition6_1, condition6_2); condition7 = new Array(condition7_1, condition7_2); calisto_1_1.conditionArray = new Array(condition1, condition2, condition3, condition4, condition5, condition6, condition7); calisto_1_1.dialogue = new Array('Mornin\' ' + _level0.heroName + '.', 'Somethin\' else I can do for you ' + _level0.heroName + '?', 'Mornin\' ' + _level0.heroName + '.', 'What now ' + _level0.heroName + '?', 'What are you still doin\' here? Shouldn\'t you be lookin\' for plasmarock?', 'What now ' + _level0.heroName + '?', 'Mornin\' ' + _level0.heroName + '.', 'What now ' + _level0.heroName + '?'); calisto_1_1.responses = new Array('calisto_1a', 'calisto_1b', 'calisto_2', 'calisto_2a', 'calisto_2b', 'calisto_3a', 'calisto_2', 'calisto_2a'); calisto_1_2 = new Object(); calisto_1_2.area = 'down'; calisto_1_2.speaker = _level0.heroName; calisto_1_2.portrait = _level0.charA001.portrait; calisto_1_2.dialogue = new Array('Cali... Still servicing the bridge?'); calisto_1_3 = new Object(); calisto_1_3.area = 'up'; calisto_1_3.speaker = 'Calisto Filio'; calisto_1_3.portrait = 'calisto'; calisto_1_3.dialogue = new Array('Not really. Some stupid sprout damaged the auto extender on this side when I was about to leave. So the bridge is down.'); calisto_1_4 = new Object(); calisto_1_4.area = 'up'; calisto_1_4.speaker = 'Calisto Filio'; calisto_1_4.portrait = 'calisto'; calisto_1_4.dialogue = new Array('If you\'re headin\' to Acero Terminus, you might want to wait \'til I\'m done fixin\' it.'); calisto_1_5 = new Object(); calisto_1_5.area = 'down'; calisto_1_5.speaker = _level0.heroName; calisto_1_5.portrait = _level0.charA001.portrait; calisto_1_5.dialogue = new Array('Actually I was just passing by. I think I\'ll just leave you to your work.'); calisto_1_6 = new Object(); calisto_1_6.area = 'up'; calisto_1_6.speaker = 'Calisto Filio'; calisto_1_6.portrait = 'calisto'; calisto_1_6.dialogue = new Array('Good. I\'ve got a lot of it ahead of me.'); action1 = {'actionType': 'quest', 'id': '9', 'val': 1}; calisto_1_6.actions = new Array(action1); calisto_1 = new Array(calisto_1_1); calisto_1a = new Array(calisto_1_2, calisto_1_3, calisto_1_4, calisto_1_5, calisto_1_6); calisto_1b = new Array(calisto_1_5, calisto_1_6); calisto_2_1 = new Object(); calisto_2_1.area = 'down'; calisto_2_1.speaker = _level0.heroName; calisto_2_1.portrait = _level0.charA001.portrait; calisto_2_1.dialogue = new Array('Hey Cali.'); calisto_2_2 = new Object(); calisto_2_2.area = 'down'; calisto_2_2.speaker = 'Billy Barrage'; calisto_2_2.portrait = 'barrage'; calisto_2_2.dialogue = new Array('Hey Cali!'); calisto_2_3 = new Object(); calisto_2_3.area = 'up'; calisto_2_3.speaker = 'Calisto Filio'; calisto_2_3.portrait = 'calisto'; calisto_2_3.dialogue = new Array('And I see you\'ve brought along Billy Barrage as well.'); calisto_2_5 = new Object(); calisto_2_5.area = 'down'; calisto_2_5.speaker = _level0.heroName; calisto_2_5.portrait = _level0.charA001.portrait; calisto_2_5.dialogue = new Array('Cali, Ron told us about the Macrogen you needed.'); calisto_2_6 = new Object(); calisto_2_6.area = 'up'; calisto_2_6.speaker = 'Calisto Filio'; calisto_2_6.portrait = 'calisto'; calisto_2_6.dialogue = new Array('And you brought it with you? Finally!!'); action1 = {'actionType': 'quest', 'id': '9', 'val': 99}; calisto_2_6.actions = new Array(action1); calisto_2_7 = new Object(); calisto_2_7.area = 'down'; calisto_2_7.speaker = _level0.heroName; calisto_2_7.portrait = _level0.charA001.portrait; calisto_2_7.chatType = 'compare'; condition1_1 = {'compareType': 'item', 'id': 'I007Q', 'minVal': 1, 'maxVal': 999}; condition1 = new Array(condition1_1); calisto_2_7.conditionArray = new Array(condition1); calisto_2_7.dialogue = new Array('Um no, we don\'t exactly have it yet.', 'Sorry you had to wait.'); calisto_2_7.responses = new Array('calisto_2d', 'calisto_3'); calisto_2_8 = new Object(); calisto_2_8.area = 'down'; calisto_2_8.speaker = 'Billy Barrage'; calisto_2_8.portrait = 'barrage'; calisto_2_8.dialogue = new Array('Mister R needs some raw plasmarock first.'); calisto_2_9 = new Object(); calisto_2_9.area = 'up'; calisto_2_9.speaker = 'Calisto Filio'; calisto_2_9.portrait = 'calisto'; calisto_2_9.dialogue = new Array('Well then what you both still standin\' around for?'); calisto_2_9a = new Object(); calisto_2_9a.area = 'up'; calisto_2_9a.speaker = 'Calisto Filio'; calisto_2_9a.portrait = 'calisto'; calisto_2_9a.dialogue = new Array('Go get that plasmarock already!'); calisto_2_10 = new Object(); calisto_2_10.area = 'down'; calisto_2_10.speaker = _level0.heroName; calisto_2_10.chatType = 'compare'; condition1_1 = {'compareType': 'item', 'id': 'I006Q', 'minVal': 3, 'maxVal': 999}; condition1 = new Array(condition1_1); calisto_2_10.conditionArray = new Array(condition1); calisto_2_10.portrait = _level0.charA001.portrait; calisto_2_10.dialogue = new Array('Relax Cali, we\'ll have it in no time.', 'Relax Cali, we already got what we need.'); calisto_2_10.responses = new Array('calisto_2c', 'calisto_2c'); calisto_2_11 = new Object(); calisto_2_11.area = 'up'; calisto_2_11.speaker = 'Calisto Filio'; calisto_2_11.portrait = 'calisto'; calisto_2_11.dialogue = new Array('*Sigh* I\'ll relax once I see that Macrogen.'); calisto_2 = new Array(calisto_2_1, calisto_2_2, calisto_2_3, calisto_2_5, calisto_2_6, calisto_2_7); calisto_2a = new Array(calisto_2_2, calisto_2_3, calisto_2_5, calisto_2_6, calisto_2_7); calisto_2b = new Array(calisto_2_10); calisto_2c = new Array(calisto_2_11); calisto_2d = new Array(calisto_2_8, calisto_2_9, calisto_2_9a, calisto_2_10); calisto_3_0 = new Object(); calisto_3_0.area = 'down'; calisto_3_0.speaker = _level0.heroName; calisto_3_0.portrait = _level0.charA001.portrait; 1; calisto_3_0.dialogue = new Array('I\'ve got your Macrogen, Cali.'); calisto_3_1 = new Object(); calisto_3_1.area = 'up'; calisto_3_1.speaker = 'Calisto Filio'; calisto_3_1.portrait = 'calisto'; calisto_3_1.dialogue = new Array('Took you two long enough.'); calisto_3_2 = new Object(); calisto_3_2.area = 'down'; calisto_3_2.speaker = _level0.heroName; calisto_3_2.portrait = _level0.charA001.portrait; 1; calisto_3_2.dialogue = new Array('Well excuuuuuuse me for \'takin\' my time\', but you have no idea how difficult it was to find the parts Ron needed to build that thing.'); calisto_3_3 = new Object(); calisto_3_3.area = 'up'; calisto_3_3.speaker = 'Calisto Filio'; calisto_3_3.portrait = 'calisto'; calisto_3_3.dialogue = new Array('And you have no idea how long I\'ve been standin\' here just waitin\'.'); calisto_3_4 = new Object(); calisto_3_4.area = 'down'; calisto_3_4.speaker = 'Billy Barrage'; calisto_3_4.portrait = 'barrage'; calisto_3_4.dialogue = new Array(_level0.heroName + '\'s right Cali. Give us a break.'); calisto_3_5 = new Object(); calisto_3_5.area = 'up'; calisto_3_5.speaker = 'Calisto Filio'; calisto_3_5.portrait = 'calisto'; calisto_3_5.dialogue = new Array('*Sigh* You\'re right Billy. It\'s nobody\'s fault, so I apologize.'); calisto_3_6 = new Object(); calisto_3_6.area = 'down'; calisto_3_6.speaker = _level0.heroName; calisto_3_6.portrait = _level0.charA001.portrait; 1; calisto_3_6.dialogue = new Array('So what happens now?'); calisto_3_7 = new Object(); calisto_3_7.area = 'up'; calisto_3_7.speaker = 'Calisto Filio'; calisto_3_7.portrait = 'calisto'; calisto_3_7.dialogue = new Array('Now? Now I...'); calisto_3_8 = new Object(); calisto_3_8.area = 'down'; calisto_3_8.speaker = 'Billy Barrage'; calisto_3_8.portrait = 'barrage'; calisto_3_8.dialogue = new Array('Fix the bridge!'); calisto_3_9 = new Object(); calisto_3_9.area = 'up'; calisto_3_9.speaker = 'Calisto Filio'; calisto_3_9.portrait = 'calisto'; calisto_3_9.dialogue = new Array('Don\'t do that.'); calisto_3_10 = new Object(); calisto_3_10.area = 'down'; calisto_3_10.speaker = 'Billy Barrage'; calisto_3_10.portrait = 'barrage'; calisto_3_10.dialogue = new Array('Do what?'); calisto_3_11 = new Object(); calisto_3_11.area = 'up'; calisto_3_11.speaker = 'Calisto Filio'; calisto_3_11.portrait = 'calisto'; calisto_3_11.dialogue = new Array('Finish my sentences. It\'s annoyin\'.'); calisto_3_12 = new Object(); calisto_3_12.area = 'down'; calisto_3_12.speaker = 'Billy Barrage'; calisto_3_12.portrait = 'barrage'; calisto_3_12.dialogue = new Array('Sorry, Cali.'); calisto_3_13 = new Object(); calisto_3_13.area = 'up'; calisto_3_13.speaker = 'Calisto Filio'; calisto_3_13.portrait = 'calisto'; calisto_3_13.dialogue = new Array('You two wait right here for me, okay? I want to thank Ron personally, so I\'ll go back to the garage with you.'); action1 = {'actionType': 'item', 'id': 'I007Q', 'val': -1}; action2 = {'actionType': 'quest', 'id': '8', 'val': 99}; action3 = {'actionType': 'wakeParty', 'id': 'A003', 'pos': 3}; calisto_3_13.actions = new Array(action1, action2, action3); calisto_3_14 = new Object(); calisto_3_14.area = 'down'; calisto_3_14.speaker = _level0.heroName; calisto_3_14.portrait = _level0.charA001.portrait; calisto_3_14.dialogue = new Array('Sure. But I need to head to Acero Terminus to collect something first.'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; calisto_3_14.actions = new Array(action1, action2); calisto_3_15 = new Object(); calisto_3_15.area = 'up'; calisto_3_15.speaker = 'Calisto Filio'; calisto_3_15.portrait = 'calisto'; action1 = {'actionType': 'bottomVisible', 'toShow': false}; calisto_3_15.dialogue = new Array('There! All done.'); calisto_3_15.actions = new Array(action1); calisto_3_16 = new Object(); calisto_3_16.area = 'up'; calisto_3_16.speaker = 'Calisto Filio'; calisto_3_16.portrait = 'calisto'; calisto_3_16.dialogue = new Array('Not a bad piece of work if I do say so myself.'); calisto_3_17 = new Object(); calisto_3_17.area = 'down'; calisto_3_17.speaker = _level0.heroName; calisto_3_17.portrait = _level0.charA001.portrait; action1 = {'actionType': 'bottomVisible', 'toShow': true}; calisto_3_17.dialogue = new Array('Um... Could you not stand there and admire it? I still have an errand to run for Ron.'); calisto_3_17.actions = new Array(action1); calisto_3_18 = new Object(); calisto_3_18.area = 'up'; calisto_3_18.speaker = 'Calisto Filio'; calisto_3_18.portrait = 'calisto'; calisto_3_18.dialogue = new Array('Oh right, sorry ' + _level0.heroName + '. Let\'s go.'); calisto_3 = new Array(calisto_3_1, calisto_3_2, calisto_3_3, calisto_3_4, calisto_3_5, calisto_3_6, calisto_3_7, calisto_3_8, calisto_3_9, calisto_3_10, calisto_3_11, calisto_3_12, calisto_3_13, calisto_3_14, calisto_3_15, calisto_3_16, calisto_3_17, calisto_3_18); calisto_3a = new Array(calisto_3_0, calisto_3_1, calisto_3_2, calisto_3_3, calisto_3_4, calisto_3_5, calisto_3_6, calisto_3_7, calisto_3_8, calisto_3_9, calisto_3_10, calisto_3_11, calisto_3_12, calisto_3_13, calisto_3_14, calisto_3_15, calisto_3_16, calisto_3_17, calisto_3_18); drak_0_0 = new Object(); drak_0_0.area = 'up'; drak_0_0.speaker = 'Drake Thompson'; drak_0_0.portrait = 'drak'; drak_0_0.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '22', 'statusVal': 99}; condition1 = new Array(condition1_1); condition2_1 = {'compareType': 'quest', 'id': '22', 'statusVal': 99}; condition2_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 1}; condition2 = new Array(condition2_1, condition2_2); drak_0_0.conditionArray = new Array(condition1, condition2); drak_0_0.dialogue = new Array('Hullo Billy!', 'Oh, back again I see.', 'How\'s the search going?'); drak_0_0.responses = new Array('drak_0a', 'drak_0b', 'drak_1'); drak_0_1 = new Object(); drak_0_1.area = 'up'; drak_0_1.speaker = 'Drake Thompson'; drak_0_1.portrait = 'drak'; drak_0_1.dialogue = new Array('Oh! And ' + _level0.heroName + ' and Calisto too! Welcome! Welcome to Acero Terminus!'); drak_0_2 = new Object(); drak_0_2.area = 'down'; drak_0_2.speaker = 'Billy Barrage'; drak_0_2.portrait = 'barrage'; drak_0_2.dialogue = new Array('Mister D!'); drak_0_3 = new Object(); drak_0_3.area = 'down'; drak_0_3.speaker = 'Calisto'; drak_0_3.portrait = 'calisto'; drak_0_3.dialogue = new Array('Always in high spirits eh Drake?'); drak_0_4 = new Object(); drak_0_4.area = 'down'; drak_0_4.speaker = _level0.heroName; drak_0_4.portrait = _level0.charA001.portrait; drak_0_4.dialogue = new Array('Good to see you Drake. How\'s business for the terminal?'); drak_0_5 = new Object(); drak_0_5.area = 'up'; drak_0_5.speaker = 'Drake Thompson'; drak_0_5.portrait = 'drak'; drak_0_5.dialogue = new Array('Oh not good, not good. Not good at all.'); drak_0_6 = new Object(); drak_0_6.area = 'up'; drak_0_6.speaker = 'Drake Thompson'; drak_0_6.portrait = 'drak'; drak_0_6.dialogue = new Array('In fact, Royo Airways hasn\'t had a trip out of Acero since yesterday morning.'); drak_0_7 = new Object(); drak_0_7.area = 'up'; drak_0_7.speaker = 'Drake Thompson'; drak_0_7.portrait = 'drak'; drak_0_7.dialogue = new Array('We\'re running late, so very very late!'); drak_0_8 = new Object(); drak_0_8.area = 'down'; drak_0_8.speaker = 'Billy Barrage'; drak_0_8.portrait = 'barrage'; drak_0_8.dialogue = new Array('What happened?'); drak_0_9 = new Object(); drak_0_9.area = 'up'; drak_0_9.speaker = 'Drake Thompson'; drak_0_9.portrait = 'drak'; drak_0_9.dialogue = new Array('Well you see, the airship\'s navigation unit had to be replaced, so Royo Corp took back the old one.'); drak_0_10 = new Object(); drak_0_10.area = 'up'; drak_0_10.speaker = 'Drake Thompson'; drak_0_10.portrait = 'drak'; drak_0_10.dialogue = new Array('They were bringing in a new one, but there was this minor accident on the way here, and...'); drak_0_11 = new Object(); drak_0_11.area = 'down'; drak_0_11.speaker = 'Calisto'; drak_0_11.portrait = 'calisto'; drak_0_11.dialogue = new Array('And?'); drak_0_12 = new Object(); drak_0_12.area = 'up'; drak_0_12.speaker = 'Drake Thompson'; drak_0_12.portrait = 'drak'; drak_0_12.dialogue = new Array('...And the cargo fell out while the delivery airship was over Tidal Caves.'); drak_0_13 = new Object(); drak_0_13.area = 'up'; drak_0_13.speaker = 'Drake Thompson'; drak_0_13.portrait = 'drak'; drak_0_13.dialogue = new Array('So now the replacement navigation unit\'s lost, and the people at Royo Corp have to make a new one.'); drak_0_14 = new Object(); drak_0_14.area = 'up'; drak_0_14.speaker = 'Drake Thompson'; drak_0_14.portrait = 'drak'; drak_0_14.dialogue = new Array('Which could take about a week or so according to my contact at Royo.'); drak_0_14a = new Object(); drak_0_14a.area = 'up'; drak_0_14a.speaker = 'Drake Thompson'; drak_0_14a.portrait = 'drak'; drak_0_14a.dialogue = new Array('Ah, the company\'s probably having a fit about the losses being made at this terminal.'); drak_0_15 = new Object(); drak_0_15.area = 'down'; drak_0_15.chatType = 'choice'; drak_0_15.speaker = _level0.heroName; drak_0_15.portrait = _level0.charA001.portrait; drak_0_15.dialogue = new Array('Sorry to hear that.', 'Why don\'t you just go look for it?', 'You sold that Navi Unit didn\'t you?'); drak_0_15.responses = new Array('drak_0a1', 'drak_0a2', 'drak_0a3'); drak_0_15a = new Object(); drak_0_15a.area = 'down'; drak_0_15a.speaker = _level0.heroName; drak_0_15a.portrait = _level0.charA001.portrait; drak_0_15a.dialogue = new Array('Wow... Um, sorry to hear that Drake. Especially since Acero Isle only has one passenger airship.'); drak_0_15a1 = new Object(); drak_0_15a1.area = 'up'; drak_0_15a1.speaker = 'Drake Thompson'; drak_0_15a1.portrait = 'drak'; drak_0_15a1.dialogue = new Array('That\'s alright ' + _level0.heroName + '.'); drak_0_15a2 = new Object(); drak_0_15a2.area = 'down'; drak_0_15a2.speaker = 'Billy Barrage'; drak_0_15a2.portrait = 'barrage'; drak_0_15a2.dialogue = new Array('Why not just go search for the Navigation Unit in the caves?'); drak_0_15a3 = new Object(); drak_0_15a3.area = 'up'; drak_0_15a3.speaker = 'Drake Thompson'; drak_0_15a3.portrait = 'drak'; drak_0_15a3.dialogue = new Array('And just how is an old geezer like me going to do that, Billy?'); drak_0_15a4 = new Object(); drak_0_15a4.area = 'down'; drak_0_15a4.speaker = 'Billy Barrage'; drak_0_15a4.portrait = 'barrage'; drak_0_15a4.dialogue = new Array('Point taken Mister D.'); drak_0_15a5 = new Object(); drak_0_15a5.area = 'down'; drak_0_15a5.speaker = 'Calisto'; drak_0_15a5.portrait = 'calisto'; drak_0_15a5.dialogue = new Array('Oh come on Drake, you sold away that Navigation Unit didn\'t you?'); drak_0_15a6 = new Object(); drak_0_15a6.area = 'up'; drak_0_15a6.speaker = 'Drake Thompson'; drak_0_15a6.portrait = 'drak'; drak_0_15a6.dialogue = new Array('What?!? How could you-- All I\'ve ever done was take from the petty cash box!'); drak_0_15a7 = new Object(); drak_0_15a7.area = 'down'; drak_0_15a7.speaker = 'Calisto'; drak_0_15a7.portrait = 'calisto'; drak_0_15a7.dialogue = new Array('Jeez.. Relax. I was only kidding.'); drak_0_15b = new Object(); drak_0_15b.area = 'down'; drak_0_15b.speaker = _level0.heroName; drak_0_15b.portrait = _level0.charA001.portrait; drak_0_15b.dialogue = new Array('Anyway, I came to pick up Ron\'s wares. You know, the crate of polyboards he ordered?'); drak_0_15c = new Object(); drak_0_15c.area = 'up'; drak_0_15c.speaker = 'Drake Thompson'; drak_0_15c.portrait = 'drak'; drak_0_15c.dialogue = new Array('Ah, they\'re right over there. Be my guest.'); action1 = {'actionType': 'quest', 'id': '22', 'val': 99}; action2 = {'actionType': 'item', 'id': 'I012Q', 'val': 1}; drak_0_15c.actions = new Array(action1, action2); drak_0_15d = new Object(); drak_0_15d.area = 'down'; drak_0_15d.speaker = _level0.heroName; drak_0_15d.portrait = _level0.charA001.portrait; drak_0_15d.dialogue = new Array('Thanks Drake.'); drak_0_15e = new Object(); drak_0_15e.area = 'up'; drak_0_15e.speaker = 'Drake Thompson'; drak_0_15e.portrait = 'drak'; drak_0_15e.dialogue = new Array('No need for thanks. It is my job after all.'); drak_0_15f = new Object(); drak_0_15f.area = 'up'; drak_0_15f.speaker = 'Drake Thompson'; drak_0_15f.portrait = 'drak'; drak_0_15f.dialogue = new Array('Now if only things weren\'t running so far behind schedule...'); drak_0_16 = new Object(); drak_0_16.area = 'down'; drak_0_16.speaker = _level0.heroName; drak_0_16.portrait = _level0.charA001.portrait; drak_0_16.dialogue = new Array('Oh no... We can\'t afford to wait another day, let alone another week.'); drak_0_17 = new Object(); drak_0_17.area = 'down'; drak_0_17.speaker = _level0.heroName; drak_0_17.portrait = _level0.charA001.portrait; drak_0_17.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '24', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '18', 'statusVal': 99}; condition1 = new Array(condition1_1, condition1_2); drak_0_17.conditionArray = new Array(condition1, condition2); drak_0_17.dialogue = new Array('Just double checking to see if I left anything behind.', 'Drake, is there anything we can do to get the airship runnning as soon as possible?'); drak_0_17.responses = new Array('drak_0c', 'drak_0d'); drak_0_17a = new Object(); drak_0_17a.area = 'up'; drak_0_17a.speaker = 'Drake Thompson'; drak_0_17a.portrait = 'drak'; drak_0_17a.dialogue = new Array('No I don\'t think so. But if I do happen to find anything, I\'ll be sure to call the garage.'); drak_0_18 = new Object(); drak_0_18.area = 'up'; drak_0_18.speaker = 'Drake Thompson'; drak_0_18.portrait = 'drak'; drak_0_18.dialogue = new Array('You seem to be urgent. Where are the three of you going anyway?'); drak_0_19 = new Object(); drak_0_19.area = 'down'; drak_0_19.speaker = 'Calisto'; drak_0_19.portrait = 'calisto'; drak_0_19.dialogue = new Array('The Imperial City.'); drak_0_20 = new Object(); drak_0_20.area = 'down'; drak_0_20.speaker = 'Billy Barrage'; drak_0_20.portrait = 'barrage'; drak_0_20.dialogue = new Array('Soldiers kidnapped Mister R.'); drak_0_21 = new Object(); drak_0_21.area = 'up'; drak_0_21.speaker = 'Drake Thompson'; drak_0_21.portrait = 'drak'; drak_0_21.dialogue = new Array('The Imperialists took Ron?? But why would they do that?'); drak_0_22 = new Object(); drak_0_22.area = 'down'; drak_0_22.speaker = _level0.heroName; drak_0_22.portrait = _level0.charA001.portrait; drak_0_22.dialogue = new Array('That\'s what we intend to find out.'); drak_0_23 = new Object(); drak_0_23.area = 'up'; drak_0_23.speaker = 'Drake Thompson'; drak_0_23.portrait = 'drak'; drak_0_23.dialogue = new Array('This explains why Imperial Soldiers have been going around Acero asking questions.'); drak_0_24 = new Object(); drak_0_24.area = 'up'; drak_0_24.speaker = 'Drake Thompson'; drak_0_24.portrait = 'drak'; drak_0_24.dialogue = new Array('Tell you what, go over to Tidal Caves and see if you can find that navigation unit.'); drak_0_25 = new Object(); drak_0_25.area = 'up'; drak_0_25.speaker = 'Drake Thompson'; drak_0_25.portrait = 'drak'; drak_0_25.dialogue = new Array('There\'s a slim chance that it\'s still intact even after the fall.'); drak_0_26 = new Object(); drak_0_26.area = 'up'; drak_0_26.speaker = 'Drake Thompson'; drak_0_26.portrait = 'drak'; drak_0_26.dialogue = new Array('If it still works, then we can get you three to the city as soon as possible.'); drak_0_27 = new Object(); drak_0_27.area = 'down'; drak_0_27.speaker = _level0.heroName; drak_0_27.portrait = _level0.charA001.portrait; drak_0_27.dialogue = new Array('Thanks Drake. We\'ll do out best to find it.'); drak_0_28 = new Object(); drak_0_28.area = 'up'; drak_0_28.speaker = 'Drake Thompson'; drak_0_28.portrait = 'drak'; drak_0_28.dialogue = new Array('Now remember, the entrance is flooded at high tide, so you\'ll have to wait until the tide is low in order to explore it.'); drak_0_28a = new Object(); drak_0_28a.area = 'up'; drak_0_28a.speaker = 'Drake Thompson'; drak_0_28a.portrait = 'drak'; drak_0_28a.dialogue = new Array('Here, take this. It\'s a list of timings for the tides.'); action1 = {'actionType': 'item', 'id': 'I009Q', 'val': 1}; drak_0_28a.actions = new Array(action1); drak_0_29 = new Object(); drak_0_29.area = 'up'; drak_0_29.speaker = 'Drake Thompson'; drak_0_29.portrait = 'drak'; drak_0_29.dialogue = new Array('Come to think of it, if you three do manage to bring it back intact, business can finally pick up again.'); drak_0_30 = new Object(); drak_0_30.area = 'up'; drak_0_30.speaker = 'Drake Thompson'; drak_0_30.portrait = 'drak'; drak_0_30.dialogue = new Array('But right now... Dear me, we are late, so late!'); action1 = {'actionType': 'quest', 'id': '23', 'val': 1}; drak_0_30.actions = new Array(action1); drak_0 = new Array(drak_0_0); drak_0a = new Array(drak_0_1, drak_0_2, drak_0_3, drak_0_4, drak_0_5, drak_0_6, drak_0_7, drak_0_8, drak_0_9, drak_0_10, drak_0_11, drak_0_12, drak_0_13, drak_0_14, drak_0_14a, drak_0_15); drak_0a1 = new Array(drak_0_15a, drak_0_15a1, drak_0_15b, drak_0_15c, drak_0_15d, drak_0_15e, drak_0_15f); drak_0a2 = new Array(drak_0_15a2, drak_0_15a3, drak_0_15a4, drak_0_15b, drak_0_15c, drak_0_15d, drak_0_15e, drak_0_15f); drak_0a3 = new Array(drak_0_15a5, drak_0_15a6, drak_0_15a7, drak_0_15b, drak_0_15c, drak_0_15d, drak_0_15e, drak_0_15f); drak_0b = new Array(drak_0_17); drak_0c = new Array(drak_0_17a, drak_0_15d, drak_0_15e, drak_0_15f); drak_0d = new Array(drak_0_18, drak_0_19, drak_0_20, drak_0_21, drak_0_22, drak_0_23, drak_0_24, drak_0_25, drak_0_26, drak_0_28, drak_0_28a, drak_0_27, drak_0_29, drak_0_30); drak_1_0 = new Object(); drak_1_0.area = 'down'; drak_1_0.speaker = 'Billy Barrage'; drak_1_0.portrait = 'barrage'; drak_1_0.chatType = 'compare'; condition1_1 = {'compareType': 'item', 'id': 'I008Q', 'minVal': 1, 'maxVal': 999}; condition1 = new Array(condition1_1); drak_1_0.conditionArray = new Array(condition1); drak_1_0.dialogue = new Array('Still no luck finding it, Mister D.', 'We finally found it, Mister D!'); drak_1_0.responses = new Array('drak_1a', 'drak_2'); drak_1_1 = new Object(); drak_1_1.area = 'up'; drak_1_1.speaker = 'Drake Thompson'; drak_1_1.portrait = 'drak'; drak_1_1.dialogue = new Array('Keep trying you three, and remember to enter the cave only when the tide is low.'); drak_1_2 = new Object(); drak_1_2.area = 'up'; drak_1_2.speaker = 'Drake Thompson'; drak_1_2.portrait = 'drak'; drak_1_2.dialogue = new Array('*Sigh* Dear me, dear me... We are so far, so far behind schedule...'); drak_1 = new Array(drak_1_0); drak_1a = new Array(drak_1_1, drak_1_2); drak_2_1 = new Object(); drak_2_1.area = 'up'; drak_2_1.speaker = 'Drake Thompson'; drak_2_1.portrait = 'drak'; drak_2_1.dialogue = new Array('That\'s unbelievable! And it\'s still working?'); drak_2_2 = new Object(); drak_2_2.area = 'down'; drak_2_2.speaker = 'Calisto'; drak_2_2.portrait = 'calisto'; drak_2_2.dialogue = new Array('I can attest to that.'); drak_2_3 = new Object(); drak_2_3.area = 'up'; drak_2_3.speaker = 'Drake Thompson'; drak_2_3.portrait = 'drak'; drak_2_3.dialogue = new Array('Oh this is good! Very very good!'); drak_2_4 = new Object(); drak_2_4.area = 'up'; drak_2_4.speaker = 'Drake Thompson'; drak_2_4.portrait = 'drak'; drak_2_4.dialogue = new Array('Amazing! Must have been a lot of trouble finding this thing.'); drak_2_5 = new Object(); drak_2_5.area = 'down'; drak_2_5.speaker = 'Calisto'; drak_2_5.portrait = 'calisto'; drak_2_5.dialogue = new Array('Oh no, no trouble at all.'); drak_2_6 = new Object(); drak_2_6.area = 'down'; drak_2_6.speaker = 'Billy Barrage'; drak_2_6.portrait = 'barrage'; drak_2_6.dialogue = new Array('...'); drak_2_7 = new Object(); drak_2_7.area = 'down'; drak_2_7.speaker = _level0.heroName; drak_2_7.portrait = _level0.charA001.portrait; drak_2_7.dialogue = new Array('(Glares at Calisto)'); drak_2_8 = new Object(); drak_2_8.area = 'down'; drak_2_8.speaker = 'Calisto'; drak_2_8.portrait = 'calisto'; drak_2_8.dialogue = new Array('*Grin*'); drak_2_9 = new Object(); drak_2_9.area = 'up'; drak_2_9.speaker = 'Drake Thompson'; drak_2_9.portrait = 'drak'; drak_2_9.dialogue = new Array('Wait here while I get the boys to install the unit into the airship.'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'quest', 'id': '23', 'val': 99}; action3 = {'actionType': 'item', 'id': 'I008Q', 'val': -1}; action4 = {'actionType': 'quest', 'id': '34', 'val': 99}; drak_2_9.actions = new Array(action1); drak_2_10 = new Object(); drak_2_10.area = 'up'; drak_2_10.speaker = 'Drake Thompson'; drak_2_10.portrait = 'drak'; drak_2_10.dialogue = new Array('Right, now that that\'s done, she should be up and running.'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; drak_2_10.actions = new Array(action1); drak_2_11 = new Object(); drak_2_11.area = 'down'; drak_2_11.speaker = _level0.heroName; drak_2_11.portrait = _level0.charA001.portrait; drak_2_11.dialogue = new Array('So how much for the tickets to the Imperial City?'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; drak_2_11.actions = new Array(action1); drak_2_12 = new Object(); drak_2_12.area = 'up'; drak_2_12.speaker = 'Drake Thompson'; drak_2_12.portrait = 'drak'; drak_2_12.dialogue = new Array('Tickets? *Pfft* Forget about it!'); drak_2_13 = new Object(); drak_2_13.area = 'down'; drak_2_13.speaker = _level0.heroName; drak_2_13.portrait = _level0.charA001.portrait; drak_2_13.dialogue = new Array('???'); drak_2_14 = new Object(); drak_2_14.area = 'up'; drak_2_14.speaker = 'Drake Thompson'; drak_2_14.portrait = 'drak'; drak_2_14.dialogue = new Array('Look, after what you\'ve done for us by getting back the Navi Unit, and considering the urgency of your current situation, I\'d say this one\'s on the house!'); drak_2_15 = new Object(); drak_2_15.area = 'up'; drak_2_15.speaker = 'Drake Thompson'; drak_2_15.portrait = 'drak'; drak_2_15.dialogue = new Array('Besides, Billy and his mother are frequent fliers with us, since they go all over the place for bounty hunting.'); drak_2_16 = new Object(); drak_2_16.area = 'down'; drak_2_16.speaker = 'Billy Barrage'; drak_2_16.portrait = 'barrage'; drak_2_16.dialogue = new Array('But what about-'); drak_2_17 = new Object(); drak_2_17.area = 'up'; drak_2_17.speaker = 'Drake Thompson'; drak_2_17.portrait = 'drak'; drak_2_17.dialogue = new Array('Don\'t worry about it. Leave everything to me, it\'s the least I can do for all of you.'); drak_2_18 = new Object(); drak_2_18.area = 'up'; drak_2_18.speaker = 'Drake Thompson'; drak_2_18.portrait = 'drak'; drak_2_18.dialogue = new Array('Now then... Go on and load your MAWs into the airship.'); drak_2_19 = new Object(); drak_2_19.area = 'up'; drak_2_19.speaker = 'Drake Thompson'; drak_2_19.portrait = 'drak'; drak_2_19.dialogue = new Array('Next stop: The Imperial City!'); drak_2_20 = new Object(); drak_2_20.area = 'up'; drak_2_20.speaker = 'Drake Thompson'; drak_2_20.portrait = 'drak'; drak_2_20.dialogue = new Array('ALL ABOARD!!!'); action1 = {'actionType': 'music', 'trackname': 'sleep', 'noloop': true}; drak_2_20.actions = new Array(action1); drak_2_21 = new Object(); drak_2_21.area = 'down'; drak_2_21.speaker = _level0.heroName; drak_2_21.portrait = _level0.charA001.portrait; drak_2_21.dialogue = new Array('I guess this is it then.'); drak_2_22 = new Object(); drak_2_22.area = 'down'; drak_2_22.speaker = 'Billy Barrage'; drak_2_22.portrait = 'barrage'; drak_2_22.dialogue = new Array('No turning back now.'); drak_2_23 = new Object(); drak_2_23.area = 'down'; drak_2_23.speaker = 'Calisto'; drak_2_23.portrait = 'calisto'; drak_2_23.dialogue = new Array('Hmph... And the adventure continues...'); action1 = {'actionType': 'endgame'}; drak_2_23.actions = new Array(action1); drak_2 = new Array(drak_2_1, drak_2_2, drak_2_4, drak_2_5, drak_2_6, drak_2_7, drak_2_8, drak_2_3, drak_2_9, drak_2_10, drak_2_11, drak_2_12, drak_2_13, drak_2_14, drak_2_15, drak_2_16, drak_2_17, drak_2_18, drak_2_19, drak_2_20, drak_2_21, drak_2_22, drak_2_23); jack_0_0 = new Object(); jack_0_0.area = 'down'; jack_0_0.speaker = _level0.heroName; jack_0_0.portrait = _level0.charA001.portrait; jack_0_0.dialogue = new Array('I think this is what we\'re looking for.'); jack_0_0a = new Object(); jack_0_0a.area = 'down'; jack_0_0a.speaker = 'Calisto'; jack_0_0a.portrait = 'calisto'; jack_0_0a.dialogue = new Array('Heeeey, looks like the unit\'s still workin\' fine.'); jack_0_1 = new Object(); jack_0_1.area = 'up'; jack_0_1.speaker = '???'; jack_0_1.portrait = 'blank'; jack_0_1.dialogue = new Array('Yar!'); jack_0_2 = new Object(); jack_0_2.area = 'down'; jack_0_2.speaker = _level0.heroName; jack_0_2.portrait = _level0.charA001.portrait; jack_0_2.dialogue = new Array('Did you say something, Billy?'); jack_0_3 = new Object(); jack_0_3.area = 'down'; jack_0_3.speaker = 'Billy Barrage'; jack_0_3.portrait = 'barrage'; jack_0_3.dialogue = new Array('Wasn\'t me.'); jack_0_4 = new Object(); jack_0_4.area = 'up'; jack_0_4.speaker = '???'; jack_0_4.portrait = 'jack'; jack_0_4.dialogue = new Array('Yar! Who be stealin\' Deadeye Jack\'s compass?'); action1 = {'actionType': 'animate_map', 'id': 'cell11_11', 'val': 'a2'}; jack_0_4.actions = new Array(action1); jack_0_4a = new Object(); jack_0_4a.area = 'down'; jack_0_4a.chatType = 'choice'; jack_0_4a.speaker = _level0.heroName; jack_0_4a.portrait = _level0.charA001.portrait; jack_0_4a.dialogue = new Array('This doesn\'t belong to you.', 'You have got to be kidding.', 'Ahoy there!'); jack_0_4a.responses = new Array('jack_0a', 'jack_0b', 'jack_0c'); jack_0_4b = new Object(); jack_0_4b.area = 'down'; jack_0_4b.speaker = _level0.heroName; jack_0_4b.portrait = _level0.charA001.portrait; jack_0_4b.dialogue = new Array('Ahoy there, matey!'); jack_0_4c = new Object(); jack_0_4c.area = 'up'; jack_0_4c.speaker = '???'; jack_0_4c.portrait = 'jack'; jack_0_4c.dialogue = new Array('Shiver me timbers! Ye\'r a fellow pirate too?'); jack_0_4d = new Object(); jack_0_4d.area = 'down'; jack_0_4d.speaker = 'Calisto'; jack_0_4d.portrait = 'calisto'; jack_0_4d.dialogue = new Array('Okay quit foolin\' around with the pirate-talk.'); jack_0_4e = new Object(); jack_0_4e.area = 'down'; jack_0_4e.speaker = _level0.heroName; jack_0_4e.portrait = _level0.charA001.portrait; jack_0_4e.dialogue = new Array('*Ahem* Sorry.'); jack_0_5 = new Object(); jack_0_5.area = 'down'; jack_0_5.speaker = 'Calisto'; jack_0_5.portrait = 'calisto'; jack_0_5.dialogue = new Array('You have got to be kiddin\' me...'); jack_0_5a = new Object(); jack_0_5a.area = 'down'; jack_0_5a.speaker = 'Calisto'; jack_0_5a.portrait = 'calisto'; jack_0_5a.dialogue = new Array('Are you for real?'); jack_0_6 = new Object(); jack_0_6.area = 'up'; jack_0_6.speaker = 'Deadeye Jack'; jack_0_6.portrait = 'jack'; jack_0_6.dialogue = new Array('What d\'ye mean, girlie?'); jack_0_7 = new Object(); jack_0_7.area = 'down'; jack_0_7.speaker = 'Calisto'; jack_0_7.portrait = 'calisto'; jack_0_7.dialogue = new Array('*Groan* Never mind.'); jack_0_8 = new Object(); jack_0_8.area = 'up'; jack_0_8.speaker = 'Deadeye Jack'; jack_0_8.portrait = 'jack'; jack_0_8.dialogue = new Array('Now stop wastin\' me time and gimme back me compass.'); jack_0_9 = new Object(); jack_0_9.area = 'down'; jack_0_9.speaker = 'Billy Barrage'; jack_0_9.portrait = 'barrage'; jack_0_9.dialogue = new Array('Sir, this doesn\'t belong to you.'); jack_0_10 = new Object(); jack_0_10.area = 'up'; jack_0_10.speaker = 'Deadeye Jack'; jack_0_10.portrait = 'jack'; jack_0_10.dialogue = new Array('Ye\'r wrong boy, this belongs ta Jack \'n Jack only.'); jack_0_11 = new Object(); jack_0_11.area = 'up'; jack_0_11.speaker = 'Deadeye Jack'; jack_0_11.portrait = 'jack'; jack_0_11.dialogue = new Array('Jack be needin\' it fer sailin\' the high seas, \'n deliverin\' imitation machine parts.'); jack_0_12 = new Object(); jack_0_12.area = 'up'; jack_0_12.speaker = 'Deadeye Jack'; jack_0_12.portrait = 'jack'; jack_0_12.dialogue = new Array('Top-o-the-line these parts are, jus\' like the ones fr\'m Royo Corp.'); jack_0_13 = new Object(); jack_0_13.area = 'down'; jack_0_13.speaker = _level0.heroName; jack_0_13.portrait = _level0.charA001.portrait; jack_0_13.dialogue = new Array('Imitation machine parts? Wait, don\'t you people rob and pillage other ships at sea?'); jack_0_14 = new Object(); jack_0_14.area = 'up'; jack_0_14.speaker = 'Deadeye Jack'; jack_0_14.portrait = 'jack'; jack_0_14.dialogue = new Array('Pillage? Rob? What\'r ye talkin\' about? I\'m a pirate!'); jack_0_15 = new Object(); jack_0_15.area = 'up'; jack_0_15.speaker = 'Deadeye Jack'; jack_0_15.portrait = 'jack'; jack_0_15.dialogue = new Array('Me ship\'s compass went down, so Jack be needin\' a new one ta make dem deliveries.'); jack_0_16 = new Object(); jack_0_16.area = 'down'; jack_0_16.speaker = 'Calisto'; jack_0_16.portrait = 'calisto'; jack_0_16.dialogue = new Array('It\'s not a \'Compass\', doofus. It\'s a \'Na-vi-ga-tion U-nit\''); jack_0_17 = new Object(); jack_0_17.area = 'down'; jack_0_17.speaker = 'Calisto'; jack_0_17.portrait = 'calisto'; jack_0_17.dialogue = new Array('Or are those words too big for you?'); jack_0_18 = new Object(); jack_0_18.area = 'up'; jack_0_18.speaker = 'Deadeye Jack'; jack_0_18.portrait = 'jack'; jack_0_18.dialogue = new Array('Yar! Ye be payin\' fer them insults, girlie!'); action1 = {'actionType': 'quest', 'id': '20', 'val': 99}; jack_0_18.actions = new Array(action1); jack_0_19 = new Object(); jack_0_19.area = 'up'; jack_0_19.speaker = 'Deadeye Jack'; jack_0_19.portrait = 'jack'; jack_0_19.dialogue = new Array('Avast ye scurvy dogs!!!'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; action3 = {'actionType': 'combat', 'mSet': 'jack'}; jack_0_19.actions = new Array(action1, action2, action3); jack_0 = new Array(jack_0_0, jack_0_0a, jack_0_1, jack_0_2, jack_0_3, jack_0_4, jack_0_4a); jack_0a = new Array(jack_0_9, jack_0_10, jack_0_8, jack_0_11, jack_0_12, jack_0_13, jack_0_14, jack_0_15, jack_0_16, jack_0_17, jack_0_18, jack_0_19); jack_0b = new Array(jack_0_5, jack_0_5a, jack_0_6, jack_0_7, jack_0_8, jack_0_11, jack_0_12, jack_0_13, jack_0_14, jack_0_15, jack_0_16, jack_0_17, jack_0_18, jack_0_19); jack_0c = new Array(jack_0_4b, jack_0_4c, jack_0_4d, jack_0_4e, jack_0_8, jack_0_11, jack_0_12, jack_0_13, jack_0_14, jack_0_15, jack_0_16, jack_0_17, jack_0_18, jack_0_19); jack_1_1 = new Object(); jack_1_1.area = 'up'; jack_1_1.speaker = 'Deadeye Jack'; jack_1_1.portrait = 'jack'; jack_1_1.dialogue = new Array('Ye may have beaten ol\' Jack... but...'); jack_1_2 = new Object(); jack_1_2.area = 'up'; jack_1_2.speaker = 'Deadeye Jack'; jack_1_2.portrait = 'jack'; jack_1_2.dialogue = new Array('...ye\'ll never... get...get me compass...'); jack_1_3 = new Object(); jack_1_3.area = 'up'; jack_1_3.speaker = 'Deadeye Jack'; jack_1_3.portrait = 'jack'; jack_1_3.dialogue = new Array('Never!'); jack_1_4 = new Object(); jack_1_4.area = 'down'; jack_1_4.speaker = 'Calisto'; jack_1_4.portrait = 'calisto'; jack_1_4.dialogue = new Array('Oh put a sock in it already Jacky-boy.'); jack_1_5 = new Object(); jack_1_5.area = 'up'; jack_1_5.speaker = 'Deadeye Jack'; jack_1_5.portrait = 'jack'; jack_1_5.dialogue = new Array('Ye best... start rememberin\'... Deadeye Jack...'); jack_1_6 = new Object(); jack_1_6.area = 'up'; jack_1_6.speaker = 'Deadeye Jack'; jack_1_6.portrait = 'jack'; jack_1_6.dialogue = new Array('... just like Jack... will remember... ye~*'); action1 = {'actionType': 'quest', 'id': '21', 'val': 99}; jack_1_6.actions = new Array(action1); jack_1_6a = new Object(); jack_1_6a.area = 'up'; jack_1_6a.speaker = 'Deadeye Jack'; jack_1_6a.portrait = 'jack'; jack_1_6a.chatType = 'random'; jack_1_6a.dialogue = new Array('...ZZZzzzZZZZzzzZz...', '...ZZZzzzZZZZzzzZz...'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; action3 = {'actionType': 'item', 'id': 'I008Q', 'val': 1}; jack_1_6a.actions = new Array(action1, action2, action3); jack_1_6a.responses = new Array('jack_1a', 'jack_1a'); jack_1_7 = new Object(); jack_1_7.area = 'up'; jack_1_7.speaker = 'Billy Barrage'; jack_1_7.portrait = 'barrage'; action1 = {'actionType': 'bottomVisible', 'toShow': false}; jack_1_7.dialogue = new Array('Looks like he\'s out.'); jack_1_7.actions = new Array(action1); jack_1_8 = new Object(); jack_1_8.area = 'down'; jack_1_8.speaker = _level0.heroName; jack_1_8.portrait = _level0.charA001.portrait; action1 = {'actionType': 'bottomVisible', 'toShow': true}; jack_1_8.dialogue = new Array('Great! Let\'s get that navigation unit out of here.'); jack_1_8.actions = new Array(action1); jack_1 = new Array(jack_1_1, jack_1_2, jack_1_3, jack_1_4, jack_1_5, jack_1_6, jack_1_6a); jack_1a = new Array(jack_1_7, jack_1_8); lucille_0_1 = new Object(); lucille_0_1.area = 'up'; lucille_0_1.speaker = '???'; lucille_0_1.portrait = 'lucille'; lucille_0_1.dialogue = new Array('You two!'); action1 = {'actionType': 'animate_map', 'id': 'cell11_21', 'val': 'a2'}; action2 = {'actionType': 'music', 'trackname': 'officer', 'noloop': false}; lucille_0_1.actions = new Array(action1, action2); lucille_0_2 = new Object(); lucille_0_2.area = 'up'; lucille_0_2.speaker = '???'; lucille_0_2.portrait = 'lucille'; lucille_0_2.dialogue = new Array('Get out of our way.'); lucille_0_3 = new Object(); lucille_0_3.area = 'down'; lucille_0_3.speaker = 'Billy Barrage'; lucille_0_3.portrait = 'barrage'; lucille_0_3.dialogue = new Array('It wouldn\'t hurt to be a little more polite, Ma\'am.'); lucille_0_4 = new Object(); lucille_0_4.area = 'up'; lucille_0_4.speaker = '???'; lucille_0_4.portrait = 'lucille'; lucille_0_4.dialogue = new Array('I\'d keep my mouth shut if I were you, boy.'); lucille_0_5 = new Object(); lucille_0_5.area = 'down'; lucille_0_5.speaker = _level0.heroName; lucille_0_5.portrait = _level0.charA001.portrait; lucille_0_5.dialogue = new Array('Come on Billy, let\'s go. We\'re wasting time here.'); lucille_0_6 = new Object(); lucille_0_6.area = 'up'; lucille_0_6.speaker = '???'; lucille_0_6.portrait = 'lucille'; lucille_0_6.dialogue = new Array('You\'d do well to listen to your friend.'); action1 = {'actionType': 'quest', 'id': '17', 'val': 99}; action2 = {'actionType': 'animate_map', 'id': 'cell11_21', 'val': 'a3'}; lucille_0_6.actions = new Array(action1, action2); lucille_0_6a = new Object(); lucille_0_6a.area = 'up'; lucille_0_6a.speaker = '???'; lucille_0_6a.portrait = 'lucille'; lucille_0_6a.chatType = 'random'; lucille_0_6a.dialogue = new Array('All right men, spread out and search! We haven\'t got all day!', 'All right men, spread out and search! We haven\'t got all day!'); lucille_0_6a.responses = new Array('lucille_0a', 'lucille_0a'); lucille_0_7 = new Object(); lucille_0_7.area = 'up'; lucille_0_7.speaker = 'Billy Barrage'; lucille_0_7.portrait = 'barrage'; action1 = {'actionType': 'animate_map', 'id': 'cell11_21', 'val': 'a4'}; lucille_0_7.actions = new Array(action1); lucille_0_7.dialogue = new Array('What was that about?'); lucille_0_8 = new Object(); lucille_0_8.area = 'down'; lucille_0_8.speaker = _level0.heroName; lucille_0_8.portrait = _level0.charA001.portrait; lucille_0_8.dialogue = new Array('...'); action1 = {'actionType': 'resetmap'}; lucille_0_8.actions = new Array(action1); lucille_0 = new Array(lucille_0_1, lucille_0_2, lucille_0_3, lucille_0_4, lucille_0_5, lucille_0_6, lucille_0_6a); lucille_0a = new Array(lucille_0_7, lucille_0_8); lucille_1_1 = new Object(); lucille_1_1.area = 'down'; lucille_1_1.speaker = 'Billy Barrage'; lucille_1_1.portrait = 'barrage'; lucille_1_1.dialogue = new Array('We\'re back Mister R!'); action1 = {'actionType': 'music', 'trackname': 'none', 'noloop': true}; lucille_1_1.actions = new Array(action1); lucille_1_2 = new Object(); lucille_1_2.area = 'down'; lucille_1_2.speaker = 'Calisto'; lucille_1_2.portrait = 'calisto'; lucille_1_2.dialogue = new Array('Oh Rooooon! You there?'); lucille_1_3 = new Object(); lucille_1_3.area = 'down'; lucille_1_3.speaker = _level0.heroName; lucille_1_3.portrait = _level0.charA001.portrait; lucille_1_3.dialogue = new Array('Hmm... He\'s doesn\'t seem to be around.'); lucille_1_3a = new Object(); lucille_1_3a.area = 'down'; lucille_1_3a.speaker = _level0.heroName; lucille_1_3a.portrait = _level0.charA001.portrait; lucille_1_3a.dialogue = new Array('I\'ll just leave the \'boards right here.'); action1 = {'actionType': 'quest', 'id': '24', 'val': 99}; action2 = {'actionType': 'item', 'id': 'I012Q', 'val': -1}; lucille_1_3a.actions = new Array(action1, action2); lucille_1_4 = new Object(); lucille_1_4.area = 'down'; lucille_1_4.speaker = 'Calisto'; lucille_1_4.portrait = 'calisto'; lucille_1_4.dialogue = new Array('Where do you think he went ' + _level0.heroName + '?'); lucille_1_5 = new Object(); lucille_1_5.area = 'up'; lucille_1_5.speaker = '???'; lucille_1_5.portrait = 'lucille'; lucille_1_5.dialogue = new Array('I\'m afraid he\'s not here right now.'); action1 = {'actionType': 'music', 'trackname': 'suspense', 'noloop': true}; lucille_1_5.actions = new Array(action1); lucille_1_6 = new Object(); lucille_1_6.area = 'down'; lucille_1_6.speaker = _level0.heroName; lucille_1_6.portrait = _level0.charA001.portrait; lucille_1_6.dialogue = new Array('You! What are you doing here?'); lucille_1_6a = new Object(); lucille_1_6a.area = 'up'; lucille_1_6a.speaker = '???'; lucille_1_6a.portrait = 'lucille'; lucille_1_6a.dialogue = new Array('That\'s none of your business.'); lucille_1_7 = new Object(); lucille_1_7.area = 'down'; lucille_1_7.speaker = 'Billy Barrage'; lucille_1_7.portrait = 'barrage'; lucille_1_7.dialogue = new Array('Who exactly are you, and what have you done with Mister R?'); lucille_1_8 = new Object(); lucille_1_8.area = 'up'; lucille_1_8.speaker = '???'; lucille_1_8.portrait = 'lucille'; lucille_1_8.dialogue = new Array('Do you not recognise the Imperial crest boy?'); lucille_1_9 = new Object(); lucille_1_9.area = 'up'; lucille_1_9.speaker = '???'; lucille_1_9.portrait = 'lucille'; lucille_1_9.dialogue = new Array('I am Ariel Highwater, Second Commander of the Third Imperial Sky Fleet.'); action1 = {'actionType': 'music', 'trackname': 'officer', 'noloop': false}; lucille_1_9.actions = new Array(action1); lucille_1_10 = new Object(); lucille_1_10.area = 'up'; lucille_1_10.speaker = 'Ariel Highwater'; lucille_1_10.portrait = 'lucille'; lucille_1_10.dialogue = new Array('Do not worry about the old man, we have him.'); lucille_1_11 = new Object(); lucille_1_11.area = 'down'; lucille_1_11.speaker = 'Calisto'; lucille_1_11.portrait = 'calisto'; lucille_1_11.dialogue = new Array('Where are you people takin\' him?'); lucille_1_11a = new Object(); lucille_1_11a.area = 'down'; lucille_1_11a.speaker = _level0.heroName; lucille_1_11a.portrait = _level0.charA001.portrait; lucille_1_11a.dialogue = new Array('Answer her!'); lucille_1_12 = new Object(); lucille_1_12.area = 'up'; lucille_1_12.speaker = 'Ariel Highwater'; lucille_1_12.portrait = 'lucille'; lucille_1_12.dialogue = new Array('Except for my superiors, I answer to no one. And especially not to children such as yourselves.'); lucille_1_12a = new Object(); lucille_1_12a.area = 'up'; lucille_1_12a.speaker = 'Ariel Highwater'; lucille_1_12a.portrait = 'lucille'; lucille_1_12a.dialogue = new Array('Now if you\'ll excuse me, I must be going now that I have retrieved Ronald\'s belongings.'); lucille_1_13 = new Object(); lucille_1_13.area = 'down'; lucille_1_13.speaker = 'Calisto'; lucille_1_13.portrait = 'calisto'; lucille_1_13.dialogue = new Array('You\'re not goin\' anywhere until you tell us what we want to know.'); lucille_1_14 = new Object(); lucille_1_14.area = 'up'; lucille_1_14.speaker = 'Ariel Highwater'; lucille_1_14.portrait = 'lucille'; lucille_1_14.dialogue = new Array('Oh really? And I assume you\'re going to try to stop me?'); lucille_1_15 = new Object(); lucille_1_15.area = 'down'; lucille_1_15.speaker = _level0.heroName; lucille_1_15.portrait = _level0.charA001.portrait; lucille_1_15.dialogue = new Array('We most certainly will.'); lucille_1_16 = new Object(); lucille_1_16.area = 'up'; lucille_1_16.speaker = 'Ariel Highwater'; lucille_1_16.portrait = 'lucille'; lucille_1_16.dialogue = new Array('How interesting...'); lucille_1_17 = new Object(); lucille_1_17.area = 'up'; lucille_1_17.speaker = 'Ariel Highwater'; lucille_1_17.portrait = 'lucille'; lucille_1_17.dialogue = new Array('Since I find this all very amusing, I\'ll make you a deal.'); lucille_1_18 = new Object(); lucille_1_18.area = 'up'; lucille_1_18.speaker = 'Ariel Highwater'; lucille_1_18.portrait = 'lucille'; lucille_1_18.dialogue = new Array('A MAW duel... Against all three of you.'); lucille_1_19 = new Object(); lucille_1_19.area = 'up'; lucille_1_19.speaker = 'Ariel Highwater'; lucille_1_19.portrait = 'lucille'; lucille_1_19.dialogue = new Array('If you win this, I\'ll tell you where the old man is.'); lucille_1_19a = new Object(); lucille_1_19a.area = 'up'; lucille_1_19a.speaker = 'Ariel Highwater'; lucille_1_19a.portrait = 'lucille'; lucille_1_19a.dialogue = new Array('Men, take Ronald\'s belongings back to the airship and await my return.'); lucille_1_19b = new Object(); lucille_1_19b.area = 'up'; lucille_1_19b.speaker = 'Imperial Soldier'; lucille_1_19b.portrait = 'soldier1'; lucille_1_19b.dialogue = new Array('But commander, we can\'t-'); lucille_1_19c = new Object(); lucille_1_19c.area = 'up'; lucille_1_19c.speaker = 'Ariel Highwater'; lucille_1_19c.portrait = 'lucille'; lucille_1_19c.dialogue = new Array('Leave us!'); lucille_1_19d = new Object(); lucille_1_19d.area = 'up'; lucille_1_19d.speaker = 'Imperial Soldier'; lucille_1_19d.portrait = 'soldier1'; lucille_1_19d.dialogue = new Array('Yes, Ma\'am.'); lucille_1_20 = new Object(); lucille_1_20.area = 'down'; lucille_1_20.speaker = 'Calisto'; lucille_1_20.portrait = 'calisto'; lucille_1_20.dialogue = new Array('Lady, you just went and made a big mistake.'); lucille_1_21 = new Object(); lucille_1_21.area = 'up'; lucille_1_21.speaker = 'Ariel Highwater'; lucille_1_21.portrait = 'lucille'; lucille_1_21.dialogue = new Array('We\'ll see who\'s really making the mistakes.'); action1 = {'actionType': 'quest', 'id': '18', 'val': 99}; lucille_1_21.actions = new Array(action1); lucille_1_22 = new Object(); lucille_1_22.area = 'up'; lucille_1_22.speaker = 'Ariel Highwater'; lucille_1_22.portrait = 'lucille'; lucille_1_22.dialogue = new Array('Now then, shall we head outside to finish this?'); action1 = {'actionType': 'bg', 'transit': true, 'bg': 'town'}; action2 = {'actionType': 'combat', 'mSet': 'officer_boss'}; lucille_1_22.actions = new Array(action1, action2); lucille_1 = new Array(lucille_1_1, lucille_1_2, lucille_1_3, lucille_1_3a, lucille_1_4, lucille_1_5, lucille_1_6, lucille_1_6a, lucille_1_7, lucille_1_8, lucille_1_9, lucille_1_10, lucille_1_11, lucille_1_11a, lucille_1_12, lucille_1_12a, lucille_1_13, lucille_1_14, lucille_1_15, lucille_1_16, lucille_1_17, lucille_1_18, lucille_1_19, lucille_1_19a, lucille_1_19b, lucille_1_19c, lucille_1_19d, lucille_1_20, lucille_1_21, lucille_1_22); lucille_2_1 = new Object(); lucille_2_1.area = 'up'; lucille_2_1.speaker = 'Ariel Highwater'; lucille_2_1.portrait = 'lucille'; lucille_2_1.dialogue = new Array('I commend you for your valiant efforts, but you should have known this was inevitable.'); action1 = {'actionType': 'music', 'trackname': 'officer', 'noloop': false}; lucille_2_1.actions = new Array(action1); lucille_2_2 = new Object(); lucille_2_2.area = 'up'; lucille_2_2.speaker = 'Ariel Highwater'; lucille_2_2.portrait = 'lucille'; lucille_2_2.chatType = 'random'; lucille_2_2.dialogue = new Array('I must be off now. \'Til we meet again.', 'I must be off now. \'Til we meet again.'); action1 = {'actionType': 'bg', 'transit': true}; lucille_2_2.responses = new Array('lucille_2a', 'lucille_2a'); lucille_2_2.actions = new Array(action1); lucille_2_3a = new Object(); lucille_2_3a.area = 'up'; lucille_2_3a.speaker = 'Robyn'; lucille_2_3a.portrait = 'robyn'; lucille_2_3a.dialogue = new Array('Kiddo!'); action1 = {'actionType': 'topVisible', 'toShow': true}; lucille_2_3a.actions = new Array(action1); lucille_2_3 = new Object(); lucille_2_3.area = 'down'; lucille_2_3.speaker = _level0.heroName; lucille_2_3.portrait = _level0.charA001.portrait; action1 = {'actionType': 'topVisible', 'toShow': false}; action2 = {'actionType': 'music', 'trackname': 'town', 'noloop': false}; lucille_2_3.dialogue = new Array('Uhhn...'); lucille_2_3.actions = new Array(action1, action2); lucille_2_4 = new Object(); lucille_2_4.area = 'up'; lucille_2_4.speaker = 'Robyn'; lucille_2_4.portrait = 'robyn'; lucille_2_4.dialogue = new Array(_level0.heroName + ', wake up!'); lucille_2_5 = new Object(); lucille_2_5.area = 'down'; lucille_2_5.speaker = _level0.heroName; lucille_2_5.portrait = _level0.charA001.portrait; lucille_2_5.dialogue = new Array('Ow, my head...'); lucille_2_6 = new Object(); lucille_2_6.area = 'up'; lucille_2_6.speaker = 'Elyssa'; lucille_2_6.portrait = 'elyssa'; lucille_2_6.dialogue = new Array('Rise and shine, sweetie.'); lucille_2_7 = new Object(); lucille_2_7.area = 'up'; lucille_2_7.speaker = 'Donna'; lucille_2_7.portrait = 'donna'; lucille_2_7.dialogue = new Array('Wow! You guys really got creamed!'); lucille_2_8 = new Object(); lucille_2_8.area = 'up'; lucille_2_8.speaker = 'Robyn'; lucille_2_8.portrait = 'robyn'; lucille_2_8.dialogue = new Array('We saw the whole fight. Is everyone alright?'); lucille_2_9 = new Object(); lucille_2_9.area = 'down'; lucille_2_9.speaker = 'Billy Barrage'; lucille_2_9.portrait = 'barrage'; lucille_2_9.dialogue = new Array('I\'m fine. Just a little dizzy that\'s all. I think Cali\'s hurt though.'); lucille_2_10 = new Object(); lucille_2_10.area = 'down'; lucille_2_10.speaker = 'Calisto'; lucille_2_10.portrait = 'calisto'; lucille_2_10.dialogue = new Array('Anhh... The only thing hurt was my pride. Damn that woman\'s good.'); lucille_2_11 = new Object(); lucille_2_11.area = 'up'; lucille_2_11.speaker = 'Donna'; lucille_2_11.portrait = 'donna'; lucille_2_11.dialogue = new Array('She must be. I heard that Imperial soldiers are well trained in MAW combat.'); lucille_2_12 = new Object(); lucille_2_12.area = 'down'; lucille_2_12.speaker = 'Calisto'; lucille_2_12.portrait = 'calisto'; lucille_2_12.dialogue = new Array('She wasn\'t just a simple soldier. She was a Fleet Commander.'); lucille_2_13 = new Object(); lucille_2_13.area = 'up'; lucille_2_13.speaker = 'Robyn'; lucille_2_13.portrait = 'robyn'; lucille_2_13.dialogue = new Array('Before you three came back here, we already saw Imperial soldiers escorting old Ron away.'); lucille_2_14 = new Object(); lucille_2_14.area = 'down'; lucille_2_14.speaker = _level0.heroName; lucille_2_14.portrait = _level0.charA001.portrait; lucille_2_14.dialogue = new Array('But what would the Imperialists want with Ron?'); lucille_2_16 = new Object(); lucille_2_16.area = 'down'; lucille_2_16.speaker = _level0.heroName; lucille_2_16.portrait = _level0.charA001.portrait; lucille_2_16.dialogue = new Array('Ah it doesn\'t matter. I\'ve got to find him in any case!'); lucille_2_16a = new Object(); lucille_2_16a.area = 'down'; lucille_2_16a.speaker = _level0.heroName; lucille_2_16a.portrait = _level0.charA001.portrait; lucille_2_16a.dialogue = new Array('The only problem is I don\'t know where to look.'); lucille_2_17 = new Object(); lucille_2_17.area = 'up'; lucille_2_17.speaker = 'Robyn'; lucille_2_17.portrait = 'robyn'; lucille_2_17.dialogue = new Array('Kiddo, my best guess is that they took him to the Imperial City.'); lucille_2_18 = new Object(); lucille_2_18.area = 'down'; lucille_2_18.speaker = _level0.heroName; lucille_2_18.portrait = _level0.charA001.portrait; lucille_2_18.dialogue = new Array('But with the airship at Acero Terminus down, there\'s no way I can reach the Imperial City.'); lucille_2_20 = new Object(); lucille_2_20.area = 'down'; lucille_2_20.speaker = 'Billy Barrage'; lucille_2_20.portrait = 'barrage'; lucille_2_20.dialogue = new Array('Don\'t worry about it, we\'ll find a way. First thing we need to do is talk to Drake.'); lucille_2_21 = new Object(); lucille_2_21.area = 'down'; lucille_2_21.speaker = _level0.heroName; lucille_2_21.portrait = _level0.charA001.portrait; lucille_2_21.dialogue = new Array('\'We\'? You mean...?'); lucille_2_22 = new Object(); lucille_2_22.area = 'down'; lucille_2_22.speaker = 'Billy Barrage'; lucille_2_22.portrait = 'barrage'; lucille_2_22.dialogue = new Array('Count me in ' + _level0.heroName + '. We\'ll find Mister R together.'); lucille_2_23 = new Object(); lucille_2_23.area = 'down'; lucille_2_23.speaker = 'Calisto'; lucille_2_23.portrait = 'calisto'; lucille_2_23.dialogue = new Array('Don\'t forget about me. Ron was my teacher remember?'); lucille_2_23a = new Object(); lucille_2_23a.area = 'down'; lucille_2_23a.speaker = _level0.heroName; lucille_2_23a.portrait = _level0.charA001.portrait; lucille_2_23a.dialogue = new Array('Billy... Calisto...'); lucille_2_23b = new Object(); lucille_2_23b.area = 'down'; lucille_2_23b.speaker = _level0.heroName; lucille_2_23b.portrait = _level0.charA001.portrait; lucille_2_23b.dialogue = new Array('I really appreciate this.'); lucille_2_23c = new Object(); lucille_2_23c.area = 'down'; lucille_2_23c.speaker = 'Calisto'; lucille_2_23c.portrait = 'calisto'; lucille_2_23c.dialogue = new Array('Hey, don\'t sweat it.'); lucille_2_24 = new Object(); lucille_2_24.area = 'up'; lucille_2_24.speaker = 'Elyssa'; lucille_2_24.portrait = 'elyssa'; lucille_2_24.dialogue = new Array('We\'d better head back.'); lucille_2_25 = new Object(); lucille_2_25.area = 'up'; lucille_2_25.speaker = 'Robyn'; lucille_2_25.portrait = 'robyn'; lucille_2_25.dialogue = new Array('You\'re right.'); lucille_2_26 = new Object(); lucille_2_26.area = 'up'; lucille_2_26.speaker = 'Robyn'; lucille_2_26.portrait = 'robyn'; lucille_2_26.dialogue = new Array('Well kiddo, all the best on your journey.'); lucille_2_27 = new Object(); lucille_2_27.area = 'up'; lucille_2_27.speaker = 'Robyn'; lucille_2_27.portrait = 'robyn'; lucille_2_27.dialogue = new Array('Take care of yourselves...'); lucille_2_28 = new Object(); lucille_2_28.area = 'up'; lucille_2_28.speaker = 'Elyssa'; lucille_2_28.portrait = 'elyssa'; lucille_2_28.dialogue = new Array('... And bring Ron back safely.'); lucille_2_29 = new Object(); lucille_2_29.area = 'up'; lucille_2_29.speaker = 'Donna'; lucille_2_29.portrait = 'donna'; lucille_2_29.dialogue = new Array('Don\'t forget to get your MAWs repaired!'); lucille_2_30 = new Object(); lucille_2_30.area = 'up'; lucille_2_30.speaker = 'Elyssa'; lucille_2_30.portrait = 'elyssa'; lucille_2_30.dialogue = new Array('Donna sweetie, just when are you coming back to work?'); lucille_2_31 = new Object(); lucille_2_31.area = 'up'; lucille_2_31.speaker = 'Donna'; lucille_2_31.portrait = 'donna'; lucille_2_31.dialogue = new Array('Heeey, not to worry El! I\'ll be there. *Grin*'); lucille_2_32 = new Object(); lucille_2_32.area = 'up'; lucille_2_32.speaker = 'Elyssa'; lucille_2_32.portrait = 'elyssa'; lucille_2_32.chatType = 'random'; lucille_2_32.dialogue = new Array('*Sigh* Never mind.', '*Sigh* Never mind.'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'exitShop'}; lucille_2_32.actions = new Array(action1, action2); lucille_2_32.responses = new Array('lucille_2b', 'lucille_2b'); lucille_2_33 = new Object(); lucille_2_33.area = 'down'; lucille_2_33.speaker = _level0.heroName; lucille_2_33.portrait = _level0.charA001.portrait; action1 = {'actionType': 'topVisible', 'toShow': false}; lucille_2_33.dialogue = new Array('Come on, time to go.'); lucille_2_33.actions = new Array(action1); lucille_2_34 = new Object(); lucille_2_34.area = 'up'; lucille_2_34.speaker = 'Billy Barrage'; lucille_2_34.portrait = 'barrage'; action1 = {'actionType': 'topVisible', 'toShow': true}; lucille_2_34.dialogue = new Array('Lead the way, ' + _level0.heroName + '!'); lucille_2_34.actions = new Array(action1); lucille_2 = new Array(lucille_2_1, lucille_2_2); lucille_2a = new Array(lucille_2_3, lucille_2_3a, lucille_2_4, lucille_2_5, lucille_2_6, lucille_2_7, lucille_2_8, lucille_2_9, lucille_2_10, lucille_2_11, lucille_2_12, lucille_2_13, lucille_2_14, lucille_2_16, lucille_2_16a, lucille_2_17, lucille_2_18, lucille_2_20, lucille_2_21, lucille_2_22, lucille_2_23, lucille_2_23a, lucille_2_23b, lucille_2_23c, lucille_2_24, lucille_2_25, lucille_2_26, lucille_2_27, lucille_2_28, lucille_2_29, lucille_2_30, lucille_2_31, lucille_2_32); lucille_2b = new Array(lucille_2_33, lucille_2_34); lucille_3_1 = new Object(); lucille_3_1.area = 'up'; lucille_3_1.speaker = 'Ariel Highwater'; lucille_3_1.portrait = 'lucille'; lucille_3_1.dialogue = new Array('Uhnn... It seems I\'ve underestimated you... All of you.'); action1 = {'actionType': 'music', 'trackname': 'officer', 'noloop': false}; lucille_3_1.actions = new Array(action1); lucille_3_2 = new Object(); lucille_3_2.area = 'up'; lucille_3_2.speaker = 'Ariel Highwater'; lucille_3_2.portrait = 'lucille'; lucille_3_2.dialogue = new Array('But I shall keep my word as promised, and disclose the old man\'s location.'); lucille_3_3 = new Object(); lucille_3_3.area = 'up'; lucille_3_3.speaker = 'Ariel Highwater'; lucille_3_3.portrait = 'lucille'; lucille_3_3.dialogue = new Array('If you want to find him, come to the Imperial City.'); lucille_3_4 = new Object(); lucille_3_4.area = 'up'; lucille_3_4.speaker = 'Ariel Highwater'; lucille_3_4.portrait = 'lucille'; lucille_3_4.dialogue = new Array('Now you must excuse me. My airship awaits.'); lucille_3_5 = new Object(); lucille_3_5.area = 'down'; lucille_3_5.speaker = _level0.heroName; lucille_3_5.portrait = _level0.charA001.portrait; lucille_3_5.dialogue = new Array('Wait! You can\'t just-'); lucille_3_6 = new Object(); lucille_3_6.area = 'up'; lucille_3_6.speaker = 'Ariel Highwater'; lucille_3_6.portrait = 'lucille'; lucille_3_6.chatType = 'random'; lucille_3_6.dialogue = new Array('I look foward to the arrival of you and your friends... ' + _level0.heroName + '.', 'I look foward to the arrival of you and your friends... ' + _level0.heroName + '.'); action1 = {'actionType': 'bg', 'transit': true}; lucille_3_6.actions = new Array(action1); lucille_3_6.responses = new Array('lucille_3a', 'lucille_3a'); lucille_3_7 = new Object(); lucille_3_7.area = 'up'; lucille_3_7.speaker = 'Calisto'; lucille_3_7.portrait = 'calisto'; lucille_3_7.dialogue = new Array('*Kaff* *Kaff* It\'s a smoke screen!'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; lucille_3_7.actions = new Array(action1); lucille_3_8 = new Object(); lucille_3_8.area = 'down'; lucille_3_8.speaker = 'Biily Barrage'; lucille_3_8.portrait = 'barrage'; lucille_3_8.dialogue = new Array('She\'s gone.'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; lucille_3_8.actions = new Array(action1); lucille_3_9 = new Object(); lucille_3_9.area = 'up'; lucille_3_9.speaker = 'Calisto'; lucille_3_9.portrait = 'calisto'; lucille_3_9.chatType = 'random'; lucille_3_9.dialogue = new Array('What a dirty trick!', 'What a dirty trick!'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'quest', 'id': '19', 'val': 99}; action3 = {'actionType': 'quest', 'id': '34', 'val': 1}; lucille_3_9.actions = new Array(action1, action2, action3); lucille_3_9.responses = new Array('lucille_3b', 'lucille_3b'); lucille_3_10 = new Object(); lucille_3_10.area = 'down'; lucille_3_10.speaker = _level0.heroName; lucille_3_10.portrait = _level0.charA001.portrait; lucille_3_10.dialogue = new Array('Looks like the smoke\'s cleared.'); action1 = {'actionType': 'music', 'trackname': 'town', 'noloop': false}; action2 = {'actionType': 'topVisible', 'toShow': false}; lucille_3_10.actions = new Array(action1, action2); lucille_3_11 = new Object(); lucille_3_11.area = 'up'; lucille_3_11.speaker = 'Donna'; lucille_3_11.portrait = 'donna'; lucille_3_11.dialogue = new Array('Wow! You guys were amazing!'); action1 = {'actionType': 'topVisible', 'toShow': true}; lucille_3_11.actions = new Array(action1); lucille_3_12 = new Object(); lucille_3_12.area = 'down'; lucille_3_12.speaker = _level0.heroName; lucille_3_12.portrait = _level0.charA001.portrait; lucille_3_12.dialogue = new Array('We\'re okay Robyn.'); lucille_3_13 = new Object(); lucille_3_13.area = 'down'; lucille_3_13.speaker = _level0.heroName; lucille_3_13.portrait = _level0.charA001.portrait; lucille_3_13.dialogue = new Array('With the airship at Acero Terminus down, there\'s no way I can reach the Imperial City.'); lucille_3 = new Array(lucille_3_1, lucille_3_2, lucille_3_3, lucille_3_4, lucille_3_5, lucille_3_6); lucille_3a = new Array(lucille_3_7, lucille_3_8, lucille_3_9); lucille_3b = new Array(lucille_3_10, lucille_3_11, lucille_2_8, lucille_3_12, lucille_2_13, lucille_2_14, lucille_2_16, lucille_2_18, lucille_2_20, lucille_2_21, lucille_2_22, lucille_2_23, lucille_2_23a, lucille_2_23b, lucille_2_23c, lucille_2_24, lucille_2_25, lucille_2_26, lucille_2_27, lucille_2_28, lucille_2_29, lucille_2_30, lucille_2_31, lucille_2_32); billy_1_1 = new Object(); billy_1_1.area = 'up'; billy_1_1.speaker = 'Billy Barrage'; billy_1_1.portrait = 'barrage'; billy_1_1.dialogue = new Array('This sure brings back memories...'); billy_1_2 = new Object(); billy_1_2.area = 'down'; billy_1_2.speaker = _level0.heroName; billy_1_2.portrait = _level0.charA001.portrait; billy_1_2.dialogue = new Array('You followed your father into the mines a lot didn\'t you?'); billy_1_3 = new Object(); billy_1_3.area = 'up'; billy_1_3.speaker = 'Billy Barrage'; billy_1_3.portrait = 'barrage'; billy_1_3.dialogue = new Array('Sometimes. They wouldn\'t let kids in of course, so Dad had to think of some way to sneak me in.'); billy_1_4 = new Object(); billy_1_4.area = 'up'; billy_1_4.speaker = 'Billy Barrage'; billy_1_4.portrait = 'barrage'; billy_1_4.dialogue = new Array('But that was my old man, you know? His life was the mines, and he was hoping to bring it into his kid\'s life too.'); billy_1_5 = new Object(); billy_1_5.area = 'up'; billy_1_5.speaker = 'Billy Barrage'; billy_1_5.portrait = 'barrage'; billy_1_5.dialogue = new Array('I guess it was only appropriate that his life ended in the mines.'); billy_1_6 = new Object(); billy_1_6.area = 'down'; billy_1_6.speaker = _level0.heroName; billy_1_6.portrait = _level0.charA001.portrait; billy_1_6.dialogue = new Array('It was that mining accident years ago, wasn\'t it?'); billy_1_7 = new Object(); billy_1_7.area = 'up'; billy_1_7.speaker = 'Billy Barrage'; billy_1_7.portrait = 'barrage'; billy_1_7.dialogue = new Array('Yeah...'); billy_1_8 = new Object(); billy_1_8.area = 'down'; billy_1_8.speaker = _level0.heroName; billy_1_8.portrait = _level0.charA001.portrait; billy_1_8.dialogue = new Array('Sorry Billy, I didn\'t mean to bring it up.'); billy_1_9 = new Object(); billy_1_9.area = 'up'; billy_1_9.speaker = 'Billy Barrage'; billy_1_9.portrait = 'barrage'; billy_1_9.dialogue = new Array('Hey no sweat, man! It\'s not your fault.'); billy_1_10 = new Object(); billy_1_10.area = 'up'; billy_1_10.speaker = 'Billy Barrage'; billy_1_10.portrait = 'barrage'; billy_1_10.dialogue = new Array('Anyway, I always wondered what my old man would think if he knew that his son became a Bounty Hunter like his mother.'); billy_1_11 = new Object(); billy_1_11.area = 'down'; billy_1_11.speaker = _level0.heroName; billy_1_11.portrait = _level0.charA001.portrait; billy_1_11.dialogue = new Array('I think you would\'ve had his full support.'); billy_1_12 = new Object(); billy_1_12.area = 'up'; billy_1_12.speaker = 'Billy Barrage'; billy_1_12.portrait = 'barrage'; billy_1_12.dialogue = new Array('Hey with that guy, it\'s hard to say.'); billy_1_13 = new Object(); billy_1_13.area = 'up'; billy_1_13.speaker = 'Billy Barrage'; billy_1_13.portrait = 'barrage'; billy_1_13.dialogue = new Array('Now come on, let\'s keep moving. We can probably find the plasmarock in the lower levels.'); billy_1_14 = new Object(); billy_1_14.area = 'down'; billy_1_14.speaker = _level0.heroName; billy_1_14.portrait = _level0.charA001.portrait; billy_1_14.dialogue = new Array('Right.'); action1 = {'actionType': 'quest', 'id': '10', 'val': 99}; action2 = {'actionType': 'resetmap'}; billy_1_14.actions = new Array(action1, action2); billy_1 = new Array(billy_1_1, billy_1_2, billy_1_3, billy_1_4, billy_1_5, billy_1_6, billy_1_7, billy_1_8, billy_1_9, billy_1_10, billy_1_11, billy_1_12, billy_1_13, billy_1_14); billy_2_1 = new Object(); billy_2_1.area = 'up'; billy_2_1.speaker = 'Billy Barrage'; billy_2_1.portrait = 'barrage'; billy_2_1.dialogue = new Array('We should be able to find some plasmarock from this level onwards.'); billy_2_2 = new Object(); billy_2_2.area = 'down'; billy_2_2.speaker = _level0.heroName; billy_2_2.portrait = _level0.charA001.portrait; billy_2_2.dialogue = new Array('The blood of gods...'); billy_2_3 = new Object(); billy_2_3.area = 'up'; billy_2_3.speaker = 'Billy Barrage'; billy_2_3.portrait = 'barrage'; billy_2_3.dialogue = new Array('Huh?'); billy_2_4 = new Object(); billy_2_4.area = 'down'; billy_2_4.speaker = _level0.heroName; billy_2_4.portrait = _level0.charA001.portrait; billy_2_4.dialogue = new Array('Nothing. Just thinking out loud about the tales behind it. Do you remember them?'); billy_2_5 = new Object(); billy_2_5.area = 'up'; billy_2_5.speaker = 'Billy Barrage'; billy_2_5.portrait = 'barrage'; billy_2_5.dialogue = new Array('Sure! My old man used to talk about it sometimes.'); billy_2_6 = new Object(); billy_2_6.area = 'up'; billy_2_6.speaker = 'Billy Barrage'; billy_2_6.portrait = 'barrage'; billy_2_6.dialogue = new Array('Legend has it that plasmarock comes from the veins in the bodies of massive beings who once ruled over Sios.'); billy_2_7 = new Object(); billy_2_7.area = 'down'; billy_2_7.speaker = _level0.heroName; billy_2_7.portrait = _level0.charA001.portrait; billy_2_7.dialogue = new Array('Do you think it\'s true?'); billy_2_8 = new Object(); billy_2_8.area = 'up'; billy_2_8.speaker = 'Billy Barrage'; billy_2_8.portrait = 'barrage'; billy_2_8.dialogue = new Array('Hey they may be legends, but then again, anything\'s possible right??'); billy_2_9 = new Object(); billy_2_9.area = 'up'; billy_2_9.speaker = 'Billy Barrage'; billy_2_9.portrait = 'barrage'; billy_2_9.dialogue = new Array('Think about it, if they were true, then we\'re actually standing inside the body of a dead god right now.'); billy_2_10 = new Object(); billy_2_10.area = 'up'; billy_2_10.speaker = 'Billy Barrage'; billy_2_10.portrait = 'barrage'; billy_2_10.dialogue = new Array('How cool would that be??'); billy_2_10a = new Object(); billy_2_10a.area = 'down'; billy_2_10a.speaker = _level0.heroName; billy_2_10a.chatType = 'choice'; billy_2_10a.portrait = _level0.charA001.portrait; billy_2_10a.dialogue = new Array('I believe...', 'I don\'t believe...'); billy_2_10a.responses = new Array('billy_3', 'billy_4'); billy_2_10b = new Object(); billy_2_10b.area = 'down'; billy_2_10b.speaker = _level0.heroName; billy_2_10b.portrait = _level0.charA001.portrait; billy_2_10b.dialogue = new Array('I guess it\'s possible.'); billy_2_10c = new Object(); billy_2_10c.area = 'up'; billy_2_10c.speaker = 'Billy Barrage'; billy_2_10c.portrait = 'barrage'; billy_2_10c.dialogue = new Array('Makes you wonder if anyone on Sios will ever find any physical proof of the legend.'); action1 = {'actionType': 'quest', 'id': '11', 'val': 99}; action2 = {'actionType': 'resetmap'}; billy_2_10c.actions = new Array(action1, action2); billy_2_11 = new Object(); billy_2_11.area = 'down'; billy_2_11.speaker = _level0.heroName; billy_2_11.portrait = _level0.charA001.portrait; billy_2_11.dialogue = new Array('Coming from a tale that\'s thousands of years old... I don\'t buy it.'); billy_2_12 = new Object(); billy_2_12.area = 'up'; billy_2_12.speaker = 'Billy Barrage'; billy_2_12.portrait = 'barrage'; billy_2_12.dialogue = new Array('Nothing wrong with that either.'); action1 = {'actionType': 'quest', 'id': '11', 'val': 99}; action2 = {'actionType': 'resetmap'}; billy_2_12.actions = new Array(action1, action2); billy_2 = new Array(billy_2_1, billy_2_2, billy_2_3, billy_2_4, billy_2_5, billy_2_6, billy_2_7, billy_2_8, billy_2_9, billy_2_10, billy_2_10a); billy_3 = new Array(billy_2_10b, billy_2_10c); billy_4 = new Array(billy_2_11, billy_2_12); hero_0_1 = new Object(); hero_0_1.area = 'up'; hero_0_1.speaker = _level0.heroName; hero_0_1.portrait = _level0.charA001.portrait; hero_0_1.dialogue = new Array('Time for a rest.'); action1 = {'actionType': 'bg', 'transit': true, 'bg': 'house01'}; hero_0_1.actions = new Array(action1); hero_0 = new Array(hero_0_1); laura_0_1 = new Object(); laura_0_1.area = 'up'; laura_0_1.chatType = 'compare'; laura_0_1.speaker = '???'; laura_0_1.portrait = 'laura'; condition1_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition1 = new Array(condition1_1); laura_0_1.conditionArray = new Array(condition1); laura_0_1.dialogue = new Array('S-Stay back! I\'m warning you...', 'S-Stay back! I\'m warning you...'); laura_0_1.responses = new Array('laura_0a', 'laura_0b'); laura_0_2 = new Object(); laura_0_2.area = 'down'; laura_0_2.speaker = 'Calisto Filio'; laura_0_2.portrait = 'calisto'; laura_0_2.dialogue = new Array('Oh look... Damsel in distress!'); laura_0_3 = new Object(); laura_0_3.area = 'down'; laura_0_3.speaker = _level0.heroName; laura_0_3.portrait = _level0.charA001.portrait; laura_0_3.dialogue = new Array('Looks like someone\'s in trouble.'); laura_0_4 = new Object(); laura_0_4.area = 'down'; laura_0_4.speaker = 'Billy Barrage'; laura_0_4.portrait = 'barrage'; laura_0_4.dialogue = new Array('Why are we still standing here? Let\'s go help her already!'); action2 = {'actionType': 'combat', 'mSet': 'ruins_start'}; action1 = {'actionType': 'quest', 'id': '64', 'val': 99}; action3 = {'actionType': 'resetmap'}; laura_0_4.actions = new Array(action1, action2, action3); laura_0_5a = new Object(); laura_0_5a.area = 'down'; laura_0_5a.speaker = _level0.heroName; laura_0_5a.portrait = _level0.charA001.portrait; laura_0_5a.dialogue = new Array('That was close.'); laura_0_5 = new Object(); laura_0_5.area = 'down'; laura_0_5.speaker = 'Billy Barrage'; laura_0_5.portrait = 'barrage'; laura_0_5.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 0}; condition1 = new Array(condition1_1, condition1_2); condition2_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition2_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 1}; condition2 = new Array(condition2_1, condition2_2); condition3_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition3_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 99}; condition3 = new Array(condition3_1, condition3_2); laura_0_5.conditionArray = new Array(condition1, condition2, condition3); laura_0_5.dialogue = new Array('You alright?', 'You alright?', 'You alright?', 'You alright?'); laura_0_5.responses = new Array('laura_0d', 'laura_0e', 'laura_0f', 'laura_0f'); laura_0_6 = new Object(); laura_0_6.area = 'up'; laura_0_6.speaker = '???'; laura_0_6.portrait = 'laura'; laura_0_6.dialogue = new Array('Yes, thank you.'); laura_0_7 = new Object(); laura_0_7.area = 'down'; laura_0_7.speaker = _level0.heroName; laura_0_7.portrait = _level0.charA001.portrait; laura_0_7.dialogue = new Array('I\'ve never seen you on Acero Isle before.'); laura_0_8 = new Object(); laura_0_8.area = 'down'; laura_0_8.speaker = _level0.heroName; laura_0_8.portrait = _level0.charA001.portrait; laura_0_8.dialogue = new Array('You\'re not from around here, are you?'); laura_0_9 = new Object(); laura_0_9.area = 'up'; laura_0_9.speaker = '???'; laura_0_9.portrait = 'laura'; laura_0_9.dialogue = new Array('No, I\'m not. My name is Laura Livingston, and I am an archaeologist.'); laura_0_10 = new Object(); laura_0_10.area = 'down'; laura_0_10.speaker = 'Calisto Filio'; laura_0_10.portrait = 'calisto'; laura_0_10.dialogue = new Array('That almost makes you a treasure hunter, doesn\'t it?'); action1 = {'actionType': 'quest', 'id': '65', 'val': 99}; laura_0_10.actions = new Array(action1); laura_0_11 = new Object(); laura_0_11.area = 'up'; laura_0_11.speaker = 'Laura Livingston'; laura_0_11.portrait = 'laura'; laura_0_11.dialogue = new Array('Well technically speaking, they are not the same thing.'); laura_0_11a = new Object(); laura_0_11a.area = 'down'; laura_0_11a.speaker = _level0.heroName; laura_0_11a.portrait = _level0.charA001.portrait; laura_0_11a.dialogue = new Array('I\'m ' + _level0.heroName + ', and this is Billy Barrage.'); laura_0_11b = new Object(); laura_0_11b.area = 'down'; laura_0_11b.speaker = _level0.heroName; laura_0_11b.portrait = _level0.charA001.portrait; laura_0_11b.dialogue = new Array('I\'m ' + _level0.heroName + ', and this is Billy Barrage and Calisto Filio.'); laura_0_12 = new Object(); laura_0_12.area = 'down'; laura_0_12.speaker = 'Calisto Filio'; laura_0_12.portrait = 'calisto'; laura_0_12.dialogue = new Array('And what brings you all the way here, \'Miss Treasure Hunter\'?'); laura_0_13 = new Object(); laura_0_13.area = 'down'; laura_0_13.speaker = _level0.heroName; laura_0_13.portrait = _level0.charA001.portrait; laura_0_13.dialogue = new Array('So Laura, what brings you all the way here?'); laura_0_14 = new Object(); laura_0_14.area = 'up'; laura_0_14.speaker = 'Laura Livingston'; laura_0_14.portrait = 'laura'; laura_0_14.dialogue = new Array('These ruins that you see here... They\'re the reason.'); laura_0_15 = new Object(); laura_0_15.area = 'up'; laura_0_15.speaker = 'Laura Livingston'; laura_0_15.portrait = 'laura'; laura_0_15.dialogue = new Array('Back in my hometown, similar structures were found nearby.'); laura_0_16 = new Object(); laura_0_16.area = 'up'; laura_0_16.speaker = 'Laura Livingston'; laura_0_16.portrait = 'laura'; laura_0_16.dialogue = new Array('I have been studying these structures for a while now, and have come to a conclusion...'); laura_0_17 = new Object(); laura_0_17.area = 'up'; laura_0_17.speaker = 'Laura Livingston'; laura_0_17.portrait = 'laura'; laura_0_17.dialogue = new Array('...That they were built by an ancient civilization of long ago.'); laura_0_18 = new Object(); laura_0_18.area = 'up'; laura_0_18.speaker = 'Laura Livingston'; laura_0_18.portrait = 'laura'; laura_0_18.dialogue = new Array('Over time, I also managed to decipher the runes found in these ruins, thus learning some of their language.'); laura_0_19 = new Object(); laura_0_19.area = 'up'; laura_0_19.speaker = 'Laura Livingston'; laura_0_19.portrait = 'laura'; laura_0_19.dialogue = new Array('However, much of it still remains a mystery to me, and I intend to continue my research by investigating similar ruins found on other continents.'); laura_0_20 = new Object(); laura_0_20.area = 'up'; laura_0_20.speaker = 'Laura Livingston'; laura_0_20.portrait = 'laura'; laura_0_20.dialogue = new Array('And as it turns out... One of them is located right here on Acero Isle.'); laura_0_21 = new Object(); laura_0_21.area = 'up'; laura_0_21.speaker = 'Laura Livingston'; laura_0_21.portrait = 'laura'; laura_0_21.dialogue = new Array('However, I am quite surprised that it has remained untouched after all this time.'); laura_0_22 = new Object(); laura_0_22.area = 'down'; laura_0_22.speaker = _level0.heroName; laura_0_22.portrait = _level0.charA001.portrait; laura_0_22.dialogue = new Array('Well, practically everyone on the Isle knows that there are ruins near the mines...'); laura_0_23 = new Object(); laura_0_23.area = 'down'; laura_0_23.speaker = _level0.heroName; laura_0_23.portrait = _level0.charA001.portrait; laura_0_23.dialogue = new Array('...But then none of us really thought to look into it or anything.'); laura_0_24 = new Object(); laura_0_24.area = 'down'; laura_0_24.speaker = 'Billy Barrage'; laura_0_24.portrait = 'barrage'; laura_0_24.dialogue = new Array('We\'re either too busy with our daily lives, or we just weren\'t interested.'); laura_0_25 = new Object(); laura_0_25.area = 'up'; laura_0_25.speaker = 'Laura Livingston'; laura_0_25.portrait = 'laura'; laura_0_25.dialogue = new Array('It appears that I\'m lucky enough to be first one to really \'discover\' this place then.'); laura_0_26 = new Object(); laura_0_26.area = 'up'; laura_0_26.speaker = 'Laura Livingston'; laura_0_26.portrait = 'laura'; laura_0_26.dialogue = new Array('In any case, I have not found a way to open up the main entrance yet.'); laura_0_27 = new Object(); laura_0_27.area = 'up'; laura_0_27.speaker = 'Laura Livingston'; laura_0_27.portrait = 'laura'; laura_0_27.dialogue = new Array('I would like to thank you all for your help just now though.'); laura_0_28 = new Object(); laura_0_28.area = 'down'; laura_0_28.speaker = 'Billy Barrage'; laura_0_28.portrait = 'barrage'; laura_0_28.dialogue = new Array('Aw, that was nothing.'); laura_0_29 = new Object(); laura_0_29.area = 'down'; laura_0_29.speaker = _level0.heroName; laura_0_29.portrait = _level0.charA001.portrait; laura_0_29.dialogue = new Array('We\'ll be off now, Laura. All the best in your findings.'); laura_0_30 = new Object(); laura_0_30.area = 'down'; laura_0_30.speaker = 'Calisto Filio'; laura_0_30.portrait = 'calisto'; laura_0_30.dialogue = new Array('Good luck, Miss Treasure Hunter!'); laura_0_31 = new Object(); laura_0_31.area = 'up'; laura_0_31.speaker = 'Laura Livingston'; laura_0_31.portrait = 'laura'; laura_0_31.dialogue = new Array('Thank you all once again.'); laura_0_32 = new Object(); laura_0_32.area = 'up'; laura_0_32.speaker = 'Laura Livingston'; laura_0_32.portrait = 'laura'; laura_0_32.dialogue = new Array('In any case, I have already discovered a way into these ruins, and I was wondering...'); laura_0_33 = new Object(); laura_0_33.area = 'up'; laura_0_33.speaker = 'Laura Livingston'; laura_0_33.portrait = 'laura'; laura_0_33.dialogue = new Array('... Since you were able to aid me with those monsters just now...'); laura_0_34 = new Object(); laura_0_34.area = 'up'; laura_0_34.speaker = 'Laura Livingston'; laura_0_34.portrait = 'laura'; laura_0_34.dialogue = new Array('...I am tempted to request for your help in escorting me as I carry out my investigations.'); action1 = {'actionType': 'quest', 'id': '66', 'val': 99}; laura_0_34.actions = new Array(action1); laura_0_35 = new Object(); laura_0_35.area = 'down'; laura_0_35.speaker = _level0.heroName; laura_0_35.portrait = _level0.charA001.portrait; laura_0_35.dialogue = new Array('Um.. We\'re really sorry Laura, but as of now we need to get to the Imperial City urgently.'); laura_0_36 = new Object(); laura_0_36.area = 'up'; laura_0_36.speaker = 'Laura Livingston'; laura_0_36.portrait = 'laura'; laura_0_36.dialogue = new Array('Look, I know it is selfish for me to ask, but please consider. I could really use your help in there.'); laura_0_36a = new Object(); laura_0_36a.area = 'up'; laura_0_36a.speaker = 'Laura Livingston'; laura_0_36a.portrait = 'laura'; laura_0_36a.dialogue = new Array('I\'ll even pay you a fee at the end of it.'); laura_0_37 = new Object(); laura_0_37.area = 'down'; laura_0_37.chatType = 'choice'; laura_0_37.speaker = _level0.heroName; laura_0_37.portrait = _level0.charA001.portrait; laura_0_37.dialogue = new Array('Yes', 'No'); laura_0_37.responses = new Array('laura_2', 'laura_0g'); laura_0_38 = new Object(); laura_0_38.area = 'down'; laura_0_38.speaker = _level0.heroName; laura_0_38.portrait = _level0.charA001.portrait; laura_0_38.dialogue = new Array('Alright. Let\'s do this.'); laura_0_39 = new Object(); laura_0_39.area = 'down'; laura_0_39.speaker = _level0.heroName; laura_0_39.portrait = _level0.charA001.portrait; laura_0_39.dialogue = new Array('I\'m afraid we won\'t be able to do that.'); laura_0_40 = new Object(); laura_0_40.area = 'up'; laura_0_40.speaker = 'Laura Livingston'; laura_0_40.portrait = 'laura'; laura_0_40.dialogue = new Array('I-I understand. How silly of me to ask. Perhaps I can hire someone else later.'); laura_0 = new Array(laura_0_1); laura_0a = new Array(laura_0_3, laura_0_4); laura_0b = new Array(laura_0_2, laura_0_4); laura_0c = new Array(laura_0_5a, laura_0_5); laura_0d = new Array(laura_0_6, laura_0_7, laura_0_8, laura_0_9, laura_0_11a, laura_0_13, laura_0_14, laura_0_15, laura_0_16, laura_0_17, laura_0_18, laura_0_19, laura_0_20, laura_0_21, laura_0_22, laura_0_23, laura_0_24, laura_0_25, laura_0_26, laura_0_27, laura_0_28, laura_0_29, laura_0_31); laura_0e = new Array(laura_0_6, laura_0_7, laura_0_8, laura_0_9, laura_0_10, laura_0_11, laura_0_11b, laura_0_12, laura_0_14, laura_0_15, laura_0_16, laura_0_17, laura_0_18, laura_0_19, laura_0_20, laura_0_21, laura_0_22, laura_0_23, laura_0_24, laura_0_25, laura_0_26, laura_0_27, laura_0_28, laura_0_29, laura_0_30, laura_0_31); laura_0f = new Array(laura_0_6, laura_0_7, laura_0_8, laura_0_9, laura_0_10, laura_0_11, laura_0_11b, laura_0_12, laura_0_14, laura_0_15, laura_0_16, laura_0_17, laura_0_18, laura_0_19, laura_0_20, laura_0_21, laura_0_22, laura_0_23, laura_0_24, laura_0_25, laura_0_32, laura_0_33, laura_0_34, laura_0_35, laura_0_36, laura_0_36a, laura_0_37); laura_0g = new Array(laura_0_39, laura_0_40); laura_1_0 = new Object(); laura_1_0.area = 'down'; laura_1_0.speaker = 'Billy Barrage'; laura_1_0.portrait = 'barrage'; laura_1_0.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 0}; condition1_3 = {'compareType': 'quest', 'id': '65', 'statusVal': 0}; condition1 = new Array(condition1_1, condition1_2, condition1_3); condition2_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition2_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 0}; condition2_3 = {'compareType': 'quest', 'id': '65', 'statusVal': 99}; condition2 = new Array(condition2_1, condition2_2, condition2_3); condition3_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition3_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 1}; condition3_3 = {'compareType': 'quest', 'id': '65', 'statusVal': 0}; condition3 = new Array(condition3_1, condition3_2, condition3_3); condition4_1 = {'compareType': 'quest', 'id': '8', 'statusVal': 99}; condition4_2 = {'compareType': 'quest', 'id': '23', 'statusVal': 1}; condition4_3 = {'compareType': 'quest', 'id': '65', 'statusVal': 99}; condition4 = new Array(condition4_1, condition4_2, condition4_3); condition5_1 = {'compareType': 'quest', 'id': '66', 'statusVal': 99}; condition5 = new Array(condition5_1); laura_1_0.conditionArray = new Array(condition1, condition2, condition3, condition4, condition5); laura_1_0.dialogue = new Array('Miss Livingston! How\'s everything going?', 'Miss Livingston! How\'s everything going?', 'Miss Livingston! How\'s everything going?', 'Miss Livingston! How\'s everything going?', 'Miss Livingston! How\'s everything going?', 'Miss Livingston?'); laura_1_0.responses = new Array('laura_1a', 'laura_1b', 'laura_1a', 'laura_1d', 'laura_1c', 'laura_1e'); laura_1_1 = new Object(); laura_1_1.area = 'up'; laura_1_1.speaker = 'Laura Livingston'; laura_1_1.portrait = 'laura'; laura_1_1.dialogue = new Array('Not that well. I am still unable to open the main entrance.'); laura_1_2 = new Object(); laura_1_2.area = 'down'; laura_1_2.speaker = _level0.heroName; laura_1_2.portrait = _level0.charA001.portrait; laura_1_2.dialogue = new Array('We\'d better leave you to your research, Laura. Don\'t want to be a bother.'); laura_1_3 = new Object(); laura_1_3.area = 'up'; laura_1_3.speaker = 'Laura Livingston'; laura_1_3.portrait = 'laura'; laura_1_3.dialogue = new Array('Oh no no, that\'s quite alright.'); laura_1_4 = new Object(); laura_1_4.area = 'up'; laura_1_4.speaker = 'Laura Livingston'; laura_1_4.portrait = 'laura'; laura_1_4.dialogue = new Array('I did it! I found a way to open up the entrance!'); laura_1_5 = new Object(); laura_1_5.area = 'down'; laura_1_5.speaker = _level0.heroName; laura_1_5.portrait = _level0.charA001.portrait; laura_1_5.dialogue = new Array('That\'s great!'); laura_1_6 = new Object(); laura_1_6.area = 'down'; laura_1_6.speaker = 'Calisto Filio'; laura_1_6.portrait = 'calisto'; laura_1_6.dialogue = new Array('And this is...?'); laura_1_7 = new Object(); laura_1_7.area = 'down'; laura_1_7.speaker = _level0.heroName; laura_1_7.portrait = _level0.charA001.portrait; laura_1_7.dialogue = new Array('Oh yes... Cali, meet Laura Livingston - Archaeologist.'); laura_1_8 = new Object(); laura_1_8.area = 'down'; laura_1_8.speaker = _level0.heroName; laura_1_8.portrait = _level0.charA001.portrait; laura_1_8.dialogue = new Array('Laura, this is Calisto Filio, Acero\'s resident mechanic.'); laura_1_9 = new Object(); laura_1_9.area = 'up'; laura_1_9.speaker = 'Laura Livingston'; laura_1_9.portrait = 'laura'; laura_1_9.dialogue = new Array('It\'s nice to meet you.'); laura_1_10 = new Object(); laura_1_10.area = 'down'; laura_1_10.speaker = _level0.heroName; laura_1_10.portrait = _level0.charA001.portrait; laura_1_10.dialogue = new Array('So Laura, what will you do now?'); laura_1_11 = new Object(); laura_1_11.area = 'up'; laura_1_11.speaker = 'Laura Livingston'; laura_1_11.portrait = 'laura'; laura_1_11.dialogue = new Array('Why, explore the ruins, of course!'); laura_1_12 = new Object(); laura_1_12.area = 'up'; laura_1_12.speaker = 'Laura Livingston'; laura_1_12.portrait = 'laura'; laura_1_12.dialogue = new Array('However, I was thinking...'); laura_1_13 = new Object(); laura_1_13.area = 'up'; laura_1_13.speaker = 'Laura Livingston'; laura_1_13.portrait = 'laura'; laura_1_13.dialogue = new Array('Considering how you were able to aid me with those monsters...'); laura_1 = new Array(laura_1_0); laura_1a = new Array(laura_1_1, laura_1_2, laura_1_3); laura_1b = new Array(laura_1_1, laura_1_6, laura_1_7, laura_1_8, laura_1_9, laura_0_10, laura_0_11, laura_1_2, laura_1_3); laura_1c = new Array(laura_1_4, laura_1_5, laura_1_10, laura_1_11, laura_1_12, laura_1_13, laura_0_34, laura_0_35, laura_0_36, laura_0_36a, laura_0_37); laura_1d = new Array(laura_1_4, laura_1_5, laura_1_6, laura_1_7, laura_1_8, laura_1_9, laura_0_10, laura_0_11, laura_1_10, laura_1_11, laura_1_12, laura_1_13, laura_0_34, laura_0_35, laura_0_36, laura_0_36a, laura_0_37); laura_1e = new Array(laura_0_36, laura_0_36a, laura_0_37); laura_2_0 = new Object(); laura_2_0.area = 'up'; laura_2_0.speaker = 'Laura Livingston'; laura_2_0.portrait = 'laura'; laura_2_0.dialogue = new Array('Thank you! Thank you all so much!'); action1 = {'actionType': 'quest', 'id': '67', 'val': 99}; action2 = {'actionType': 'quest', 'id': '82', 'val': 1}; action3 = {'actionType': 'party', 'id': 'A004', 'pos': 4}; laura_2_0.actions = new Array(action1, action2, action3); laura_2_1 = new Object(); laura_2_1.area = 'up'; laura_2_1.speaker = 'Laura Livingston'; laura_2_1.portrait = 'laura'; laura_2_1.dialogue = new Array('I promise you, you won\'t regret this.'); laura_2_2 = new Object(); laura_2_2.area = 'up'; laura_2_2.speaker = 'Laura Livingston'; laura_2_2.portrait = 'laura'; laura_2_2.dialogue = new Array('Just let me pack my campsite and I\'ll be with you shortly.'); laura_2_3 = new Object(); laura_2_3.area = 'down'; laura_2_3.speaker = 'Calisto Filio'; laura_2_3.portrait = 'calisto'; laura_2_3.dialogue = new Array('*Pssst* Hey ' + _level0.heroName + ', are you sure about this?'); laura_2_4 = new Object(); laura_2_4.area = 'down'; laura_2_4.speaker = _level0.heroName; laura_2_4.portrait = _level0.charA001.portrait; laura_2_4.dialogue = new Array('*Nod*'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; laura_2_4.actions = new Array(action1, action2); laura_2_5 = new Object(); laura_2_5.area = 'up'; laura_2_5.speaker = 'Laura Livingston'; laura_2_5.portrait = 'laura'; laura_2_5.dialogue = new Array('There, I\'m ready.'); action1 = {'actionType': 'bottomVisible', 'toShow': false}; laura_2_5.actions = new Array(action1); laura_2_6 = new Object(); laura_2_6.area = 'up'; laura_2_6.speaker = 'Laura Livingston'; laura_2_6.portrait = 'laura'; laura_2_6.dialogue = new Array('Shall we begin?'); laura_2_7 = new Object(); laura_2_7.area = 'down'; laura_2_7.speaker = 'Billy Barrage'; laura_2_7.portrait = 'barrage'; laura_2_7.dialogue = new Array('Lead the way, Miss Livingston.'); action1 = {'actionType': 'bottomVisible', 'toShow': true}; laura_2_7.actions = new Array(action1); laura_2_8 = new Object(); laura_2_8.area = 'up'; laura_2_8.speaker = 'Laura Livingston'; laura_2_8.portrait = 'laura'; laura_2_8.dialogue = new Array('Billy, please, call me \'Laura\'.'); laura_2 = new Array(laura_0_38, laura_2_0, laura_2_1, laura_2_2, laura_2_3, laura_2_4, laura_2_5, laura_2_6, laura_2_7, laura_2_8); laura_3_0 = new Object(); laura_3_0.area = 'down'; laura_3_0.chatType = 'compare'; laura_3_0.speaker = _level0.heroName; laura_3_0.portrait = _level0.charA001.portrait; condition1_1 = {'compareType': 'quest', 'id': '68', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '67', 'statusVal': 0}; condition1 = new Array(condition1_1, condition1_2); condition2_1 = {'compareType': 'quest', 'id': '67', 'statusVal': 99}; condition2 = new Array(condition2_1); laura_3_0.conditionArray = new Array(condition1, condition2); laura_3_0.dialogue = new Array('Hmmm.. A stone door. Doesn\'t seem to be any way to get it to open.', '(Tampers with tiny stone slabs.)', 'Now to get this thing open.'); laura_3_0.responses = new Array('laura_3a', 'laura_3b', 'laura_3c'); laura_3_1 = new Object(); laura_3_1.area = 'up'; laura_3_1.speaker = 'Billy Barrage'; laura_3_1.portrait = 'barrage'; laura_3_1.dialogue = new Array('Did you notice those tiny stone slabs with strange markings on them?'); laura_3_1a = new Object(); laura_3_1a.area = 'up'; laura_3_1a.speaker = 'Billy Barrage'; laura_3_1a.portrait = 'barrage'; laura_3_1a.dialogue = new Array('Didn\'t you just try that?'); laura_3_2 = new Object(); laura_3_2.area = 'down'; laura_3_2.speaker = _level0.heroName; laura_3_2.portrait = _level0.charA001.portrait; laura_3_2.dialogue = new Array('Oh yeah, you\'re right. Could be the lock.'); action1 = {'actionType': 'quest', 'id': '68', 'val': 99}; laura_3_2.actions = new Array(action1); laura_3_3 = new Object(); laura_3_3.area = 'down'; laura_3_3.speaker = _level0.heroName; laura_3_3.portrait = _level0.charA001.portrait; laura_3_3.dialogue = new Array('(Tampers with tiny stone slabs.)'); laura_3_4 = new Object(); laura_3_4.area = 'down'; laura_3_4.speaker = _level0.heroName; laura_3_4.portrait = _level0.charA001.portrait; laura_3_4.dialogue = new Array('Nothing\'s happening. Ah well..'); laura_3_5 = new Object(); laura_3_5.area = 'up'; laura_3_5.speaker = 'Laura Livingston'; laura_3_5.portrait = 'laura'; laura_3_5.dialogue = new Array('Allow me.'); action1 = {'actionType': 'quest', 'id': '69', 'val': 99}; laura_3_5.actions = new Array(action1); laura_3_5a = new Object(); laura_3_5a.area = 'up'; laura_3_5a.speaker = 'Laura Livingston'; laura_3_5a.portrait = 'laura'; laura_3_5a.dialogue = new Array('Now to just re-arrange these stone slabs here, and...'); action1 = {'actionType': 'bg', 'transit': true}; action2 = {'actionType': 'resetmap'}; laura_3_5a.actions = new Array(action1, action2); laura_3_6 = new Object(); laura_3_6.area = 'up'; laura_3_6.speaker = 'Laura Livingston'; laura_3_6.portrait = 'laura'; laura_3_6.dialogue = new Array('There we go.'); laura_3_7 = new Object(); laura_3_7.area = 'down'; laura_3_7.speaker = 'Calisto Filio'; laura_3_7.portrait = 'calisto'; laura_3_7.dialogue = new Array('How exactly did you do that?'); laura_3_8 = new Object(); laura_3_8.area = 'up'; laura_3_8.speaker = 'Laura Livingston'; laura_3_8.portrait = 'laura'; laura_3_8.dialogue = new Array('It was actually quite simple. You will notice that the stone door had tiny stone slabs on it.'); laura_3_8a = new Object(); laura_3_8a.area = 'up'; laura_3_8a.speaker = 'Laura Livingston'; laura_3_8a.portrait = 'laura'; laura_3_8a.dialogue = new Array('These stone slabs were marked with alphabets belonging to the language of the UAC-'); laura_3_9 = new Object(); laura_3_9.area = 'down'; laura_3_9.speaker = _level0.heroName; laura_3_9.portrait = _level0.charA001.portrait; laura_3_9.dialogue = new Array('UAC?'); laura_3_10 = new Object(); laura_3_10.area = 'up'; laura_3_10.speaker = 'Laura Livingston'; laura_3_10.portrait = 'laura'; laura_3_10.dialogue = new Array('Oh sorry. That would be my personal acronym for Unknown Ancient Civilization.'); laura_3_11 = new Object(); laura_3_11.area = 'up'; laura_3_11.speaker = 'Laura Livingston'; laura_3_11.portrait = 'laura'; laura_3_11.dialogue = new Array('Anyway, the stone slabs were arranged in a manner that resembled a palindrome in their language. Now, a palindrome is a word that can be read both forwards and backwards. In order to unlock the door, a person was required to rearrange the slabs into an anagram of the original palidrome. However next to the slabs, there was a marked riddle as well, stating two conditions. One: The anagram had to be a new palindrome. Two: The newly arranged palindrome must contain a second smaller palindrome acting as a subset of the original palindrome. So I-'); laura_3_11a = new Object(); laura_3_11a.area = 'up'; laura_3_11a.speaker = 'Laura Livingston'; laura_3_11a.portrait = 'laura'; laura_3_11a.dialogue = new Array('Anyway, the stone slabs were arranged in a manner that resembled a palindrome in their language. Now, a palindrome is a word that can be read both forwards and backwards.'); laura_3_11b = new Object(); laura_3_11b.area = 'up'; laura_3_11b.speaker = 'Laura Livingston'; laura_3_11b.portrait = 'laura'; laura_3_11b.dialogue = new Array('In order to unlock the door, a person was required to rearrange the slabs into an anagram of the original palidrome.'); laura_3_11c = new Object(); laura_3_11c.area = 'up'; laura_3_11c.speaker = 'Laura Livingston'; laura_3_11c.portrait = 'laura'; laura_3_11c.dialogue = new Array('However next to the slabs, there was a marked riddle as well, stating two conditions. One - The anagram had to be a new palindrome.'); laura_3_11d = new Object(); laura_3_11d.area = 'up'; laura_3_11d.speaker = 'Laura Livingston'; laura_3_11d.portrait = 'laura'; laura_3_11d.dialogue = new Array('Two - The newly arranged palindrome must contain a second smaller palindrome acting as a subset of the original palindrome. So I-'); laura_3_12 = new Object(); laura_3_12.area = 'up'; laura_3_12.speaker = 'Laura Livingston'; laura_3_12.portrait = 'laura'; laura_3_12.dialogue = new Array('Oh dear... Just look at me... Rambling on and on.'); laura_3_13 = new Object(); laura_3_13.area = 'down'; laura_3_13.speaker = 'Calisto Filio'; laura_3_13.portrait = 'calisto'; laura_3_13.dialogue = new Array('You know what, let\'s just... Forget that I even asked that question.'); laura_3 = new Array(laura_3_0); laura_3a = new Array(laura_3_1, laura_3_2, laura_3_3, laura_3_4); laura_3b = new Array(laura_3_1a, laura_3_4); laura_3c = new Array(laura_3_5, laura_3_5a, laura_3_6, laura_3_7, laura_3_8, laura_3_8a, laura_3_9, laura_3_10, laura_3_11, laura_3_12, laura_3_13); laura_4_0 = new Object(); laura_4_0.area = 'up'; laura_4_0.speaker = 'Laura Livingston'; laura_4_0.portrait = 'laura'; laura_4_0.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '76', 'statusVal': 99}; condition1 = new Array(condition1_1); laura_4_0.conditionArray = new Array(condition1); laura_4_0.dialogue = new Array('Another stone door.', 'Shall I read out the riddle again?'); laura_4_0.responses = new Array('laura_4a', 'laura_4b'); laura_4_1 = new Object(); laura_4_1.area = 'down'; laura_4_1.speaker = _level0.heroName; laura_4_1.portrait = _level0.charA001.portrait; laura_4_1.dialogue = new Array('No locks on this one.'); laura_4_2 = new Object(); laura_4_2.area = 'up'; laura_4_2.speaker = 'Laura Livingston'; laura_4_2.portrait = 'laura'; laura_4_2.dialogue = new Array('No, but there is an inscription carved here.'); laura_4_3 = new Object(); laura_4_3.area = 'down'; laura_4_3.speaker = 'Billy Barrage'; laura_4_3.portrait = 'barrage'; laura_4_3.dialogue = new Array('I can\'t understand what it\'s saying.'); laura_4_4 = new Object(); laura_4_4.area = 'up'; laura_4_4.speaker = 'Laura Livingston'; laura_4_4.portrait = 'laura'; laura_4_4.dialogue = new Array('Let me translate it.'); laura_4_5 = new Object(); laura_4_5.area = 'up'; laura_4_5.speaker = 'Laura Livingston'; laura_4_5.portrait = 'laura'; laura_4_5.dialogue = new Array('\'An architect once received the following specifications for a building.\''); laura_4_6 = new Object(); laura_4_6.area = 'up'; laura_4_6.speaker = 'Laura Livingston'; laura_4_6.portrait = 'laura'; laura_4_6.dialogue = new Array('\'One - The building must be made up of four blocks.\''); laura_4_7 = new Object(); laura_4_7.area = 'up'; laura_4_7.speaker = 'Laura Livingston'; laura_4_7.portrait = 'laura'; laura_4_7.dialogue = new Array('\'Two - Each block is to be made up of four rooms.\''); laura_4_8 = new Object(); laura_4_8.area = 'up'; laura_4_8.speaker = 'Laura Livingston'; laura_4_8.portrait = 'laura'; laura_4_8.dialogue = new Array('\'Three - The blocks were to be arranged such that the building had four floors, with four rooms on each floor.\''); laura_4_9 = new Object(); laura_4_9.area = 'up'; laura_4_9.speaker = 'Laura Livingston'; laura_4_9.portrait = 'laura'; laura_4_9.dialogue = new Array('\'Four - Each room on the ground floor needs to have a staircase going up, connecting it to the three other rooms above it.\''); laura_4_10 = new Object(); laura_4_10.area = 'up'; laura_4_10.speaker = 'Laura Livingston'; laura_4_10.portrait = 'laura'; laura_4_10.dialogue = new Array('\'Five - Rooms in the same block must be painted a different colour from one another, each indicating a different season.\''); laura_4_11 = new Object(); laura_4_11.area = 'up'; laura_4_11.speaker = 'Laura Livingston'; laura_4_11.portrait = 'laura'; laura_4_11.dialogue = new Array('\'Six - Rooms on the same floor must be painted a different colour from one another, each indicating a different season.\''); laura_4_12 = new Object(); laura_4_12.area = 'up'; laura_4_12.speaker = 'Laura Livingston'; laura_4_12.portrait = 'laura'; laura_4_12.dialogue = new Array('\'Seven - Rooms sharing the same staircase must be painted a different colour from one another, each indicating a different season.\''); laura_4_13 = new Object(); laura_4_13.area = 'up'; laura_4_13.speaker = 'Laura Livingston'; laura_4_13.portrait = 'laura'; laura_4_13.dialogue = new Array('It ends there.'); laura_4_13a = new Object(); laura_4_13a.area = 'up'; laura_4_13a.speaker = 'Laura Livingston'; laura_4_13a.portrait = 'laura'; laura_4_13a.dialogue = new Array('It appears to be some sort of riddle, like the one at the entrance.'); laura_4_14 = new Object(); laura_4_14.area = 'down'; laura_4_14.speaker = 'Calisto Filio'; laura_4_14.portrait = 'calisto'; laura_4_14.dialogue = new Array('These UAC people sure love their riddles and puzzles, don\'t they?'); laura_4_15 = new Object(); laura_4_15.area = 'up'; laura_4_15.speaker = 'Laura Livingston'; laura_4_15.portrait = 'laura'; laura_4_15.dialogue = new Array('That is one of the reasons why they fascinate me so much.'); action1 = {'actionType': 'quest', 'id': '76', 'val': 99}; laura_4_15.actions = new Array(action1); laura_4_16 = new Object(); laura_4_16.area = 'down'; laura_4_16.speaker = _level0.heroName; laura_4_16.portrait = _level0.charA001.portrait; laura_4_16.dialogue = new Array('So how does the riddle help in opening this door?'); laura_4_16a = new Object(); laura_4_16a.area = 'up'; laura_4_16a.speaker = 'Laura Livingston'; laura_4_16a.portrait = 'laura'; laura_4_16a.chatType = 'compare'; condition1_1 = {'compareType': 'quest', 'id': '74', 'statusVal': 99}; condition1_2 = {'compareType': 'quest', 'id': '75', 'statusVal': 0}; condition1 = new Array(condition1_1, condition1_2); condition2_1 = {'compareType': 'quest', 'id': '74', 'statusVal': 0}; condition2_2 = {'compareType': 'quest', 'id': '75', 'statusVal': 99}; condition2 = new Array(condition2_1, condition2_2); condition3_1 = {'compareType': 'quest', 'id': '74', 'statusVal': 99}; condition3_2 = {'compareType': 'quest', 'id': '75', 'statusVal': 99}; condition3 = new Array(condition3_1, condition3_2); laura_4_16a.conditionArray = new Array(condition1, condition2, condition3); laura_4_16a.dialogue = new Array('It does not. Not directly, anyway.', 'It does not. Not directly, anyway.', 'It does not. Not directly, anyway.', 'It does not. Not directly, anyway.'); laura_4_16a.responses = new Array('laura_4e', 'laura_4f', 'laura_4g', 'laura_4h'); laura_4_16b = new Object(); laura_4_16b.area = 'up'; laura_4_16b.speaker = 'Laura Livingston'; laura_4_16b.portrait = 'laura'; laura_4_16b.dialogue = new Array('My best guess is that the lock to this door is somewhere else, and this riddle is the key to opening that lock.'); laura_4_17 = new Object(); laura_4_17.area = 'down'; laura_4_17.speaker = _level0.heroName; laura_4_17.portrait = _level0.charA001.portrait; laura_4_17.dialogue = new Array('Let\'s go find that lock then.'); laura_4_18 = new Object(); laura_4_18.area = 'up'; laura_4_18.speaker = 'Laura Livingston'; laura_4_18.portrait = 'laura'; laura_4_18.dialogue = new Array('Now that I think about it, that puzzle we saw on the floor above must be one of the locks.'); laura_4_18a = new Object(); laura_4_18a.area = 'up'; laura_4_18a.speaker = 'Laura Livingston'; laura_4_18a.portrait = 'laura'; laura_4_18a.dialogue = new Array('The two blocks in that one must be referring to the third and fourth floors.'); laura_4_19 = new Object(); laura_4_19.area = 'up'; laura_4_19.speaker = 'Laura Livingston'; laura_4_19.portrait = 'laura'; laura_4_19.dialogue = new Array('Now that I think about it, that puzzle that we found in the basement must be one of the locks.'); laura_4_19a = new Object(); laura_4_19a.area = 'up'; laura_4_19a.speaker = 'Laura Livingston'; laura_4_19a.portrait = 'laura'; laura_4_19a.dialogue = new Array('The two blocks in that one must be referring to the ground and second floors.'); laura_4_20 = new Object(); laura_4_20.area = 'up'; laura_4_20.speaker = 'Laura Livingston'; laura_4_20.portrait = 'laura'; laura_4_20.dialogue = new Array('And since the riddle states that there are four blocks in total, there must be another lock somewhere else.'); laura_4_21 = new Object(); laura_4_21.area = 'up'; laura_4_21.speaker = 'Laura Livingston'; laura_4_21.portrait = 'laura'; laura_4_21.dialogue = new Array('Now that I think about it, that puzzle that we found in the basement and the floor above must be the locks.'); laura_4_22 = new Object(); laura_4_22.area = 'up'; laura_4_22.speaker = 'Laura Livingston'; laura_4_22.portrait = 'laura'; laura_4_22.dialogue = new Array('The puzzle we found in the basement must be referring to the ground and second floors...'); laura_4_23 = new Object(); laura_4_23.area = 'up'; laura_4_23.speaker = 'Laura Livingston'; laura_4_23.portrait = 'laura'; laura_4_23.dialogue = new Array('..And the puzzle we found in the level above must be referring to the third and fourth floors.'); laura_4_24 = new Object(); laura_4_24.area = 'down'; laura_4_24.chatType = 'choice'; laura_4_24.speaker = _level0.heroName; laura_4_24.portrait = _level0.charA001.portrait; laura_4_24.dialogue = new Array('Yes', 'No'); laura_4_24.responses = new Array('laura_4c', 'laura_4d'); laura_4_25 = new Object(); laura_4_25.area = 'down'; laura_4_25.speaker = 'Calisto Filio'; laura_4_25.portrait = 'calisto'; laura_4_25.dialogue = new Array('Let\'s hear it.'); laura_4_26 = new Object(); laura_4_26.area = 'down'; laura_4_26.speaker = 'Billy Barrage'; laura_4_26.portrait = 'barrage'; laura_4_26.dialogue = new Array('That\'s okay, Laura.'); laura_4_27 = new Object(); laura_4_27.area = 'up'; laura_4_27.speaker = 'Laura Livingston'; laura_4_27.portrait = 'laura'; laura_4_27.dialogue = new Array('Alright.'); laura_4