-
Notifications
You must be signed in to change notification settings - Fork 0
/
tilemap.g.ts
270 lines (267 loc) · 51.2 KB
/
tilemap.g.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
// Auto-generated code. Do not edit.
namespace myTiles {
//% fixedInstance jres blockIdentity=images._tile
export const transparency16 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile1 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile2 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile3 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile4 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile5 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile6 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile7 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile8 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile9 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile10 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile11 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile12 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile13 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile14 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile15 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile16 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile19 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile20 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile22 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile18 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile21 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile17 = image.ofBuffer(hex``);
helpers._registerFactory("tilemap", function(name: string) {
switch(helpers.stringTrim(name)) {
case "level0":
case "level2":return tiles.createTilemap(hex`10000a0002030401040204040304010401020e030404040e0404040104020e0e0e0e0402040405080808080b04040e0404040e01010406090909090d040e0e0e0f0e0e01020e06090909090d0e0e040e0e0e0401040e070a0a0a0a0c040e0404040e0e04030e010e0e0e0e0404040e0e0e0404020e020401040e0e04010e040e0e04040e04040e0e0e040e04040e040e0e04100e02040304020401020e0101040e010403`, img`
2 2 2 . . 2 . . 2 . . . . 2 2 2
. 2 . . 2 . 2 . . 2 2 . . 2 . 2
2 . . . . . . . 2 . . . . . . .
. . . . . . . . . . . . . . . .
2 2 . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . 2
. 2 . . . . . . . . . . . . . .
. . . 2 . . . . . . . . . . . .
2 . 2 . 2 . . 2 . . . . . . . 2
`, [myTiles.transparency16,myTiles.tile2,myTiles.tile3,myTiles.tile5,sprites.castle.tileGrass1,sprites.castle.tilePath1,sprites.castle.tilePath4,sprites.castle.tilePath7,sprites.castle.tilePath2,sprites.castle.tilePath5,sprites.castle.tilePath8,sprites.castle.tilePath3,sprites.castle.tilePath9,sprites.castle.tilePath6,sprites.castle.tileGrass3,sprites.swamp.swampTile16,sprites.dungeon.collectibleInsignia], TileScale.Sixteen);
case "lava_underground":
case "lava_underground1":return tiles.createTilemap(hex`1000100000000101010101010401010100000000000101020202020202020201010100000101020204020402020204020201000001020202020202020202020202010100020202040202020402040202020401000102020202040202020204020402010001010202020202040202020202020101010202040202020202020202020205010101020202020202040202020202050100010202020402020202020402020101000101010101010202020402020101000000000000000101020202020101000000000101010101020401010101000000000101020202020202020202010101010001030204020204020202020202020100010202020202020202040202020201`, img`
. . 2 2 2 2 2 2 . 2 2 2 . . . .
. 2 2 . . . . . . . . 2 2 2 . .
2 2 . . . . . . . . . . . 2 . .
2 . . . . . . . . . . . . 2 2 .
. . . . . . . . . . . . . . 2 .
2 . . . . . . . . . . . . . 2 .
2 2 . . . . . . . . . . . . 2 2
2 . . . . . . . . . . . . . . 2
2 2 . . . . . . . . . . . . . 2
. 2 . . . . . . . . . . . . 2 2
. 2 2 2 2 2 2 . . . . . . 2 2 .
. . . . . . 2 2 . . . . 2 2 . .
. . 2 2 2 2 2 . . 2 2 2 2 . . .
. 2 2 . . . . . . . . . 2 2 2 2
. 2 . . . . . . . . . . . . . 2
. 2 . . . . . . . . . . . . . 2
`, [myTiles.transparency16,sprites.castle.rock0,sprites.dungeon.hazardLava1,myTiles.tile10,sprites.dungeon.hazardLava0,sprites.dungeon.stairWest], TileScale.Sixteen);
case "passage":
case "passage1":return tiles.createTilemap(hex`04000e000104040a0205080b0106090a0105080c0306090a0105080a0106090c0205080b0106090c0105080a0106090c0105080c0206090b0107070a`, img`
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
2 . . 2
`, [myTiles.transparency16,sprites.dungeon.greenOuterWest1,sprites.dungeon.greenOuterWest2,sprites.dungeon.greenOuterWest0,sprites.dungeon.stairSouth,sprites.dungeon.greenInnerNorthWest,sprites.dungeon.greenInnerSouthWest,sprites.dungeon.stairNorth,sprites.dungeon.greenInnerNorthEast,sprites.dungeon.greenInnerSouthEast,sprites.dungeon.greenOuterEast0,sprites.dungeon.greenOuterEast2,sprites.dungeon.greenOuterEast1], TileScale.Sixteen);
case "level3":
case "level1":return tiles.createTilemap(hex`7800780001040304040202050104040405010604040201030504040305030202010604050102040202040305040304040204020604040305010304020204020401030504020202040201030404020204040405010204020604050503040404050304020204030506040405020103030405030105020405010202040402060504030403020203010404030503040403020404020104040203050204030406050403040106050404030503010405030404040304060403020404040304040304060503020204060502030206020403050304040406020301050602040404030104030402030504040404060404050203060503050103020d10101304040604020202040404040404040604040304040404040404020404030404030204040406040404020404040304020202040404040204040402040302040403020404040202040404040404040304040202040404040402030404040402040204040407070402020204030404040404030502050e111111101010101010101010101010101010101010130404030404040604040404040404040204040404040404040404040404040404040404040404040404040404040404040304040404040304040204040304040403040404040404040404060404040507080b0a0b050704040403020404050401060e11111112121212121212121212121212121212121115040404040404040404040404040404040d101010101010101010101010101010101010101010101010101010101304040404040404040404040404040404040404040404040404040304040404050b0a0b0c0b0b0b0804040204010304020204040f12121404040404040404040404040404040404040e15040404040404040404040404040404040e111212121212121212121212121212121212121212121212121212111504040404040404040404040404040404040204040404040404040404040407080b0c0b0b0b0b0a0b05040406040504020202040404040404040404040404040404040404040404040e15040404040404040404040404040404040e1504020201040203030202060103040304030202030202030202040e15040404040404020404040404040404040404040404040404040404040404080b0a0b0b0b0c0b0c0b07040404040403050205030404040404040404040404040204040404040404040e150402040404040d101010101010101010111502030603060301050203010306050603020103050503060503020e150404040404040404040404040404040404040404040404040404020404040c0b0b0b0a0b0b0b0b0504040404030404040204040406040404040404040404040404040404040404040e150404040404040e111212121212121212121404020503020203030606030503020303050306030101030502020e1504040404040404040404040404040404040404040404040d130404040404050b0c0b0b0b0b0a0b0504040204020402040503020305040404040404040404040404040402040404040e150404040404040e150404040404040404040404010306030202010302050202020202030602050302030603020e1504040404040404040404040404040404040404040404040e150404040404040a0b0b0b0c0b0b070404040404060403020204040403040403040404040404040404040404040404040e150404040404040e150404040404040404040404030205010503020203060301030202030102030202030301020e1110101010101010101010101010101010101010101010101115040404040404070b0a0b0b0b0c070404040304040404010204040403040404040404040404040404040404040404040e1110101010101011150404040404040404040404040402030504040202030501020302020302060302050106040f12121212121212121212121212121212121212121212121212140404040404043408080b0a0704040404040404010404060404030203040404040404040404040404040404040404040f1212121212121211150404040404040404040404040402020404040402020204040404020404040202020404040404040404040404040404040404040404040404040404040404040404040404040404070c0504040404040404020304040502020504040404040404040404040402040404040404040404040204040404040e15040404040404040404040404040402040404040404020404040404040404040204040404040404040404040404040404040404040404040404040404040404040404040404040405050404040404040404040304040202040304040406040404040404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040205040403040404040404040404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040403040104040303040404040404040402040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040404040404040404040404040404040404040402040404020404040401020405030404040404040404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040404040404040404040404040404040404040204040404040404040404040604040305020204040404020404040404040404040404040404040402040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040404040404040404040404020404050306040404040404040404040404040404040404040404040404040404040e11101010101010101010101010101010101010101010101010101010101304040404040404040404040204020404040404040404040404040404040404040404040404040404040404040404040404040404060404020405040404040304040404040404040404040404040404040404040404040404020f12121212121212121111121212121212121212121212121212121212121404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020402020301040304040304040404040404040404020404040404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020201040405040503040404040404020404040404040404040404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040404040404040404040404040404040404040204060404020202040404040404040404040404040404040404040402040404040404040404040404040404040e15040404040404040404040404040404040404040404040404020404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040403030204040404040404030404040404040404040404040404040404040404020404040404040404040404040204040e15040404040404040404040404040404040204040404040404040402040404040404040404040404040204040404040404040404040404040404040404040404040404040404040304040403040405040303040404040404040404040404040404040404040404040404040404040404040404040404040e15040404020404040404040404040404040404040404040404040404040404040404040404040404020404040404040404040404040404040404040404040404040404020404040404040404040301030305040404040404040404040404040404040404040404040404040404040404040404040404040e15040404040404040404040204040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040404040404040401040404020403040404040202060404040404040404020404040404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404030206040404040404020404040404040404040404040404040404040404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402020404040404040404040404040404040404040404040404040404040404050305060404040404040404040404040d1304040404040404040404040204040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404050204060403040404040404040403040404040e1504040404040404040404040404040404040402040404040e150404040404040404040404040204040404040404040204040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404030404040404040304040404040404040404040e1504040404040404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404020404040404040404040404040404040404040404040404020404040404040204040404040404040404040404040402040503040403040204040404040404040e1504040404040404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404050202020404040404040404040404040404040404040404020104060404040204040402040404040404040e11101010101010101010101010101010101010101010101011111010101010101010101010101010101010130404040404040404040404040404040404040404040404040404040404050405020202020404040404040404040404040404040204040403020304050304030204030404040403040404040f12121212121211111212121212121212121212121212121212121212121212121212121212121212121211150404040404040404040404040404040404040404040404040404040405051b2222310204040404040404040404040404040404040404040402040402040504020404040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040402040402051c2323290504040404040404040404040404040404040404040404040304050204040404040404040404040404040604040404040e15040404040404040404040404040404040404040404070404040404040404040404040e150404040404040404040404040404040404040404040404040404040402021c2323290503040404040404040404040404040404040404030404040402040404030404040404040304040402040404040404040e15040404040404040404040402040404040404040507070404040404040204040404040e150404040404040404040404040404040404040202040404040404040402051c23232a0202040403040404040404040204040404040404040404020504050303040404030404040404020204040404040404040e15040404040204040404040404040404040404050707070705040504040402040404040e150404040404040404020404040404040404020404040404040404040404051c2329020201030605040404040404040404040404040404040406020301030404020404040404040304040404040404040304040e1504040404040404040404040404040404040b0c0b090a090c0b0807050404040404040e150404040204040404040404040404040404040404040404040404040404041d242a050202020203040404040404040404040404040404040404020305040303040204040404040404040304040404040404040e15040404040404040404040404040404080b0b0a090b0b0b0b0b0a07070804040404040e15040404040404040404040404040404040404040404040404040404040404040404040506020301040404060304040404040404040404040402040404040401060404040402040404040404040404040404040e15040404040404040404040404040405070c0b0b0b0b0b0c0b0b0c0b070704040404040e111010101010101010101010101010101010101010101010101010101010101010130404040404040404050104040404040404040404040402020404020502050404040404040d1010101010101010101010101115040404040404040402040404040407070b0a090b0b0a0b0b0a0b0b0b0c07040404040f121212121212121212121212121212121212111112121212121212121212121212140403040404040302030204040404040404020404040402030104040302040302040404040e11121212121212121212121212140404040404040404040404040508070b0b0b0b0b0b0b0b0c0b0b0b0a0b0b05080404040404040404040404040404040404040404040e1504040404040404040404040404040404040403040201020405010404030306020304040402030403040402030404030404040e1504040404040404040404040404040404040404040404040405090b090b0c0b0b0c0b0b0b0b0b0b0b0b0b0b0a070404040404040404040404040404040404040404040e1504040404040404040404040404040404040201040305040402030404010201050404040403030403040202040302040404040e150404040404040404040404040404040404040404040404090c0b0a0b0b0b0b0c0b0b0b0b090b0a0b0b0b0b0b0c0505050404040404040404040404040404040404040e1504040404040404040404040404040404040405040404040106020404040102030404010204060405040401040404020404040e1504040404040404040404040404040404020404040404040c0b0b0b0b0b0a0b0b0b0b0b0b0b0b0b0b0b0c0b090b0b07070404040404040404040402040404040404040e150404040404020204040202040404040404040404040404040404040304040405040605020401040305050303040d1010101011150404040404040404040404040404040404040404040405090b0b0c0b0b0b0b0b0b0b0b0c0b0b0b0b0b0b0a0b0a0b08070704040204040404040404040404040404040e150404040404040404040402040404040204040402020404030404040404040404040301040403030404060404030e111212121214040404040204040404040404040404040404040405080b0a0b0b0b0b0a0b0b090b090b0b0b0c0b0b0b0b0b090b0c0b070704040404040404040404040404040404040e150404040404040404040404040404020204040404040404040404040404040304040202030502030604020304020e150404040404040404040404040404040404040404040404040407080c0b090b0b0b090b0b0b0c090b0b0b0b0b0b0b0c0b0b090b0b070404040404040404040404040404040404040e150404040404040402040404040404040404040404040404040404040404040404040404010304020404050403020e1504040404040404040404040404040402040404040404040404070b0b0b0b0b090b0b090b0b090b0b0b0b0b090b090b0b0b0b0b0b040404040404040404040404040404040404040e150404040204040404040404040202040404040403040404040404020204040404040404040204050305040204040e1504040404040404040404040404040204040404040404040404070a0b0b0b0b0a0b0c0b0b0b0b0b0b0b0b0b0b0c0b0b0b0b0b0b0b050404040404040402020404040404040404040e150404040204040404040404040402040404040404040404020404040202040402020404040506020406040306040e150404040404040404040404040404040404040404040404040404090b0b0c0b090b0b0b0b0b0b0b0b0c0b0b09090b0b0a0b0c0b0a050404040404040404040404040404040404040e150404040202040404040404040404040404040404040404040404040404040404020404040403030403040404030e150404040404040404040404040404040404040404040404040404050c0b0b0b0b0b0b0b0c0b090b0b0b0b0b0b090b0b090b0b0b0b070504040404040404040404040404040404040e150404040404020204040404040404040404040404040404040404040404040404020204040402040401020304040e150404040402020404040404040404040404040404040404040404080b0a0b0b0b0b0b0b0b0b0b0b090b0b0b0b0a0b0b090b0b0b0c070704040404040404040404040404040404040e150404040404040404040404040403040404020404040404040404040304040404040404030401020505010503040e150404040404040404040404040404040404040404040404040404080b0c0b0b0b0b0b0b0b0b09090b0b0b090b0b0c0b0b0b090b0b080704040404040404040404040402040404040e150404040404040404040404040404040404040404040402020404040404040404040404040402020302040304040e15040404040404040404060404040404040404040204040404040404050b0b0b0b0c0b0a0b0b090b0a0b0b0b090b0b0a0b090b090b0c0704040404040404040404040204040404040e150404040404040404040404040404040404040404040402040404040404040404040404040102060404050402040e1504040404040404040404040404040404040402040404040404040404040b0a0b0b0b0b090b0b0b0b0b0c0b0b0b0b0b0b0b0b0a0b0b0404040404040404040404040204040404040e150404040404030404040204040404040404040404040402020404040402040404040404040304050405020301030e150404040404040404040404040404040404040404040404040404040404070b0b0c0b0b0b0b0b0b0b0b090b0b0b0b0b0b0c0b090b0c0404040402040404060404040404040404040e150404040404040404020204040404040404040403040404040404040404040402040404040404030402020404040e15040404040404040404040404040404040404040404040404040404040407080b0b090b0a0b0c0b0b09090b0b090c0b0b0b0b0b0b040404040404020404040404040404040404040e150404040404040404020404040404040404040404040404040404040404040402040403040401020304020402040e150404040404040404040404040404040404040404040404040404040404040707070b0c0b0b0b0b0b0a0b090b0a0b0b0b0a0b0b05040404040404040404040404040404040404040e150404040404040404040404040402040404040404040404040402020204040402040404040206040504040604040e150404040404060404040404040404040404040404040404040404040404040404040b0c0a0b090b0b0b090b0b0b090c0b0b080704040404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040104040102040302050402030e150404040404040404040404040404040404040404060404040402020404040404040507070805040b0c0a0b070805040407070704040404040404040404040404040404040404040e150404040204040403040404040404040404040404040404040404040404040404040404040304030202040304020e1504040404040404040404040404020404040404040404040404040404040404040404070704040404040504070504040404040404040404040404040404040404040404040404040e150404020404040404040404040404040404040404040404040404040404040404040404040404050204020402030e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040402040404040404040404040404040404040404040404040404040404040e150404020204040404040404040404040304040402020402020204040202040404020404020402030604060401040e1110101010101010130404040404040404040404040404040404040404040404040404040404040404040204020404040404040404020402040404040404040404040404040404040e150404040404040404020202040404040404040402040404040404040404040402040404030401030503050303020f1212121212121211150404040404040404040406040404040204040404040404040404040404040404040404040404040404040404040404040404040404040404020404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404060504030403020507070404040404040e150404040404040404040404040404040404040404040404040404040404020404040404040404040404040404040404040404040404040404040404040404040e1504040404010404040404040404040404040404020404040404040403040404040404040404020304050404050b0a0b0404040404040e150404040404040404040404040404040404040404020204040404040404040404040404040404040404040404040404040404040404040404040404040404040f14040404040404040404040404040202040404020204040404040404040404040404040403050203010205080b0b0b0c0b05040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404020404040404040404040604040404040404040404040404040404050304040404040404040404040402040404040404040404040404040404040403040401040405040404070b0b090b090b070404040e1504040404040404040404040404040404040404040404040404020404040404040404040404040402020404040404040404040404040404040404040404040404040602010404040304040304040404040404040404040404010404040404040404040404040204020304050b0a0c0b0b0b0a0b0504040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040102040404040504040205010404040404040404040404040404040404040404050201040603020504070b0b0b0b090b0c0b0504040e1110101010101010101010101010101010101304040404040404040406040404040402040404040404040404040404040404040404040404040404040404040404040403040301040304040104040404040404040404040404040404040404040404010204040304040104080b0b090b090b090b0704040e1112121212121212121212121212121212111504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040405060401020404060404040404040301040404040304040104030304040402030404030204070b0c0b0b0a0b0b080704040e15040404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404030401030403020404040502040405010206040404020204040306050403040204090b0b0b0c0b0b0a0b0704040e15040404040404040404040404040404040e15040404040404040404040404040404040404040604040404040404040404040404040404040404040404040404040404040404040103040404040501020106030404010404030205040403040501040404050404020403010a09090a090b0b0b0b0704040e15040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040204040404040404020404040404040404040404040404040404040404040404050104040404040403040404040402030404040404020503040b0b0b0b0b0b0c090a0504040e15040404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040304040404030604040402010404030406050404040404040304060b0c0b090a0b0b090b0204040f14040404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404030404040404040404040404040403020404080b0b0b090b0b090b0302030404040404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040406040404040404040204040402040404040404040404040404040404040404040404040404040404040404040404050105050a090b0c0a0b070306030302020304040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040404060202040405060b0b0b0b0b07050603020303030602030404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040404020404040404040204040404040402040404040404040404050204040304040705050303030203030306020203060304040404040404040404040e1504040404040404040404040404040404040404040404040404040404040402040404040204040404040404040404040404040404040404040404040404040404040404040404040404040404040402040204040304040404040402040404040302030202030203030603030d10101010101010101010111504040404040404040404040404040402040404040404040204040404040404040404040404040404040404040404040404040404040404040404040404040404040404020404040404040404020404040404040404040302040602040404040405030203030202020203060e11121212121212121212121404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020404040404040404040404040404040404040404040404040404040204040404040404040404040403040102020502030404040404040402050203020302030e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020402040402040404020404020404040404040402020202040402040202020404030205040403040404040404040404040404040405040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040402040402040404040404040404040404040304040603040303040204040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040402040404020404040404040404040404040404040404040204020404040402040402040402020202040204020202040202020404040404040403020404040402040204040604040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020204040404040404040402040404040204040204040404020402040405040201010204030404040404040404040404040404040e15040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404020404040404040404020402020402020404040404040204020404050404040202040402040403020304040204050304040404040404040404040404040e150404040404040404040404040404040d1304040404040404040404040404040404040404040404040404040404040402040404040404040404040402040404020404020402040504040404020204040405040404040202040405040404040304020404050403040404040404040404040404040404040e150404040404040404040404040404040e150404040404040404040404020404040404040404040404040404040404040404040404040404040404040404040404020402040404040404020405040404191a18171905040404040204020404040205050106010404040204040404040d1010101010101011111010101010101010101010101010101115040404040404040404040404040404040404040404040404040404040404040404040404040402020404040404020202050205040404181a1817171918191904040419191a17191919040404020517181a1904040406040304040404040e111212121212121212121212121212121111121212121212121404040404040404040404040404040404040404040204040404040404040404040404040404040404040404040202040204041a19171819040404040404040404040404040404040404171a1819181904040404030404020404040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404020204040402020402040402050419040404040404040404040404040404040404040404040404040404040404040404040103020404040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040405040404041904040404040404040404040404040404040404040404040404040404040404040402020503020604040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404020402040404020204041a18191804040404040404040404040404040404040404040404040404040404040404040404030404020404040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040402040404040404040204040404020204020519191904040404040404040404040404040404040404040404040404040404040404040404040404040406040404040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404020404040402020418040404040404040404040404040404040404040404040404040404040404040404040404040401030404040304040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204020204041917040404040404040404040404040404040404040404040404040404040404040404040404040404040202030404040404040e150404040404040404040404040404040e1110101010101010101013040404040404040404040402040404040404040404040404040404020404040204040204040504181904040404040404040404040404040404040404040404040404040404040404040404040404040404010205040404040404040e150404040404040404040404040404040e1112121212121212121214040404040404040404040404040404040404040404040204040404040404040204040204040204190404040404040404040404040404040404040404040404040404040404040404040404040404040404020304040604040404040e150404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404040404040202040402040417040404040404040404041e252b252525252b252525252b252525252b252525252b252525252b253702040404040404040404040e150404040404040404040404040404040e150404040404040404040404040404040404040404040404040402040404040404040404040404040404040404040204051918040404040404040404041f262727272727272727272727272e2e27272e2e272727272e2e272e2e3802040204040404040404040e150404040404040404040404040404040e1504040404040404040404040404040404040404040404040404040404040404040404040404040402040404020202040418040404040404040404040420272c3227272c3227272c3227272c3227272c3227272c322e272c32273904050204040404030404040e150404040404040404040404040404040e150404040404040404040404040404040404040404040404040404040404040404040404040404020404040404020504171904040404040404040404041f272d33272e2d3327272d3327272d3327272d3327272d3327272d33273804030604040404040404040e150404040404040404040404161604040e150404040404040404040404040404040404040404040404040404040404040404040404040404040204020402040404180404040404040404040404041f2727272c3227272c3227272c3227272c3227272c3227272c3227272e3801040404030404040404040e1110101010101010101010101010101011111010101010101010101010101013040404040404040404040404040404040404040404040404040404020402040402191904040404040404040404041f272e272d3327272d33272e2d332e2f2d332e2e2d332e2e2d332727273804020402040404040404040f12121212121212121212121212121212121212121212121212121212121212140404040404040404040404040404040404020404040402040204040404040204020519040404040404040404040420272c3227272c3227272c322e2e2c322f272c3227272c3227272c322e390205030204040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040402040404040402041804040404040404040404041f272d3327272d33272e2d33272e2d33272f2d332e272d3327272d332e380203040402040403040404040404040404040404040404040404040404040404040404040404040404040404040404040404040204040404040404040404040404040402040404040204040204041804040404040404040404041f2727272c3227272c32272e2c32272f2c322f2f2c322f272c32272727380404040304020404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404050404191904040404040404040404041f2727272d3327272d332e272d3327272d3327272d33272e2d33272727380103040304020404040403040404040404040404040404040404040404040404040404040404040404040404040404030404040404040404040404040404040404040204040203040404020404170404040404040404040404041f272c32272e2c3227272c32272e2c322e272c322e352c322e272c322e3804040405020203040404040404040202020204040404020204040402040404030404040403040404040404040404040404040404040404040402040404040604040404040404040404040204041904040404040404040404040420272d3327272d33272e2d332e2e2d33272e2d332e272d332f272d33273904060402040402020406040404040404040304040403040404030402020404040404040404040404040202040406040404040202020404040402040304040404040404030402040304040404051a0404040404040404040404041f272f272c32272e2c3227272c3227272c322e272c3227272c322e272e380105040306040404040404040204040204040404040404040203040604040402040403040202040404040404040404040402040402040403040204040402040204020404040604040402040304170404040404040404040404041f272e2f2d332e2e2d33272f2d332e272d33272e2d3327272d33352735380403040404040304030104030503040404040406040204020404040404030404040404040204030404030406040304030402030404030404040402020404040304020404030404020402040304190404040404040404040404041f272c3227272c322f272c32272e2c3227272c322e2e2c32273536322f3803030104040402020504020404040404040304040204050103040402040204030104050604030404030504040402020304020504040402010403040204030404020504040402020504040404041704040404040404040404040420272d3327272d33272f2d3327272d3327272d33272e2d3327272d332e390504050304040304040304040304040304050301040304040403040404040305040403040401040202020204040205010404040404060404040404010504030404060403040403040103040204180404040404040404040404041f27272727272e2e27272727272e2727272e2727272f2e2f272f2f352f3801030402020403010204020404010604020204030404040202050106020403040402050404060504020201030404030502020301040202040503050402040401020202040503040404030405011904040404040404040404040421283028282828302828282830282828283028282828302828282830283a`, img`
2.2.....2....22...22...2.2..22..2.....2..2.....2..2.22......22.......22........2...2...2....2....2.2....222..22.........
.2..2.2..22..2.2..2....2...2...2.2..2.22...2.22..2...2.2.2....2..2.2.2...2..2.2..2.2...2.22.2....22.2..2.....2....22.2.2
2.......2...........2..2..........2..2....2.......2..............2...2.............2..........2.................2.....2.
...........................2...2.........................................2.....2.....2...2.........2......222.....2.....
22........................................................................................22222222.....222...2.....22...
..............................................................................22222.......2222222......2......2...2.....
..............................................2..22..222.2.2..2..2.....22222..2...2..2222.2....22.....2.......2......2..
.2..........................................222222..2222.22.22..22.2...2...2..2...2..2..2.2..2222....2.......2.....2....
...2..........................................2..22222.2.22.222222.....2...2..2...2..2..2.2..2........2......2..........
2.2.........................................2222..22.......22..2.222...22222..22222..2222.2222........2.....2......2.2..
...2..2.....................................2..2.2..22222..22.2..222...................................22..22....2....2.
...2...........................................2.....2.2.2..2.22..22.....................................22........2..2.
.2.2.....................................................................................................2.........2....
...................................................................................................................2....
.2...2..................................................................................................................
..2.................................................................................................................2.2.
.22....................................................................................................................2
...2...............................................................................................................2..2.
........................................................................................................................
.22...............................................................................................................2.....
....2.................................................................................................................22
.2..2...............................................................................................................2...
..2..................................................................................................................2..
.................................................................................................................22.....
...2............................................................................................................2...2...
.22...................................................................................................................22
22..................................................................................................................2...
..2......2........................................................................................................2.2...
........................................................................................................................
2.2....................................................................................................................2
.2........2.........................................................................................................2...
...2....................................................................................................................
.2..2................................................................................................................2.2
...................................................................................................................2.2..
2.2..2....2...............................................................................2222..........................
..........................................................................................2222........................2.
................2.........................................................................2222.2..................2.....
...2......2...............................................................................2222....2.....................
.22...2...................................................................................222..222..................2.22
2.........2........2.....................22222222.........................................2.2.....2...................2.
.22..........2..........................2222222222.............................................2.22...22................
..22....................................22222222222...................................................2.................
........................................2222222222222.........................................2....2.2..............22..
2..2...................................222222222222222...........................................2..2...2..222.2....2.2.
..2..2..............................2222222222222222222..........................................2.2....2..2.2.....22.2.
...2..............................2222222222222222222222..............................................22....2.2..2..2...
.2................................22222222222222222222222.................................................2.....2...2.2.
.22...............................22222222222222222222222.............................................2.........22..22..
2..2.............................2222222222222222222222222...................................................2....2..22.
.2...............................2222222222222222222222222........................................................22....
..2.............................22222222222222222222222222........................................2...................2.
................................22222222222222222222222222..........................................................2..2
.22.............................22222222222222222222222222..........................................................22.2
...2.............................2222222222222222222222222.............................................................2
.2...............................2222222222222222222222222..................................2.............2.......2.2...
2.2..............................2222222222222222222222222............................................................2.
.2.............2..................2222222222222222222222222........................................................2.2..
...................................222222222222222222222222.........................2..............................2....
.222................................22222222222222222222222........2..............................2..................2..
.....................................222222222222222222222.......................................................2..2.2.
.......................................222222222222222222...........................................................2...
.2.........2...........................2222222222222222.........................................................2..2..2.
...2......................2..................2222.....................................2............................2.2..
.2......................................................................................................................
...2..........................................................................................2......................22.
2.2...............................................................................................................2.22.2
.22.....................2...........................................................................................2..2
.2.................................................................................2......................2..........2..
...222............................................................................................................2..22.
..22222.......................................................2.................2..............................2..2.....
..222222.......................................................................2.2...2..2.............2...............2.
.22222222......................................................................2..........2......................2.22...
.22222222................................2......................................2.22.2..2......................2...2..2.
.22222222...........................................................................2.2...2......22....2..2.22....2..2..
.2222222...............................................................................2.22.2.........2.2.......22..2...
222222222..........................................2................................22.....2.222..2..2....2..2........22
222222222.......................................................................................2......2......2.......2.
222222222....................................................................................2....22....2..2.2.......2.2
222222222.............................................................................................2.............2...
.222222222.2............................................................2..............................................2
..222222.2222..2...................................................................................................2....
.222222..22.2222.2...................................................................................................2..
2.....222.2222..222................................................................................................2....
.......2.2..2.22222...................................................................................................2.
.2.......2.22....22.................................................................................................2.2.
...2..........2.2.2..................................................................................................2..
..2.............................2222222............................................................................2..22
.22.............................2.....2.............................................................................2...
.......2222222..................2.....2................................................................................2
2..2....2....2..................2..2222.............................................................................2.2.
....2...2....2..................2..2...............................................................................2....
..2.....2.2222..................2222................................................................22222..............2
22......2.2.................................................................................222222222...2222222.....2222
...2.2..222.............................................................................22222..................222222...
.2.....................................................................................2................................
..22..................................................................................2.................................
...2.2........................22222222222..........................................2222.................................
.2............................2.........2........................................222....................................
...2..........................2.........2........................................2......................................
22...2........................22222222222.......................................22......................................
....2..........................................................................22.......................................
.2....................222222...................................................2........................................
..2..2................2....2...................................................2..........222222222222222222222222222222
.............22222....2....2..222222222222222.................................22..........2............................2
.............2...2....2....2..2.............2.................................2...........2............................2
.......2.....2...2....222222..2.............2................................22...........2............................2
.22..........22222....22..22..222222222222222................................2............2............................2
2...2........................................................................22...........2............................2
..............................................................................2...........2............................2
..2...........................................................................2...........2............................2
.2.....2......................................................................2...........2............................2
...2.........................................................................22...........2............................2
22.2......2....................................2......................2......2............2............................2
......2........................2....2.........................2..............2............2............................2
.2.......2.......2...2...2...................2.............2.......2...2.....2............2............................2
2..22....................2.2......2....................2.............2.....2.2............2............................2
.2....2.22.2.2.....2.........2........2..2.2.2.2..2..2.........2....2......2.2............2............................2
222..............2.....22......22..2.2..2......2.......2.2...2...............2............2............................2
...2..2..2..2..2..22.2...2....2...2..2.........2.....2.....2..2..2.2..2.22...2............2............................2
22....22.....22....2......22..2......2....22..2...22.....2.....2.....2...2..22............222222222222222222222222222222
`, [myTiles.transparency16,myTiles.tile1,myTiles.tile2,myTiles.tile3,sprites.castle.tileGrass1,myTiles.tile4,myTiles.tile5,myTiles.tile6,myTiles.tile7,sprites.castle.tileDarkGrass1,myTiles.tile8,sprites.castle.tileDarkGrass3,sprites.castle.tileDarkGrass2,sprites.castle.tilePath1,sprites.castle.tilePath4,sprites.castle.tilePath7,sprites.castle.tilePath2,sprites.castle.tilePath5,sprites.castle.tilePath8,sprites.castle.tilePath3,sprites.castle.tilePath9,sprites.castle.tilePath6,sprites.dungeon.stairLadder,sprites.dungeon.floorLight2,sprites.dungeon.floorLight4,sprites.dungeon.floorLight5,sprites.dungeon.floorLightMoss,sprites.builtin.forestTiles5,sprites.builtin.forestTiles9,sprites.builtin.forestTiles13,sprites.dungeon.greenOuterNorthWest,sprites.dungeon.greenOuterWest1,sprites.dungeon.greenOuterWest2,sprites.dungeon.greenOuterSouthEast,sprites.builtin.forestTiles6,sprites.builtin.forestTiles10,sprites.builtin.forestTiles14,sprites.dungeon.greenOuterNorth0,sprites.dungeon.stairLarge,sprites.dungeon.darkGroundCenter,sprites.dungeon.greenOuterSouth0,sprites.builtin.forestTiles11,sprites.builtin.forestTiles15,sprites.dungeon.greenOuterNorth2,sprites.dungeon.greenInnerNorthWest,sprites.dungeon.greenInnerSouthWest,sprites.dungeon.darkGroundNorthEast1,sprites.dungeon.darkGroundNorthWest1,sprites.dungeon.greenOuterSouth2,sprites.builtin.forestTiles7,sprites.dungeon.greenInnerNorthEast,sprites.dungeon.greenInnerSouthEast,sprites.castle.tileGrass3,sprites.dungeon.darkGroundSouthWest1,myTiles.tile9,sprites.dungeon.greenOuterNorthEast,sprites.dungeon.greenOuterEast0,sprites.dungeon.greenOuterEast2,sprites.dungeon.greenOuterSouthWest], TileScale.Sixteen);
}
return null;
})
helpers._registerFactory("tile", function(name: string) {
switch(helpers.stringTrim(name)) {
case "transparency16":return transparency16;
case "tile1":return tile1;
case "tile2":return tile2;
case "tile3":return tile3;
case "tile4":return tile4;
case "tile5":return tile5;
case "tile6":return tile6;
case "tile7":return tile7;
case "tile8":return tile8;
case "tile9":return tile9;
case "tile10":return tile10;
case "rock1":
case "tile11":return tile11;
case "tree":
case "tile12":return tile12;
case "Bush":
case "tile13":return tile13;
case "grass":
case "tile14":return tile14;
case "grass2":
case "tile15":return tile15;
case "myTile0":
case "tile16":return tile16;
case "coral":
case "tile19":return tile19;
case "dungeon_chest":
case "tile20":return tile20;
case "dungeon_chest1":
case "tile22":return tile22;
case "tree2":
case "tile18":return tile18;
case "dungeon_chest2":
case "tile21":return tile21;
case "littlerocks":
case "tile17":return tile17;
}
return null;
})
}
// Auto-generated code. Do not edit.