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
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
minimalist

# BITSY VERSION 4.2

! ROOM_FORMAT 1

PAL 0
62,43,32
208,112,56
229,92,68

ROOM 0
17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19
1b,0,0,0,0,0,g,h,h,i,w,y,0,0,y,1b
1b,0,v,v,0,0,j,n,n,k,x,x,0,0,x,1b
1b,0,0,0,0,0,l,0,0,m,0,0,0,0,0,1b
1b,z,0,0,0,0,0,0,0,0,0,0,0,0,0,1b
1b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1b
1b,d,e,f,0,0,p,q,r,0,0,0,0,o,0,1b
1b,a,b,c,0,0,s,t,u,0,0,0,0,0,0,1b
1b,0,0,0,0,0,0,0,0,0,0,0,0,0,1d,1b
1b,0,0,0,0,0,0,0,0,15,14,0,0,0,0,1b
1b,0,0,0,0,0,0,0,0,12,13,0,0,0,0,1b
1b,0,0,0,0,0,0,0,0,12,13,0,0,10,0,1b
1b,0,0,0,0,0,0,0,0,11,c,0,0,0,0,1b
1b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1b
1b,0,0,16,0,o,b,o,0,16,0,0,0,10,0,1b
1a,18,18,18,18,18,18,18,18,18,18,18,18,18,18,1c
WAL v,o,d,e,f,c,b,a,z,w,x,y,10,11,12,13,16,17,18,19,1a,1b,1c,1d
ITM 2 1,5
ITM 5 12,6
ITM e 13,10
ITM f 12,11
ITM 9 2,1
ITM 8 3,1
ITM 7 4,2
ITM a 5,2
ITM g 13,2
ITM d 1,1
ITM 3 7,2
ITM 4 8,2
ITM h 5,13
ITM h 7,13
ITM i 6,13
ITM l 8,14
ITM 1 1,3
ITM b 14,7
ITM j 2,11
ITM k 1,12
ITM m 14,4
ITM n 13,5
ITM 0 13,13
ITM c 2,8
PAL 0

TIL 10
00000000
01111110
00100100
00100100
01000010
01000010
00000000
00000000

TIL 11
11100001
11101111
11110000
11111111
11111111
11000000
11000000
11000000

TIL 12
11101111
11101110
11100101
11101011
10101111
01001011
11100101
11101110

TIL 13
01111110
11111111
11111111
11111111
11111111
11111111
11111111
00000000

TIL 14
00000000
00000000
00000000
00000000
00000000
11111110
11111111
00000000

TIL 15
00000000
00000000
00000000
00000000
00000000
01000001
11101111
11100000

TIL 16
01111110
01100110
01111110
01100110
01000010
01000010
01100110
01111110

TIL 17
00000000
01111111
01111111
01100000
01100000
01100111
01100111
01100110

TIL 18
00000000
11111111
11111111
00000000
00000000
11111111
11111111
00000000

TIL 19
00000000
11111110
11111110
00000110
00000110
11100110
11100110
01100110

TIL a
10111100
10111100
10000000
11111111
11111111
11000000
11000000
11000000

TIL b
11111111
11111111
10000000
11111111
11111111
00000000
00000000
00000000

TIL c
11111111
11111101
00000011
11111111
11111111
00000011
00000011
00000011

TIL d
01111111
11111100
10111100
10111100
10111100
10000000
10111100
10111100

TIL e
11111111
01111111
01111111
00111111
00111111
00111111
01111111
01111111

TIL f
11111110
11111111
11111111
11111111
11111111
11111111
11111111
11111111

TIL g
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000001

TIL h
00000000
00000000
00000000
00000000
00000000
00000000
00000000
11111111

TIL i
00000000
00000000
00000000
00000000
00000000
00000000
00000000
10000000

TIL j
00000010
00000010
00000010
00000010
00000010
00000010
00000010
00000010

TIL k
01000000
01000000
01000000
01000000
01000000
01000000
01000000
01000000

TIL l
00000010
00000110
00000000
00000000
00000000
00000000
00000000
00000000

TIL m
01000000
01100000
00000000
00000000
00000000
00000000
00000000
00000000

TIL n
00010000
00011000
00100100
01111110
00000000
00000000
00000000
00000000

TIL o
11111111
11111111
11111111
11111111
11111111
10000001
10000001
10000001

TIL p
01010101
10101010
01111111
10111001
01110011
10100110
01101100
10111001

TIL q
01010101
10101010
11111111
10011001
00110011
01100110
11001100
10011001

TIL r
01010100
10101010
11111101
10011110
00110101
01100110
11001101
10011110

TIL s
01110011
10100110
01101100
10111001
01110011
10111111
01010101
00101010

TIL t
00110011
01100110
11001100
10011001
00110011
11111111
01010101
10101010

TIL u
00110101
01100110
11001101
10011110
00110101
11111110
01010101
10101010

TIL v
00000000
11111111
11101110
11111110
00000000
11111111
11101110
11111110

TIL w
11111110
11111110
11111110
11111110
11111110
11111110
11111110
11111010

TIL x
11111110
11111110
11111110
11111110
11111110
11111110
11111110
11111110

TIL y
11111110
11111110
11111110
11111110
11111110
11111110
11111110
10111110

TIL z
11111100
00100000
01000000
10000000
00000000
00000000
00000000
00000000

TIL 1a
01100110
01100111
01100111
01100000
01100000
01111111
01111111
00000000

TIL 1b
01100110
01100110
01100110
01100110
01100110
01100110
01100110
01100110

