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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
title 123456
author chaotic_iak
homepage chaosatthesky.wordpress.com

(123456: 12345's sequel)

run_rules_on_level_start
key_repeat_interval 0.15

========
OBJECTS
========
(wall and stuff)
background
white

wall
#111

l0
#555
.00..
0..0.
0..0.
0..0.
.00..

l1
#555
..0..
.00..
..0..
..0..
.000.

l2
#555
000..
...0.
.00..
0....
0000.

l3
#555
000..
...0.
.00..
...0.
000..

l4
#555
..0..
.00..
0.0..
0000.
..0..

l5
#555
0000.
0....
000..
...0.
000..

l6
#555
.00..
0....
000..
0..0.
.00..

l7
#555
0000.
...0.
..0..
.0...
.0...

l8
#555
.00..
0..0.
.00..
0..0.
.00..

l9
#555
.00..
0..0.
.000.
...0.
.00..

(objects)

d1
#600 #c66
00000
00000
00100
00000
00000

d2
#660 #cc6
00000
01000
00000
00010
00000

d3
#060 #6c6
00000
01000
00100
00010
00000

d4
#066 #6cc
00000
01010
00000
01010
00000

d5
#006 #66c
00000
01010
00100
01010
00000

d6
#606 #c6c
00000
01010
01010
01010
00000

eraser
#396 #6c9
.000.
00100
01010
00100
.000.

plus
#963 #c96
.000.
00100
01110
00100
.000.

minus
#369 #69c
.000.
00000
01110
00000
.000.

invert
#693 #9c6
.000.
00100
00100
00100
.000.

poison
#936 #c69
.000.
01100
01010
01100
.000.

corpse
black #936
00000
01100
01010
01100
00000

neutral
#666 #999
.000.
00000
00100
00000
.000.

(ground)

target
#ccc white
00000
01110
01010
01110
00000

g1
#f99 #a66
00000
00000
00100
00000
00000

g2
#ff9 #aa6
00000
01000
00000
00010
00000

g3
#9f9 #6a6
00000
01000
00100
00010
00000

g4
#9ff #6aa
00000
01010
00000
01010
00000

g5
#99f #66a
00000
01010
00100
01010
00000

g6
#f9f #a6a
00000
01010
01010
01010
00000

(marker)

skiplevel
black

exhaust
black

=======
LEGEND
=======
. = background
# = wall
0 = wall and l0
1 = wall and l1
2 = wall and l2
3 = wall and l3
4 = wall and l4
5 = wall and l5
6 = wall and l6
7 = wall and l7
8 = wall and l8
9 = wall and l9
q = d1
w = d2
e = d3
r = d4
t = d5
y = d6
/ = eraser
+ = plus
- = minus
' = invert
; = poison
" = neutral
z = target
a = g1
s = g2
d = g3
f = g4
g = g5
h = g6

dig = d1 or d2 or d3 or d4 or d5 or d6
special = eraser or minus or plus or invert or poison or neutral
object = dig or special or wall or corpse
marker = skiplevel or exhaust

gate = g1 or g2 or g3 or g4 or g5 or g6
ground = target or gate

level = l0 or l1 or l2 or l3 or l4 or l5 or l6 or l7 or l8 or l9

player = dig or special

=======
SOUNDS
=======
endlevel 82179903
sfx0 88198506 (merge)
sfx1 15824902 (death)
sfx10 58297103 (skip confirm)

================
COLLISIONLAYERS
================
marker
background
ground
object
level

======
RULES
======
right [action player][level|level] -> [action player][level|action level]
[action player] -> [player]
right [level|level no skiplevel] -> [level skiplevel|level]
right [level skiplevel|action level skiplevel] -> win
right [level skiplevel|action level] -> [level skiplevel|level skiplevel] sfx10
right [orthogonal player][level skiplevel|level] -> [orthogonal player][level|level skiplevel]

[corpse] -> restart

startloop

[> player|wall] -> [player|wall]

[> d1|stationary d1] -> [exhaust|d2] sfx0
[> d1|stationary d2] -> [d1|d2]
[> d1|stationary d3] -> [d1|d3]
[> d1|stationary d4] -> [d1|d4]
[> d1|stationary d5] -> [d1|d5]
[> d1|stationary d6] -> [d1|d6]

[> d2|stationary d1] -> [d2|d1]
[> d2|stationary d2] -> [exhaust|d3] sfx0
[> d2|stationary d3] -> [d2|d3]
[> d2|stationary d4] -> [d2|d4]
[> d2|stationary d5] -> [d2|d5]
[> d2|stationary d6] -> [d2|d6]

[> d3|stationary d1] -> [d3|d1]
[> d3|stationary d2] -> [d3|d2]
[> d3|stationary d3] -> [exhaust|d4] sfx0
[> d3|stationary d4] -> [d3|d4]
[> d3|stationary d5] -> [d3|d5]
[> d3|stationary d6] -> [d3|d6]

[> d4|stationary d1] -> [d4|d1]
[> d4|stationary d2] -> [d4|d2]
[> d4|stationary d3] -> [d4|d3]
[> d4|stationary d4] -> [exhaust|d5] sfx0
[> d4|stationary d5] -> [d4|d5]
[> d4|stationary d6] -> [d4|d6]

[> d5|stationary d1] -> [d5|d1]
[> d5|stationary d2] -> [d5|d2]
[> d5|stationary d3] -> [d5|d3]
[> d5|stationary d4] -> [d5|d4]
[> d5|stationary d5] -> [exhaust|d6] sfx0
[> d5|stationary d6] -> [d5|d6]

[> d6|stationary d1] -> [d6|d1]
[> d6|stationary d2] -> [d6|d2]
[> d6|stationary d3] -> [d6|d3]
[> d6|stationary d4] -> [d6|d4]
[> d6|stationary d5] -> [d6|d5]
[> d6|stationary d6] -> [exhaust|] sfx0

[> dig|stationary eraser] -> [|] sfx0
[> eraser|stationary dig] -> [|] sfx0

[> d1|stationary minus] -> [|] sfx0
[> d2|stationary minus] -> [|d1] sfx0
[> d3|stationary minus] -> [|d2] sfx0
[> d4|stationary minus] -> [|d3] sfx0
[> d5|stationary minus] -> [|d4] sfx0
[> d6|stationary minus] -> [|d5] sfx0
[> minus|stationary d1] -> [|] sfx0
[> minus|stationary d2] -> [|d1] sfx0
[> minus|stationary d3] -> [|d2] sfx0
[> minus|stationary d4] -> [|d3] sfx0
[> minus|stationary d5] -> [|d4] sfx0
[> minus|stationary d6] -> [|d5] sfx0

[> d1|stationary plus] -> [|d2] sfx0
[> d2|stationary plus] -> [|d3] sfx0
[> d3|stationary plus] -> [|d4] sfx0
[> d4|stationary plus] -> [|d5] sfx0
[> d5|stationary plus] -> [|d6] sfx0
[> d6|stationary plus] -> [|] sfx0
[> plus|stationary d1] -> [|d2] sfx0
[> plus|stationary d2] -> [|d3] sfx0
[> plus|stationary d3] -> [|d4] sfx0
[> plus|stationary d4] -> [|d5] sfx0
[> plus|stationary d5] -> [|d6] sfx0
[> plus|stationary d6] -> [|] sfx0

[> d1|stationary invert] -> [|d6] sfx0
[> d2|stationary invert] -> [|d5] sfx0
[> d3|stationary invert] -> [|d4] sfx0
[> d4|stationary invert] -> [|d3] sfx0
[> d5|stationary invert] -> [|d2] sfx0
[> d6|stationary invert] -> [|d1] sfx0
[> invert|stationary d1] -> [|d6] sfx0
[> invert|stationary d2] -> [|d5] sfx0
[> invert|stationary d3] -> [|d4] sfx0
[> invert|stationary d4] -> [|d3] sfx0
[> invert|stationary d5] -> [|d2] sfx0
[> invert|stationary d6] -> [|d1] sfx0

[> dig|stationary poison] -> [|corpse] sfx1
[> poison|stationary dig] -> [|corpse] sfx1

[> special|stationary special] -> [special|special]

[> d1|g2 no object no exhaust] -> [d1|g2]
[> d1|g3 no object no exhaust] -> [d1|g3]
[> d1|g4 no object no exhaust] -> [d1|g4]
[> d1|g5 no object no exhaust] -> [d1|g5]
[> d1|g6 no object no exhaust] -> [d1|g6]
[> d2|g1 no object no exhaust] -> [d2|g1]
[> d2|g3 no object no exhaust] -> [d2|g3]
[> d2|g4 no object no exhaust] -> [d2|g4]
[> d2|g5 no object no exhaust] -> [d2|g5]
[> d2|g6 no object no exhaust] -> [d2|g6]
[> d3|g1 no object no exhaust] -> [d3|g1]
[> d3|g2 no object no exhaust] -> [d3|g2]
[> d3|g4 no object no exhaust] -> [d3|g4]
[> d3|g5 no object no exhaust] -> [d3|g5]
[> d3|g6 no object no exhaust] -> [d3|g6]
[> d4|g1 no object no exhaust] -> [d4|g1]
[> d4|g2 no object no exhaust] -> [d4|g2]
[> d4|g3 no object no exhaust] -> [d4|g3]
[> d4|g5 no object no exhaust] -> [d4|g5]
[> d4|g6 no object no exhaust] -> [d4|g6]
[> d5|g1 no object no exhaust] -> [d5|g1]
[> d5|g2 no object no exhaust] -> [d5|g2]
[> d5|g3 no object no exhaust] -> [d5|g3]
[> d5|g4 no object no exhaust] -> [d5|g4]
[> d5|g6 no object no exhaust] -> [d5|g6]
[> d6|g1 no object no exhaust] -> [d6|g1]
[> d6|g2 no object no exhaust] -> [d6|g2]
[> d6|g3 no object no exhaust] -> [d6|g3]
[> d6|g4 no object no exhaust] -> [d6|g4]
[> d6|g5 no object no exhaust] -> [d6|g5]
[> special|gate no object no exhaust] -> [special|gate]

endloop

[exhaust] -> []

==============
WINCONDITIONS
==============
all dig on target
all target on dig
no corpse

=======
LEVELS
=======
message Have you played the original 12345?

#########
#.......#
#.qwert.#
#...z...#
#.#zzz#.#
#..#z#..#
#...#...#
#.......#
01#######

message You haven't? Go play it; google "12345 chaotic_iak".

#########
#q.q..###
#####.###
#w.w...##
######.##
#e.e....#
#######.#
#zzz....#
02#######

message Yes, same-numbered blocks merge and increase in value. Doesn't last long though...

#########
#r.r..###
#####.###
#t.t...##
######.##
#y.y....#
#######.#
#zz.....#
03#######

message All the blocks must go to the targets! The thing I haven't told you is that all targets must be filled too. Z to undo and R to restart, remember!

#########
#r.r..###
#####.###
#t.t...##
######.##
#y.y....#
#######.#
#zzz....#
04#######

message So what happens if there are no targets?

#########
#..q....#
#.....t.#
#w......#
#...y...#
#......e#
#.r.....#
#....q..#
05#######

message You think well. That will prove useful for the rest of the game.

#########
#.......#
#.t...t.#
####z...#
#..r.r..#
#...z####
#.t...t.#
#.......#
06#######

message At this moment, clear levels (no targets) are easy compared to target levels. Try to figure out why.

#########
#.qeeeee#
#qqe.e.e#
#.qe...e#
#.q.....#
#qqqw..w#
#..w.w.w#
#..w..ww#
07#######

message Yes, literally any reasonable move wins, except for certain cases where you manage to trap yourself.

#########
#.......#
#.......#
#.qwe...#
#.ert.t.#
#.rqe...#
#.......#
#.......#
08#######

message But target levels get boring too...do they?

#########
#.#.#qq.#
#q#...###
#q.zz...#
##.zzz.##
#...zz.q#
###...#q#
#.qq#.#.#
09#######

message Well, if you find a level boring, press X twice before moving to skip it. Or perhaps if you've solved it before.

#########
#q.e#r.w#
#.zq#.z.#
#w.r#qqe#
#########
#qwq#q.w#
#.z.#qz.#
#r.e#e.r#
10#######

message Oh ho, what is this?

#########
#.......#
#.q.z.q.#
#...#...#
##f###s##
#...#...#
#.w...e.#
#.......#
11#######

message A block can only pass through a "gate" of the same number.

#########
#q.#...e#
#..#d#..#
#.#.r.#f#
#.s...s.#
#a#.z.#.#
#..#g#..#
#q...f.w#
12#######

message If you toyed enough with the previous one, you will find that the gates aren't that strict...

#########
#w#.....#
#a...q..#
#.#######
#...z...#
#######.#
#..q...a#
#.....#e#
13#######

message You can let trailing blocks of whatever numbers pass a gate!

#########
#w#e#r#t#
#a#a#a#a#
#.......#
##.#q#.##
#.......#
#s#d#f#g#
#r#r#t#q#
14#######

message Feels like smuggling illegal goods.

#########
#..#y#..#
#...g...#
#.q.w.q.#
#..e.e..#
#.w.e.w.#
#..e.e..#
#.q.w.q.#
15#######

message Thus let's make a redo of Level 11.

#########
#.......#
#.w.z.q.#
#...#...#
##f###s##
#...#...#
#.q...e.#
#.......#
16#######

message If you know what to expect, this isn't that hard...

#########
#.......#
#.q.q.q.#
#...#####
#.w.asdz#
#...#####
#.q.q.q.#
#.......#
17#######

message But this one might be pretty hard.

#########
#...#...#
#.q.d.q.#
#...#z..#
##a###f##
#...#...#
#.e.s.w.#
#...#...#
18#######

message Which naturally becomes even harder.

#########
#qd.s.fe#
#a#f#f#s#
#.fzs.s.#
#a#d#d#s#
#.d.fza.#
#a#a#a#f#
#ef.a.dq#
19#######

message With a little help...

#########
#.....g.#
#....#q##
#..q.####
#.......#
####.t..#
##z#....#
#zg.....#
20#######

message Long time friend, the eraser! Or the zero block. Just see how it looks like.

#########
#.......#
#.#qqq#.#
#.q../q.#
#.q.w.q.#
#.qw..q.#
#.#qqq#.#
#.......#
21#######

message No, erasers can't get through gates.

#########
#...#...#
#.q.#./.#
#...#...#
#q.qs...#
#...#...#
#.q.#...#
#...#...#
22#######

message And yes, erasers can be smuggled too.

#########
#.#...#.#
#.#.q.#.#
#yd...a/#
#.#.z.#.#
#ef...sq#
#.#.w.#.#
#.#...#.#
23#######

message Erasers don't annihilate each other. Neither do they need to be used.

#########
#.......#
#..e/e..#
#.r./.r.#
#.e.#.e.#
#.r.e.r.#
#..ere..#
#.......#
24#######

message Remember one-way streets in level 20?

#########
#e#...sq#
#a...#.##
#.#rge..#
#..#/#..#
#..e#w#.#
##.#...d#
#rf...#q#
25#######

message Plus and minus, also old friends!

#########
#..-.#.-#
#.t.h...#
#+.#.+..#
#########
#..-.#.-#
#...a.w.#
#+.#.+..#
26#######

message Which means you got to learn when to raise and when to lay low.

#########
#+#qrq#-#
#a#wew#d#
#..ere..#
#.#wew#.#
#.#qrq#.#
#.#####.#
#.......#
27#######

message Life is harsh.

#########
#...#...#
#.+.#.t.#
#...#e.e#
#...f...#
#q.q#...#
#.w.#.e.#
#...#...#
28#######