From ae3d62211ed918e6b1eb78e6d7285138a4d4d79e Mon Sep 17 00:00:00 2001
From: unanmed <1319491857@qq.com>
Date: Wed, 4 Jan 2023 16:23:26 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E5=BC=8F=E5=9C=B0=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/libs/control.js | 12 +-
public/libs/maps.js | 24 +-
public/main.js | 7 +-
public/project/floors/tower1.js | 10 +-
public/project/floors/tower2.js | 2 +-
public/project/floors/tower4.js | 150 +++--
public/project/floors/tower5.js | 2 +-
public/project/floors/tower6.js | 1109 ++++++++-----------------------
public/project/functions.js | 20 +-
public/project/plugins.js | 251 +++++++
src/data/desc.json | 5 +-
src/panel/enemyTarget.vue | 2 +-
src/plugin/settings.ts | 9 +-
src/types/map.d.ts | 4 +-
src/types/plugin.d.ts | 10 +
src/types/status.d.ts | 6 +-
src/ui/bookDetail.vue | 2 +-
17 files changed, 664 insertions(+), 961 deletions(-)
diff --git a/public/libs/control.js b/public/libs/control.js
index 24d55e6..fd3e6cb 100644
--- a/public/libs/control.js
+++ b/public/libs/control.js
@@ -19,6 +19,7 @@ control.prototype._init = function () {
this.weathers = {};
this.resizes = [];
this.noAutoEvents = true;
+ this.updateNextFrame = false;
// --- 注册系统的animationFrame
this.registerAnimationFrame(
'totalTime',
@@ -3862,16 +3863,23 @@ control.prototype.clearStatusBar = function () {
////// 更新状态栏 //////
control.prototype.updateStatusBar = function (doNotCheckAutoEvents, immediate) {
+ if (!core.isPlaying()) return;
if (immediate) {
return this.updateStatusBar_update();
}
if (!doNotCheckAutoEvents) this.noAutoEvents = false;
if (core.isReplaying()) return this.updateStatusBar_update();
- requestAnimationFrame(this.updateStatusBar_update);
+ if (!core.control.updateNextFrame) {
+ core.control.updateNextFrame = true;
+ requestAnimationFrame(this.updateStatusBar_update);
+ }
};
control.prototype.updateStatusBar_update = function () {
- if (!core.isPlaying() || core.hasFlag('__statistics__')) return;
+ core.control.updateNextFrame = false;
+ if (!core.isPlaying() || core.hasFlag('__statistics__')) {
+ return;
+ }
core.control.controldata.updateStatusBar();
if (!core.control.noAutoEvents) core.checkAutoEvents();
core.control._updateStatusBar_setToolboxIcon();
diff --git a/public/libs/maps.js b/public/libs/maps.js
index a2cfa58..dc2b59b 100644
--- a/public/libs/maps.js
+++ b/public/libs/maps.js
@@ -3186,13 +3186,13 @@ maps.prototype.removeBlock = function (x, y, floorId) {
if (!floorId) return false;
core.extractBlocks(floorId);
- for (var i in core.status.maps[floorId].blocks) {
- var block = core.status.maps[floorId].blocks[i];
- if (block.x == x && block.y == y) {
- this.removeBlockByIndex(i, floorId);
- this._removeBlockFromMap(floorId, block);
- return true;
- }
+ const blocks = core.status.maps[floorId].blocks;
+ const i = blocks.findIndex(v => v.x === x && v.y === y);
+ if (i !== -1) {
+ const block = blocks[i];
+ this.removeBlockByIndex(i, floorId);
+ this._removeBlockFromMap(floorId, block);
+ return true;
}
return false;
};
@@ -3295,7 +3295,7 @@ maps.prototype._triggerFloorImage = function (type, loc, floorId, callback) {
};
////// 改变图块 //////
-maps.prototype.setBlock = function (number, x, y, floorId) {
+maps.prototype.setBlock = function (number, x, y, floorId, noredraw) {
floorId = floorId || core.status.floorId;
if (!floorId || number == null || x == null || y == null) return;
if (
@@ -3334,7 +3334,7 @@ maps.prototype.setBlock = function (number, x, y, floorId) {
// 有任何一个是autotile直接重绘地图
if (
(originEvent != null && originEvent.cls == 'autotile') ||
- block.event.cls == 'autotile'
+ (block.event.cls == 'autotile' && !noredraw)
) {
core.redrawMap();
} else {
@@ -3346,8 +3346,10 @@ maps.prototype.setBlock = function (number, x, y, floorId) {
});
}
if (!block.disable) {
- core.drawBlock(block);
- core.addGlobalAnimate(block);
+ if (!noredraw) {
+ core.drawBlock(block);
+ core.addGlobalAnimate(block);
+ }
core.updateStatusBar();
}
}
diff --git a/public/main.js b/public/main.js
index 5bb63e7..f46cc84 100644
--- a/public/main.js
+++ b/public/main.js
@@ -279,12 +279,7 @@ main.prototype.init = function (mode, callback) {
main.core.resize();
// 自动放缩最大化
if (core.getLocalStorage('autoScale') == null) {
- if (
- !data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d.flags
- .autoScale
- )
- core.setLocalStorage('autoScale', false);
- else core.setLocalStorage('autoScale', true);
+ core.setLocalStorage('autoScale', true);
}
if (
core.getLocalStorage('autoScale') &&
diff --git a/public/project/floors/tower1.js b/public/project/floors/tower1.js
index fbaefe7..1950dea 100644
--- a/public/project/floors/tower1.js
+++ b/public/project/floors/tower1.js
@@ -139,6 +139,12 @@ main.floors.tower1=
],
"time": 500
}
+ ],
+ "13,1": [
+ {
+ "type": "function",
+ "function": "function(){\nconsole.trace()\n}"
+ }
]
},
"afterBattle": {},
@@ -220,14 +226,14 @@ main.floors.tower1=
"0,7": {
"floorId": "tower6",
"loc": [
- 18,
+ 24,
58
]
},
"14,7": {
"floorId": "tower6",
"loc": [
- 6,
+ 12,
58
]
},
diff --git a/public/project/floors/tower2.js b/public/project/floors/tower2.js
index 73c079f..04cf7c6 100644
--- a/public/project/floors/tower2.js
+++ b/public/project/floors/tower2.js
@@ -72,7 +72,7 @@ main.floors.tower2=
"7,14": {
"floorId": "tower6",
"loc": [
- 12,
+ 18,
42
]
},
diff --git a/public/project/floors/tower4.js b/public/project/floors/tower4.js
index 11f42bd..5bde525 100644
--- a/public/project/floors/tower4.js
+++ b/public/project/floors/tower4.js
@@ -1,74 +1,86 @@
-main.floors.tower4 = {
- floorId: 'tower4',
- title: '智慧之塔',
- name: '4',
- width: 15,
- height: 15,
- canFlyTo: true,
- canFlyFrom: true,
- canUseQuickShop: true,
- cannotViewMap: false,
- images: [],
- ratio: 2,
- defaultGround: 'T526',
- bgm: 'tower.mp3',
- firstArrive: [],
- eachArrive: [],
- parallelDo: '',
- events: {},
- afterBattle: {},
- afterGetItem: {},
- afterOpenDoor: {},
- autoEvent: {},
- cannotMove: {},
- map: [
- [
- 527, 527, 527, 527, 527, 527, 527, 543, 527, 527, 527, 527, 527,
- 527, 527
- ],
- [527, 31, 31, 536, 0, 528, 0, 547, 0, 31, 0, 544, 0, 381, 527],
- [527, 31, 31, 528, 28, 492, 29, 528, 528, 0, 28, 528, 0, 528, 527],
- [527, 528, 528, 528, 0, 528, 28, 34, 492, 492, 528, 528, 547, 0, 527],
- [527, 381, 0, 550, 0, 528, 528, 528, 528, 0, 31, 528, 0, 528, 527],
- [527, 0, 528, 0, 528, 528, 31, 0, 536, 27, 0, 556, 381, 378, 527],
- [527, 0, 528, 27, 0, 544, 0, 403, 0, 528, 528, 0, 528, 528, 527],
- [
- 527, 550, 528, 528, 528, 528, 492, 528, 550, 528, 34, 381, 556, 376,
- 527
- ],
- [527, 0, 0, 31, 492, 88, 403, 528, 31, 528, 27, 32, 528, 0, 527],
- [527, 528, 528, 0, 528, 403, 34, 547, 0, 492, 492, 528, 528, 556, 527],
- [527, 0, 528, 546, 528, 528, 546, 528, 528, 528, 0, 28, 0, 0, 527],
- [527, 0, 544, 32, 0, 536, 32, 528, 32, 0, 536, 528, 528, 556, 527],
- [527, 27, 492, 0, 27, 528, 27, 492, 0, 528, 528, 528, 0, 0, 527],
- [527, 31, 528, 32, 0, 528, 32, 546, 0, 494, 87, 381, 28, 0, 527],
- [
- 527, 527, 527, 527, 527, 527, 527, 540, 527, 527, 527, 527, 527,
- 527, 527
- ]
- ],
- beforeBattle: {},
- bgmap: [],
- fgmap: [],
- bg2map: [],
- fg2map: [],
- cannotMoveIn: {},
- changeFloor: {
- '5,8': {
- floorId: 'tower3',
- loc: [5, 8]
+main.floors.tower4=
+{
+ "floorId": "tower4",
+ "title": "智慧之塔",
+ "name": "4",
+ "width": 15,
+ "height": 15,
+ "canFlyTo": true,
+ "canFlyFrom": true,
+ "canUseQuickShop": true,
+ "cannotViewMap": false,
+ "images": [],
+ "ratio": 2,
+ "defaultGround": "T526",
+ "bgm": "tower.mp3",
+ "firstArrive": [],
+ "eachArrive": [],
+ "parallelDo": "",
+ "events": {},
+ "afterBattle": {},
+ "afterGetItem": {},
+ "afterOpenDoor": {},
+ "autoEvent": {},
+ "cannotMove": {},
+ "map": [
+ [527,527,527,527,527,527,527,543,527,527,527,527,527,527,527],
+ [527, 31, 31,536, 0,528, 0,547, 0, 31, 0,544, 0,381,527],
+ [527, 31, 31,528, 28,492, 29,528,528, 0, 28,528, 0,528,527],
+ [527,528,528,528, 0,528, 28, 34,492,492,528,528,547, 0,527],
+ [527,381, 0,550, 0,528,528,528,528, 0, 31,528, 0,528,527],
+ [527, 0,528, 0,528,528, 31, 0,536, 27, 0,556,381,378,527],
+ [527, 0,528, 27, 0,544, 0,403, 0,528,528, 0,528,528,527],
+ [527,550,528,528,528,528,492,528,550,528, 34,381,556,376,527],
+ [527, 0, 0, 31,492, 88,403,528, 31,528, 27, 32,528, 0,527],
+ [527,528,528, 0,528,403, 34,547, 0,492,492,528,528,556,527],
+ [527, 0,528,546,528,528,546,528,528,528, 0, 28, 0, 0,527],
+ [527, 0,544, 32, 0,536, 32,528, 32, 0,536,528,528,556,527],
+ [527, 27,492, 0, 27,528, 27,492, 0,528,528,528, 0, 0,527],
+ [527, 31,528, 32, 0,528, 32,546, 0,494, 87,381, 28, 0,527],
+ [527,527,527,527,527,527,527,540,527,527,527,527,527,527,527]
+],
+ "beforeBattle": {},
+ "bgmap": [
+
+],
+ "fgmap": [
+
+],
+ "bg2map": [
+
+],
+ "fg2map": [
+
+],
+ "cannotMoveIn": {},
+ "changeFloor": {
+ "5,8": {
+ "floorId": "tower3",
+ "loc": [
+ 5,
+ 8
+ ]
},
- '7,0': {
- floorId: 'tower6',
- loc: [1, 15]
+ "7,0": {
+ "floorId": "tower6",
+ "loc": [
+ 7,
+ 15
+ ]
},
- '7,14': {
- floorId: 'tower6',
- loc: [12, 15]
+ "7,14": {
+ "floorId": "tower6",
+ "loc": [
+ 18,
+ 15
+ ]
},
- '10,13': {
- floorId: 'tower5',
- loc: [10, 13]
+ "10,13": {
+ "floorId": "tower5",
+ "loc": [
+ 10,
+ 13
+ ]
}
}
-};
+}
\ No newline at end of file
diff --git a/public/project/floors/tower5.js b/public/project/floors/tower5.js
index 1aa2580..09399ed 100644
--- a/public/project/floors/tower5.js
+++ b/public/project/floors/tower5.js
@@ -79,7 +79,7 @@ main.floors.tower5=
"14,7": {
"floorId": "tower6",
"loc": [
- 18,
+ 24,
2
]
},
diff --git a/public/project/floors/tower6.js b/public/project/floors/tower6.js
index 93b58e5..0cea85e 100644
--- a/public/project/floors/tower6.js
+++ b/public/project/floors/tower6.js
@@ -1,853 +1,270 @@
-main.floors.tower6 = {
- floorId: 'tower6',
- title: '智慧之塔',
- name: '1',
- width: 25,
- height: 60,
- canFlyTo: true,
- canFlyFrom: true,
- canUseQuickShop: true,
- cannotViewMap: false,
- images: null,
- ratio: 2,
- defaultGround: 'T526',
- bgm: 'tower.mp3',
- firstArrive: [
- '这一层有点卡......没办法,玩法需求',
- '这一层在存读档界面的截图可能会有问题',
- '这一层自动存档有问题,不会修...',
- '但是你可以在这一层使用自动存档,但该层不会自动存档',
- '自动存档可能不会显示,但可以使用(我也不知道为啥)',
- '在本楼层,如果勇士朝向为向上或向下,在打败一个怪物后会强制前进一格,不然会出bug'
- ],
- eachArrive: [],
- parallelDo: '',
- events: {},
- changeFloor: {
- '12,58': {
- floorId: 'tower1',
- loc: [14, 7],
- direction: 'left'
+main.floors.tower6=
+{
+ "floorId": "tower6",
+ "title": "智慧之塔",
+ "name": "1",
+ "width": 25,
+ "height": 60,
+ "canFlyTo": true,
+ "canFlyFrom": true,
+ "canUseQuickShop": true,
+ "cannotViewMap": false,
+ "images": null,
+ "ratio": 2,
+ "defaultGround": "T526",
+ "bgm": "tower.mp3",
+ "firstArrive": null,
+ "eachArrive": [],
+ "parallelDo": "",
+ "events": {},
+ "changeFloor": {
+ "12,58": {
+ "floorId": "tower1",
+ "loc": [
+ 14,
+ 7
+ ],
+ "direction": "left"
},
- '24,58': {
- floorId: 'tower1',
- loc: [0, 7],
- direction: 'right'
+ "24,58": {
+ "floorId": "tower1",
+ "loc": [
+ 0,
+ 7
+ ],
+ "direction": "right"
},
- '18,42': {
- floorId: 'tower2',
- loc: [7, 14],
- direction: 'up'
+ "18,42": {
+ "floorId": "tower2",
+ "loc": [
+ 7,
+ 14
+ ],
+ "direction": "up"
},
- '18,15': {
- floorId: 'tower4',
- loc: [7, 14],
- direction: 'up'
+ "18,15": {
+ "floorId": "tower4",
+ "loc": [
+ 7,
+ 14
+ ],
+ "direction": "up"
},
- '7,15': {
- floorId: 'tower4',
- loc: [7, 0],
- direction: 'down'
+ "7,15": {
+ "floorId": "tower4",
+ "loc": [
+ 7,
+ 0
+ ],
+ "direction": "down"
},
- '24,2': {
- floorId: 'tower5',
- loc: [14, 7],
- direction: 'left'
+ "24,2": {
+ "floorId": "tower5",
+ "loc": [
+ 14,
+ 7
+ ],
+ "direction": "left"
}
},
- afterBattle: {},
- afterGetItem: {},
- afterOpenDoor: {},
- autoEvent: {},
- cannotMove: {},
- map: [
- [
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17
- ],
- [
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17
- ],
- [
- 0, 556, 556, 32, 0, 0, 0, 32, 537, 32, 537, 32, 537, 32, 537, 32, 0,
- 376, 378, 381, 34, 556, 556, 0, 543
- ],
- [
- 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
- 527, 527, 279, 527, 527, 527, 527, 527, 527, 527, 527, 527
- ],
- [
- 32, 0, 537, 17, 0, 0, 17, 17, 0, 0, 17, 17, 0, 32, 0, 376, 550, 0,
- 17, 17, 17, 17, 17, 17, 17
- ],
- [
- 527, 527, 0, 17, 527, 32, 0, 537, 0, 527, 17, 17, 527, 527, 527, 0,
- 527, 27, 32, 17, 17, 17, 17, 17, 17
- ],
- [
- 17, 0, 27, 0, 527, 527, 527, 527, 0, 546, 27, 32, 29, 17, 17, 0, 17,
- 527, 28, 0, 17, 17, 17, 17, 17
- ],
- [
- 32, 547, 527, 32, 17, 17, 17, 17, 34, 527, 527, 527, 527, 17, 17, 0,
- 17, 17, 527, 556, 0, 17, 17, 17, 17
- ],
- [
- 32, 527, 17, 381, 381, 0, 544, 0, 0, 0, 27, 32, 32, 28, 492, 536,
- 17, 17, 17, 527, 378, 376, 381, 32, 17
- ],
- [
- 527, 17, 17, 17, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
- 527, 0, 17, 17, 17, 17, 527, 527, 527, 527, 17
- ],
- [
- 556, 32, 381, 32, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 376,
- 550, 0, 27, 32, 381, 0, 0, 556, 556
- ],
- [
- 527, 527, 527, 527, 17, 17, 0, 32, 547, 32, 0, 17, 17, 17, 17, 33,
- 527, 527, 527, 527, 527, 527, 527, 527, 527
- ],
- [
- 17, 17, 17, 17, 17, 0, 28, 527, 527, 527, 381, 0, 17, 17, 17, 0, 17,
- 527, 32, 0, 544, 0, 27, 32, 28
- ],
- [
- 0, 17, 17, 17, 0, 27, 527, 17, 17, 17, 527, 376, 381, 32, 0, 279,
- 378, 527, 527, 527, 492, 527, 527, 527, 527
- ],
- [
- 0, 27, 381, 32, 550, 527, 17, 17, 17, 17, 17, 527, 527, 527, 527, 0,
- 527, 17, 17, 17, 32, 17, 17, 17, 17
- ],
- [
- 527, 527, 527, 527, 527, 0, 0, 543, 0, 27, 381, 32, 0, 17, 0, 32,
- 27, 0, 543, 0, 381, 0, 17, 17, 17
- ],
- [
- 17, 17, 0, 550, 32, 0, 527, 527, 527, 527, 0, 527, 527, 0, 550, 527,
- 527, 527, 527, 527, 527, 556, 17, 17, 17
- ],
- [
- 28, 27, 32, 527, 527, 527, 17, 17, 17, 0, 546, 32, 378, 381, 527,
- 17, 378, 381, 32, 556, 32, 32, 17, 17, 17
- ],
- [
- 527, 527, 527, 527, 17, 17, 17, 17, 0, 32, 527, 527, 527, 527, 17,
- 0, 381, 527, 527, 527, 527, 556, 17, 17, 17
- ],
- [
- 0, 17, 17, 17, 17, 17, 17, 0, 376, 527, 0, 27, 381, 32, 0, 546, 527,
- 17, 0, 0, 390, 403, 396, 0, 0
- ],
- [
- 29, 0, 537, 0, 17, 17, 0, 547, 527, 17, 527, 527, 527, 527, 0, 527,
- 17, 17, 527, 527, 527, 279, 527, 527, 527
- ],
- [
- 527, 527, 527, 32, 492, 29, 0, 527, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 378, 17, 17, 17
- ],
- [
- 17, 17, 527, 527, 527, 0, 527, 0, 32, 544, 0, 0, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 0, 17, 17, 17
- ],
- [
- 32, 556, 32, 29, 32, 537, 492, 27, 527, 527, 527, 0, 0, 0, 17, 28,
- 0, 536, 0, 27, 0, 556, 17, 376, 556
- ],
- [
- 527, 527, 527, 527, 527, 527, 527, 381, 17, 17, 17, 381, 527, 527,
- 17, 527, 492, 527, 527, 527, 527, 0, 17, 32, 527
- ],
- [
- 17, 17, 17, 17, 0, 0, 17, 28, 0, 536, 32, 0, 0, 0, 17, 17, 550, 17,
- 17, 17, 17, 17, 17, 556, 17
- ],
- [
- 0, 381, 0, 537, 527, 527, 17, 527, 527, 527, 527, 527, 537, 527, 0,
- 0, 0, 381, 32, 0, 17, 17, 28, 0, 0
- ],
- [
- 527, 527, 527, 32, 0, 27, 0, 544, 0, 0, 0, 17, 492, 17, 28, 527,
- 527, 527, 527, 527, 17, 32, 0, 527, 527
- ],
- [
- 17, 17, 527, 527, 527, 527, 527, 527, 0, 527, 527, 17, 27, 34, 550,
- 17, 17, 17, 17, 17, 17, 527, 527, 527, 17
- ],
- [
- 0, 17, 17, 17, 17, 17, 17, 0, 0, 28, 17, 17, 0, 527, 527, 0, 32, 0,
- 546, 28, 17, 0, 546, 0, 381
- ],
- [
- 381, 33, 17, 441, 33, 547, 0, 33, 527, 527, 17, 0, 550, 0, 32, 381,
- 527, 527, 527, 0, 17, 0, 527, 527, 527
- ],
- [
- 527, 527, 17, 527, 527, 527, 527, 279, 403, 390, 17, 527, 527, 527,
- 527, 527, 527, 17, 17, 0, 17, 0, 17, 17, 17
- ],
- [
- 17, 17, 17, 0, 0, 0, 17, 0, 527, 527, 17, 17, 17, 17, 17, 17, 17,
- 32, 0, 27, 546, 0, 34, 376, 0
- ],
- [
- 17, 17, 17, 527, 537, 0, 32, 0, 536, 0, 34, 378, 32, 0, 17, 0, 556,
- 403, 527, 527, 527, 527, 527, 527, 0
- ],
- [
- 381, 34, 28, 547, 0, 527, 527, 527, 527, 527, 381, 527, 527, 527,
- 17, 527, 0, 527, 17, 0, 0, 544, 0, 32, 0
- ],
- [
- 527, 527, 527, 527, 0, 0, 381, 0, 17, 0, 0, 0, 17, 0, 0, 32, 381,
- 376, 32, 550, 527, 527, 527, 527, 527
- ],
- [
- 17, 17, 17, 527, 527, 527, 527, 527, 17, 527, 527, 527, 17, 527,
- 527, 527, 527, 527, 527, 0, 17, 17, 17, 17, 17
- ],
- [
- 0, 536, 34, 17, 32, 537, 381, 537, 32, 29, 32, 556, 0, 17, 0, 27,
- 32, 28, 0, 550, 0, 32, 378, 34, 0
- ],
- [
- 527, 492, 527, 17, 527, 0, 527, 0, 527, 527, 527, 527, 527, 17, 527,
- 527, 0, 527, 527, 527, 527, 527, 527, 527, 527
- ],
- [
- 17, 34, 17, 17, 17, 0, 17, 0, 0, 556, 390, 441, 396, 556, 0, 0, 546,
- 34, 376, 32, 549, 0, 17, 17, 17
- ],
- [
- 0, 537, 0, 32, 28, 27, 492, 32, 527, 527, 527, 0, 527, 527, 527,
- 492, 527, 527, 527, 527, 527, 0, 32, 0, 0
- ],
- [
- 527, 527, 527, 527, 527, 527, 527, 537, 492, 0, 32, 556, 0, 0, 0, 0,
- 0, 17, 17, 17, 527, 527, 527, 527, 527
- ],
- [
- 0, 17, 17, 17, 17, 17, 17, 34, 527, 527, 527, 527, 28, 527, 527,
- 527, 536, 376, 543, 378, 381, 547, 0, 32, 32
- ],
- [
- 550, 31, 31, 17, 0, 27, 34, 381, 556, 492, 0, 0, 32, 17, 17, 527,
- 527, 527, 527, 527, 492, 527, 527, 527, 527
- ],
- [
- 527, 527, 527, 17, 527, 527, 527, 17, 527, 527, 527, 527, 0, 17, 17,
- 17, 17, 17, 17, 17, 546, 17, 17, 17, 527
- ],
- [
- 17, 17, 17, 17, 17, 17, 17, 494, 556, 33, 27, 0, 381, 0, 547, 0,
- 492, 33, 28, 33, 0, 17, 17, 17, 17
- ],
- [
- 0, 27, 34, 549, 34, 376, 381, 378, 527, 527, 527, 527, 0, 527, 527,
- 527, 527, 527, 527, 527, 0, 29, 0, 0, 0
- ],
- [
- 527, 527, 527, 527, 527, 527, 527, 527, 527, 17, 17, 17, 544, 0, 27,
- 33, 381, 0, 547, 527, 527, 527, 527, 0, 527
- ],
- [
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 527, 527, 527,
- 527, 527, 0, 28, 33, 381, 0, 544, 17
- ],
- [
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 29, 17, 17, 17, 17,
- 527, 527, 527, 527, 527, 527, 492, 17
- ],
- [
- 34, 537, 34, 381, 27, 381, 34, 550, 492, 0, 34, 29, 0, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 0, 17
- ],
- [
- 381, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 546, 34,
- 29, 27, 29, 34, 17, 17, 17, 17, 17, 0, 17
- ],
- [
- 0, 527, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 492, 527, 527, 527,
- 527, 536, 0, 34, 28, 27, 381, 34, 0
- ],
- [
- 527, 527, 0, 381, 378, 33, 381, 0, 17, 17, 17, 17, 0, 17, 17, 17,
- 527, 527, 527, 527, 527, 527, 527, 547, 527
- ],
- [
- 0, 0, 550, 527, 527, 527, 527, 549, 0, 33, 0, 17, 0, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 0, 0
- ],
- [
- 527, 527, 527, 527, 17, 17, 527, 527, 527, 527, 527, 17, 537, 0,
- 381, 0, 536, 34, 376, 0, 537, 0, 34, 381, 34
- ],
- [
- 527, 0, 537, 0, 0, 34, 492, 0, 27, 34, 0, 17, 0, 527, 527, 527, 0,
- 527, 527, 527, 527, 527, 527, 527, 527
- ],
- [
- 17, 527, 0, 527, 527, 527, 527, 550, 527, 527, 527, 17, 17, 17, 17,
- 17, 0, 546, 34, 17, 17, 17, 17, 17, 17
- ],
- [
- 0, 548, 34, 537, 381, 0, 34, 0, 27, 34, 549, 0, 543, 0, 33, 28, 0,
- 527, 378, 381, 33, 544, 27, 494, 543
- ],
- [
- 528, 528, 528, 528, 528, 528, 528, 528, 528, 528, 528, 528, 528,
- 528, 528, 528, 528, 528, 528, 528, 528, 528, 528, 528, 528
- ]
- ],
- bgmap: [
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50057, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50057, 50057
- ],
- [
- 50057, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50057, 50057
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50057, 50057, 50057,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50057,
- 50057, 50057, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50057, 50057, 50057,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50057,
- 50057, 50057, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50057,
- 50057, 50057, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50057,
- 50057, 50057, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 306
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50041, 50041
- ],
- [
- 50057, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50057, 50057, 50057, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50057, 50057
- ],
- [
- 50057, 50041, 50041, 50041, 50041, 50041, 50041, 50041, 50041,
- 50041, 50041, 50057, 50057, 50057, 50041, 50041, 50041, 50041,
- 50041, 50041, 50041, 50041, 50041, 50057, 50057
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 552, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 552, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 0,
- 552, 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 0,
- 0, 0, 552, 0
- ],
- [
- 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0,
- 0, 0, 552, 0
- ],
- [
- 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 552, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 552, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 552, 0,
- 552, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0,
- 552, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0,
- 552, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 552, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 552
- ],
- [
- 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0,
- 0, 0, 0, 552
- ],
- [
- 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 552, 0, 0, 552,
- 0, 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0,
- 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0,
- 0, 0, 0
- ],
- [
- 0, 552, 0, 0, 0, 552, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0,
- 0, 0, 0, 0, 0
- ],
- [
- 0, 552, 0, 0, 0, 552, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0,
- 0, 0, 0, 0, 0
- ],
- [
- 0, 552, 0, 0, 0, 552, 0, 552, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0,
- 0, 0, 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 552, 0, 50144,
- 50145, 50146, 0, 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 0, 50152, 50153,
- 50154, 0, 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 552,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 552,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 552,
- 0, 0, 0, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 552,
- 0, 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 552, 0
- ],
- [
- 552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 50041
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 552, 0
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 552, 0, 0, 0, 552, 0, 0, 0, 0,
- 0, 0, 0, 0
- ],
- [
- 50146, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 50144, 50145, 50146, 0, 0,
- 552, 0, 0, 0, 0, 0, 0, 50144, 50145
- ],
- [
- 50154, 0, 552, 0, 0, 0, 0, 552, 0, 0, 0, 50152, 50153, 50154, 0, 0,
- 552, 0, 0, 0, 0, 0, 0, 50152, 50153
- ],
- [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0
- ]
- ],
- fg2map: [],
- beforeBattle: {},
- cannotMoveDirectly: true,
- cannotMoveIn: {}
-};
+ "afterBattle": {},
+ "afterGetItem": {},
+ "afterOpenDoor": {},
+ "autoEvent": {},
+ "cannotMove": {},
+ "map": [
+ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
+ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
+ [ 0,556,556, 32, 0, 0, 0, 32,537, 32,537, 32,537, 32,537, 32, 0,376,378,381, 34,556,556, 0,543],
+ [527,527,527,527,527,527,527,527,527,527,527,527,527,527,527,279,527,527,527,527,527,527,527,527,527],
+ [ 32, 0,537, 17, 0, 0, 17, 17, 0, 0, 17, 17, 0, 32, 0,376,550, 0, 17, 17, 17, 17, 17, 17, 17],
+ [527,527, 0, 17,527, 32, 0,537, 0,527, 17, 17,527,527,527, 0,527, 27, 32, 17, 17, 17, 17, 17, 17],
+ [ 17, 0, 27, 0,527,527,527,527, 0,546, 27, 32, 29, 17, 17, 0, 17,527, 28, 0, 17, 17, 17, 17, 17],
+ [ 32,547,527, 32, 17, 17, 17, 17, 34,527,527,527,527, 17, 17, 0, 17, 17,527,556, 0, 17, 17, 17, 17],
+ [ 32,527, 17,381,381, 0,544, 0, 0, 0, 27, 32, 32, 28,492,536, 17, 17, 17,527,378,376,381, 32, 17],
+ [527, 17, 17, 17,527,527,527,527,527,527,527,527,527,527,527, 0, 17, 17, 17, 17,527,527,527,527, 17],
+ [556, 32,381, 32, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,376,550, 0, 27, 32,381, 0, 0,556,556],
+ [527,527,527,527, 17, 17, 0, 32,547, 32, 0, 17, 17, 17, 17, 33,527,527,527,527,527,527,527,527,527],
+ [ 17, 17, 17, 17, 17, 0, 28,527,527,527,381, 0, 17, 17, 17, 0, 17,527, 32, 0,544, 0, 27, 32, 28],
+ [ 0, 17, 17, 17, 0, 27,527, 17, 17, 17,527,376,381, 32, 0,279,378,527,527,527,492,527,527,527,527],
+ [ 0, 27,381, 32,550,527, 17, 17, 17, 17, 17,527,527,527,527, 0,527, 17, 17, 17, 32, 17, 17, 17, 17],
+ [527,527,527,527,527, 0, 0,543, 0, 27,381, 32, 0, 17, 0, 32, 27, 0,543, 0,381, 0, 17, 17, 17],
+ [ 17, 17, 0,550, 32, 0,527,527,527,527, 0,527,527, 0,550,527,527,527,527,527,527,556, 17, 17, 17],
+ [ 28, 27, 32,527,527,527, 17, 17, 17, 0,546, 32,378,381,527, 17,378,381, 32,556, 32, 32, 17, 17, 17],
+ [527,527,527,527, 17, 17, 17, 17, 0, 32,527,527,527,527, 17, 0,381,527,527,527,527,556, 17, 17, 17],
+ [ 0, 17, 17, 17, 17, 17, 17, 0,376,527, 0, 27,381, 32, 0,546,527, 17, 0, 0,390,403,396, 0, 0],
+ [ 29, 0,537, 0, 17, 17, 0,547,527, 17,527,527,527,527, 0,527, 17, 17,527,527,527,279,527,527,527],
+ [527,527,527, 32,492, 29, 0,527, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,378, 17, 17, 17],
+ [ 17, 17,527,527,527, 0,527, 0, 32,544, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17],
+ [ 32,556, 32, 29, 32,537,492, 27,527,527,527, 0, 0, 0, 17, 28, 0,536, 0, 27, 0,556, 17,376,556],
+ [527,527,527,527,527,527,527,381, 17, 17, 17,381,527,527, 17,527,492,527,527,527,527, 0, 17, 32,527],
+ [ 17, 17, 17, 17, 0, 0, 17, 28, 0,536, 32, 0, 0, 0, 17, 17,550, 17, 17, 17, 17, 17, 17,556, 17],
+ [ 0,381, 0,537,527,527, 17,527,527,527,527,527,537,527, 0, 0, 0,381, 32, 0, 17, 17, 28, 0, 0],
+ [527,527,527, 32, 0, 27, 0,544, 0, 0, 0, 17,492, 17, 28,527,527,527,527,527, 17, 32, 0,527,527],
+ [ 17, 17,527,527,527,527,527,527, 0,527,527, 17, 27, 34,550, 17, 17, 17, 17, 17, 17,527,527,527, 17],
+ [ 0, 17, 17, 17, 17, 17, 17, 0, 0, 28, 17, 17, 0,527,527, 0, 32, 0,546, 28, 17, 0,546, 0,381],
+ [381, 33, 17,441, 33,547, 0, 33,527,527, 17, 0,550, 0, 32,381,527,527,527, 0, 17, 0,527,527,527],
+ [527,527, 17,527,527,527,527,279,403,390, 17,527,527,527,527,527,527, 17, 17, 0, 17, 0, 17, 17, 17],
+ [ 17, 17, 17, 0, 0, 0, 17, 0,527,527, 17, 17, 17, 17, 17, 17, 17, 32, 0, 27,546, 0, 34,376, 0],
+ [ 17, 17, 17,527,537, 0, 32, 0,536, 0, 34,378, 32, 0, 17, 0,556,403,527,527,527,527,527,527, 0],
+ [381, 34, 28,547, 0,527,527,527,527,527,381,527,527,527, 17,527, 0,527, 17, 0, 0,544, 0, 32, 0],
+ [527,527,527,527, 0, 0,381, 0, 17, 0, 0, 0, 17, 0, 0, 32,381,376, 32,550,527,527,527,527,527],
+ [ 17, 17, 17,527,527,527,527,527, 17,527,527,527, 17,527,527,527,527,527,527, 0, 17, 17, 17, 17, 17],
+ [ 0,536, 34, 17, 32,537,381,537, 32, 29, 32,556, 0, 17, 0, 27, 32, 28, 0,550, 0, 32,378, 34, 0],
+ [527,492,527, 17,527, 0,527, 0,527,527,527,527,527, 17,527,527, 0,527,527,527,527,527,527,527,527],
+ [ 17, 34, 17, 17, 17, 0, 17, 0, 0,556,390,441,396,556, 0, 0,546, 34,376, 32,549, 0, 17, 17, 17],
+ [ 0,537, 0, 32, 28, 27,492, 32,527,527,527, 0,527,527,527,492,527,527,527,527,527, 0, 32, 0, 0],
+ [527,527,527,527,527,527,527,537,492, 0, 32,556, 0, 0, 0, 0, 0, 17, 17, 17,527,527,527,527,527],
+ [ 0, 17, 17, 17, 17, 17, 17, 34,527,527,527,527, 28,527,527,527,536,376,543,378,381,547, 0, 32, 32],
+ [550, 31, 31, 17, 0, 27, 34,381,556,492, 0, 0, 32, 17, 17,527,527,527,527,527,492,527,527,527,527],
+ [527,527,527, 17,527,527,527, 17,527,527,527,527, 0, 17, 17, 17, 17, 17, 17, 17,546, 17, 17, 17,527],
+ [ 17, 17, 17, 17, 17, 17, 17,494,556, 33, 27, 0,381, 0,547, 0,492, 33, 28, 33, 0, 17, 17, 17, 17],
+ [ 0, 27, 34,549, 34,376,381,378,527,527,527,527, 0,527,527,527,527,527,527,527, 0, 29, 0, 0, 0],
+ [527,527,527,527,527,527,527,527,527, 17, 17, 17,544, 0, 27, 33,381, 0,547,527,527,527,527, 0,527],
+ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0,527,527,527,527,527, 0, 28, 33,381, 0,544, 17],
+ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 29, 17, 17, 17, 17,527,527,527,527,527,527,492, 17],
+ [ 34,537, 34,381, 27,381, 34,550,492, 0, 34, 29, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17],
+ [381,527,527,527,527,527,527,527,527,527,527,527,546, 34, 29, 27, 29, 34, 17, 17, 17, 17, 17, 0, 17],
+ [ 0,527, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,492,527,527,527,527,536, 0, 34, 28, 27,381, 34, 0],
+ [527,527, 0,381,378, 33,381, 0, 17, 17, 17, 17, 0, 17, 17, 17,527,527,527,527,527,527,527,547,527],
+ [ 0, 0,550,527,527,527,527,549, 0, 33, 0, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0],
+ [527,527,527,527, 17, 17,527,527,527,527,527, 17,537, 0,381, 0,536, 34,376, 0,537, 0, 34,381, 34],
+ [527, 0,537, 0, 0, 34,492, 0, 27, 34, 0, 17, 0,527,527,527, 0,527,527,527,527,527,527,527,527],
+ [ 17,527, 0,527,527,527,527,550,527,527,527, 17, 17, 17, 17, 17, 0,546, 34, 17, 17, 17, 17, 17, 17],
+ [ 0,548, 34,537,381, 0, 34, 0, 27, 34,549, 0,543, 0, 33, 28, 0,527,378,381, 33,544, 27,494,543],
+ [528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528,528]
+],
+ "bgmap": [
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057],
+ [50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,306],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041],
+ [50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057],
+ [50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057,50057,50041,50041,50041,50041,50041,50041,50041,50041,50041,50057,50057],
+ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+],
+ "fgmap": [
+
+],
+ "bg2map": [
+ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ [50146, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0,552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,552,50041],
+ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,552, 0],
+ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,552, 0, 0, 0,552, 0, 0, 0, 0, 0, 0, 0, 0],
+ [50146, 0,552, 0, 0, 0, 0,552, 0, 0, 0,50144,50145,50146, 0, 0,552, 0, 0, 0, 0, 0, 0,50144,50145],
+ [50154, 0,552, 0, 0, 0, 0,552, 0, 0, 0,50152,50153,50154, 0, 0,552, 0, 0, 0, 0, 0, 0,50152,50153],
+ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+],
+ "fg2map": [
+
+],
+ "beforeBattle": {},
+ "cannotMoveDirectly": true,
+ "cannotMoveIn": {}
+}
\ No newline at end of file
diff --git a/public/project/functions.js b/public/project/functions.js
index 2cb9794..de1b9b7 100644
--- a/public/project/functions.js
+++ b/public/project/functions.js
@@ -148,9 +148,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
heroLoc.direction = core.turnDirection(heroLoc.direction);
core.status.hero.loc = heroLoc;
// tower6
- if (floorId == 'tower6') {
- core.relocateLoopMap(floorId, heroLoc);
- }
+ // if (floorId == 'tower6') {
+ // core.relocateLoopMap(floorId, heroLoc);
+ // }
// 检查重生怪并重置
if (!fromLoad) {
core.extractBlocks(floorId);
@@ -174,11 +174,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
// ---------- 重绘新地图;这一步将会设置core.status.floorId ---------- //
core.drawMap(floorId);
- if (floorId == 'tower6') core.backgroundImage('tower6.jpeg');
- else {
- core.deleteCanvas('bImage');
- core.deleteCanvas('eImage');
- }
// 切换楼层BGM
if (core.status.maps[floorId].bgm) {
@@ -186,9 +181,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
if (bgm instanceof Array) bgm = bgm[0];
if (!core.hasFlag('__bgm__')) core.playBgm(bgm);
}
- // if (flags.chase && fromLoad) {
- // core.startChase();
- // }
// 更改画面色调
var color = core.getFlag('__color__', null);
if (!color && core.status.maps[floorId].color)
@@ -200,8 +192,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
'curtain',
0,
0,
- core.__PIXELS__,
- core.__PIXELS__,
+ core._PX_,
+ core._PY_,
core.arrayToRGBA(color)
);
// 更改天气
@@ -1773,6 +1765,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
);
}
+ core.checkLoopMap();
+
// 追猎
if (core.status.checkBlock.haveHunt) {
var x = core.status.hero.loc.x,
diff --git a/public/project/plugins.js b/public/project/plugins.js
index 17d02ca..820efd7 100644
--- a/public/project/plugins.js
+++ b/public/project/plugins.js
@@ -3684,6 +3684,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
};
control.prototype.updateStatusBar_update = function () {
+ core.control.updateNextFrame = false;
if (!core.isPlaying() || core.hasFlag('__statistics__')) return;
core.control.controldata.updateStatusBar();
if (!core.control.noAutoEvents) core.checkAutoEvents();
@@ -4028,5 +4029,255 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
this.loadSkillTree = function (data) {
levels = data ?? [];
};
+ },
+ loopMap: function () {
+ const list = (this.loopMapList = ['tower6']);
+
+ /**
+ * 设置循环地图的偏移量
+ * @param {number} offset 横向偏移量
+ * @param {FloorIds} floorId
+ */
+ this.setLoopMap = function (offset, floorId) {
+ const floor = core.status.maps[floorId];
+ if (offset < 9) {
+ moveMap(floor.width - 17, floorId);
+ }
+ if (offset > floor.width - 9) {
+ moveMap(17 - floor.width, floorId);
+ }
+ };
+
+ /**
+ * 当勇士移动时自动设置循环地图
+ * @param {FloorIds} floorId
+ */
+ this.autoSetLoopMap = function (floorId) {
+ this.setLoopMap(core.status.hero.loc.x, floorId);
+ };
+
+ this.checkLoopMap = function () {
+ if (isLoopMap(core.status.floorId)) {
+ this.autoSetLoopMap(core.status.floorId);
+ }
+ };
+
+ /**
+ * 滑动数组
+ * @param {any[]} arr
+ * @param {number} delta
+ */
+ this.slide = function (arr, delta) {
+ if (delta === 0) return arr;
+ if (delta > 0) {
+ arr.unshift(...arr.splice(arr.length - delta, delta));
+ return arr;
+ }
+ if (delta < 0) {
+ arr.push(...arr.splice(0, -delta));
+ return arr;
+ }
+ };
+
+ /**
+ * 移动地图
+ * @param {number} delta
+ * @param {FloorIds} floorId
+ */
+ function moveMap(delta, floorId) {
+ core.extractBlocks(floorId);
+ const floor = core.status.maps[floorId];
+ core.setHeroLoc('x', core.status.hero.loc.x + delta);
+ flags[`loop_${floorId}`] += delta;
+ flags[`loop_${floorId}`] %= floor.width;
+ const origin = floor.blocks.slice();
+ for (let i = 0; i < origin.length; i++) {
+ core.removeBlockByIndex(0, floorId);
+ core.removeGlobalAnimate(origin[i].x, origin[i].y);
+ }
+ origin.forEach(v => {
+ let to = v.x + delta;
+ if (to >= floor.width) to -= floor.width;
+ if (to < 0) to += floor.width;
+ core.setBlock(v.id, to, v.y, floorId, true);
+ core.setMapBlockDisabled(floorId, to, v.y, false);
+ });
+ core.drawMap();
+ core.drawHero();
+ }
+
+ function isLoopMap(floorId) {
+ return list.includes(floorId);
+ }
+
+ events.prototype._sys_changeFloor = function (data, callback) {
+ data = data.event.data;
+ let heroLoc = {};
+ if (isLoopMap(data.floorId)) {
+ const floor = core.status.maps[data.floorId];
+ flags[`loop_${data.floorId}`] ??= 0;
+ let tx = data.loc[0] + flags[`loop_${data.floorId}`];
+ tx %= floor.width;
+ if (tx < 0) tx += floor.width;
+ console.log(data.loc[0], tx);
+ heroLoc = {
+ x: tx,
+ y: data.loc[1]
+ };
+ } else if (data.loc) heroLoc = { x: data.loc[0], y: data.loc[1] };
+ if (data.direction) heroLoc.direction = data.direction;
+ if (core.status.event.id != 'action') core.status.event.id = null;
+ core.changeFloor(
+ data.floorId,
+ data.stair,
+ heroLoc,
+ data.time,
+ function () {
+ core.replay();
+ if (callback) callback();
+ }
+ );
+ };
+
+ events.prototype.trigger = function (x, y, callback) {
+ var _executeCallback = function () {
+ // 因为trigger之后还有可能触发其他同步脚本(比如阻激夹域检测)
+ // 所以这里强制callback被异步触发
+ if (callback) {
+ setTimeout(callback, 1); // +1是为了录像检测系统
+ }
+ return;
+ };
+ if (core.status.gameOver) return _executeCallback();
+ if (core.status.event.id == 'action') {
+ core.insertAction(
+ {
+ type: 'function',
+ function:
+ 'function () { core.events._trigger_inAction(' +
+ x +
+ ',' +
+ y +
+ '); }',
+ async: true
+ },
+ null,
+ null,
+ null,
+ true
+ );
+ return _executeCallback();
+ }
+ if (core.status.event.id) return _executeCallback();
+
+ let block = core.getBlock(x, y);
+ const id = core.status.floorId;
+ const loop = isLoopMap(id);
+ if (loop) {
+ if (block && block.event.trigger === 'changeFloor') {
+ delete block.event.trigger;
+ core.maps._addInfo(block);
+ } else {
+ const floor = core.status.maps[id];
+ let tx = x - flags[`loop_${id}`];
+ tx %= floor.width;
+ if (tx < 0) tx += floor.width;
+ const c = core.floors[id].changeFloor[`${tx},${y}`];
+ if (c) {
+ const b = { event: {}, x: tx, y };
+ b.event.data = c;
+ b.event.trigger = 'changeFloor';
+ block = b;
+ }
+ }
+ }
+
+ if (block == null) return _executeCallback();
+
+ // 执行该点的脚本
+ if (block.event.script) {
+ core.clearRouteFolding();
+ try {
+ eval(block.event.script);
+ } catch (ee) {
+ console.error(ee);
+ }
+ }
+
+ // 碰触事件
+ if (block.event.event) {
+ core.clearRouteFolding();
+ core.insertAction(block.event.event, block.x, block.y);
+ // 不再执行该点的系统事件
+ return _executeCallback();
+ }
+
+ if (block.event.trigger && block.event.trigger != 'null') {
+ var noPass = block.event.noPass,
+ trigger = block.event.trigger;
+ if (noPass) core.clearAutomaticRouteNode(x, y);
+
+ // 转换楼层能否穿透
+ if (
+ trigger == 'changeFloor' &&
+ !noPass &&
+ this._trigger_ignoreChangeFloor(block) &&
+ !loop
+ )
+ return _executeCallback();
+ core.status.automaticRoute.moveDirectly = false;
+ this.doSystemEvent(trigger, block);
+ }
+ return _executeCallback();
+ };
+
+ maps.prototype._getBgFgMapArray = function (name, floorId, noCache) {
+ floorId = floorId || core.status.floorId;
+ if (!floorId) return [];
+ var width = core.floors[floorId].width;
+ var height = core.floors[floorId].height;
+
+ if (!noCache && core.status[name + 'maps'][floorId])
+ return core.status[name + 'maps'][floorId];
+
+ var arr =
+ main.mode == 'editor' &&
+ !(window.editor && editor.uievent && editor.uievent.isOpen)
+ ? core.cloneArray(editor[name + 'map'])
+ : null;
+ if (arr == null)
+ arr = core.cloneArray(core.floors[floorId][name + 'map'] || []);
+
+ if (isLoopMap(floorId) && window.flags) {
+ flags[`loop_${floorId}`] ??= 0;
+ arr.forEach(v => {
+ core.slide(v, flags[`loop_${floorId}`] % width);
+ });
+ }
+
+ for (var y = 0; y < height; ++y) {
+ if (arr[y] == null) arr[y] = Array(width).fill(0);
+ }
+ (core.getFlag('__' + name + 'v__', {})[floorId] || []).forEach(
+ function (one) {
+ arr[one[1]][one[0]] = one[2] || 0;
+ }
+ );
+ (core.getFlag('__' + name + 'd__', {})[floorId] || []).forEach(
+ function (one) {
+ arr[one[1]][one[0]] = 0;
+ }
+ );
+ if (main.mode == 'editor') {
+ for (var x = 0; x < width; x++) {
+ for (var y = 0; y < height; y++) {
+ arr[y][x] = arr[y][x].idnum || arr[y][x] || 0;
+ }
+ }
+ }
+ if (core.status[name + 'maps'])
+ core.status[name + 'maps'][floorId] = arr;
+ return arr;
+ };
}
};
diff --git a/src/data/desc.json b/src/data/desc.json
index 76df3aa..a9fd807 100644
--- a/src/data/desc.json
+++ b/src/data/desc.json
@@ -298,14 +298,15 @@
"注意,拖动时,滑动条左边会显示当前的加攻或加防次数,这个数值指的是在勇士所在地图中需要吃的最弱的宝石数量。",
"例如,当前勇士所在地图中最弱的宝石加2点攻击,加攻次数为3,那么勇士的攻击增加量就为6。",
"勇士增加的攻击数值也会在下方显示。当加攻次数和加防次数改变时,折线图也会变化。",
- "当前状态下怪物的伤害以及减伤总量也会在下方显示。",
+ "当前状态下怪物的伤害以及减伤总量也会在下方显示。",
+ "注意在此栏中无法通过点击屏幕回到怪物手册界面,更多信息请查看最后一段。",
"
",
"
",
"在特殊属性栏,点击下方的怪物更多信息可以进入更多信息栏。此栏中,你可以查看怪物描述。但这不是这一栏的核心功能。",
"这一栏的核心功能是标记怪物。被标记的怪物会有一些非常方便的行为,这些行为可以在“标记怪物”条目中查看。",
"
",
"
",
- "注意,在怪物详细信息中,只有特殊属性栏可以通过点击屏幕返回到怪物手册界面,详细临界与更多信息栏均不行。",
+ "注意,在怪物详细信息中,除详细临界栏外均可以通过点击屏幕返回到怪物手册界面。",
"如果你是电脑端,在任意栏目中按下X键会退出怪物手册,返回游戏,",
"按下回车(Enter)键会回到怪物手册界面。"
]
diff --git a/src/panel/enemyTarget.vue b/src/panel/enemyTarget.vue
index 471e7e1..0b466bc 100644
--- a/src/panel/enemyTarget.vue
+++ b/src/panel/enemyTarget.vue
@@ -14,7 +14,7 @@
:style="{ color: marked ? 'lightgreen' : 'lightcoral' }"
>{{ marked ? '已标记该怪物' : '未标记该怪物' }}
- {{
+ {{
marked ? '取消标记该怪物' : '标记该怪物为目标'
}}
diff --git a/src/plugin/settings.ts b/src/plugin/settings.ts
index 814fc34..a303b8d 100644
--- a/src/plugin/settings.ts
+++ b/src/plugin/settings.ts
@@ -1,4 +1,5 @@
import { ref, watch } from 'vue';
+import { has } from './utils';
/**
* 打开和关闭ui时是否展示动画
@@ -44,12 +45,16 @@ watch(autoScale, n => {
* 重置设置信息,从localStorage读取即可
*/
function reset() {
- transition.value = core.getLocalStorage('transition') ? true : false;
+ const t = core.getLocalStorage('transition', false);
+ transition.value = t;
core.plugin.transition.value = transition.value;
- autoScale.value = core.getLocalStorage('autoScale') ? true : false;
+ autoScale.value = core.getLocalStorage('autoScale', true);
}
function resetFlag() {
+ flags.autoSkill ??= true;
+ flags.itemDetail ??= true;
+
itemDetail.value = flags.itemDetail ? true : false;
autoSkill.value = flags.autoSkill ? true : false;
}
diff --git a/src/types/map.d.ts b/src/types/map.d.ts
index fdff9f1..95c8e8d 100644
--- a/src/types/map.d.ts
+++ b/src/types/map.d.ts
@@ -1170,12 +1170,14 @@ interface Maps {
* @param x 横坐标
* @param y 纵坐标
* @param floorId 地图id,不填视为当前地图
+ * @param noredraw 是否不重绘地图
*/
setBlock(
number: AllIds | AllNumbers | `${AllNumbers}`,
x: number,
y: number,
- floorId?: FloorIds
+ floorId?: FloorIds,
+ noredraw?: boolean
): void;
/**
diff --git a/src/types/plugin.d.ts b/src/types/plugin.d.ts
index f0d1482..aa137d9 100644
--- a/src/types/plugin.d.ts
+++ b/src/types/plugin.d.ts
@@ -120,6 +120,13 @@ interface PluginUtils {
* @param isStart 是否要开始修剪录像
*/
autoFixRouteBoss(isStart?: boolean);
+
+ /**
+ * 滑动数组
+ * @param arr 数组
+ * @param delta 偏移量,正数表示向右滑动,负数表示向左滑动
+ */
+ slide(arr: T[], delta: number): T[];
}
interface PluginUis {
@@ -165,6 +172,9 @@ interface PluginUis {
/** 楼传界面是否打开 */
readonly flyOpened: Ref;
+ /** 是否展示标记的怪物 */
+ readonly showMarkedEnemy: Ref;
+
/** ui栈 */
readonly uiStack: Ref;
diff --git a/src/types/status.d.ts b/src/types/status.d.ts
index 9cfce80..4d79f2e 100644
--- a/src/types/status.d.ts
+++ b/src/types/status.d.ts
@@ -618,17 +618,17 @@ interface InitGameStatus {
/**
* 背景图块
*/
- bgmaps: Record;
+ bgmaps: Record;
/**
* 前景图块
*/
- fgmaps: Record;
+ fgmaps: Record;
/**
* 以坐标列举的图块
*/
- mapBlockObjs: Record>;
+ mapBlockObjs: Record>;
/**
* 地图伤害
diff --git a/src/ui/bookDetail.vue b/src/ui/bookDetail.vue
index 05db2e5..95034ed 100644
--- a/src/ui/bookDetail.vue
+++ b/src/ui/bookDetail.vue
@@ -124,7 +124,7 @@ onMounted(async () => {
if (y > (parseFloat(style.height) * 4) / 5) moved = true;
},
() => {
- if (moved === false && panel.value === 'special') {
+ if (moved === false && panel.value !== 'critical') {
close();
}
moved = false;