TIL 1c
01100110
11100110
11100110
00000110
00000110
11111110
11111110
00000000

TIL 1d
00111111
00000100
00000010
00000001
00000000
00000000
00000000
00000000

SPR A
00011000
00011000
00011100
00111100
00111110
00111110
00010100
00010100
>
00011000
00011000
00011100
00111100
00111110
00111110
00010100
00010100
POS 0 6,9

SPR a
00000000
00000000
01010001
01110001
01110010
01111100
00111100
00100100
DLG SPR_0

ITM 0
00000000
01000110
00101000
01011100
00010000
00111100
00111100
00011000
NAME tea
DLG ITM_0

ITM 1
00011110
00111100
01111010
00000100
01111010
00000100
01111000
00000000
DLG ITM_1

ITM 2
00000110
00010110
00101111
00101111
00100000
00110000
01111000
00000000
DLG ITM_2

ITM 3
00000000
01100110
11111111
10111101
00111100
00111100
00111100
00111100
DLG ITM_3

ITM 4
00000000
00110110
01111111
01011101
01011101
01011101
01011101
01011101
DLG ITM_4

ITM 5
00100000
01100000
10100000
10111110
11000110
11111010
10101010
10001000
DLG ITM_7

ITM 7
00000001
00000011
00000100
00101000
01110000
11011000
10110000
01100000
DLG ITM_5

ITM 8
00000000
00100000
00100000
01110000
01110010
01110111
01110111
01110111
DLG ITM_8

ITM 9
00000000
00000000
00000000
00000000
00001000
00000000
00101110
10101110
DLG ITM_9

ITM a
00000000
00000000
00000000
11111110
10101010
11010110
10101010
11111110
DLG ITM_a

ITM b
00000000
00000000
00000000
00011100
01111010
01100110
01100110
01111110
DLG ITM_b

ITM c
01100110
01111110
00111100
00101100
11111111
11111111
01111110
01100110
DLG ITM_c

ITM d
00011000
00110100
01101010
01010110
00101110
01011110
00111100
00011000
DLG ITM_d

ITM e
00100100
00011000
11111111
10000001
10000001
10000001
10000001
11111111
DLG ITM_f

ITM f
00011000
01111110
01111110
00000100
00111000
01000000
11100000
10100000
DLG ITM_e

ITM g
00000000
00000000
00000000
00000000
00000000
00000000
01100110
11101110
DLG ITM_g

ITM h
00000000
11111111
11010001
10100000
10100000
10100000
11110001
00000000
DLG ITM_h

ITM i
00000000
01111110
01100110
01111110
01011010
01111110
01011010
00000000

ITM j
01111011
01110001
01011011
01010001
01100001
01111111
00010100
00100010
DLG ITM_i

ITM k
00000000
01111110
11111111
11111011
11101000
01111100
00000000
00101110
DLG ITM_j

ITM l
00101100
00101010
00101010
01000001
01111111
01111111
01111111
01111111
DLG ITM_k

ITM m
00000000
00111100
01000010
01000010
00111100
00010100
00101000
00111100
DLG ITM_l

ITM n
00000000
00111111
00100001
00100001
00111111
01000001
11111110
00000000
DLG ITM_6

DLG SPR_0
I'm a cat

DLG ITM_0
I'd only end up killing this plant anyway.

DLG ITM_1
"""
I probably won't read these books again. 
someone else will get more enjoyment out of them.
"""

DLG ITM_2
I need to go to bed earlier anyway.

DLG ITM_3
this t-shirt faded a long time ago.

DLG ITM_4
I love this jumper but it doesn't fit me anymore.

DLG ITM_5
"""
I haven't played the guitar in years. 
time to give up on my teenage dream of becoming a rock star.
"""

DLG ITM_7
"""
this sedentary lifestyle is killing me. 
maybe I should set up a standing desk.
"""

DLG ITM_8
"""
I really should drink less.

I'm gonna pour these down the sink.
"""

DLG ITM_9
"""
I don't need makeup to be beautiful.
cultural beauty norms are bullshit anyway.
"""

DLG ITM_a
I don't need this amp. I can just play acoustic.

DLG ITM_b
"""
photography is depressing. 

I don't want to live in my memories. 
I want to be present in every moment.
"""

DLG ITM_c
"""
no sense in holding on to childhood toys. 
I don't need their companionship. 
I'm strong on my own.
"""

DLG ITM_d
"""
I'm sick of making sure my hair is perfect before I go out.
if people want to judge me based on my appearance, 
that's their problem.
"""

DLG ITM_e
"""
I never play any of these games anymore.
my cousin would probably appreciate them.
"""

DLG ITM_f
"""
I should be reading instead of watching TV. 
there's never anything good on anyway.
"""

DLG ITM_g
"""
I keep meaning to patch the holes in these shoes. 
I'm probably never gonna get around to it.
they can go.
"""

DLG ITM_h
"""
all these years of practice and I'm still no good at DJing. 
my friend Monica always wanted to give it a go. 
I should give her my decks.
"""

DLG ITM_i
"""
I just can't seem to finish this painting. 
any time I add to it I just make it worse. 
enough is enough.
"""

DLG ITM_j
my friend Julia could probably use these art supplies.

DLG ITM_k
"""
I hardly ever listen to these records anymore. 
I should just sell them.
"""

DLG ITM_l
"""
I'm always having to empty this bin.
if I didn't buy so much stuff I wouldn't have to throw so much away.
"""

DLG ITM_6
"""
I spend too much time online. I should get out more. 
social media depresses me anyway.
"""

VAR a
42