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

You land on a desert planet blowing with strange winds. You're here on business...

# BITSY VERSION 4.6

! ROOM_FORMAT 1

PAL 0
200,200,111
62,131,187
149,95,91

ROOM 0
f,j,a,a,a,a,a,d,0,0,k,e,a,j,a,d
j,a,a,a,a,a,a,i,k,0,0,h,f,a,a,a
a,j,a,j,g,g,i,0,0,0,0,0,h,a,a,a
a,a,a,i,0,0,0,0,0,0,0,0,0,e,a,a
a,f,i,0,k,0,0,0,0,0,0,0,0,h,g,a
g,k,0,0,0,0,0,0,0,0,0,0,0,0,h,g
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
0,k,0,0,0,0,0,0,0,0,k,0,0,0,0,0
k,k,0,0,0,0,0,0,0,k,0,0,0,0,k,k
f,d,0,0,0,0,0,0,0,0,0,0,0,f,b,d
a,b,d,0,0,0,0,0,0,0,0,k,f,j,a,a
a,j,c,0,0,0,0,0,0,0,0,f,b,a,a,a
a,a,b,b,d,0,0,0,0,0,f,b,a,j,a,a
j,a,a,a,c,k,0,0,0,0,e,a,j,a,a,a
e,j,a,a,d,j,b,d,0,f,b,a,a,j,a,f
h,a,a,a,a,d,f,i,k,h,a,a,a,f,g,i
NAME CENTER
EXT 0,6 1 15,6
EXT 0,7 1 15,7
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111000
01000100
11000101
00101110
00010001
10100000
10100000
WAL true

TIL c
10000010
01000010
01000010
01100100
10011000
00010000
10011000
11100100
WAL true

TIL d
00000010
11100101
10010010
01011000
00100101
00100100
10111000
11000100
WAL true

TIL e
00100000
00100000
00100000
10010011
00001100
01000100
00001100
00010011
WAL true

TIL f
01100100
10010001
10010010
01100110
00001001
01001001
00001110
10010001
WAL true

TIL g
10100000
00010001
00101110
11000101
01000100
00111000
00000010
00001000
WAL true

TIL h
00010000
00010001
00001110
00000001
00100000
01010000
00100100
00000000
WAL true

TIL i
10010100
00001000
00001010
00010000
11100110
00001001
00001001
00100110
WAL true

TIL j
10100000
01110111
10001000
10100100
10010100
01110111
10001100
10010010
WAL true

TIL k
00000000
00000000
01000000
00000100
00000000
00010000
00000000
00000000

TIL l
00000000
01000000
00001000
00000000
00000100
00100000
00000000
00000001

TIL m
00000000
00000000
00000010
00000000
00000000
00000000
00010000
00000000

TIL n
00000000
00000000
00000000
00100000
00000000
00000000
00000000
00000000

SPR A
00011000
00101100
00111100
00011000
00011000
00011000
00010000
00000000
>
00011000
00101100
00111100
00011000
00011000
00011000
00001000
00000000
POS 0 8,7

SPR a
00000000
00111000
01000100
10101010
10000010
01111100
01010100
00101010
>
00000000
00011100
00100010
01010101
01000001
00111110
00101010
01010100
NAME Alien 1
DLG SPR_0
POS 3 3,11

SPR b
00110110
00100010
00010100
00011100
01100011
00100010
00011100
00101010
>
01101100
01000100
00101000
00111000
11000110
01000100
00111000
00101000
NAME Alien 2
DLG SPR_1
POS 2 8,3

SPR c
00000000
00111100
01000010
11111111
11000011
01010111
00111100
01000010
>
00000000
00000000
00111100
01000010
11111111
11000011
01010110
10111101
NAME Alien 3
DLG SPR_3
POS 1 8,4

SPR d
00010000
00101000
01000100
01000100
10010010
10111010
10111010
10010010
NAME Ship 1
POS 0 6,5

