bitsy-parser 0.710.1

A parser and utilities for working with Bitsy game data
Documentation
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
Tiny Castle Emporium

# BITSY VERSION 3.7

! ROOM_FORMAT 1

PAL 0
116,48,49
63,5,5
204,204,204

ROOM 0
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,g,k,k,k,k,k,k,k,k,k,k,k,k,h,a
a,b,0,l,0,0,0,0,0,0,0,0,0,0,d,a
a,b,0,0,0,0,0,0,0,0,l,0,0,0,d,a
a,b,0,0,0,l,0,0,0,0,0,0,0,0,d,a
a,b,0,0,0,0,0,0,0,0,0,0,0,l,d,a
a,b,0,0,0,0,0,0,0,0,0,0,0,0,d,a
a,b,l,0,0,l,0,0,0,0,0,0,0,0,d,a
a,b,0,0,0,0,0,0,0,0,0,l,0,0,d,a
a,b,0,0,0,0,0,0,0,0,0,0,0,0,d,a
a,b,0,0,l,0,0,0,0,0,0,0,0,0,o,p
a,i,f,f,f,f,c,0,0,e,f,f,f,f,j,p
a,a,a,a,a,a,b,0,a,d,a,a,a,a,a,a
a,a,a,g,k,k,m,0,0,n,k,k,h,a,a,a
a,a,a,b,0,0,0,0,0,0,0,0,d,a,a,a
a,a,a,b,0,e,f,f,f,f,c,0,d,a,a,a
WAL b,c,d,e,f,g,h,i,j,k,m,n,a
EXT 15,10 1 0,10
END 0 11,15
END 1 4,10
END 2 2,7
END 3 5,7
END 4 5,4
END 5 10,3
END 6 3,2
END 7 11,8
END 8 13,5
PAL 0

ROOM 1
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,g,k,k,h,a,a,a,a,a,a,a,a,a,a,a
p,q,0,0,d,a,a,a,a,a,a,a,a,a,a,a
a,b,0,l,d,a,a,a,a,a,a,a,a,a,a,a
a,i,f,f,j,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
WAL b,c,d,e,f,g,h,i,j,k,m,n,a
EXT 0,10 0 15,10
END 9 3,11
PAL 0

TIL a
10101010
01010101
10101010
01010101
10101010
01010101
10101010
01010101

TIL b
10101011
01010111
10101011
01010111
10101011
01010111
10101011
01010111

TIL c
11111111
11111111
10101011
01010111
10101011
01010111
10101011
01010111

TIL d
11101010
11010101
11101010
11010101
11101010
11010101
11101010
11010101

TIL e
11111111
11111111
11101010
11010101
11101010
11010101
11101010
11010101

TIL f
11111111
11111111
10101010
01010101
10101010
01010101
10101010
01010101

TIL g
10101010
01010101
10101010
01010101
10101010
01010101
10101011
01010111

TIL h
10101010
01010101
10101010
01010101
10101010
01010101
11101010
11010101

TIL i
10101011
01010111
10101010
01010101
10101010
01010101
10101010
01010101

TIL j
11101010
11010101
10101010
01010101
10101010
01010101
10101010
01010101

TIL k
10101010
01010101
10101010
01010101
10101010
01010101
11111111
11111111

TIL l
00000000
00010000
00011100
00100000
00011000
00000100
00111000
00001000

TIL m
10101011
01010111
10101011
01010111
10101011
01010111
11111111
11111111

TIL n
11101010
11010101
11101010
11010101
11101010
11010101
11111111
11111111

TIL o
11101010
11010101
11101010
11010101
11101010
11010101
11101010
11010101

TIL p
10101010
01010101
10101010
01010101
10101010
01010101
10101010
01010101

TIL q
10101011
01010111
10101011
01010111
10101011
01010111
10101011
01010111

SPR A
00000000
00011000
00011000
00111100
01111110
10111101
00100100
00100100
POS 0 4,15

SPR a
00000000
00011000
00111100
00011000
01111110
10111101
00111100
00100100
DLG SPR_0
POS 0 8,12

SPR b
00000000
00000000
00000000
00101010
00111110
00110110
00110110
00000000
DLG SPR_1
POS 0 3,10

SPR c
10011001
11111111
11100111
10100101
11111111
11100111
11100111
11100111
DLG SPR_2
POS 0 9,3

SPR d
11111111
11000011
11100111
11100111
11100111
11100111
11101111
11111111
DLG SPR_3
POS 0 10,8

SPR e
10011001
10011001
11111111
11111111
11111111
11111111
11111111
11111111
DLG SPR_6
POS 0 10,7

SPR f
10011001
10011001
11111111
11100111
11000011
11000011
11100111
11111111
DLG SPR_7
POS 0 11,7

