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
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273

The Prophet asked, "What is the cost of prosperity?"

# BITSY VERSION 4.8

! ROOM_FORMAT 1

PAL 0
62,64,63
124,127,125
248,255,251

ROOM 0
b,0,a,a,a,0,0,a,a,a,0,0,0,a,a,0
b,h,a,0,a,h,a,a,0,h,a,a,0,h,a,a
b,a,d,a,a,a,a,a,a,a,a,a,a,a,a,a
b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,e
b,0,0,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0,0,0,0,0,0,0,0,0,b,c,c,c
0,0,0,0,0,0,0,0,0,0,0,0,b,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
NAME crystal-end
END undefined 7,6
END undefined 8,5
END undefined 9,6
END undefined 8,7
PAL 0

TIL 10
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
01000001
01010001
01000000
01000000
01000100
00100000
00011000
00000000

TIL 11
01000010
00000000
00100100
01011010
00111100
00000000
00000000
00000000

TIL a
00000000
00000010
00000010
01111111
00100000
00100000
00000000
11110111
WAL true

TIL b
01010101
01010111
01110001
01010101
01010101
10010101
01011100
01010101
WAL true

TIL c
11110111
10111111
11111101
01011111
11111110
11111011
11101111
01111110
WAL true

TIL d
00000000
00111100
00100100
11000011
01000010
01010010
01000010
11000011
WAL true

TIL e
00000000
00000001
01000000
11000000
00000000
00001000
00000000
00000000

TIL f
00000000
00000000
00000000
00000001
00000000
00000000
01000000
00000000

TIL g
00100100
00100100
00100100
01100110
10100101
10011001
01000010
00111100
WAL true

TIL h
00011000
00100100
00100100
01100111
00100100
00111100
00000000
11110111
WAL true

TIL i
00100100
00100100
00100100
11100111
00100100
00100100
00100100
11100111
WAL true

TIL j
10001000
10001000
10000000
10001000
10001000
11111111
10000000
10000000
WAL true

TIL k
10001001
10000001
10001001
00001001
10000001
11111111
00000001
00000001
WAL true

TIL l
10000001
00001001
00000001
10000001
10001001
00000001
10001001
00001001
WAL true

TIL m
10000000
10001000
10001000
10000000
10001000
10000000
10001000
10001000
WAL true

TIL n
00000000
10000000
00001000
10000000
10001000
11111111
00000000
00000000
WAL true

TIL o
10000000
10001000
10000000
10001000
00000000
10001000
00001000
10001000
WAL true

TIL p
10001000
10001000
10000000
10000000
10001000
01111111
00000000
00000000
WAL true

TIL q
00000001
10001001
00001001
10001001
10000001
11111110
00000000
00000000
WAL true

TIL r
10001000
10000000
10000000
10001000
10001000
10000000
10001000
10000000
WAL true

TIL s
10001001
10001001
00000001
00000001
00001001
10000001
10000001
10000001
WAL true

TIL t
00000000
00100100
01100110
11000011
11000011
01100110
00111100
00011000
WAL true

TIL u
00000000
11111000
10000100
10000101
01111100
00001110
00100000
00000100
WAL true

TIL v
01101110
01000011
11000001
10000001
10000001
10000001
10000001
11000011
WAL true

TIL w
01000000
01100111
00000100
01010110
00000000
00100000
00000000
00000001

TIL x
00000000
01001100
00100000
00010010
00000100
00001000
01111000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

TIL y
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00101000
00000000
01111010
00010001
00010001
00010001
00000010
00001100
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

TIL z
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
>
00000000
00110010
01001000
00000100
00000100
01000100
00100000
00010000
>
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

SPR A
01000010
01100110
01011010
00100100
00011000
01111110
00011000
00100100
>
00000000
01000010
01100110
01011010
00100100
00011000
01111110
00100100
POS 0 2,3

SPR a
00000000
00000000
01010001
01110001
01110010
01111100
00111100
00100100
>
00000000
00000000
01010100
01110010
01110010
01111100
00111100
00100100
NAME cat1
DLG SPR_0
POS 0 13,7

