ID_HIGH 33693527
ID_LOW 27924
TILE_SOURCES 11
graphics/mtree/background.pcx
graphics/mtree/character.png
graphics/mtree/tiles.png
graphics/mtree/sky01.pcx
graphics/mtree/plants.pcx
graphics/mtree/ground.png
graphics/mtree/title_back.jpg
graphics/mtree/lakemask2.png
graphics/mtree/title.png
graphics/mtree/scoreboard.png
graphics/mtree/hbranch.png
TILES 16
graphics/mtree/background.pcx
0 0 512 144
2 2
graphics/mtree/plants.pcx
0 0 512 40
2 0
graphics/mtree/tiles.png
0 0 96 32
2 0
graphics/mtree/tiles.png
0 32 96 32
2 0
graphics/mtree/tiles.png
0 64 48 16
2 2
graphics/mtree/tiles.png
0 80 48 16
2 2
graphics/mtree/tiles.png
0 96 48 16
2 2
graphics/mtree/tiles.png
0 112 16 16
2 2
graphics/mtree/tiles.png
0 128 16 16
2 2
graphics/mtree/tiles.png
0 144 16 16
2 2
graphics/mtree/tiles.png
0 160 16 16
2 2
graphics/mtree/tiles.png
0 176 16 16
2 2
graphics/mtree/tiles.png
0 192 16 16
2 2
graphics/mtree/sky01.pcx
0 0 512 384
0 0
graphics/mtree/ground.png
0 0 512 64
2 2
graphics/mtree/hbranch.png
0 0 512 80
2 2
TILES 16
graphics/mtree/character.png
0 0 40 72
2 2
graphics/mtree/character.png
0 72 40 72
2 2
graphics/mtree/character.png
0 144 40 72
2 2
graphics/mtree/character.png
120 0 40 72
2 2
graphics/mtree/character.png
120 72 40 72
2 2
graphics/mtree/character.png
120 144 40 72
2 2
graphics/mtree/character.png
0 216 40 72
2 2
graphics/mtree/character.png
120 216 40 72
2 2
graphics/mtree/character.png
240 0 40 72
2 2
graphics/mtree/character.png
240 72 40 72
2 2
graphics/mtree/character.png
240 144 40 72
2 2
graphics/mtree/character.png
240 216 40 72
2 2
graphics/mtree/character.png
360 0 40 72
2 2
graphics/mtree/character.png
360 72 40 72
2 2
graphics/mtree/character.png
360 144 40 72
2 2
graphics/mtree/character.png
360 216 40 72
2 2
TILES 34
graphics/mtree/tiles.png
144 64 16 24
2 2
graphics/mtree/tiles.png
144 96 32 32
2 2
graphics/mtree/tiles.png
48 112 16 32
2 2
graphics/mtree/tiles.png
48 144 16 32
2 2
graphics/mtree/tiles.png
48 176 16 32
2 2
graphics/mtree/tiles.png
240 96 32 32
2 2
graphics/mtree/tiles.png
96 128 16 32
2 2
graphics/mtree/tiles.png
144 128 16 32
2 2
graphics/mtree/tiles.png
96 160 16 32
2 2
graphics/mtree/tiles.png
144 160 16 32
2 2
graphics/mtree/tiles.png
192 160 32 32
2 2
graphics/mtree/tiles.png
192 128 32 32
2 2
graphics/mtree/tiles.png
48 112 16 32
2 2
graphics/mtree/tiles.png
48 144 16 32
2 2
graphics/mtree/tiles.png
48 176 16 32
2 2
graphics/mtree/tiles.png
48 208 16 32
2 2
graphics/mtree/tiles.png
48 240 16 32
2 2
graphics/mtree/tiles.png
48 272 16 32
2 2
graphics/mtree/tiles.png
48 304 16 32
2 2
graphics/mtree/tiles.png
48 336 16 32
2 2
graphics/mtree/tiles.png
96 192 32 16
2 2
graphics/mtree/tiles.png
96 208 48 16
2 2
graphics/mtree/tiles.png
96 224 32 16
2 2
graphics/mtree/tiles.png
96 240 32 16
2 2
graphics/mtree/tiles.png
96 256 32 32
2 2
graphics/mtree/tiles.png
96 288 32 32
2 2
graphics/mtree/tiles.png
96 320 32 32
2 2
graphics/mtree/tiles.png
96 352 32 32
2 2
graphics/mtree/tiles.png
96 384 32 32
2 2
graphics/mtree/tiles.png
288 128 40 32
2 2
graphics/mtree/tiles.png
192 224 32 32
2 2
graphics/mtree/tiles.png
192 256 32 32
2 2
graphics/mtree/tiles.png
192 288 32 32
2 2
graphics/mtree/tiles.png
192 320 16 16
2 2
TILES 3
graphics/mtree/title_back.jpg
0 0 512 264
0 0
graphics/mtree/lakemask2.png
0 0 512 120
2 0
graphics/mtree/title.png
0 0 472 136
2 0
TILES 18
graphics/mtree/scoreboard.png
0 0 24 22
2 0
graphics/mtree/scoreboard.png
48 0 32 22
2 0
graphics/mtree/scoreboard.png
112 0 32 22
2 0
graphics/mtree/scoreboard.png
176 0 78 22
2 0
graphics/mtree/scoreboard.png
332 0 72 22
2 0
graphics/mtree/scoreboard.png
476 0 24 22
2 0
graphics/mtree/scoreboard.png
524 0 22 22
2 0
graphics/mtree/scoreboard.png
568 0 22 22
2 0
graphics/mtree/scoreboard.png
612 0 22 22
2 0
graphics/mtree/scoreboard.png
656 0 22 22
2 0
graphics/mtree/scoreboard.png
700 0 22 22
2 0
graphics/mtree/scoreboard.png
744 0 20 22
0 0
graphics/mtree/scoreboard.png
744 0 22 22
2 0
graphics/mtree/scoreboard.png
788 0 22 22
2 0
graphics/mtree/scoreboard.png
832 0 22 22
2 0
graphics/mtree/scoreboard.png
876 0 22 22
2 0
graphics/mtree/scoreboard.png
920 0 22 22
2 0
graphics/mtree/scoreboard.png
0 22 512 106
2 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
TILES 0
SAMPLES 10
"jump"
"sound\\mtree-quickie\\jump.wav"
"bonus"
"sound\\mtree-quickie\\bonus.wav"
"catch"
"sound\\mtree-quickie\\catch.wav"
"extra_life"
"sound\\mtree-quickie\\extralife.wav"
"fall"
"sound\\mtree-quickie\\fall.wav"
"hit"
"sound\\mtree-quickie\\hit.wav"
"item"
"sound\\mtree-quickie\\item.wav"
"lightning"
"sound\\mtree-quickie\\lightning.wav"
"move"
"sound\\mtree-quickie\\move.wav"
"owl"
"sound\\mtree-quickie\\owl.wav"
OBJECTS 31
NAME "apple"
3
2 0 1
8 0
2 1 1
9 0
2 5 1
9 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
3
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( COLLISION_WITH_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE ( SAMPLE "item" , INTEGER 100 ) , IF ( TEST VARIABLE 0 x > VARIABLE 4 x ) STATE ( INTEGER 1 ) ELSE STATE ( INTEGER 2 ) ) ) )
""
LOOP ( 4 , [ 1 0 0 "" 100 , 2 0 0 "" 100 ] )
SEQ ( WHILE ( PARTIALLY_INSIDE_ROOM ( INTEGER 0 , INTEGER 0 ) ) { IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 1600 ) ) ) MOVE ( INTEGER 0 , INTEGER 1600 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 800 ) ) ) MOVE ( INTEGER 0 , INTEGER 800 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 400 ) ) ) MOVE ( INTEGER 0 , INTEGER 400 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 200 ) ) ) MOVE ( INTEGER 0 , INTEGER 200 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 100 ) ) ) MOVE ( INTEGER 0 , INTEGER 100 ) ELSE MOVE ( INTEGER 400 , INTEGER 0 ) } , TERMINATE )
"falling right"
LOOP ( 4 , [ 1 0 0 "" 100 , 2 0 0 "" 100 ] )
SEQ ( WHILE ( PARTIALLY_INSIDE_ROOM ( INTEGER 0 , INTEGER 0 ) ) { IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 1600 ) ) ) MOVE ( INTEGER 0 , INTEGER 1600 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 800 ) ) ) MOVE ( INTEGER 0 , INTEGER 800 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 400 ) ) ) MOVE ( INTEGER 0 , INTEGER 400 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 200 ) ) ) MOVE ( INTEGER 0 , INTEGER 200 ) ELSE IF ( NOT ( COLLISION ( INTEGER 0 , INTEGER 100 ) ) ) MOVE ( INTEGER 0 , INTEGER 100 ) ELSE MOVE ( INTEGER -400 , INTEGER 0 ) } , TERMINATE )
"falling left"
1
NONE
TERMINATE
OR ( SENSE_SPECIFIC_OBJECT ( STRING "diamond_hole_r" , INTEGER -8 , INTEGER 0 , INTEGER 16 , INTEGER 16 , TEST VARIABLE 4 active = INTEGER 1 ) , SENSE_SPECIFIC_OBJECT ( STRING "diamond_hole_l" , INTEGER -8 , INTEGER 0 , INTEGER 16 , INTEGER 16 , TEST VARIABLE 4 active = INTEGER 1 ) )
0
0
""
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "arrow"
1
2 21 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( SENSE_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , INTEGER 48 , INTEGER 16 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "bonus" , INTEGER 100 , VARIABLE 0 x ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchl_1"
1
0 10 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchl_2"
1
0 11 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchl_3"
1
0 9 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchr_1"
1
0 7 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchr_2"
1
0 8 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "branchr_3"
1
0 9 1
0 0
1
-1 0 0 0 0
64
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "crown"
1
2 20 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( SENSE_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "bonus" , INTEGER 100 , VARIABLE 0 x ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_1"
1
2 22 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( SENSE_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "item" , INTEGER 100 , VARIABLE 0 x ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_2"
1
2 23 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( SENSE_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "item" , INTEGER 100 , VARIABLE 0 x ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_3"
1
2 24 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( NOT ( SENSE_OBJECT ( STRING "character" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) { NONE } , ATOMIC ( SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "item" , INTEGER 100 , VARIABLE 0 x ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_hole_l"
4
2 18 1
0 0
2 19 1
0 0
2 16 1
0 0
2 17 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
4
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 1 ) )
""
SINGLE ( 0 , 1 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 2 ) )
""
SINGLE ( 0 , 2 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 3 ) )
""
SINGLE ( 0 , 3 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 0 ) )
""
1
NONE
SEQ ( ATOMIC ( SEQ ( CREATEOBJECT ( STRING "diamond_smoke" , INTEGER -3200 , INTEGER 0 , INTEGER 3 ) , SET VARIABLE 4 n_diamonds = VARIABLE 0 state ) ) , SET VARIABLE 0 active = INTEGER 0 , STATE ( INTEGER 4 ) )
AND ( TEST VARIABLE 0 state > INTEGER 0 , TEST VARIABLE 0 state < INTEGER 4 , SENSE_SPECIFIC_OBJECT ( STRING "apple" , INTEGER 0 , INTEGER 0 , INTEGER 16 , INTEGER 32 , TRUE ) )
0
0
""
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME active
INTEGER 1
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_hole_r"
4
2 14 1
0 0
2 15 1
0 0
2 12 1
0 0
2 13 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
5
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 1 ) )
""
SINGLE ( 0 , 1 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 2 ) )
""
SINGLE ( 0 , 2 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 3 ) )
""
SINGLE ( 0 , 3 0 0 "" 100 )
SEQ ( PAUSE ( INTEGER 31 ) , STATE ( INTEGER 0 ) )
""
SINGLE ( 0 , 0 0 0 "" 100 )
NONE
""
1
NONE
SEQ ( ATOMIC ( SEQ ( CREATEOBJECT ( STRING "diamond_smoke" , INTEGER 3200 , INTEGER 0 , INTEGER 3 ) , SET VARIABLE 4 n_diamonds = VARIABLE 0 state ) ) , SET VARIABLE 0 active = INTEGER 0 , STATE ( INTEGER 4 ) )
AND ( TEST VARIABLE 0 state > INTEGER 0 , TEST VARIABLE 0 state < INTEGER 4 , SENSE_SPECIFIC_OBJECT ( STRING "apple" , INTEGER 0 , INTEGER 0 , INTEGER 16 , INTEGER 32 , TRUE ) )
0
0
""
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME active
INTEGER 1
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "diamond_smoke"
2
2 26 1
0 0
2 25 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
LOOP ( 4 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "bonus" , INTEGER 100 , VARIABLE 0 x ) , PAUSE ( INTEGER 30 ) , ATOMIC ( SEQ ( IF ( TEST VARIABLE 0 n_diamonds = INTEGER 1 ) CREATEOBJECT ( STRING "diamond_1" , INTEGER 0 , INTEGER 1600 , INTEGER 3 ) ELSE IF ( TEST VARIABLE 0 n_diamonds = INTEGER 2 ) CREATEOBJECT ( STRING "diamond_2" , INTEGER 0 , INTEGER 1600 , INTEGER 3 ) ELSE CREATEOBJECT ( STRING "diamond_3" , INTEGER 0 , INTEGER 0 , INTEGER 3 ) , TERMINATE ) ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME n_diamonds
INTEGER 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "game_window"
0
1
-1 0 0 0 0
1
3
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
NONE
ADD_FOCUSING ( VARIABLE 5 player )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 384 100 50 65 50 65
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "game_window2"
0
1
-1 0 0 0 0
1
3
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
NONE
ADD_FOCUSING ( VARIABLE 5 player )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
256 384 100 50 65 50 65
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "ground"
1
0 14 1
0 0
1
-1 0 0 0 0
2
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "ladder_bottom"
1
0 6 1
0 0
1
-1 0 0 0 0
8
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "ladder_middle"
1
0 5 1
0 0
1
-1 0 0 0 0
8
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "ladder_top"
1
0 4 1
0 0
1
-1 0 0 0 0
8
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "larva"
3
2 30 1
0 0
2 31 1
0 0
2 32 1
0 0
1
-1 0 0 0 0
4
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
2
LOOP ( 4 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
WHILE_ELSE ( AND ( OR ( TEST VARIABLE 0 y_move_left > INTEGER 0 , SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -160 , INTEGER 640 , INTEGER 320 , TRUE ) ) , NOT ( SENSE_OBJECT ( STRING "solid solid_sfc" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) ) { ATOMIC ( SEQ ( MOVE ( INTEGER 0 , INTEGER -100 ) , SET VARIABLE 0 y_move_left = SUB ( VARIABLE 0 y_move_left , INTEGER 1 ) , IF ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER 0 , INTEGER 16 , INTEGER 32 , INTEGER 16 , TRUE ) ) SET VARIABLE 4 state = INTEGER 1 ELSE NONE ) ) } ELSE { ATOMIC ( SEQ ( IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER 32 , INTEGER 640 , INTEGER 512 , TRUE ) ) SET VARIABLE 0 y_move_left = INTEGER 64 ELSE SET VARIABLE 0 y_move_left = INTEGER 32 , STATE ( INTEGER 1 ) ) ) }
"going up"
LOOP ( 4 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
WHILE_ELSE ( AND ( OR ( TEST VARIABLE 0 y_move_left > INTEGER 0 , SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -160 , INTEGER 640 , INTEGER 320 , TRUE ) ) , NOT ( SENSE_OBJECT ( STRING "solid solid_sfc" , INTEGER 0 , INTEGER 32 , INTEGER 32 , INTEGER 16 , TRUE ) ) ) ) { ATOMIC ( SEQ ( MOVE ( INTEGER 0 , INTEGER 100 ) , SET VARIABLE 0 y_move_left = SUB ( VARIABLE 0 y_move_left , INTEGER 1 ) , IF ( NOT ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER 0 , INTEGER 0 , INTEGER 32 , INTEGER 32 , TRUE ) ) ) CREATEOBJECT ( STRING "larva_thread" , INTEGER 800 , INTEGER 0 , INTEGER 2 ) ELSE NONE ) ) } ELSE { ATOMIC ( SEQ ( IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -544 , INTEGER 640 , INTEGER 512 , TRUE ) ) SET VARIABLE 0 y_move_left = INTEGER 64 ELSE SET VARIABLE 0 y_move_left = INTEGER 32 , STATE ( INTEGER 0 ) ) ) }
"going down"
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME y_move_left
INTEGER 32
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "larva_thread"
1
2 33 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
2
SINGLE ( 0 , 0 0 0 "" 100 )
NONE
""
NONE
TERMINATE
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "mainmenu_item"
0
1
-1 0 0 0 0
1
2
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
TEXT "1 player"
FONT "comic.ttf"
16
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME menu_id
INTEGER 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "mainmenu_title"
1
3 2 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
SINGLE ( 0 , 0 0 0 "" 100 )
WHILE ( NOT ( TIMMER ( INTEGER 26 ) ) ) { MOVE ( INTEGER 0 , INTEGER 600 ) }
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 0
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "manimenu_lake"
1
3 1 1
0 0
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
1
NONE
WHILE ( TRUE ) { ATOMIC ( SEQ ( SET VARIABLE 0 reflection_ov = ADD ( VARIABLE 0 reflection_ov , INTEGER 50 ) , SET VARIABLE 0 reflection_oh = ADD ( VARIABLE 0 reflection_oh , INTEGER 10 ) ) ) }
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 7
NAME reflection_wave_height
INTEGER 5
NAME reflection_center_x
INTEGER 256
NAME reflection_center_y
INTEGER 216
NAME reflection_oh
INTEGER 0
NAME reflection_ov
INTEGER 0
NAME reflection_kh
INTEGER 500
NAME reflection_kv
INTEGER 1000
3 80 255 255 255 -1 0 0 0 -1
100 0
NAME "owl"
3
2 10 1
16 31
2 11 1
16 25
2 29 1
18 29
1
-1 0 0 0 0
4
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
4
LOOP ( 12 , [ 0 0 0 "owl" 100 , 2 0 0 "" 100 ] )
WHILE_ELSE ( AND ( NOT ( SENSE_OBJECT ( STRING "solid solid_sfc" , INTEGER -16 , INTEGER -40 , INTEGER 40 , INTEGER 48 , TRUE ) ) , INSIDE_ROOM ( INTEGER 1600 , INTEGER 0 ) , TEST VARIABLE 0 x < VARIABLE 0 max_x ) ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -128 , INTEGER 640 , INTEGER 256 , TRUE ) ) MOVE ( INTEGER 100 , INTEGER 0 ) ELSE NONE } ELSE { ATOMIC ( SEQ ( SET VARIABLE 0 counter = ADD ( VARIABLE 0 counter , INTEGER 1 ) , IF ( TEST VARIABLE 0 counter < INTEGER 4 ) STATE ( INTEGER 1 ) ELSE SEQ ( GET_PARENT , SET VARIABLE 4 owl_inside = INTEGER 1 , TERMINATE ) ) ) }
"moving right"
LOOP ( 12 , [ 0 0 0 "owl" 100 , 2 0 0 "" 100 ] )
WHILE_ELSE ( AND ( NOT ( SENSE_OBJECT ( STRING "solid solid_sfc" , INTEGER -24 , INTEGER -40 , INTEGER 40 , INTEGER 48 , TRUE ) ) , INSIDE_ROOM ( INTEGER -1600 , INTEGER 0 ) , TEST VARIABLE 0 x > VARIABLE 0 min_x ) ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -128 , INTEGER 640 , INTEGER 256 , TRUE ) ) MOVE ( INTEGER -100 , INTEGER 0 ) ELSE NONE } ELSE { ATOMIC ( SEQ ( SET VARIABLE 0 counter = ADD ( VARIABLE 0 counter , INTEGER 1 ) , IF ( TEST VARIABLE 0 counter < INTEGER 4 ) STATE ( INTEGER 0 ) ELSE SEQ ( GET_PARENT , SET VARIABLE 4 owl_inside = INTEGER 1 , TERMINATE ) ) ) }
"moving left"
LOOP ( 8 , [ 0 0 0 "owl" 100 , 1 0 0 "" 100 ] )
SEQ ( WHILE ( NOT ( TIMMER ( INTEGER 256 ) ) ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -32 , INTEGER 640 , INTEGER 32 , TRUE ) ) STATE ( INTEGER 0 ) ELSE NONE } , GET_PARENT , SET VARIABLE 4 owl_inside = INTEGER 1 , TERMINATE )
"quiet right"
LOOP ( 8 , [ 0 0 0 "owl" 100 , 1 0 0 "" 100 ] )
SEQ ( WHILE ( NOT ( TIMMER ( INTEGER 256 ) ) ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -32 , INTEGER 640 , INTEGER 32 , TRUE ) ) STATE ( INTEGER 1 ) ELSE NONE } , GET_PARENT , SET VARIABLE 4 owl_inside = INTEGER 1 , TERMINATE )
"quiet left"
0
0 1 0 1
DAMAGE "physical"
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 3
NAME counter
INTEGER 0
NAME min_x
INTEGER 0
NAME max_x
INTEGER 512
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "owl_hole_l"
2
2 8 1
8 31
2 9 1
8 31
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
4
SINGLE ( 0 , 0 0 0 "" 100 )
WHILE ( TRUE ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -128 , INTEGER 640 , INTEGER 256 , TRUE ) ) STATE ( INTEGER 1 ) ELSE NONE }
"waiting for character"
LOOP ( 8 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
SEQ ( PAUSE ( INTEGER 160 ) , ATOMIC ( SEQ ( CREATECHILD ( STRING "owl" , INTEGER -3200 , INTEGER 0 , INTEGER 0 , INTEGER 0 , INTEGER 0 ) , SET VARIABLE 4 state = INTEGER 1 , SET VARIABLE 4 max_x = VARIABLE 4 x , SET VARIABLE 0 owl_inside = INTEGER 0 ) ) , STATE ( INTEGER 2 ) )
"create owl"
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( TEST VARIABLE 0 owl_inside = INTEGER 0 ) { NONE } , STATE ( INTEGER 3 ) )
"waiting for owl"
LOOP ( 8 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
SEQ ( PAUSE ( INTEGER 128 ) , STATE ( INTEGER 0 ) )
"waiting some time until returning to state 0"
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME owl_inside
INTEGER 1
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "own_hole_r"
2
2 6 1
7 31
2 7 1
7 31
1
-1 0 0 0 0
1
0
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
4
SINGLE ( 0 , 0 0 0 "" 100 )
WHILE ( TRUE ) { IF ( SENSE_OBJECT ( STRING "character" , INTEGER -320 , INTEGER -128 , INTEGER 640 , INTEGER 256 , TRUE ) ) STATE ( INTEGER 1 ) ELSE NONE }
""
LOOP ( 8 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
SEQ ( PAUSE ( INTEGER 160 ) , ATOMIC ( SEQ ( CREATECHILD ( STRING "owl" , INTEGER 3200 , INTEGER 0 , INTEGER 0 , INTEGER 0 , INTEGER 0 ) , SET VARIABLE 4 state = INTEGER 0 , SET VARIABLE 4 min_x = VARIABLE 4 x , SET VARIABLE 0 owl_inside = INTEGER 0 ) ) , STATE ( INTEGER 2 ) )
""
SINGLE ( 0 , 0 0 0 "" 100 )
SEQ ( WHILE ( TEST VARIABLE 0 owl_inside = INTEGER 0 ) { NONE } , STATE ( INTEGER 3 ) )
""
LOOP ( 8 , [ 0 0 0 "" 100 , 1 0 0 "" 100 ] )
SEQ ( PAUSE ( INTEGER 128 ) , STATE ( INTEGER 0 ) )
""
0
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME owl_inside
INTEGER 1
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "player"
16
1 0 1
20 63
1 1 1
20 63
1 2 1
18 63
1 3 1
12 63
1 4 1
12 63
1 5 1
14 63
1 6 1
18 63
1 7 1
14 63
1 8 1
15 63
1 9 1
17 63
1 10 1
16 63
1 11 1
17 63
1 12 1
17 63
1 13 1
17 63
1 14 1
16 63
1 15 1
16 62
1
-1 0 0 0 0
16
1
1 1
SINGLE ( 0 , 0 0 0 "" 100 )
0 -1 0 100
SINGLE ( 0 , 3 0 0 "" 100 )
0 -1 0 100
NONE
0 -1 0 100
LOOP ( 2 , [ 0 0 0 "" 100 , 1 0 0 "" 100 , 2 0 0 "" 100 , 1 0 0 "" 100 ] )
0 -1 0 100
LOOP ( 2 , [ 3 0 0 "" 100 , 4 0 0 "" 100 , 5 0 0 "" 100 , 4 0 0 "" 100 ] )
0 -1 0 100
SINGLE ( 0 , 6 0 0 "" 100 )
0 -1 0 100
SINGLE ( 0 , 7 0 0 "" 100 )
0 -1 0 100
SINGLE ( 0 , 0 0 0 "" 100 )
1 2 0 100
SINGLE ( 0 , 3 0 0 "" 100 )
1 2 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
LOOP ( 4 , [ 8 0 0 "" 100 , 9 0 0 "" 100 ] )
2 8 8 100
LOOP ( 2 , [ 8 0 0 "" 100 , 9 0 0 "" 100 ] )
2 8 8 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
SINGLE ( 0 , 6 0 0 "" 100 )
1 0 0 100
SINGLE ( 0 , 7 0 0 "" 100 )
1 0 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 400 10 1 -5 0 0 1
1 1 1 1
0
12
SINGLE ( 0 , 10 0 0 "" 100 )
SEQ ( MOVE ( INTEGER 0 , INTEGER 5200 ) , WHILE_ELSE ( AND ( NOT ( KEYPRESS ( KEY -4 ) ) , NOT ( KEYPRESS ( KEY -3 ) ) , COLLISION ( INTEGER 1600 , INTEGER 100 ) , COLLISION ( INTEGER -1600 , INTEGER 100 ) , NOT ( SENSE_OBJECT ( STRING "character" , INTEGER -16 , INTEGER -66 , INTEGER 32 , INTEGER 2 , TRUE ) ) ) ) { NONE } ELSE { ATOMIC ( IF ( KEYPRESS ( KEY -3 ) ) SEQ ( MOVE ( INTEGER 0 , INTEGER -5200 ) , STATE ( INTEGER 0 ) ) ELSE IF ( KEYPRESSED ( KEY -2 ) ) SEQ ( SET VARIABLE 0 falling_inertia = INTEGER 100 , STATE ( INTEGER 5 ) ) ELSE IF ( KEYPRESSED ( KEY -1 ) ) SEQ ( SET VARIABLE 0 falling_inertia = INTEGER -100 , STATE ( INTEGER 6 ) ) ELSE SEQ ( SET VARIABLE 0 falling_inertia = INTEGER 0 , STATE ( INTEGER 5 ) ) ) } )
AND ( KEYPRESS ( KEY -4 ) , OR ( TEST VARIABLE 0 state = INTEGER 0 , TEST VARIABLE 0 state = INTEGER 1 , TEST VARIABLE 0 state = INTEGER 3 , TEST VARIABLE 0 state = INTEGER 4 , TEST VARIABLE 0 state = INTEGER 7 , TEST VARIABLE 0 state = INTEGER 8 ) , COLLISION ( INTEGER 0 , INTEGER 100 ) , NOT ( COLLISION ( INTEGER 0 , INTEGER 6400 ) ) , NOT ( SENSE_OBJECT ( STRING "ladder" , INTEGER -2 , INTEGER 0 , INTEGER 4 , INTEGER 32 , TRUE ) ) )
1
0
"hang on a branch"
LOOP ( 4 , [ 10 0 0 "" 100 , 11 0 0 "" 100 ] )
WHILE ( AND ( TEST VARIABLE 0 state = INTEGER 23 , KEYPRESSED ( KEY -2 ) ) ) { MOVE ( INTEGER 200 , INTEGER 0 ) }
AND ( TEST VARIABLE 0 state = INTEGER 23 , KEYPRESSED ( KEY -2 ) , COLLISION ( INTEGER 1600 , INTEGER 100 ) )
0
1
"moving right on a branch"
LOOP ( 4 , [ 10 0 0 "" 100 , 11 0 0 "" 100 ] )
WHILE ( AND ( TEST VARIABLE 0 state = INTEGER 23 , KEYPRESSED ( KEY -1 ) ) ) { MOVE ( INTEGER -200 , INTEGER 0 ) }
AND ( TEST VARIABLE 0 state = INTEGER 23 , KEYPRESSED ( KEY -1 ) , COLLISION ( INTEGER -1600 , INTEGER 100 ) )
0
1
"moving left on a branch"
NONE
MOVE ( VARIABLE 0 falling_inertia , INTEGER 0 )
OR ( TEST VARIABLE 0 state = INTEGER 5 , TEST VARIABLE 0 state = INTEGER 6 )
0
0
""
NONE
SET VARIABLE 0 falling_inertia = INTEGER 0
OR ( TEST VARIABLE 0 state = INTEGER 0 , TEST VARIABLE 0 state = INTEGER 1 , TEST VARIABLE 0 state = INTEGER 7 , TEST VARIABLE 0 state = INTEGER 8 )
0
0
""
NONE
SET VARIABLE 0 falling_inertia = INTEGER 100
TEST VARIABLE 0 state = INTEGER 3
0
0
""
NONE
SET VARIABLE 0 falling_inertia = INTEGER -100
TEST VARIABLE 0 state = INTEGER 4
0
0
""
GSEQ ( SINGLE ( 16 , 12 0 0 "" 100 ) , LOOP ( 4 , [ 12 0 0 "" 100 , 13 0 0 "" 100 ] ) )
SEQ ( PLAY_SAMPLE_PAN ( SAMPLE "hit" , INTEGER 100 , VARIABLE 0 x ) , PAUSE ( INTEGER 16 ) , PLAY_SAMPLE_PAN ( SAMPLE "fall" , INTEGER 100 , VARIABLE 0 x ) , WHILE ( INSIDE_ROOM ( INTEGER 0 , INTEGER 800 ) ) { MOVE ( INTEGER 0 , INTEGER 800 ) } , ATOMIC ( SEQ ( SET VARIABLE 6 game_state = INTEGER 0 , TERMINATE ) ) )
COLLISION_WITH_OBJECT ( STRING "weapon" , INTEGER 0 , INTEGER 0 , TRUE )
1
10
"hit!"
SINGLE ( 0 , 14 0 0 "" 100 )
WHILE_ELSE ( AND ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) , NOT ( KEYPRESS ( KEY -5 ) ) ) ) { SET VARIABLE 0 x = ADD ( VARIABLE 4 x , INTEGER 4 ) } ELSE { ATOMIC ( IF ( KEYPRESS ( KEY -5 ) ) IF ( KEYPRESSED ( KEY -1 ) ) SEQ ( MOVE ( INTEGER -1600 , INTEGER 0 ) , STATE ( INTEGER 20 ) ) ELSE SEQ ( MOVE ( INTEGER 1600 , INTEGER 0 ) , STATE ( INTEGER 19 ) ) ELSE SEQ ( WHILE ( COLLISION_WITH_OBJECT ( STRING "solid_sfc" , INTEGER 0 , INTEGER 0 , TRUE ) ) { MOVE ( INTEGER 0 , INTEGER -100 ) } , STATE ( INTEGER 0 ) ) ) }
AND ( OR ( TEST VARIABLE 0 state = INTEGER 19 , TEST VARIABLE 0 state = INTEGER 21 ) , SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) )
1
1
"climb a thread right"
SINGLE ( 0 , 14 0 0 "" 100 )
WHILE_ELSE ( AND ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) , NOT ( KEYPRESS ( KEY -5 ) ) ) ) { SET VARIABLE 0 x = ADD ( VARIABLE 4 x , INTEGER 4 ) } ELSE { ATOMIC ( IF ( KEYPRESS ( KEY -5 ) ) IF ( KEYPRESSED ( KEY -2 ) ) SEQ ( MOVE ( INTEGER 1600 , INTEGER 0 ) , STATE ( INTEGER 19 ) ) ELSE SEQ ( MOVE ( INTEGER -1600 , INTEGER 0 ) , STATE ( INTEGER 20 ) ) ELSE SEQ ( WHILE ( COLLISION_WITH_OBJECT ( STRING "solid_sfc" , INTEGER 0 , INTEGER 0 , TRUE ) ) { MOVE ( INTEGER 0 , INTEGER -100 ) } , STATE ( INTEGER 1 ) ) ) }
AND ( OR ( TEST VARIABLE 0 state = INTEGER 20 , TEST VARIABLE 0 state = INTEGER 22 ) , SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) )
1
1
"climb a thread left"
LOOP ( 4 , [ 14 0 0 "" 100 , 15 0 0 "" 100 ] )
WHILE ( AND ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) , KEYPRESSED ( KEY -3 ) ) ) { MOVE ( INTEGER 0 , INTEGER -200 ) }
AND ( OR ( TEST VARIABLE 0 state = INTEGER 31 , TEST VARIABLE 0 state = INTEGER 32 ) , KEYPRESSED ( KEY -3 ) )
0
2
"go up a thread"
LOOP ( 4 , [ 14 0 0 "" 100 , 15 0 0 "" 100 ] )
WHILE ( AND ( SENSE_SPECIFIC_OBJECT ( STRING "larva_thread" , INTEGER -2 , INTEGER -8 , INTEGER 4 , INTEGER 8 , TRUE ) , KEYPRESSED ( KEY -4 ) ) ) { MOVE ( INTEGER 0 , INTEGER 200 ) }
AND ( OR ( TEST VARIABLE 0 state = INTEGER 31 , TEST VARIABLE 0 state = INTEGER 32 ) , KEYPRESSED ( KEY -4 ) )
0
2
"go down a thread"
0 1 0 1
NODAMAGE
NOTEXT
NOFONT
0
0
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
1
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 3
NAME falling_inertia
INTEGER 0
NAME score
INTEGER 0
NAME lives
INTEGER 3
0 100 255 255 255 -1 0 0 0 -1
100 0
NAME "scoreboard_item"
0
1
-1 0 0 0 0
1
2
0 0
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
NONE
0 -1 0 100
400 200 200 11 1 -3 1 1 1
0 0 0 0
0
0
0 1 0 1
NODAMAGE
TEXT "01"
FONT "mtree.png"
22
-10
255 255 255 255
0 0
0 0 0 255
255 255 255 255
800
0 0
0
240
512 320 100 256 160 256 160
128 128 0 0 0 0 0 255 0 0 255
NOTITLE
VARIABLES 1
NAME scoreboard_id
INTEGER 0
0 100 255 255 255 -1 0 0 0 -1
100 0
GVARIABLES 0
MAPS 2
NAME tree_1a
VARIABLES 1
NAME bottom_height
INTEGER 0
ROOMS 1
VARIABLES 0
POS 0 4
SIZE 32 112
5
1
0 1408 0 13
0
1
0 1648 0 0
0
0
1
0 1728 17
0
55
208 1488 0 3
208 1520 0 3
208 1552 0 3
208 1584 0 3
208 1616 0 3
208 1648 0 3
208 1680 0 3
208 1296 0 3
208 1328 0 3
208 1360 0 3
208 1392 0 3
208 1424 0 3
208 1456 0 3
208 1168 0 3
208 1200 0 3
208 1232 0 3
208 1264 0 3
208 912 0 3
208 944 0 3
208 976 0 3
208 1008 0 3
208 1040 0 3
208 1072 0 3
208 1104 0 3
208 1136 0 3
208 528 0 3
208 560 0 3
208 592 0 3
208 624 0 3
208 656 0 3
208 688 0 3
208 720 0 3
208 752 0 3
208 784 0 3
208 816 0 3
208 848 0 3
208 880 0 3
208 1712 0 3
208 1744 0 2
208 144 0 3
208 176 0 3
208 208 0 3
208 240 0 3
208 272 0 3
208 304 0 3
208 336 0 3
208 368 0 3
208 400 0 3
208 432 0 3
208 464 0 3
208 496 0 3
0 32 0 15
208 112 0 3
448 0 0 3
-32 0 0 3
284
352 1584 19
0
352 1600 19
0
352 1616 19
0
352 1632 19
0
352 1648 19
0
352 1664 19
0
352 1680 19
0
352 1696 19
0
288 1568 5
0
304 1568 6
0
320 1568 6
0
336 1568 6
0
352 1568 6
0
368 1568 6
0
384 1568 6
0
400 1568 7
0
416 1568 7
0
352 1568 20
0
208 1504 2
0
128 1504 3
0
144 1504 3
0
160 1504 3
0
176 1504 3
0
192 1504 3
0
112 1504 4
0
288 1440 5
0
304 1440 6
0
320 1440 6
0
336 1440 6
0
352 1440 6
0
368 1440 6
0
384 1440 6
0
400 1440 6
0
416 1440 7
0
208 1376 2
0
96 1376 3
0
112 1376 3
0
128 1376 3
0
144 1376 3
0
160 1376 3
0
176 1376 3
0
192 1376 3
0
80 1376 4
0
96 1312 7
0
32 1312 6
0
48 1312 6
0
64 1312 6
0
80 1312 6
0
16 1312 6
0
0 1312 5
0
496 1312 2
0
448 1312 3
0
464 1312 3
0
480 1312 3
0
432 1312 4
0
304 1248 3
0
320 1248 3
0
336 1248 3
0
352 1248 3
0
368 1248 3
0
160 1248 6
0
176 1248 6
0
192 1248 6
0
144 1248 7
0
384 1248 4
0
208 1248 2
0
288 1248 5
0
350 1456 0
0
158 1392 0
0
190 1136 0
0
288 1120 5
0
304 1120 6
0
320 1120 6
0
336 1120 6
0
352 1120 6
0
368 1120 6
0
384 1120 7
0
496 1184 2
0
208 1120 2
0
448 1184 3
0
464 1184 3
0
480 1184 3
0
128 1120 3
0
144 1120 3
0
160 1120 3
0
176 1120 3
0
192 1120 3
0
16 1184 6
0
32 1184 6
0
48 1184 6
0
432 1184 4
0
112 1120 4
0
0 1184 5
0
64 1184 7
0
224 1200 27
0
272 1184 28
0
272 1088 13
0
0 1056 5
0
16 1056 6
0
32 1056 6
0
48 1056 6
0
64 1056 6
0
80 1056 6
0
96 1056 7
0
496 1056 2
0
448 1056 3
0
464 1056 3
0
480 1056 3
0
432 1056 4
0
208 992 2
0
176 992 3
0
192 992 3
0
160 992 3
0
144 992 4
0
288 992 5
0
304 992 6
0
320 992 6
0
336 992 6
0
352 992 6
0
368 992 6
0
384 992 7
0
318 1008 0
0
32 1040 8
0
0 928 5
0
16 928 6
0
32 928 6
0
48 928 6
0
64 928 7
0
496 928 2
0
448 928 3
0
464 928 3
0
480 928 3
0
432 928 4
0
288 864 5
0
304 864 6
0
320 864 6
0
336 864 6
0
352 864 6
0
368 864 6
0
384 864 7
0
208 864 2
0
160 864 3
0
176 864 3
0
192 864 3
0
144 864 4
0
272 832 13
0
496 800 2
0
448 800 3
0
464 800 3
0
480 800 3
0
432 800 4
0
288 736 5
0
304 736 6
0
320 736 6
0
336 736 6
0
352 736 7
0
208 736 2
0
160 736 3
0
176 736 3
0
192 736 3
0
144 736 4
0
224 704 12
0
302 752 0
0
0 672 5
0
16 672 6
0
32 672 6
0
48 672 6
0
64 672 6
0
80 672 6
0
96 672 7
0
272 672 28
0
72 688 21
0
352 1712 19
0
352 1728 19
0
352 1744 19
0
352 1760 18
0
112 608 4
0
128 608 3
0
144 608 3
0
160 608 3
0
176 608 3
0
192 608 3
0
208 608 2
0
288 608 5
0
448 608 7
0
304 608 6
0
320 608 6
0
336 608 6
0
352 608 6
0
368 608 6
0
384 608 6
0
400 608 6
0
416 608 6
0
432 608 6
0
190 624 0
0
158 624 0
0
496 544 2
0
416 544 3
0
432 544 3
0
448 544 3
0
464 544 3
0
480 544 3
0
400 544 4
0
272 544 28
0
288 480 5
0
304 480 6
0
320 480 6
0
336 480 6
0
352 480 7
0
208 480 2
0
160 480 3
0
176 480 3
0
192 480 3
0
144 480 4
0
224 416 27
0
0 416 5
0
16 416 6
0
32 416 6
0
48 416 6
0
64 416 6
0
80 416 6
0
96 416 7
0
208 352 2
0
160 352 3
0
176 352 3
0
192 352 3
0
144 352 4
0
288 352 5
0
304 352 6
0
320 352 6
0
336 352 6
0
352 352 7
0
496 416 2
0
448 416 3
0
464 416 3
0
480 416 3
0
432 416 4
0
464 400 1
0
174 368 0
0
0 288 5
0
16 288 6
0
32 288 6
0
48 288 6
0
64 288 6
0
80 288 6
0
96 288 7
0
272 320 13
0
208 224 2
0
128 224 3
0
144 224 3
0
160 224 3
0
176 224 3
0
192 224 3
0
112 224 4
0
288 224 5
0
448 224 7
0
304 224 6
0
320 224 6
0
336 224 6
0
352 224 6
0
368 224 6
0
384 224 6
0
400 224 6
0
416 224 6
0
432 224 6
0
302 240 0
0
334 240 0
0
376 240 21
0
128 80 19
0
128 96 19
0
128 112 19
0
128 128 19
0
128 144 19
0
128 160 19
0
336 80 19
0
336 96 19
0
336 112 19
0
336 128 19
0
336 144 19
0
336 160 19
0
336 176 18
0
128 176 18
0
336 64 20
0
128 64 20
0
1
0 1752 0 1
0
0
H_BOUNDED
V_BOUNDED
16 16 8
NONE
0 0 0 2
100 25 0 2
100 100 0 2
100 100 0 2
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
NONE
NAME tree_1b
VARIABLES 0
ROOMS 1
VARIABLES 0
POS 0 0
SIZE 32 112
5
0
0
0
0
0
0
0
0
0
0
0
H_BOUNDED
V_BOUNDED
16 16 8
NONE
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
100 100 0 0
NONE
INTERFACES 3
NAME "1player_screen"
VARIABLES 1
NAME player
INTEGER 0
SIZE 512 384
0
3
0
1
0 0 15
0
0
0
5
204 4 4 2
8 4 4 1
488 44 4 5
368 44 4 4
408 4 4 3
4
232 26 30
1
NAME scoreboard_id
INTEGER 2
40 26 30
1
NAME scoreboard_id
INTEGER 3
436 66 30
1
NAME scoreboard_id
INTEGER 1
480 26 30
0
WHILE ( TRUE ) { ATOMIC ( SEQ ( IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 1 ) ) SET VARIABLE 4 text_text = ITOA ( ADD ( INTEGER 0 , DIV ( SUB ( INTEGER 1838 , DOT ( VARIABLE 5 player , STRING "y" ) ) , INTEGER 32 ) ) , INTEGER 4 ) ELSE NONE , IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 2 ) ) SET VARIABLE 4 text_text = ITOA ( VARIABLE 6 highscore , INTEGER 6 ) ELSE NONE , IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 3 ) ) SET VARIABLE 4 text_text = ITOA ( DOT ( VARIABLE 5 player , STRING "score" ) , INTEGER 6 ) ELSE NONE , IF ( KEYPRESS ( KEY 27 ) ) SET VARIABLE 6 game_state = INTEGER 0 ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 0 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 488 , INTEGER 25 ) ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 1 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 468 , INTEGER 25 ) ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 2 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 448 , INTEGER 25 ) ELSE NONE ) ) }
NAME "main_menu"
VARIABLES 1
NAME current_option
INTEGER 1
SIZE 512 384
0
2
1
0 0 3 0
0
0
1
0 264 25
0
SEQ ( ATOMIC ( SEQ ( CREATEOBJECT ( STRING "mainmenu_title" , INTEGER 1800 , INTEGER -13000 , INTEGER 0 ) , CREATEOBJECT ( STRING "mainmenu_item" , MUL ( VARIABLE 6 screen_x , INTEGER 50 ) , INTEGER 23000 , INTEGER 1 ) , SET VARIABLE 4 text_text = STRING "1 player" , SET VARIABLE 4 menu_id = INTEGER 1 , CREATEOBJECT ( STRING "mainmenu_item" , MUL ( VARIABLE 6 screen_x , INTEGER 50 ) , INTEGER 25000 , INTEGER 1 ) , SET VARIABLE 4 text_text = STRING "2 players" , SET VARIABLE 4 menu_id = INTEGER 2 , CREATEOBJECT ( STRING "mainmenu_item" , MUL ( VARIABLE 6 screen_x , INTEGER 50 ) , INTEGER 27000 , INTEGER 1 ) , SET VARIABLE 4 text_text = STRING "Quit" , SET VARIABLE 4 menu_id = INTEGER 3 ) ) , WHILE ( NOT ( KEYPRESS ( KEY 32 ) ) ) { ATOMIC ( SEQ ( IF ( SENSE_SPECIFIC_OBJECT ( STRING "mainmenu_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 menu_id = VARIABLE 5 current_option ) ) ATOMIC ( SEQ ( SET VARIABLE 4 text_r = INTEGER 255 , SET VARIABLE 4 text_g = INTEGER 0 , SET VARIABLE 4 text_b = INTEGER 0 ) ) ELSE NONE , IF ( KEYPRESS ( KEY 274 ) ) ATOMIC ( SEQ ( SET VARIABLE 4 text_r = INTEGER 255 , SET VARIABLE 4 text_g = INTEGER 255 , SET VARIABLE 4 text_b = INTEGER 255 , SET VARIABLE 5 current_option = ADD ( VARIABLE 5 current_option , INTEGER 1 ) , IF ( TEST VARIABLE 5 current_option > INTEGER 3 ) SET VARIABLE 5 current_option = INTEGER 1 ELSE NONE ) ) ELSE NONE , IF ( KEYPRESS ( KEY 273 ) ) ATOMIC ( SEQ ( SET VARIABLE 4 text_r = INTEGER 255 , SET VARIABLE 4 text_g = INTEGER 255 , SET VARIABLE 4 text_b = INTEGER 255 , SET VARIABLE 5 current_option = SUB ( VARIABLE 5 current_option , INTEGER 1 ) , IF ( TEST VARIABLE 5 current_option < INTEGER 1 ) SET VARIABLE 5 current_option = INTEGER 3 ELSE NONE ) ) ELSE NONE ) ) } , IF ( TEST VARIABLE 5 current_option = INTEGER 1 ) SET VARIABLE 6 game_state = INTEGER 1 ELSE IF ( TEST VARIABLE 5 current_option = INTEGER 2 ) SET VARIABLE 6 game_state = INTEGER 2 ELSE SET VARIABLE 6 game_state = INTEGER -1 )
NAME "2player_screen"
VARIABLES 2
NAME tmp
INTEGER 0
NAME player
INTEGER 0
SIZE 256 384
0
3
0
1
0 0 16
0
0
0
4
8 4 4 1
112 44 4 4
232 44 4 5
152 4 4 3
3
40 26 30
1
NAME scoreboard_id
INTEGER 3
180 66 30
1
NAME scoreboard_id
INTEGER 1
224 26 30
0
WHILE ( TRUE ) { ATOMIC ( SEQ ( IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 1 ) ) SET VARIABLE 4 text_text = ITOA ( ADD ( INTEGER 0 , DIV ( SUB ( INTEGER 1838 , DOT ( VARIABLE 5 player , STRING "y" ) ) , INTEGER 32 ) ) , INTEGER 4 ) ELSE NONE , IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 2 ) ) SET VARIABLE 4 text_text = ITOA ( VARIABLE 6 highscore , INTEGER 6 ) ELSE NONE , IF ( SENSE_SPECIFIC_OBJECT ( STRING "scoreboard_item" , INTEGER 0 , INTEGER 0 , VARIABLE 6 screen_x , VARIABLE 6 screen_y , TEST VARIABLE 4 scoreboard_id = INTEGER 3 ) ) SET VARIABLE 4 text_text = ITOA ( DOT ( VARIABLE 5 player , STRING "score" ) , INTEGER 6 ) ELSE NONE , IF ( KEYPRESS ( KEY 27 ) ) SET VARIABLE 6 game_state = INTEGER 0 ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 0 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 232 , INTEGER 25 ) ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 1 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 212 , INTEGER 25 ) ELSE NONE , IF ( TEST DOT ( VARIABLE 5 player , STRING "lives" ) > INTEGER 2 ) DRAWBITMAP ( INTEGER 4 , INTEGER 0 , INTEGER 192 , INTEGER 25 ) ELSE NONE ) ) }
NONE
AVARIABLES 12
NAME screen_x
INTEGER 512
NAME screen_y
INTEGER 384
NAME fps
INTEGER 35
NAME hw_render
INTEGER 0
NAME player_plane
INTEGER 3
NAME current_interf
INTEGER 0
NAME game_state
INTEGER 0
NAME current_interf2
INTEGER 0
NAME sfx_atenuation_min
INTEGER 256
NAME sfx_atenuation_max
INTEGER 512
NAME highscore
INTEGER 0
NAME state
INTEGER 0
3
SEQ ( STOP_GAME , ATOMIC ( SEQ ( STOP_GAME , RESET_GAME , SET VARIABLE 6 current_interf = NEW_VIEWPORT ( INTEGER 0 , INTEGER 0 , INTEGER 512 , INTEGER 384 , INTEGER 100 , STRING "main_menu" ) ) ) , WHILE_ELSE ( TEST VARIABLE 6 game_state = INTEGER 0 ) { NONE } ELSE { DELETE_VIEWPORT ( VARIABLE 6 current_interf ) } , SET VARIABLE 6 state = VARIABLE 6 game_state )
SEQ ( ATOMIC ( SEQ ( STOP_GAME , RESET_GAME , SET VARIABLE 6 current_interf = NEW_VIEWPORT ( INTEGER 0 , INTEGER 0 , INTEGER 512 , INTEGER 384 , INTEGER 100 , STRING "1player_screen" ) , SETPLAYERKEYBOARD ( NEW_PLAYER ( STRING "player" , INTEGER 100 , INTEGER 1838 , STRING "tree_1a" ) , KEY 273 , KEY 274 , KEY 276 , KEY 275 , KEY 32 , INTEGER 0 , INTEGER 0 , INTEGER 0 ) , SET MAKE_VARIABLE ( STRING "player" , CONCATENATE ( STRING "interface " , ITOA ( VARIABLE 6 current_interf , INTEGER 1 ) ) ) = VARIABLE 4 this , PLAY_MUSIC ( STRING "mtree-quickie/game1#G0" , INTEGER 33 , INTEGER 0 ) , RESUME_GAME ) ) , WHILE_ELSE ( TEST VARIABLE 6 game_state = INTEGER 1 ) { NONE } ELSE { ATOMIC ( SEQ ( DELETE_VIEWPORT ( VARIABLE 6 current_interf ) , STOP_MUSIC ) ) } , SET VARIABLE 6 state = INTEGER 0 )
SEQ ( ATOMIC ( SEQ ( STOP_GAME , RESET_GAME , SET VARIABLE 6 current_interf = NEW_VIEWPORT ( INTEGER 0 , INTEGER 0 , INTEGER 255 , INTEGER 384 , INTEGER 100 , STRING "2player_screen" ) , SETPLAYERKEYBOARD ( NEW_PLAYER ( STRING "player" , INTEGER 100 , INTEGER 1838 , STRING "tree_1a" ) , KEY 273 , KEY 274 , KEY 276 , KEY 275 , KEY 32 , INTEGER 0 , INTEGER 0 , INTEGER 0 ) , SET MAKE_VARIABLE ( STRING "player" , CONCATENATE ( STRING "interface " , ITOA ( VARIABLE 6 current_interf , INTEGER 1 ) ) ) = VARIABLE 4 this , SET VARIABLE 6 current_interf2 = NEW_VIEWPORT ( INTEGER 256 , INTEGER 0 , INTEGER 255 , INTEGER 384 , INTEGER 100 , STRING "2player_screen" ) , SETPLAYERKEYBOARD ( NEW_PLAYER ( STRING "player" , INTEGER 200 , INTEGER 1838 , STRING "tree_1a" ) , KEY 119 , KEY 115 , KEY 97 , KEY 100 , KEY 304 , INTEGER 0 , INTEGER 0 , INTEGER 0 ) , SET MAKE_VARIABLE ( STRING "player" , CONCATENATE ( STRING "interface " , ITOA ( VARIABLE 6 current_interf2 , INTEGER 1 ) ) ) = VARIABLE 4 this , PLAY_MUSIC ( STRING "mtree-quickie/game1#G0" , INTEGER 33 , INTEGER 0 ) , RESUME_GAME ) ) , WHILE_ELSE ( TEST VARIABLE 6 game_state = INTEGER 2 ) { NONE } ELSE { ATOMIC ( SEQ ( DELETE_VIEWPORT ( VARIABLE 6 current_interf2 ) , DELETE_VIEWPORT ( VARIABLE 6 current_interf ) , STOP_MUSIC ) ) } , SET VARIABLE 6 state = INTEGER 0 )
