-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.txt
899 lines (773 loc) · 16.3 KB
/
script.txt
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
title Mushroom Picking
author nyri0
homepage linktr.ee/nyri0
background_color #10121c
color_palette arnecolors
again_interval 0.06
tween_length 0.06
level_select
level_select_lock
runtime_metadata_twiddling
sprite_size 8x8
text_message_continue [ Press X ]
========
OBJECTS
========
(color palette: https://lospec.com/palette-list/lospec500)
Background
#3388de
Sky
#3388de
PlayerWalkL
#6b2643 #ffa2ac #3388de #94493a #f3a833
.0000000
0000000.
011110..
021210..
0111100.
.000000.
.040000.
33003300
PlayerWalkR
#6b2643 #ffa2ac #3388de #94493a #f3a833
0000000.
.0000000
..011110
..012120
.0011110
.000000.
.000040.
00330033
PlayerClimbL
#6b2643 #ffa2ac #3388de #94493a #f3a833
.0000000
0000000.
0000000.
0000000.
00000001
10000000
.0000000
33000000
PlayerClimbR
#6b2643 #ffa2ac #3388de #94493a #f3a833
0000000.
.0000000
.0000000
.0000000
10000000
00000001
0000000.
00000033
PlayerShroomL
#6b2643 #ffa2ac #ec273f #94493a #f3a833
........
.0000000
0000000.
011110..
021210..
0111100.
.0000000
33003300
PlayerShroomR
#6b2643 #ffa2ac #ec273f #94493a #f3a833
........
0000000.
.0000000
..011110
..012120
.0011110
0000000.
00330033
Boulder
#b0a7b8 #9a8ea4 #a499ad #c2bbc9
..0000..
.033000.
03300001
03000001
00000001
00000001
.000001.
..1111..
BoulderBlood
#b0a7b8 #9a8ea4 #a499ad #c2bbc9 #ec273f #6b2643
..0000..
.033000.
03300001
03000001
00000401
40000001
.440044.
5544445.
Earth
#6e4c30
Rock
#48404f #71647d #9a8ea4
20222222
10211111
10211111
00000000
22222022
11111021
11111021
00000000
WallSmall
#8e623e #b0a7b8
00000000
00000010
00100000
00000000
00000100
00000000
01000000
00000000
WallUL
#8e623e #b0a7b8 #9a8ea4
00000000
00000000
00000000
00001100
00011200
00012000
00000000
00000000
WallUR
#8e623e #b0a7b8 #9a8ea4
00000000
00000000
00001110
00001120
00000000
00000000
00000000
00000000
WallDL
#8e623e #b0a7b8 #9a8ea4
00000000
00000000
00000000
00011000
00112000
00012000
00000000
00000000
WallDR
#8e623e #b0a7b8 #9a8ea4
00110000
00112000
00011200
00001200
00000000
00000000
00000000
00000000
GrassSmall
#6e4c30 #5ab552 #52ab49
11111111
21122112
02200220
00000000
00000000
00000000
00000000
00000000
GrassBig
#6e4c30 #5ab552 #52ab49
11111111
11111111
21111112
22111122
02222220
00222200
00000000
00000000
RedShroom
#ec273f White
........
........
..000...
.00010..
0100000.
0000010.
.00000..
..111...
GoldShroom
#f3a833 #de5d3a #e98537
..11111.
.111222.
112200..
22000...
..001111
..01112.
..00.00.
...000..
Sign
#ce9248 #c18133
........
........
.00000..
..00000.
.00000..
...1....
...1....
...1....
RedCursorSeekValid
#ec273f
00....00
0......0
........
........
........
........
0......0
00....00
RedCursorSeekInvalid
#ec273f
0......0
........
........
........
........
........
........
0......0
GoldCursorSeekTruValid copy:RedCursorSeekValid
#de5d3a
GoldCursorSeekTruInvalid copy:RedCursorSeekInvalid
#de5d3a
GoldCursorSeekRevValid copy:RedCursorSeekValid
#f3a833
GoldCursorSeekRevInvalid copy:RedCursorSeekInvalid
#f3a833
CursorLockUL
#ec273f White
00000000
0111...0
011....0
01.....0
0......0
0......0
0......0
00000000
CursorLockUR
#ec273f White
00000000
0...1110
0....110
0.....10
0......0
0......0
0......0
00000000
CursorLockDL
#ec273f White
00000000
0......0
0......0
0......0
01.....0
011....0
0111...0
00000000
CursorLockDR
#ec273f White
00000000
0......0
0......0
0......0
0.....10
0....110
0...1110
00000000
TheVoid
#10121c #2c1e31 #6b2643 #3e3b65
00000200
01000000
00000000
00000010
00300000
00000000
01000000
00000200
Modified
transparent
(tags)
Falling
transparent
ExpandU
white
...00...
..0..0..
..0..0..
........
........
........
........
........
ExpandD
white
........
........
........
........
........
..0..0..
..0..0..
...00...
ExpandL
white
........
........
.00.....
0.......
0.......
.00.....
........
........
ExpandR
white
........
........
.....00.
.......0
.......0
.....00.
........
........
MarkerU
#ec273f
0.0.0.0.
........
........
........
........
........
........
........
MarkerD
#ec273f
........
........
........
........
........
........
........
.0.0.0.0
MarkerL
#ec273f
0.......
........
0.......
........
0.......
........
0.......
........
MarkerR
#ec273f
........
.......0
........
.......0
........
.......0
........
.......0
=======
LEGEND
=======
Grass = GrassSmall or GrassBig
Wall = WallSmall or WallUL or WallUR or WallDL or WallDR
PlayerWalk = PlayerWalkL or PlayerWalkR
PlayerClimb = PlayerClimbL or PlayerClimbR
PlayerShroom = PlayerShroomL or PlayerShroomR
PlayerMoveL = PlayerWalkL or PlayerClimbL
PlayerMoveR = PlayerWalkR or PlayerClimbR
PlayerMove = PlayerMoveL or PlayerMoveR
GoldCursorSeekTru = GoldCursorSeekTruValid or GoldCursorSeekTruInvalid
GoldCursorSeekRev = GoldCursorSeekRevValid or GoldCursorSeekRevInvalid
GoldCursorSeekValid = GoldCursorSeekTruValid or GoldCursorSeekRevValid
GoldCursorSeekInvalid = GoldCursorSeekTruInvalid or GoldCursorSeekRevInvalid
CursorSeekValid = RedCursorSeekValid or GoldCursorSeekValid
CursorSeekInvalid = RedCursorSeekInvalid or GoldCursorSeekInvalid
GoldCursorSeek = GoldCursorSeekValid or GoldCursorSeekInvalid
CursorSeek = CursorSeekValid or CursorSeekInvalid
CursorLock = CursorLockUL or CursorLockUR or CursorLockDL or CursorLockDR
Cursor = CursorSeek or CursorLock
Player = PlayerMove or Cursor
Ground = Earth or Grass or Boulder or TheVoid or Rock
GroundOrWall = Ground or Wall
Blocker = Earth or Grass or Rock
BlockerOrWall = Blocker or Wall
CanFall = Player or Boulder
Mushroom = RedShroom or GoldShroom
Protected = PlayerShroom or Mushroom or Sign or Boulder or Rock
Expandable = Earth or Grass or Wall or Sky
Erasable = Earth or Grass or Wall or Sky or PlayerMove or Sign or Mushroom or Boulder or Rock
ExpandLR = ExpandL or ExpandR
ExpandUD = ExpandU or ExpandD
Expand = ExpandLR or ExpandUD
MarkerLR = MarkerL or MarkerR
MarkerUD = MarkerU or MarkerD
Marker = MarkerLR or MarkerUD
. = Sky
# = Earth
R = Rock
x = WallSmall
- = GrassSmall
P = PlayerWalkR and Sky
O = Boulder and Sky
Q = Boulder and WallSmall
M = RedShroom and Sky
N = RedShroom and WallSmall
G = GoldShroom and Sky
H = GoldShroom and WallSmall
S = Sign and Sky
=======
SOUNDS
=======
(pickup mushroom)
sfx0 10836305
(invalid action)
sfx1 19489106
(neutral action sound)
sfx2 76151507
(expansion)
sfx3 90043305
(win)
sfx4 42990500
PlayerWalk move left 47967707
PlayerWalk move right 47967707
PlayerClimb move 38689700
Boulder move left 49680707
Boulder move right 49680707
TheVoid create 94995702
================
COLLISIONLAYERS
================
Background
Falling
Sky
Wall
Sign, Mushroom
PlayerMove, PlayerShroom, Earth, Grass, Boulder, BoulderBlood, TheVoid, Rock
Modified
ExpandLR, MarkerLR
ExpandUD, MarkerUD
Cursor
======
RULES
======
(falling boulders can kill the player)
late down [Boulder | PlayerMove] -> [ | BoulderBlood]
(boulders smash mushrooms)
late [Boulder Mushroom] -> [ Boulder]
(walking into the void kills the player)
[> PlayerMove | TheVoid] -> [| TheVoid]
[right PlayerWalkL] -> [right PlayerWalkR]
[left PlayerWalkR] -> [left PlayerWalkL]
[right PlayerClimbL] -> [right PlayerClimbR]
[left PlayerClimbR] -> [left PlayerClimbL]
(the player can't jump)
[up PlayerWalk] -> [PlayerWalk]
(the player can climb)
late [PlayerWalkL Wall] -> [PlayerClimbL Wall] again
late [PlayerWalkR Wall] -> [PlayerClimbR Wall] again
left [> PlayerClimb | No BlockerOrWall] -> [> PlayerWalkL | No BlockerOrWall]
right [> PlayerClimb | No BlockerOrWall] -> [> PlayerWalkR | No BlockerOrWall]
vertical [> PlayerClimbL | No BlockerOrWall] -> [> PlayerWalkL | No BlockerOrWall]
vertical [> PlayerClimbR | No BlockerOrWall] -> [> PlayerWalkR | No BlockerOrWall]
(the player can push boulders)
horizontal [> PlayerMove | Boulder] -> [> PlayerMove | > Boulder]
(picking magic mushrooms starts the rescale power)
late up [PlayerMoveL RedShroom |] -> [PlayerShroomL | RedCursorSeekValid] sfx0 again
late up [PlayerMoveR RedShroom |] -> [PlayerShroomR | RedCursorSeekValid] sfx0 again
late right [| PlayerMoveL GoldShroom |] -> [GoldCursorSeekRevValid | PlayerShroomL | GoldCursorSeekTruValid] sfx0 again
late right [| PlayerMoveR GoldShroom |] -> [GoldCursorSeekRevValid | PlayerShroomR | GoldCursorSeekTruValid] sfx0 again
(rescale implementation)
(gold cursor)
[> GoldCursorSeekTru | ] [ | > GoldCursorSeekRev] -> [> GoldCursorSeekTru | ] [ | < GoldCursorSeekRev]
[> GoldCursorSeekTru] [ > GoldCursorSeekRev] -> [GoldCursorSeekTru] [GoldCursorSeekRev]
[> GoldCursorSeekTru | | < GoldCursorSeekRev] -> [GoldCursorSeekTru | | GoldCursorSeekRev]
(lock cursor after seek)
[> RedCursorSeekValid | Protected] -> [> RedCursorSeekInvalid | Protected]
[> RedCursorSeekInvalid | no Protected] -> [> RedCursorSeekValid | no Protected]
[> GoldCursorSeekTruValid | Protected] -> [> GoldCursorSeekTruInvalid | Protected]
[> GoldCursorSeekTruInvalid | no Protected] -> [> GoldCursorSeekTruValid | no Protected]
[> GoldCursorSeekRevValid | Protected] -> [> GoldCursorSeekRevInvalid | Protected]
[> GoldCursorSeekRevInvalid | no Protected] -> [> GoldCursorSeekRevValid | no Protected]
[action RedCursorSeekInvalid] -> [RedCursorSeekInvalid] sfx1
[action RedCursorSeekValid] -> [CursorLockUL] sfx2
[action GoldCursorSeekTruInvalid] [action GoldCursorSeekRev] -> [GoldCursorSeekTruInvalid] [GoldCursorSeekRev] sfx1
[action GoldCursorSeekRevInvalid] [action GoldCursorSeekTru] -> [GoldCursorSeekRevInvalid] [GoldCursorSeekTru] sfx1
[action GoldCursorSeekTruValid] [action GoldCursorSeekRevValid] -> [CursorLockUL] [CursorLockUL] sfx2
(choose expand direction)
right [> CursorLockUL] -> [CursorLockUR]
right [> CursorLockDL] -> [CursorLockDR]
left [> CursorLockUR] -> [CursorLockUL]
left [> CursorLockDR] -> [CursorLockDL]
down [> CursorLockUL] -> [CursorLockDL]
down [> CursorLockUR] -> [CursorLockDR]
up [> CursorLockDL] -> [CursorLockUL]
up [> CursorLockDR] -> [CursorLockUR]
[> CursorLock] -> [CursorLock]
(spawn expansion)
[action CursorLock Expandable Modified] [PlayerShroom] -> [TheVoid] [PlayerWalkR]
[action CursorLockUL Expandable] [PlayerShroom] -> [Expandable ExpandU ExpandL] [PlayerWalkR] sfx3
[action CursorLockUR Expandable] [PlayerShroom] -> [Expandable ExpandU ExpandR] [PlayerWalkR] sfx3
[action CursorLockDL Expandable] [PlayerShroom] -> [Expandable ExpandD ExpandL] [PlayerWalkR] sfx3
[action CursorLockDR Expandable] [PlayerShroom] -> [Expandable ExpandD ExpandR] [PlayerWalkR] sfx3
[action CursorLock Expandable Modified] -> [TheVoid]
[action CursorLockUL Expandable] -> [Expandable ExpandU ExpandL] sfx3
[action CursorLockUR Expandable] -> [Expandable ExpandU ExpandR] sfx3
[action CursorLockDL Expandable] -> [Expandable ExpandD ExpandL] sfx3
[action CursorLockDR Expandable] -> [Expandable ExpandD ExpandR] sfx3
up [ExpandU ExpandLR | Erasable] -> [ExpandU ExpandLR | ]
down [ExpandD ExpandLR | Erasable] -> [ExpandD ExpandLR | ]
up [Expandable ExpandU ExpandLR | ] -> [Expandable MarkerD ExpandLR | Expandable MarkerU ExpandLR]
down [Expandable ExpandD ExpandLR | ] -> [Expandable MarkerU ExpandLR | Expandable MarkerD ExpandLR]
right [ExpandR MarkerUD | Erasable] -> [ExpandR MarkerUD | ]
left [ExpandL MarkerUD | Erasable] -> [ExpandL MarkerUD | ]
right [Expandable ExpandR MarkerUD | ] -> [Expandable MarkerL MarkerUD | Expandable MarkerR MarkerUD]
left [Expandable ExpandL MarkerUD | ] -> [Expandable MarkerR MarkerUD | Expandable MarkerL MarkerUD]
up [Expandable ExpandU ExpandLR] -> [Expandable MarkerD ExpandLR]
down [Expandable ExpandD ExpandLR] -> [Expandable MarkerU ExpandLR]
right [Expandable ExpandR MarkerUD] -> [Expandable MarkerL MarkerUD]
left [Expandable ExpandL MarkerUD] -> [Expandable MarkerR MarkerUD]
(custom expansion rules)
[Grass MarkerU MarkerLR] -> [GrassBig Modified]
[Grass MarkerD MarkerLR] -> [Earth Modified]
[Wall MarkerU MarkerL] -> [WallUL Modified]
[Wall MarkerU MarkerR] -> [WallUR Modified]
[Wall MarkerD MarkerL] -> [WallDL Modified]
[Wall MarkerD MarkerR] -> [WallDR Modified]
(fallback expansion rule)
[Expandable MarkerUD MarkerLR] -> [Expandable Modified]
(cleanup unsuccessful expansions)
[Expand] -> []
(apply fall to falling objects)
[CanFall Falling] -> [down CanFall]
[Falling] -> []
(mark objects as falling)
late down [ PlayerWalk | no GroundOrWall ] -> [ PlayerWalk Falling | no GroundOrWall ] again
late down [ Boulder | no Ground ] -> [ Boulder Falling | no Ground ] again
late [PlayerMove Sign] -> [PlayerMove Sign] sfx4
==============
WINCONDITIONS
==============
Some PlayerMove on Sign
=======
LEVELS
=======
section Intro
message It's a beautiful day to go mushroom picking!
............
............
............
............
P...........
-----......S
#####-------
############
............
............
...........S
.......x----
.......x####
P......x####
--------####
############
............
............
P..O........
----........
####.......S
####.-------
####-#######
############
section Level 1
message Wow, a magic mushroom! How exciting! It grants you the power to rescale some matter.
............
............
............
............
P..M.......S
-----..-----
#####--#####
############
section Level 2
............
............
p.m.m......s
-----.r.----
###.......##
###.......##
###-------##
############
section Level 3
message Time to stretch your imagination! The sky's the limit (or is it?)
............
............
............
......r.....
P..M..r....S
------------
############
############
section Level 4
............
......o.....
.....rrr....
.....r.r....
p..m.......s
-----r.r----
#####rrr####
#####---####
section Level 5
............
.....ooo....
.....rrr....
p..m.......s
-----r.r----
#####r.r####
#####rrr####
#####---####
section Level 6
............
............
...........S
.....M...---
....---x.###
....###x.###
P...xxxx.###
---------###
section Level 7
............
............
...........s
....--------
....#x....##
....##.m..##
p.m.x#--..##
-----###--##
section Level 8
............
p....o......
---x--......
#..x##-.....
#m.x###....s
#--####r.r--
#######rrr##
#######---##
section Level 9
............
p....o......
---x--......
#..x##......
#m.x##.....s
#--###-R.R--
#######RRR##
#######---##
section Level 10
............
.....m......
...ox-......
..--x#.....s
..xxx...r---
p.xx--rrr###
----##---###
############
section Level 11
message Be careful, accidents happen.
............
.....m......
...x--......
...x##......
...x##.o....
p..xxx.o...s
---------.--
#########-##
section Level 12
............
..o....m....
..--o.xr....
...#--x.....
......x.....
p.m...x....s
---r.rrr.r--
###rrrrrrr##
section Level 13
............
.m..........
.--x..o.--..
..#xr.-.rx.s
.mxxr...rx--
.--xr...r###
..#xr...r###
p.xxrrrrr###
---------###
section Level 14
..............
..............
.....m-.......
..ox--#.......
.--x###.......
...x###.......
...xxxx......s
...xx--r.r----
p.mx-##rrr####
----###---####
section Level 15
..............
.........o....
.r.m.ox..r....
.rr---x-rr....
...#xqx#......
...#x-x#.....s
...#xxxx...r--
...#x----..r##
p..xxxxx.m.r##
---------rrr##
section Level 16
................
......o.........
..r.r.r.........
..rrrrr.........
...rrr..........
...rrr..........
.p.rrr....o.....
.-----...rrr....
.xxxxx.....r...s
--xxx----r.r----
##xnx#xnx....m##
##---#---rrr--##
section Level 17
message Holy moly! This one is a rarity!
................
..........o.o...
.........rrrrr..
...........r....
...........r....
..-.o.g....r....
..#-----x..r....
.......#x..r....
p......xx......s
---------r.r.r--
#########rrrrr##
#########-----##
section Level 18
...................
.....o.o.....o.o...
.....rrr.....rrr...
...................
...................
...................
......g..--........
..x------##........
..-x#xxxx##........
..#-#qxhx##........
..xx#---x##........
p.nxxqxxx##.......s
---------##-r...r--
############rrrrr##
message You've collected all the mushrooms, congratulations!