SPR b
00000000
01110000
11111001
01110001
01110010
01111100
00111100
00100100
>
00000000
01110000
11111001
01110010
01110010
01111100
00111100
00100100
NAME helpful
DLG SPR_1
POS 1 7,6

SPR c
00000000
00001010
01011111
10001110
01001110
00111110
00111100
00100100
>
00000000
00001010
10011111
01001110
01001110
00111110
00111100
00100100
NAME soldier1
DLG SPR_2
POS 1 7,3

SPR d
00000000
00000000
10001010
10011111
01001110
00111110
00111110
00100100
>
00000000
00001010
10011111
01001110
01001110
00111110
00111100
00100100
NAME soldier2
DLG SPR_3
POS 1 4,3

SPR e
00000000
01010000
11111001
01110001
01110010
01111100
00111100
00100100
>
00000000
01010000
11111001
01110010
01110010
01111100
00111100
00100100
NAME soldier3
DLG SPR_4
POS 1 9,3

SPR f
01010000
11111000
01110000
01110000
01111010
00111101
00101100
00000100
>
00000000
01010000
11111000
01110000
01110011
01111100
00111100
00100100
NAME soldier4
DLG SPR_5
POS 1 11,3

SPR g
00111000
01110000
11111001
01110001
01110010
01111100
00111100
00100100
>
00000000
00111000
01110001
11111010
01110010
01111100
01111100
00100100
NAME wizard
DLG SPR_7
POS 2 9,5

SPR h
00010000
00000000
01010100
01110010
01110010
01111100
00111100
00100100
>
01000000
00000000
01010001
01110010
01110010
01111100
00111100
00100100
NAME priest
DLG SPR_8
POS 2 9,8

SPR i
00100000
01110000
11111001
01110001
01110010
01111100
00111100
00100100
>
00100000
01110000
11111001
01110010
01110010
01111100
00111100
00100100
NAME speaker
DLG SPR_6
POS 2 4,7

SPR j
00000000
00000000
00000000
01010000
01110000
01111110
01111101
00111101
>
00000000
00000000
00000000
00000000
01010000
01111110
01111101
01111110
NAME mittenaya1
POS 3 11,6

SPR k
00000000
00000000
00000000
00000000
00000000
11111110
01111101
11111101
NAME mittenaya2
DLG SPR_9
POS 4 11,6

SPR l
00011100
00001110
10011111
10001110
01001110
00111110
00111100
00100100
>
00000000
00011100
10001110
01011111
01001110
00111110
00111110
00100100
NAME wizard2
DLG SPR_a
POS 4 1,5

SPR m
00001000
00000000
00101010
01001110
01001110
00111110
00111100
00100100
>
00000010
00000000
10001010
01001110
01001110
00111110
00111100
00100100
NAME priest2
DLG SPR_b
POS 4 1,7

SPR n
00000000
00100100
00111100
00111100
00011000
00111100
00011000
00100100
>
00100100
00111100
00111100
00011000
00111100
00011000
00011000
00100100
NAME dark2
DLG SPR_c
POS 6 7,5

SPR o
00000000
00100100
00111100
00111100
00011000
00111100
00011000
00100100
>
00100100
00111100
00111100
00011000
00111100
00011000
00011000
00100100
NAME dark1
DLG SPR_d
POS 7 7,5

ITM 0
00000000
00000000
00000000
10000000
01000000
00100000
00011000
00111100
NAME lever
DLG ITM_0

ITM 1
00000000
00100100
00111100
00111100
00011000
00111100
00011000
00100100

ITM 2
00100000
00011000
00001100
00000110
00001100
00011000
00011000
00000000
>
00000100
00011000
00110000
01100000
00110000
00011000
00011000
00000000
DLG ITM_1

DLG ITM_0
"""
As you pull the lever, the enemy ruler lets out a cry of anguish.
A cacophony of voices join in the cry.
The sounds of battle fade in an instant.
It is done. The enemy and all of their people are dead.
Their souls removed from the world along with the dark taint.
You are reminded of a passage from the Old One's texts:
The Prophet asked, "What is the cost of prosperity?"
"""

