Prev: 52224 Up: Map Next: 54272
53248: Wacky Amoebatrons (teleport: 46)
Used by the routine at 34436.
wacky_amoebatrons
The first 512 bytes are the attributes that define the layout of the cavern.
53248 DEFB 22,0,0,22,0,0,0,0 Attributes
53256 DEFB 0,0,0,0,0,0,0,0
53264 DEFB 0,0,0,0,0,0,0,0
53272 DEFB 0,0,0,0,0,0,0,22
53280 DEFB 22,0,0,0,0,0,0,0
53288 DEFB 0,0,0,0,0,0,0,0
53296 DEFB 0,0,0,0,0,0,0,0
53304 DEFB 0,0,0,0,0,0,0,22
53312 DEFB 22,0,0,0,0,0,0,0
53320 DEFB 0,0,0,0,0,0,0,0
53328 DEFB 0,0,0,0,0,0,0,0
53336 DEFB 0,0,0,0,0,0,0,22
53344 DEFB 22,0,0,0,0,0,0,0
53352 DEFB 0,0,0,0,0,0,0,0
53360 DEFB 0,0,0,0,0,0,0,0
53368 DEFB 0,0,0,0,0,0,0,22
53376 DEFB 22,0,0,0,0,0,0,0
53384 DEFB 0,0,0,0,0,0,0,0
53392 DEFB 0,0,0,0,0,0,0,0
53400 DEFB 0,0,0,0,0,0,0,22
53408 DEFB 22,6,6,6,6,0,0,6
53416 DEFB 6,6,0,0,6,6,6,6
53424 DEFB 6,6,6,6,0,0,6,6
53432 DEFB 6,0,0,6,6,0,0,22
53440 DEFB 22,0,0,0,0,0,0,0
53448 DEFB 0,0,0,0,0,0,0,0
53456 DEFB 0,0,0,0,0,0,0,0
53464 DEFB 0,0,0,0,0,0,0,22
53472 DEFB 22,0,0,0,0,0,0,0
53480 DEFB 0,0,0,0,0,0,0,0
53488 DEFB 0,0,0,0,0,0,0,0
53496 DEFB 0,0,0,0,0,6,6,22
53504 DEFB 22,0,0,6,6,0,0,6
53512 DEFB 6,6,0,0,4,4,4,4
53520 DEFB 4,4,4,4,0,0,0,0
53528 DEFB 0,0,0,0,0,0,0,22
53536 DEFB 22,0,0,0,0,0,0,0
53544 DEFB 0,0,0,0,0,0,0,0
53552 DEFB 0,0,0,0,0,0,6,6
53560 DEFB 6,0,0,6,6,0,0,22
53568 DEFB 22,6,6,0,0,0,0,0
53576 DEFB 0,0,0,0,0,0,0,0
53584 DEFB 0,0,0,0,0,0,0,0
53592 DEFB 0,0,0,0,0,0,0,22
53600 DEFB 22,0,0,0,0,0,0,0
53608 DEFB 0,0,0,0,0,0,0,0
53616 DEFB 0,0,0,0,0,0,0,0
53624 DEFB 0,0,0,0,0,0,0,22
53632 DEFB 22,0,0,6,6,0,0,6
53640 DEFB 6,6,0,0,6,6,6,6
53648 DEFB 6,6,6,6,0,0,6,6
53656 DEFB 6,0,0,6,6,0,0,22
53664 DEFB 22,0,0,0,0,0,0,0
53672 DEFB 0,0,0,0,0,0,0,0
53680 DEFB 0,0,0,0,0,0,0,0
53688 DEFB 0,0,0,0,0,6,6,22
53696 DEFB 22,0,0,0,0,0,0,0
53704 DEFB 0,0,0,0,0,0,0,0
53712 DEFB 0,0,0,0,0,0,0,0
53720 DEFB 0,0,0,0,0,0,0,22
53728 DEFB 22,6,6,6,6,6,6,6
53736 DEFB 6,6,6,6,6,6,6,6
53744 DEFB 6,6,6,6,6,6,6,6
53752 DEFB 6,6,6,6,6,6,6,22
The next 32 bytes are copied to 32768 and specify the cavern name.
53760 DEFM " Wacky Amoebatrons " Cavern name
The next 72 bytes are copied to 32800 and contain the attributes and graphic data for the tiles used to build the cavern.
background_8 floor_8 crumbling_floor_8 wall_8 conveyor_8 nasty1_8 nasty2_8 extra_8
53792 DEFB 0,0,0,0,0,0,0,0,0 Background
53801 DEFB 6,255,255,219,110,197,64,0,0 Floor
53810 DEFB 66,255,219,165,36,82,32,8,0 Crumbling floor (unused)
53819 DEFB 22,90,90,90,90,90,90,90,90 Wall
53828 DEFB 4,240,102,240,102,0,0,0,0 Conveyor
53837 DEFB 68,68,40,148,81,53,214,88,16 Nasty 1 (unused)
53846 DEFB 5,126,60,28,24,24,8,8,8 Nasty 2 (unused)
53855 DEFB 0,0,0,0,0,0,0,0,0 Extra (unused)
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
53864 DEFB 208 Pixel y-coordinate * 2 (see 32872)
53865 DEFB 0 Animation frame (see 32873)
53866 DEFB 0 Direction and movement flags: facing right (see 32874)
53867 DEFB 0 Airborne status indicator (see 32875)
53868 DEFW 23969 Location in the attribute buffer at 23552: (13,1) (see 32876)
53870 DEFB 0 Jumping animation counter (see 32878)
The next four bytes are copied to 32879 and specify the direction, location and length of the conveyor.
53871 DEFB 1 Direction (right)
53872 DEFW 30732 Location in the screen buffer at 28672: (8,12)
53874 DEFB 8 Length
The next byte is copied to 32883 and specifies the border colour.
53875 DEFB 1 Border colour
The next byte is copied to 32884, but is not used.
53876 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
53877 DEFB 3 Item 1 at (1,16)
53878 DEFW 23600
53880 DEFB 96
53881 DEFB 255
53882 DEFB 255,255,255,255,255 Item 2 (unused)
53887 DEFB 0,255,255,255,255 Item 3 (unused)
53892 DEFB 0,255,255,255,255 Item 4 (unused)
53897 DEFB 0,255,255,255,255 Item 5 (unused)
53902 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal08
53903 DEFB 14 Attribute
53904 DEFB 255,255,128,1,129,129,130,65 Graphic data
53912 DEFB 132,33,136,17,144,9,161,133
53920 DEFB 161,133,144,9,136,17,132,33
53928 DEFB 130,65,129,129,128,1,255,255
53936 DEFW 23553 Location in the attribute buffer at 23552: (0,1)
53938 DEFW 24577 Location in the screen buffer at 24576: (0,1)
The next eight bytes are copied to 32948 and define the item graphic.
item08
53940 DEFB 48,72,136,144,104,4,10,4 Item graphic data
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
53948 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
53949 DEFB 128 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
53950 DEFB 68 Horizontal guardian 1: y=3, initial x=12, 12<=x<=18, speed=normal
53951 DEFW 23660
53953 DEFB 96
53954 DEFB 0
53955 DEFB 108
53956 DEFB 114
53957 DEFB 133 Horizontal guardian 2: y=10, initial x=16, 12<=x<=18, speed=slow
53958 DEFW 23888
53960 DEFB 104
53961 DEFB 0
53962 DEFB 76
53963 DEFB 82
53964 DEFB 0,0,0,0,0,0,0 Horizontal guardian 3 (unused)
53971 DEFB 0,0,0,0,0,0,0 Horizontal guardian 4 (unused)
53978 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
53979 DEFB 0,0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
53981 DEFB 67 Vertical guardian 1: x=5, initial y=8, 5<=y<100, initial y-increment=1
53982 DEFB 0
53983 DEFB 8
53984 DEFB 5
53985 DEFB 1
53986 DEFB 5
53987 DEFB 100
53988 DEFB 4 Vertical guardian 2: x=10, initial y=8, 5<=y<100, initial y-increment=2
53989 DEFB 1
53990 DEFB 8
53991 DEFB 10
53992 DEFB 2
53993 DEFB 5
53994 DEFB 100
53995 DEFB 5 Vertical guardian 3: x=20, initial y=8, 5<=y<100, initial y-increment=1
53996 DEFB 2
53997 DEFB 8
53998 DEFB 20
53999 DEFB 1
54000 DEFB 5
54001 DEFB 100
54002 DEFB 66 Vertical guardian 4: x=25, initial y=8, 5<=y<100, initial y-increment=2
54003 DEFB 3
54004 DEFB 8
54005 DEFB 25
54006 DEFB 2
54007 DEFB 5
54008 DEFB 100
54009 DEFB 255 Terminator
The next 6 bytes are unused.
54010 DEFB 0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
wacky_amoebatrons_guardian0 wacky_amoebatrons_guardian1 wacky_amoebatrons_guardian2 wacky_amoebatrons_guardian3 wacky_amoebatrons_guardian4 wacky_amoebatrons_guardian5 wacky_amoebatrons_guardian6 wacky_amoebatrons_guardian7
54016 DEFB 10,32,22,104,1,80,57,98 Guardian graphic data
54024 DEFB 101,206,3,208,255,238,135,241
54032 DEFB 119,228,199,255,139,241,50,172
54040 DEFB 100,166,73,162,18,144,54,152
54048 DEFB 0,0,5,32,3,64,49,116
54056 DEFB 29,204,3,208,63,236,7,244
54064 DEFB 63,224,103,252,11,242,50,172
54072 DEFB 36,164,11,144,26,216,0,192
54080 DEFB 0,0,0,0,2,32,9,96
54088 DEFB 5,200,3,208,31,224,7,248
54096 DEFB 31,224,23,248,15,240,18,168
54104 DEFB 5,160,10,176,0,192,0,0
54112 DEFB 0,0,5,32,3,64,49,116
54120 DEFB 29,204,3,208,63,236,7,244
54128 DEFB 63,224,103,252,11,242,50,172
54136 DEFB 36,164,11,144,26,216,0,192
54144 DEFB 12,0,12,0,12,0,12,0
54152 DEFB 12,0,12,0,12,0,12,0
54160 DEFB 12,0,12,0,255,192,12,0
54168 DEFB 97,128,210,192,179,64,97,128
54176 DEFB 3,0,3,0,3,0,3,0
54184 DEFB 3,0,3,0,3,0,3,0
54192 DEFB 3,0,3,0,63,240,3,0
54200 DEFB 24,96,36,208,60,208,24,96
54208 DEFB 0,192,0,192,0,192,0,192
54216 DEFB 0,192,0,192,0,192,0,192
54224 DEFB 0,192,0,192,15,252,0,192
54232 DEFB 6,24,11,52,13,44,6,24
54240 DEFB 0,48,0,48,0,48,0,48
54248 DEFB 0,48,0,48,0,48,0,48
54256 DEFB 0,48,0,48,3,255,0,48
54264 DEFB 1,134,2,77,3,205,1,134
Prev: 52224 Up: Map Next: 54272