SPR e
10000010
10010010
10111010
10111010
10111010
10010010
11111110
01101100
NAME Ship 2
DLG SPR_2
POS 0 6,6

SPR f
00001100
00010010
00111111
00111011
00010010
00010010
00101010
01010100
>
00001100
00010010
00111111
00111011
00010010
00010010
00010110
00101010
NAME Alien 4
DLG SPR_4
POS 4 7,9

ITM 0
00000000
00000000
00000000
00001110
00010010
00100100
00101100
11111110
NAME disc 1
DLG ITM_0

ITM 1
00000000
00000000
01110000
01001000
00100100
00110100
01111100
10000010
NAME disc 2
DLG ITM_1

ITM 2
00000000
00000000
01110000
01010000
01001100
00100100
11111110
00000000
NAME disc 3
DLG ITM_2

ITM 3
00000000
00000000
00011100
00010100
01100100
01001110
11111111
00000000
NAME disc 4
DLG ITM_3

ITM 4
01110001
10001110
10010110
10001010
01010101
01000001
00110001
00001110
DLG ITM_4

ITM 5
00000001
00000011
00000101
00001010
00010100
00101000
01010000
11111000
DLG ITM_5

ITM 6
11000000
00110000
00001100
00000011
00100000
00010000
00001000
10000000
DLG ITM_6

DLG SPR_0
"""
{
  - discs == 4 ?
    Thank. You. So. Much! It. Is. Much. Quieter. Now. My. People. Owe. You. A. Great. Debt... Like. About. $200. Plus. Expenses.
  - else ?
    Hello. Traveler. How. Goes. It... Thank. You. For. Coming... We. Just. Moved. In... And. Do. Not. Know. Where. This. Infernal. Noise. Is. Coming. From.
}
"""

DLG SPR_1
"""
{
  - discs == 4 ?
    nnow ii'm eeven mmore iimpressed. wwhat wwas ccausing tthe ssound aanyway? ii llook fforward tto rreading yyour aanalysis. uunfortunately iit sseems tthe vvibrations wwere ccaused bby tthe wwinds oon tthis pplanet, sso ii'm jjust ggoing tto bborrow NOP's vvibe-ccanceling hheadphones.
  - else ?
    iive ffollowed yyour wwork. qquite iimpressive ffor aa hhuman! ii hhope yyou'll bbe aable tto ffind tthe ssource oof tthis ssound. iit's vvibrating mmy sshell iin aa mmost uuncomfortable ffashion.
}
"""

DLG SPR_2
"""
{
  - discs == 4 ?
    {sequence
  - You're able to combine the shards together using the toolkit in your ship. Looks like... a golden disc covered in concentric circular ridges?
  - Your instruments suggest the sound (singing?) covering the surface has stopped. Apparently caused by wind blowing over the disc shards just right.
  - Guess your job here is done. Time to move on. (end "You wave goodbye to the aliens as you lift off, leaving them to settle into their new home in peace and quiet.")
}
  - else ?
    It's the QSS Rabbitstar, your ship. It was a long journey here, but you're being well paid for this job. Now just to find one of the locals.
}
"""

DLG SPR_3
"""
{
  - discs == 4 ?
    *still rocking out*{br}
WHAT NOW?! OH SWEET RECORD, MY DUDE!{br}*untz untz untz*
  - else ?
    *rocking out*{br}HUH?! NO, I CAN'T HEAR ANYTHING BESIDES MY MUSIC WHY DO YOU ASK??{br}*duh duh dunnnn *
}
"""

DLG ITM_0
"""
{
  - discs == 0 ?
    It's a strange shard of metal stuck in the ground. You yank it out. {discs = discs + 1}
  - discs == 1 ?
    Another shard. This one has little ridges on it? {discs = discs + 1}
  - discs == 2 ?
    This shard is a little sparkly. It glints in the pale light of the triple ice moons. {discs = discs + 1}
  - discs == 3 ?
    You know, it looks like these shards are all part of the same object. Maybe if you can get all the little ridges to line up... {discs = discs + 1}
}
"""

