Prev: 55296 Up: Map Next: 57344
56320: Return of the Alien Kong Beast (teleport: 1246)
Used by the routine at 34436.
return_of_the_alien_kong_beast
The first 512 bytes are the attributes that define the layout of the cavern.
56320 DEFB 101,0,5,0,0,0,6,0 Attributes
56328 DEFB 0,0,5,0,0,0,0,0
56336 DEFB 0,101,6,0,0,101,0,0
56344 DEFB 0,0,0,0,0,0,0,101
56352 DEFB 101,0,0,0,0,0,0,0
56360 DEFB 0,0,0,0,0,0,0,0
56368 DEFB 0,0,0,0,0,0,0,0
56376 DEFB 0,0,0,0,0,0,0,101
56384 DEFB 101,0,0,0,0,0,0,0
56392 DEFB 0,0,0,0,0,0,0,3
56400 DEFB 3,0,0,0,0,0,0,0
56408 DEFB 0,0,0,0,0,0,0,101
56416 DEFB 101,0,0,0,0,0,0,0
56424 DEFB 0,0,0,0,0,0,0,0
56432 DEFB 0,0,0,0,0,0,0,0
56440 DEFB 0,0,0,0,0,0,0,101
56448 DEFB 101,0,0,0,0,0,0,0
56456 DEFB 0,0,0,0,0,0,0,0
56464 DEFB 0,0,0,0,0,0,0,0
56472 DEFB 0,0,0,0,0,0,0,101
56480 DEFB 101,67,67,67,0,0,0,0
56488 DEFB 0,3,3,3,3,3,101,0
56496 DEFB 0,101,3,3,3,3,3,3
56504 DEFB 67,67,0,0,0,0,0,101
56512 DEFB 101,0,0,0,0,0,0,0
56520 DEFB 0,0,0,0,0,0,101,0
56528 DEFB 0,101,0,0,0,0,0,0
56536 DEFB 0,0,0,0,0,0,67,101
56544 DEFB 101,0,0,0,0,0,67,67
56552 DEFB 0,0,0,0,0,0,101,0
56560 DEFB 0,101,0,0,0,0,0,0
56568 DEFB 0,0,0,0,0,0,0,101
56576 DEFB 101,0,0,67,0,0,0,0
56584 DEFB 0,0,0,0,0,0,101,0
56592 DEFB 0,101,0,0,0,0,0,0
56600 DEFB 0,67,67,67,67,67,67,101
56608 DEFB 101,0,0,0,0,0,0,0
56616 DEFB 0,0,67,67,67,67,101,0
56624 DEFB 0,101,0,0,0,0,0,0
56632 DEFB 0,0,0,0,0,0,0,101
56640 DEFB 101,0,0,0,0,0,67,0
56648 DEFB 0,0,0,0,0,0,0,0
56656 DEFB 0,101,67,67,67,0,0,0
56664 DEFB 0,0,0,0,0,0,0,101
56672 DEFB 101,0,0,0,0,0,0,0
56680 DEFB 0,0,0,0,0,0,0,0
56688 DEFB 0,101,0,0,0,0,0,0
56696 DEFB 0,67,67,0,0,0,0,101
56704 DEFB 101,67,67,67,67,67,67,0
56712 DEFB 0,0,0,0,0,0,0,0
56720 DEFB 0,101,0,0,0,0,0,4
56728 DEFB 0,0,0,0,4,0,0,101
56736 DEFB 101,0,0,0,0,0,0,0
56744 DEFB 0,0,0,67,67,67,101,0
56752 DEFB 0,101,70,70,70,70,70,70
56760 DEFB 70,70,70,70,70,0,0,101
56768 DEFB 101,0,0,0,0,0,0,0
56776 DEFB 0,0,0,0,0,0,101,0
56784 DEFB 0,101,0,0,0,0,0,0
56792 DEFB 0,0,0,0,0,0,0,101
56800 DEFB 101,67,67,67,67,67,67,67
56808 DEFB 67,67,67,67,67,67,101,101
56816 DEFB 101,101,67,67,67,67,67,67
56824 DEFB 67,67,67,67,67,67,67,101
The next 32 bytes are copied to 32768 and specify the cavern name.
56832 DEFM " Return of the Alien Kong Beast " 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_11 floor_11 crumbling_floor_11 wall_11 conveyor_11 nasty1_11 nasty2_11 extra_11
56864 DEFB 0,0,0,0,0,0,0,0,0 Background
56873 DEFB 67,255,255,219,110,197,64,0,0 Floor
56882 DEFB 3,255,219,165,36,82,32,8,0 Crumbling floor
56891 DEFB 101,34,255,136,255,34,255,136,255 Wall
56900 DEFB 70,240,102,240,170,0,0,0,0 Conveyor
56909 DEFB 4,68,40,148,81,53,214,88,16 Nasty 1
56918 DEFB 5,126,60,28,24,24,8,8,8 Nasty 2
56927 DEFB 6,255,129,129,66,60,16,96,96 Extra
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
56936 DEFB 208 Pixel y-coordinate * 2 (see 32872)
56937 DEFB 0 Animation frame (see 32873)
56938 DEFB 0 Direction and movement flags: facing right (see 32874)
56939 DEFB 0 Airborne status indicator (see 32875)
56940 DEFW 23970 Location in the attribute buffer at 23552: (13,2) (see 32876)
56942 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.
56943 DEFB 1 Direction (right)
56944 DEFW 30898 Location in the screen buffer at 28672: (13,18)
56946 DEFB 11 Length
The next byte is copied to 32883 and specifies the border colour.
56947 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
56948 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
56949 DEFB 3 Item 1 at (3,15)
56950 DEFW 23663
56952 DEFB 96
56953 DEFB 255
56954 DEFB 4 Item 2 at (7,16)
56955 DEFW 23792
56957 DEFB 96
56958 DEFB 255
56959 DEFB 5 Item 3 at (6,2)
56960 DEFW 23746
56962 DEFB 96
56963 DEFB 255
56964 DEFB 6 Item 4 at (13,29)
56965 DEFW 23997
56967 DEFB 104
56968 DEFB 255
56969 DEFB 3 Item 5 at (5,26)
56970 DEFW 23738
56972 DEFB 96
56973 DEFB 255
56974 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal11
56975 DEFB 94 Attribute
56976 DEFB 255,255,128,1,143,241,143,241 Graphic data
56984 DEFB 143,241,143,241,143,241,140,49
56992 DEFB 140,49,143,241,143,241,143,241
57000 DEFB 143,241,143,241,128,1,255,255
57008 DEFW 23983 Location in the attribute buffer at 23552: (13,15)
57010 DEFW 26799 Location in the screen buffer at 24576: (13,15)
The next eight bytes are copied to 32948 and define the item graphic.
item11
57012 DEFB 128,192,236,114,40,84,138,135 Item graphic data
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
57020 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
57021 DEFB 128 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
57022 DEFB 68 Horizontal guardian 1: y=13, initial x=9, 1<=x<=9, speed=normal
57023 DEFW 23977
57025 DEFB 104
57026 DEFB 7
57027 DEFB 161
57028 DEFB 169
57029 DEFB 198 Horizontal guardian 2: y=11, initial x=11, 11<=x<=15, speed=slow
57030 DEFW 23915
57032 DEFB 104
57033 DEFB 0
57034 DEFB 107
57035 DEFB 111
57036 DEFB 0,0,0,0,0,0,0 Horizontal guardian 3 (unused)
57043 DEFB 5 Horizontal guardian 4: y=6, initial x=25, 25<=x<=28, speed=normal
57044 DEFW 23769
57046 DEFB 96
57047 DEFB 0
57048 DEFB 217
57049 DEFB 220
57050 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988; the first byte specifies the Kong Beast's initial status, but the second byte is not used.
57051 DEFB 0 Initial status (on the ledge)
57052 DEFB 0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
57053 DEFB 255,0,0,0,0,0,0 Vertical guardian 1 (unused)
57060 DEFB 0,0,0,0,0,0,0 Vertical guardian 2 (unused)
57067 DEFB 0,0,0,0,0,0,0 Vertical guardian 3 (unused)
57074 DEFB 0,0,0,0,0,0,0 Vertical guardian 4 (unused)
The next 7 bytes are unused.
57081 DEFB 0,0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
return_of_the_alien_kong_beast_guardian0 return_of_the_alien_kong_beast_guardian1 return_of_the_alien_kong_beast_guardian2 return_of_the_alien_kong_beast_guardian3 return_of_the_alien_kong_beast_guardian4 return_of_the_alien_kong_beast_guardian5 return_of_the_alien_kong_beast_guardian6 return_of_the_alien_kong_beast_guardian7
57088 DEFB 19,200,29,184,15,240,6,96 Guardian graphic data
57096 DEFB 5,160,2,64,7,224,15,240
57104 DEFB 31,248,51,204,99,198,70,98
57112 DEFB 44,52,6,96,2,64,14,112
57120 DEFB 11,208,13,176,15,240,6,96
57128 DEFB 5,160,2,64,3,192,31,248
57136 DEFB 127,254,231,231,131,193,199,227
57144 DEFB 6,96,12,48,8,16,56,28
57152 DEFB 28,56,6,96,12,48,102,102
57160 DEFB 35,196,103,230,55,236,31,248
57168 DEFB 15,240,7,224,2,64,5,160
57176 DEFB 6,96,15,240,13,176,11,208
57184 DEFB 112,14,24,24,12,48,6,96
57192 DEFB 99,198,39,228,103,230,55,236
57200 DEFB 31,248,15,240,2,64,5,160
57208 DEFB 22,104,15,240,13,176,3,192
57216 DEFB 8,0,5,0,8,128,37,0
57224 DEFB 72,128,33,0,76,0,51,0
57232 DEFB 68,128,68,128,136,64,132,64
57240 DEFB 72,128,72,128,51,0,12,0
57248 DEFB 2,0,17,32,10,64,17,32
57256 DEFB 10,64,16,32,3,0,12,192
57264 DEFB 16,32,16,96,34,144,37,16
57272 DEFB 24,32,16,32,12,192,3,0
57280 DEFB 0,64,2,32,4,72,2,36
57288 DEFB 4,72,2,4,0,200,3,48
57296 DEFB 4,8,4,8,11,68,8,180
57304 DEFB 4,8,4,8,3,48,0,192
57312 DEFB 0,68,1,34,2,68,1,34
57320 DEFB 2,68,1,2,2,48,0,204
57328 DEFB 1,66,1,34,2,17,2,33
57336 DEFB 1,18,1,10,0,204,0,48
Prev: 55296 Up: Map Next: 57344