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

Ugh, I need a little snack. Can't turn on any lights, or mom might wake up. That's okay! I've lived here long enough to know my way around my own home...!

# BITSY VERSION 4.6

! ROOM_FORMAT 1

PAL 0
NAME White
0,0,0
255,255,255
255,255,255

PAL 1
255,255,255
255,255,255
0,0,0

ROOM 0
i,i,i,i,i,i,i,i,0,0,0,0,0,0,0,0
i,c,b,b,b,b,d,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,0,i,0,0,0,0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Hallway
EXT 8,5 6 6,5
PAL 0

ROOM 6
i,i,i,i,i,i,i,i,0,0,0,0,0,0,0,0
i,c,b,b,b,b,d,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,0,i,0,0,0,0,0,0,0,0
i,a,0,0,0,0,e,i,0,0,0,0,0,0,0,0
i,h,g,g,g,g,f,i,0,0,0,0,0,0,0,0
i,i,i,i,i,i,i,i,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,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,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,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,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
NAME L.Bedroom
END undefined 2,5
PAL 0

TIL a
01000000
01000000
01000000
01000000
01000000
01000000
01000000
01000000
NAME L.Wall
WAL false

TIL b
00000000
11111111
00000000
00000000
00000000
00000000
00000000
00000000
NAME Top
WAL false

TIL c
00000000
01111111
01000000
01000000
01000000
01000000
01000000
01000000
NAME L.Corner
WAL false

TIL d
00000000
11111110
00000010
00000010
00000010
00000010
00000010
00000010
NAME R.Corner
WAL false

TIL e
00000010
00000010
00000010
00000010
00000010
00000010
00000010
00000010
NAME R.Wall
WAL false

TIL f
00000010
00000010
00000010
00000010
00000010
00000010
11111110
00000000
NAME R.B.Corner
WAL false

TIL g
00000000
00000000
00000000
00000000
00000000
00000000
11111111
00000000
NAME Bottom
WAL false

TIL h
01000000
01000000
01000000
01000000
01000000
01000000
01111111
00000000
NAME L.B. Corner
WAL false

TIL i
00000000
00000000
00000000
00011000
00011000
00000000
00000000
00000000
NAME Wall
WAL true

TIL j
01111100
01100100
01111100
01111100
01110100
01111100
01111100
01111100
NAME Fridge

TIL k
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

SPR 10
00000000
00000000
11111000
11111000
11111111
11111111
11111111
11000000
NAME L.Bed
POS 6 2,6

SPR 11
00000000
00000000
00000000
00000000
11111100
11111100
11111100
00001100
NAME L.Bed2
DLG SPR_r
POS 6 3,6

SPR 12
00000000
00011000
00111100
01111110
01111110
00011010
00011000
00011000
NAME L.Lamp
DLG SPR_s
POS 6 4,3

SPR A
00001110
00001110
00001110
00010000
00111000
00100100
00110000
01010000
POS 0 4,6

SPR a
00000000
00000000
11111000
11111000
11111111
11111111
11111111
11000000
NAME Bed1
DLG SPR_0
POS 0 2,6

SPR b
00000000
00000000
00000000
00000000
11111100
11111100
11111100
00001100
NAME Bed2
DLG SPR_3
POS 0 3,6

SPR c
00000000
00000000
00000000
00000000
00000000
00000000
11111111
00000000
NAME Dresser
DLG SPR_2
POS 1 10,7

SPR d
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Table
DLG SPR_4
POS 1 10,5

SPR e
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME NoClue
DLG SPR_6
POS 1 12,2

SPR f
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Vase
DLG SPR_5
POS 1 9,3

SPR g
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Shoes
DLG SPR_7
POS 2 11,10

SPR h
01000000
01000000
01000000
01000000
01000000
01000000
01000000
01000000
NAME Shoes2
DLG SPR_8
POS 2 8,13

SPR i
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Naga
DLG SPR_9
POS 2 12,13

SPR j
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Couch
DLG SPR_a
POS 2 10,12

SPR k
00000000
00000000
00000000
00000000
00000000
00000000
11111111
00000000
NAME Television
DLG SPR_b
POS 2 10,15

SPR l
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Lamp
DLG SPR_c
POS 0 4,3

SPR m
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME Dad
DLG SPR_d
POS 2 9,10

SPR n
00111000
00111000
00111000
00010000
00111000
01010100
00111000
00010000
>
00111000
00111000
00111000
00010000
10111010
01010100
00010000
00010000
NAME Mom
DLG SPR_e
POS 3 3,11

SPR o
01111100
01100100
01111100
01111100
01110100
01111100
01111100
01111100
NAME Fridge
DLG SPR_f
POS 3 2,12