DLG ITM_1
"""
{
  - discs == 0 ?
    It's a strange shard of metal stuck in the ground. You yank it out. {discs = discs + 1}
  - discs == 1 ?
    Another shard. This one has little ridges on it? {discs = discs + 1}
  - discs == 2 ?
    This shard is a little sparkly. It glints in the pale light of the triple ice moons. {discs = discs + 1}
  - discs == 3 ?
    You know, it looks like these shards are all part of the same object. Maybe if you can get all the little ridges to line up... {discs = discs + 1}
}
"""

DLG ITM_2
"""
{
  - discs == 0 ?
    It's a strange shard of metal stuck in the ground. You yank it out. {discs = discs + 1}
  - discs == 1 ?
    Another shard. This one has little ridges on it? {discs = discs + 1}
  - discs == 2 ?
    This shard is a little sparkly. It glints in the pale light of the triple ice moons. {discs = discs + 1}
  - discs == 3 ?
    You know, it looks like these shards are all part of the same object. Maybe if you can get all the little ridges to line up... {discs = discs + 1}
}
"""

DLG ITM_3
"""
{
  - discs == 0 ?
    It's a strange shard of metal stuck in the ground. You yank it out. {discs = discs + 1}
  - discs == 1 ?
    Another shard. This one has little ridges on it? {discs = discs + 1}
  - discs == 2 ?
    This shard is a little sparkly. It glints in the pale light of the triple ice moons. {discs = discs + 1}
  - discs == 3 ?
    You know, it looks like these shards are all part of the same object. Maybe if you can get all the little ridges to line up... {discs = discs + 1}
}
"""

DLG SPR_4
"""
{
  - discs == 4 ?
    You Got It To Stop! I Can Hear Myself Thing Again! Okay, How About This For A Planet Name: "Oo Bop Aa"? Well, Tough, I Already Filed The Paperwork. It Sounds Better In Our Language Anyway.
  - else ?
    Man, This Planet Is So Cool. Endless Stretches Of Sand and Rock. It's Totally METAL. It's Called Planet P-314, But I Think We'll Have To Give It A Proper Name. Just As Soon As This Weird Music Stops Playing... Wasn't This Place Supposed To Be Uninhabited?
}
"""

DLG ITM_4
"""
{
  - voyager == 0 ?
    A large dish antenna. Leftover from an ancient civilization? {voyager = voyager + 1}
  - voyager == 1 ?
    A large dish antenna. This stuff seem to be made in a similar style to the shards you've been finding. Maybe they're related... {voyager = voyager + 1}
  - voyager == 2 ?
    A large dish antenna. Oh look here, some alien markings, including a symbol ancient humans called "V".
}
"""

DLG ITM_5
"""
{
  - voyager == 0 ?
    A boom arm with several damaged magnetometers along its length. Leftover from an ancient civilization? {voyager = voyager + 1}
  - voyager == 1 ?
    A boom arm with several damaged magnetometers along its length. This stuff seem to be made in a similar style to the shards you've been finding. Maybe they're related... {voyager = voyager + 1}
  - voyager == 2 ?
    A boom arm with several damaged magnetometers along its length. Oh look here, some alien markings, including a symbol ancient humans called "V".
}
"""

DLG ITM_6
"""
{
  - voyager == 0 ?
    A series of wave detectors, spectrometers, and radio antennae are scattered about. Leftover from an ancient civilization? {voyager = voyager + 1}
  - voyager == 1 ?
    A series of wave detectors, spectrometers, and radio antennae are scattered about. This stuff seem to be made in a similar style to the shards you've been finding. Maybe they're related... {voyager = voyager + 1}
  - voyager == 2 ?
    A series of wave detectors, spectrometers, and radio antennae are scattered about. Oh look here, some alien markings, including a symbol ancient humans called "V".
}
"""

END 0


END undefined


END undefinee


VAR discs
0

VAR voyager
0