SPR g
10011001
10011001
11111111
11111111
11111111
11111111
11111111
11111111
DLG SPR_8
POS 0 12,7

SPR h
11111111
11000011
11100111
11100111
11100111
11100111
11110111
11111111
DLG SPR_9
POS 0 12,8

SPR i
00000000
00110000
00110000
00111100
01111110
10111101
00111100
00100100
DLG SPR_4
POS 0 12,10

SPR j
00110000
01011000
00011000
01111110
10111101
00111100
00100100
00100100
DLG SPR_5
POS 0 3,5

SPR k
00000000
01011010
01111110
01011010
01111110
01100110
01100110
00000000
DLG SPR_a
POS 0 4,4

SPR l
00000100
00011111
00001010
00001110
10101010
11111110
11111010
11011110
DLG SPR_b
POS 0 13,4

SPR m
00000000
01010101
01110111
01011101
01110111
01011100
01110000
01010000
DLG SPR_c
POS 0 2,8

SPR n
00000000
00000000
00000000
01001000
01011010
01111010
01101110
01000110
DLG SPR_d
POS 0 2,2

SPR o
00000000
01011010
01111110
01100110
01111110
11111111
11100111
11100111
DLG SPR_e
POS 0 6,7

SPR p
00000000
00011000
00011000
00111100
01111110
10111101
00100100
00100100
DLG SPR_f
POS 0 7,3

SPR q
11101010
00000001
11111100
10101101
11010100
11111101
00000000
11010101
DLG SPR_g
POS 0 12,14

SPR r
10101011
00000000
10111111
00101011
10110101
00111111
10000000
01010111
DLG SPR_h
POS 0 3,14

SPR s
00000000
00000000
00000000
00000000
00000000
00111100
00101100
00000000
DLG SPR_i
POS 1 3,10

ITM 0
00000000
00000000
00000000
00111100
01100100
00100100
00011000
00000000
DLG ITM_0

DLG ITM_0
You got a cup of tea! Nice.

DLG SPR_0
Hello, and welcome to the tiny castle emporium--perfect for all your tiny castle needs! Once you find the castle that's right for you, step on the $ tile to purchase it!

DLG SPR_1
The tiniest castle of them all - $14.95

DLG SPR_2
Saint Jared's Tiny Cathedral - $79.99

DLG SPR_3
Big for the Emporium but Small Considering Standard Castle Size - $399.05

DLG SPR_4
I'm a fan of this here castle myself.

DLG SPR_5
You know, I used to own a castle back in my day.

DLG SPR_6
Big for the Emporium but Small Considering Standard Castle Size - $399.05

DLG SPR_7
Big for the Emporium but Small Considering Standard Castle Size - $399.05

DLG SPR_8
Big for the Emporium but Small Considering Standard Castle Size - $399.05

DLG SPR_9
Big for the Emporium but Small Considering Standard Castle Size - $399.05

DLG SPR_a
Standard Issue Tiny Castle - $32.50

DLG SPR_b
Tiny Castle with a Tiny Wizard's Tower - $129.99

DLG SPR_c
Castle-ness is in the Eye of the Beholder - $0.07

DLG SPR_d
Shameful Castle - $5.15

DLG SPR_e
Two-Story Castle - $49.98 per story

DLG SPR_f
You know, the definition of a castle is relative. It really depends on who you ask and what they value. Do they think castles should protect residents from the weather? Should they be a show of wealth? Should they be built of rock? Do they need battlements or are those optional? Can something be considered a castle if it breaks one of the rules? What if it breaks them all? I don't know.

DLG SPR_g
EXIT

DLG SPR_h
ENTRANCE

DLG SPR_i
The True Tiniest Castle - $3.36

END 0
Maybe you won't buy anything today. It was nice to look around, though! THE END

END 1
Such a quaint castle is impossible to leave unpurchased! THE END

END 2
The price was a selling point for sure, but there's also just something special to you about how this castle looks. THE END

END 3
Twice the stories means twice the fun! (And twice the price.) THE END

END 4
There's nothing wrong with the standard issue. Actually, there's a lot right. That's why they made it standard. THE END

END 5
A castle named after a person. Ain't that something. Well, a cathedral, at least. Cathedrals can be considered castles, perhaps.  It depends on who you ask.

END 6
What a poor little castle, all alone in the corner. It doesn't need your pity, really, but you like it enough to give pity nonetheless. THE END

END 7
Sometimes you have to go all out on your tiny castle purchases.  A big tiny castle will never be a regular-sized castle, but it sure is something. THE END

END 8
The novelty of a built-in wizard's tower just sells itself, doesn't it? THE END

END 9
You know what they always say: tiny castles come to those who seek them. THE SECRET END