SPR p
00000000
01110000
01110000
01110000
01000000
01000000
01000000
01000000
NAME L.Dad
DLG SPR_g
POS 4 9,10

SPR q
01000000
01000000
01000000
01000000
01011000
01011000
01111000
01000000
NAME L.Shoes2
DLG SPR_h
POS 4 8,13

SPR r
00000000
00000000
00000000
00000000
00011000
00011000
00111000
00000000
NAME L.Shoes
DLG SPR_i
POS 4 11,10

SPR s
00000000
00000000
00000000
01100110
11111111
11111111
11111111
00000000
NAME L.Couch
DLG SPR_j
POS 4 10,12

SPR t
00000000
00000000
00111110
00111110
00111110
00111110
11111111
00000000
NAME L.TV
DLG SPR_k
POS 4 10,15

SPR u
00000000
00000000
00010000
00110001
00110001
00011110
00010100
00000000
>
00000000
00000000
00010000
00110100
00110010
00011110
00010100
00000000
NAME L.Naga
DLG SPR_l
POS 4 12,13

SPR v
00000000
00000000
00111100
00111100
00011000
00111100
01111110
01111110
NAME Vase
DLG SPR_m
POS 5 9,3

SPR w
00000000
00000000
00001000
00011001
00101110
01000011
00000100
00000011
NAME Flowers
DLG SPR_n
POS 5 10,3

SPR x
00000000
01111110
01100110
01111110
01100110
01111110
11111111
00000000
NAME L.Dresser
DLG SPR_o
POS 5 10,7

SPR y
00000000
00000000
00000000
00000000
01111110
01111110
01000010
01000010
NAME L.Table
DLG SPR_p
POS 5 10,5

SPR z
00000000
00000000
00000000
00000000
00011000
00011000
00000000
00000000
NAME L.NoClue
DLG SPR_q
POS 5 12,2

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

ITM 1
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

DLG SPR_0
My comfortable bed looks so good. Delicious, even. Like a marshmallow...wow I really need some food.

DLG ITM_0
You found a nice warm cup of tea

DLG SPR_1
My comfortable bed looks so good. Delicious, even. Like a marshmallow...wow I really need some food.

DLG SPR_2
"""
Ouch, shit! -- I mean, [whispers] {wvy}
 shoot {wvy}
"""

DLG SPR_3
My comfortable bed looks so good. Delicious, even. Like a marshmallow...wow I really need some food.

DLG SPR_4
Oh god, my knee.

DLG SPR_5
"""
{sequence
  - *SPLASH* Holy hell what could possibly have water in here?
  - *CRASH* Oh it was a vase.
  - *THUD* there goes the flowers.
}
"""

DLG SPR_6
I have no clue what this is...*THUMP*...but it's on the floor now.

DLG SPR_7
Oh god I tripped! Whose shoes are these?! 

DLG SPR_8
Oh my god another shoe.

DLG SPR_9
{rbw}*Bark!*{rbw} Whose dog is this?!

DLG SPR_a
Ouch, the couch. At least this is quiet.

DLG SPR_b
{shk}CRSSHHHHH{shk} holy shit who turned off the tv to a channel we don't have?!

DLG SPR_c
*CRASH* Oh no, I haven't even left yet and I'm already breaking things.

DLG SPR_d
"""
{sequence
  - Dad: Hey kid, out for a midnight snack too? Good luck.
  - Don't wake your mother.
  - Don't wake me up either *Snores while standing up*
  - *Snores*
}
"""

DLG SPR_e
"""
{sequence
  - Mom: Alright, get your sandwich and go to bed. And just turn on the light next time!
  - You're grounded.
  - And can you wake up your father? He's grounded too.
}
"""

DLG SPR_f
Got a sandwich!

DLG SPR_g
Aw, I'm grounded now?! Thanks a lot!

DLG SPR_h
Oh, those were my shoess

DLG SPR_i
I should learn to move my shoes somewhere else.

DLG SPR_j
Wow who knew a couch was here this whole time.

DLG SPR_k
{shk}CRSSHHHHH{shk} I can't find the remote! Oh well I guess we're watching static from now on.

DLG SPR_l
Oh right, we adopted this dog.

DLG SPR_m
Ah, a broken vase. Beautiful.

DLG SPR_n
I think these are flowers.

DLG SPR_o
Oh, a dresser. I should have remembered this was here.

DLG SPR_p
Oooh, a table!... when did we get this?

DLG SPR_q
Even with light, I still have no clue what this is.

DLG SPR_r
Ah, 

DLG SPR_s
This lamp is on the floor, but it may have already been on the floor before I left. My adventure was so long I honestly can't remember if I touched this or not.

END 0


END undefined
And with my stomach full of sandwich, I can happily go to--*snores*

VAR a
42