DLG SPR_0
"""
{
  - introcat == 0 ?
    YOUR HIGHNESS! YOU RETURN!
    
    The Old Ones must favor you to see you safely through the enemy forces at the walls!{introcat = 1}
    

}The court is assembled just past the main gates.
Old Ones be with you!
"""

DLG SPR_1
"""
{
  - helpful == 0 ?
    We're saved! Our great and furry leader returns with the key!
    We're holding the line as well as we can, but you should hurry to the council chamber.
    
    The enemy has already broken through the outer gates! {helpful = 1}
  - else ?
    Cat speed, Your Highness!
}
"""

DLG SPR_2
My lives for yours, Your Furriness!

DLG SPR_3
We'll hold the line as long as we can.

DLG SPR_4
These gates can take quite the beating!

DLG SPR_5
I'm down to only two lives, but they are yours, Your Highness.

DLG SPR_6
"""
{
  - speaker == 0 ?
    Your return is most timely, Your Furriness.
    The kittens grow weary of this war, and the evil taint within the enemy remains unwavering.
    
    I trust you were able to find the key?
    In your absence we have managed to capture the dark ruler of the enemy forces. {speaker = 1}
    

}Speak to the other two council members to get a better grip on the situation.
"""

DLG SPR_7
"""
{
  - wizard == 0 ?
    Greetings, Your Highness.
    
    As I'm sure you've heard, we've captured the enemy leader!
    I was able to momentarily disable their connection to the dark taint. They are enchained in the room to the south.
    If my calculations are correct, killing them would permanently end the enemy's connection to the taint. It would also kill all of their people, though...
    But that's a sacrifice I'm sure you'd be willing to make for the sake of your own people.
    Go pull the lever and end this. {wizard = 1}
  - else ?
    Just kill that wretch and be done with it!
}
"""

DLG SPR_8
"""
{
  - priest == 0 ?
    The Old Ones predicted your success, good friend. 
    Their blessing be upon you.
    
    Since you have retrieved the key, there is nothing stopping you from using it!
    
    Mittenaya is waiting in the crystal chamber. She will unite the key with the crystal and end this taint.
    She has trained all day and night for months to partition her soul for this moment. 
    
    She is ready. 
    
    Head through the door behind me to find her! {priest = 1}
  - else ?
    Mittenaya is waiting. Hurry, friend.
}
"""

DLG SPR_9
"""
{
  - mittenaya == 0 ?
    I'm... sorry... Your Furriness.
    
    I fought... them back. But I'm... afraid they've...
    taken the last... of my lives...
    {mittenaya = 1}

}*Mittenaya is still*
"""

DLG SPR_a
"""
{
  - wizardc == 0 ?
    The only way forward is to kill the enemy leader.
    Forget the key. Forget the enemy people.
    Don't let anymore good cats and kittens die by their hands!
    Pull the lever and end this!
    
    {wizardc = 1}
}You know what to do.
"""

DLG SPR_b
"""
{
  - priestc == 0 ?
    Mittenaya was our only hope!
    
    Anyone else who tries to unite the key and the crystal will permanently die!
    
    The process takes your soul, killing you even if you have all nine lives left!
    {priestc = 1}

}What will we do now?
"""

DLG SPR_c
"""
The darkness consumes all.

You cannot hope to defeat me.
"""

DLG SPR_d
"""
The darkness consumes all.

You cannot hope to defeat me.
"""

DLG ITM_1
"""
As you reach out to touch the crystal, the key flies from your paw.

The crystal begins to vibrate in an otherworldly manner.
Dark clouds surge in through the door and windows of the chamber, swirling over the crystal before being consumed by it.
You feel a great weight leave your shoulders as the taint is banished from the world.

As you take one last look around the room, you are reminded of a passage from the text of the Old Ones:
The Prophet asked, "What is the cost of prosperity?"
"""

END 0


END undefined
The Old One replied, "Everything."

VAR introcat
0

VAR helpful
0

VAR speaker
0

VAR wizard
0

VAR priest
0

VAR mittenaya
0

VAR wizardc
0

VAR priestc
0