Prev: 51200 Up: Map Next: 53248
52224: Miner Willy meets the Kong Beast (teleport: 1236)
Used by the routine at 34436.
miner_willy_meets_the_kong_beast
The first 512 bytes are the attributes that define the layout of the cavern.
52224 DEFB 114,0,5,0,0,0,6,0 Attributes
52232 DEFB 0,0,5,0,0,0,0,0
52240 DEFB 0,114,6,0,114,0,0,0
52248 DEFB 0,0,0,0,0,0,0,114
52256 DEFB 114,0,0,0,0,0,0,0
52264 DEFB 0,0,0,0,0,0,0,0
52272 DEFB 0,114,0,0,114,0,0,0
52280 DEFB 0,0,0,0,0,0,0,114
52288 DEFB 114,0,0,0,0,0,0,0
52296 DEFB 0,0,0,0,0,0,0,66
52304 DEFB 66,114,0,0,0,0,0,0
52312 DEFB 0,0,0,0,0,66,66,114
52320 DEFB 114,0,0,0,0,0,0,0
52328 DEFB 0,0,0,0,0,0,0,0
52336 DEFB 0,114,0,0,0,0,0,0
52344 DEFB 0,0,0,0,0,0,0,114
52352 DEFB 114,0,0,0,0,0,0,0
52360 DEFB 0,0,0,0,0,0,0,0
52368 DEFB 0,114,0,0,0,0,0,0
52376 DEFB 0,0,0,0,0,0,0,114
52384 DEFB 114,66,66,66,0,0,0,0
52392 DEFB 0,66,66,66,66,66,66,0
52400 DEFB 0,114,66,66,0,0,0,0
52408 DEFB 0,0,0,0,0,0,0,114
52416 DEFB 114,0,0,0,0,0,0,0
52424 DEFB 0,0,0,0,0,0,0,0
52432 DEFB 0,114,0,0,0,66,66,66
52440 DEFB 66,0,0,0,0,0,66,114
52448 DEFB 114,0,66,66,66,0,0,0
52456 DEFB 0,0,0,0,0,0,0,0
52464 DEFB 0,114,0,0,0,0,0,0
52472 DEFB 0,0,0,66,0,0,0,114
52480 DEFB 114,0,0,0,0,0,0,0
52488 DEFB 66,66,66,0,0,0,0,0
52496 DEFB 0,114,0,0,0,0,0,0
52504 DEFB 0,0,0,0,0,0,0,114
52512 DEFB 114,0,0,0,0,0,0,0
52520 DEFB 0,0,0,0,0,0,0,0
52528 DEFB 0,114,66,66,66,66,66,0
52536 DEFB 0,0,0,0,0,0,0,114
52544 DEFB 114,66,0,0,0,0,0,0
52552 DEFB 0,0,0,0,66,66,66,0
52560 DEFB 0,114,0,0,0,0,0,0
52568 DEFB 0,0,0,66,66,66,66,114
52576 DEFB 114,0,0,0,0,0,0,0
52584 DEFB 0,66,66,0,0,0,0,0
52592 DEFB 0,114,0,0,0,0,0,0
52600 DEFB 0,0,0,0,0,0,0,114
52608 DEFB 114,0,0,0,66,66,0,0
52616 DEFB 0,0,0,0,0,0,0,0
52624 DEFB 0,114,0,0,0,0,66,66
52632 DEFB 66,66,66,0,0,0,0,114
52640 DEFB 114,0,0,0,0,0,0,0
52648 DEFB 0,0,0,68,68,68,114,0
52656 DEFB 0,114,66,66,0,0,0,0
52664 DEFB 0,0,0,0,0,0,0,114
52672 DEFB 114,0,0,0,0,0,0,0
52680 DEFB 0,0,0,0,0,0,114,0
52688 DEFB 0,114,0,0,0,0,0,4
52696 DEFB 0,0,0,0,0,0,0,114
52704 DEFB 114,66,66,66,66,66,66,66
52712 DEFB 66,66,66,66,66,66,66,66
52720 DEFB 66,66,66,66,66,66,66,66
52728 DEFB 66,66,66,66,66,66,66,114
The next 32 bytes are copied to 32768 and specify the cavern name.
52736 DEFM "Miner Willy meets the 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_7 floor_7 crumbling_floor_7 wall_7 conveyor_7 nasty1_7 nasty2_7 extra_7
52768 DEFB 0,0,0,0,0,0,0,0,0 Background
52777 DEFB 66,255,255,219,110,197,64,0,0 Floor
52786 DEFB 2,255,219,165,36,82,32,8,0 Crumbling floor (unused)
52795 DEFB 114,34,255,136,255,34,255,136,255 Wall
52804 DEFB 68,240,102,240,170,0,0,0,0 Conveyor
52813 DEFB 4,68,40,148,81,53,214,88,16 Nasty 1
52822 DEFB 5,126,60,28,24,24,8,8,8 Nasty 2
52831 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.
52840 DEFB 208 Pixel y-coordinate * 2 (see 32872)
52841 DEFB 0 Animation frame (see 32873)
52842 DEFB 0 Direction and movement flags: facing right (see 32874)
52843 DEFB 0 Airborne status indicator (see 32875)
52844 DEFW 23970 Location in the attribute buffer at 23552: (13,2) (see 32876)
52846 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.
52847 DEFB 1 Direction (right)
52848 DEFW 30891 Location in the screen buffer at 28672: (13,11)
52850 DEFB 3 Length
The next byte is copied to 32883 and specifies the border colour.
52851 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
52852 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
52853 DEFB 3 Item 1 at (2,13)
52854 DEFW 23629
52856 DEFB 96
52857 DEFB 255
52858 DEFB 4 Item 2 at (6,14)
52859 DEFW 23758
52861 DEFB 96
52862 DEFB 255
52863 DEFB 5 Item 3 at (8,2)
52864 DEFW 23810
52866 DEFB 104
52867 DEFB 255
52868 DEFB 6 Item 4 at (13,29)
52869 DEFW 23997
52871 DEFB 104
52872 DEFB 255
52873 DEFB 255,255,255,255,255 Item 5 (unused)
52878 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal07
52879 DEFB 14 Attribute
52880 DEFB 255,255,128,1,192,3,160,5 Graphic data
52888 DEFB 144,9,200,19,164,37,146,73
52896 DEFB 201,147,164,37,146,73,201,147
52904 DEFB 164,37,201,147,146,73,255,255
52912 DEFW 23983 Location in the attribute buffer at 23552: (13,15)
52914 DEFW 26799 Location in the screen buffer at 24576: (13,15)
The next eight bytes are copied to 32948 and define the item graphic.
item07
52916 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.
52924 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
52925 DEFB 128 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
52926 DEFB 68 Horizontal guardian 1: y=13, initial x=9, 1<=x<=9, speed=normal
52927 DEFW 23977
52929 DEFB 104
52930 DEFB 7
52931 DEFB 161
52932 DEFB 169
52933 DEFB 195 Horizontal guardian 2: y=11, initial x=11, 11<=x<=15, speed=slow
52934 DEFW 23915
52936 DEFB 104
52937 DEFB 0
52938 DEFB 107
52939 DEFB 111
52940 DEFB 0,0,0,0,0,0,0 Horizontal guardian 3 (unused)
52947 DEFB 5 Horizontal guardian 4: y=7, initial x=18, 18<=x<=21, speed=normal
52948 DEFW 23794
52950 DEFB 96
52951 DEFB 0
52952 DEFB 242
52953 DEFB 245
52954 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.
52955 DEFB 0 Initial status (on the ledge)
52956 DEFB 0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
52957 DEFB 255,0,0,0,0,0,0 Vertical guardian 1 (unused)
52964 DEFB 0,0,0,0,0,0,0 Vertical guardian 2 (unused)
52971 DEFB 0,0,0,0,0,0,0 Vertical guardian 3 (unused)
52978 DEFB 0,0,0,0,0,0,0 Vertical guardian 4 (unused)
The next 7 bytes are unused.
52985 DEFB 0,0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
miner_willy_meets_the_kong_beast_guardian0 miner_willy_meets_the_kong_beast_guardian1 miner_willy_meets_the_kong_beast_guardian2 miner_willy_meets_the_kong_beast_guardian3 miner_willy_meets_the_kong_beast_guardian4 miner_willy_meets_the_kong_beast_guardian5 miner_willy_meets_the_kong_beast_guardian6 miner_willy_meets_the_kong_beast_guardian7
52992 DEFB 19,200,29,184,15,240,6,96 Guardian graphic data
53000 DEFB 5,160,2,64,7,224,15,240
53008 DEFB 31,248,51,204,99,198,70,98
53016 DEFB 44,52,6,96,2,64,14,112
53024 DEFB 11,208,13,176,15,240,6,96
53032 DEFB 5,160,2,64,3,192,31,248
53040 DEFB 127,254,231,231,131,193,199,227
53048 DEFB 6,96,12,48,8,16,56,28
53056 DEFB 28,56,6,96,12,48,102,102
53064 DEFB 35,196,103,230,55,236,31,248
53072 DEFB 15,240,7,224,2,64,5,160
53080 DEFB 6,96,15,240,13,176,11,208
53088 DEFB 112,14,24,24,12,48,6,96
53096 DEFB 99,198,39,228,103,230,55,236
53104 DEFB 31,248,15,240,2,64,5,160
53112 DEFB 22,104,15,240,13,176,3,192
53120 DEFB 8,0,5,0,8,128,37,0
53128 DEFB 72,128,33,0,76,0,51,0
53136 DEFB 68,128,68,128,136,64,132,64
53144 DEFB 72,128,72,128,51,0,12,0
53152 DEFB 2,0,17,32,10,64,17,32
53160 DEFB 10,64,16,32,3,0,12,192
53168 DEFB 16,32,16,96,34,144,37,16
53176 DEFB 24,32,16,32,12,192,3,0
53184 DEFB 0,64,2,32,4,72,2,36
53192 DEFB 4,72,2,4,0,200,3,48
53200 DEFB 4,8,4,8,11,68,8,180
53208 DEFB 4,8,4,8,3,48,0,192
53216 DEFB 0,68,1,34,2,68,1,34
53224 DEFB 2,68,1,2,2,48,0,204
53232 DEFB 1,66,1,34,2,17,2,33
53240 DEFB 1,18,1,10,0,204,0,48
Prev: 51200 Up: Map Next: 53248