Prev: 59392 Up: Map Next: 61440
60416: The Sixteenth Cavern (teleport: 12346)
Used by the routine at 34436.
the_sixteenth_cavern
The first 512 bytes are the attributes that define the layout of the cavern.
60416 DEFB 101,0,0,0,0,0,0,0 Attributes
60424 DEFB 0,0,0,0,0,0,0,0
60432 DEFB 0,0,0,0,0,0,0,0
60440 DEFB 0,0,0,0,0,0,0,101
60448 DEFB 101,0,0,0,0,0,0,0
60456 DEFB 0,0,0,0,0,0,0,0
60464 DEFB 0,0,0,0,0,0,0,0
60472 DEFB 0,0,0,0,0,0,0,101
60480 DEFB 101,0,0,0,0,0,0,0
60488 DEFB 0,0,0,0,0,0,0,0
60496 DEFB 0,0,0,0,0,0,0,0
60504 DEFB 0,0,0,0,0,0,0,101
60512 DEFB 101,0,0,0,0,0,0,0
60520 DEFB 0,0,0,0,0,0,0,0
60528 DEFB 0,0,0,0,0,0,0,0
60536 DEFB 0,0,0,0,0,0,0,101
60544 DEFB 101,0,0,0,0,0,0,0
60552 DEFB 0,0,0,0,0,0,0,0
60560 DEFB 0,0,0,0,0,0,0,0
60568 DEFB 0,0,0,0,0,0,0,101
60576 DEFB 101,66,0,0,0,0,66,0
60584 DEFB 0,0,0,101,0,0,101,0
60592 DEFB 0,0,0,0,0,0,66,66
60600 DEFB 66,0,0,0,0,0,0,101
60608 DEFB 101,0,0,0,0,0,0,0
60616 DEFB 0,0,0,101,0,0,101,101
60624 DEFB 0,0,0,0,0,0,0,0
60632 DEFB 0,0,0,0,0,0,0,101
60640 DEFB 101,0,0,0,66,0,0,0
60648 DEFB 0,0,0,101,0,0,101,101
60656 DEFB 101,0,0,0,0,0,0,0
60664 DEFB 0,66,66,66,66,66,66,101
60672 DEFB 101,0,0,0,0,0,0,0
60680 DEFB 0,0,0,101,0,0,101,101
60688 DEFB 101,101,0,0,0,0,0,0
60696 DEFB 0,0,0,0,0,0,0,101
60704 DEFB 101,2,2,70,70,70,70,70
60712 DEFB 70,70,70,70,70,70,70,70
60720 DEFB 70,70,70,70,70,70,70,70
60728 DEFB 70,70,70,0,0,0,0,101
60736 DEFB 101,0,0,0,0,0,0,0
60744 DEFB 0,0,0,0,0,0,0,0
60752 DEFB 0,0,0,0,0,0,0,0
60760 DEFB 0,0,0,0,0,0,0,101
60768 DEFB 101,0,0,0,0,0,0,0
60776 DEFB 0,0,101,101,66,66,0,0
60784 DEFB 0,0,0,0,0,0,0,0
60792 DEFB 0,0,66,0,0,0,0,101
60800 DEFB 101,66,66,66,66,66,66,66
60808 DEFB 66,66,0,0,0,0,0,0
60816 DEFB 0,0,0,0,0,0,0,0
60824 DEFB 0,0,0,0,0,0,0,101
60832 DEFB 101,0,0,0,0,0,0,0
60840 DEFB 0,0,0,0,0,0,0,0
60848 DEFB 0,0,0,0,66,0,0,0
60856 DEFB 0,0,66,0,0,0,0,101
60864 DEFB 101,0,0,0,0,0,0,0
60872 DEFB 0,0,0,0,0,0,0,0
60880 DEFB 0,0,0,0,0,0,0,4
60888 DEFB 4,4,0,0,0,0,0,101
60896 DEFB 101,66,66,66,66,66,66,66
60904 DEFB 66,66,66,66,66,66,66,66
60912 DEFB 66,66,66,66,66,66,66,66
60920 DEFB 66,66,66,66,66,66,66,101
The next 32 bytes are copied to 32768 and specify the cavern name.
60928 DEFM " The Sixteenth Cavern " 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_15 floor_15 crumbling_floor_15 wall_15 conveyor_15 nasty1_15 nasty2_15 extra_15
60960 DEFB 0,0,0,0,0,0,0,0,0 Background
60969 DEFB 66,255,255,219,110,197,64,0,0 Floor
60978 DEFB 2,255,219,165,36,82,32,8,0 Crumbling floor
60987 DEFB 101,73,249,79,73,255,72,120,207 Wall
60996 DEFB 70,240,102,240,170,0,0,0,0 Conveyor
61005 DEFB 4,68,68,68,68,102,238,238,255 Nasty 1
61014 DEFB 5,126,60,28,24,24,8,8,8 Nasty 2 (unused)
61023 DEFB 6,255,129,129,66,60,16,96,96 Extra (unused)
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
61032 DEFB 208 Pixel y-coordinate * 2 (see 32872)
61033 DEFB 0 Animation frame (see 32873)
61034 DEFB 0 Direction and movement flags: facing right (see 32874)
61035 DEFB 0 Airborne status indicator (see 32875)
61036 DEFW 23970 Location in the attribute buffer at 23552: (13,2) (see 32876)
61038 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.
61039 DEFB 0 Direction (left)
61040 DEFW 30755 Location in the screen buffer at 28672: (9,3)
61042 DEFB 24 Length
The next byte is copied to 32883 and specifies the border colour.
61043 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
61044 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
61045 DEFB 3 Item 1 at (2,30)
61046 DEFW 23646
61048 DEFB 96
61049 DEFB 255
61050 DEFB 4 Item 2 at (7,13)
61051 DEFW 23789
61053 DEFB 96
61054 DEFB 255
61055 DEFB 5 Item 3 at (0,1)
61056 DEFW 23553
61058 DEFB 96
61059 DEFB 255
61060 DEFB 6 Item 4 at (10,17)
61061 DEFW 23889
61063 DEFB 104
61064 DEFB 255
61065 DEFB 255 Item 5 at (5,26) (unused)
61066 DEFW 23738
61068 DEFB 96
61069 DEFB 255
61070 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal15
61071 DEFB 94 Attribute
61072 DEFB 255,255,129,129,129,129,255,255 Graphic data
61080 DEFB 129,129,129,129,255,255,129,129
61088 DEFB 129,129,255,255,129,129,129,129
61096 DEFB 255,255,129,129,129,129,255,255
61104 DEFW 23724 Location in the attribute buffer at 23552: (5,12)
61106 DEFW 24748 Location in the screen buffer at 24576: (5,12)
The next eight bytes are copied to 32948 and define the item graphic.
item15
61108 DEFB 15,9,61,39,244,156,144,240 Item graphic data
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
61116 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
61117 DEFB 248 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
61118 DEFB 68 Horizontal guardian 1: y=13, initial x=9, 1<=x<=18, speed=normal
61119 DEFW 23977
61121 DEFB 104
61122 DEFB 0
61123 DEFB 161
61124 DEFB 178
61125 DEFB 6 Horizontal guardian 2: y=10, initial x=1, 1<=x<=7, speed=normal
61126 DEFW 23873
61128 DEFB 104
61129 DEFB 0
61130 DEFB 65
61131 DEFB 71
61132 DEFB 67 Horizontal guardian 3: y=7, initial x=18, 18<=x<=23, speed=normal
61133 DEFW 23794
61135 DEFB 96
61136 DEFB 0
61137 DEFB 242
61138 DEFB 247
61139 DEFB 133 Horizontal guardian 4: y=5, initial x=26, 25<=x<=29, speed=slow
61140 DEFW 23738
61142 DEFB 96
61143 DEFB 0
61144 DEFB 185
61145 DEFB 189
61146 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
61147 DEFB 0,0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
61149 DEFB 255,0,0,0,0,0,0 Vertical guardian 1 (unused)
61156 DEFB 0,0,0,0,0,0,0 Vertical guardian 2 (unused)
61163 DEFB 0,0,0,0,0,0,0 Vertical guardian 3 (unused)
61170 DEFB 0,0,0,0,0,0,0 Vertical guardian 4 (unused)
The next 7 bytes are unused.
61177 DEFB 0,0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
the_sixteenth_cavern_guardian0 the_sixteenth_cavern_guardian1 the_sixteenth_cavern_guardian2 the_sixteenth_cavern_guardian3 the_sixteenth_cavern_guardian4 the_sixteenth_cavern_guardian5 the_sixteenth_cavern_guardian6 the_sixteenth_cavern_guardian7
61184 DEFB 0,0,8,0,20,0,42,0 Guardian graphic data
61192 DEFB 85,0,74,0,132,0,128,192
61200 DEFB 128,192,65,0,127,128,63,192
61208 DEFB 31,128,15,0,10,128,18,64
61216 DEFB 42,0,21,0,42,0,21,0
61224 DEFB 32,0,32,0,32,0,32,48
61232 DEFB 32,48,16,64,31,224,15,240
61240 DEFB 7,224,3,192,2,160,4,144
61248 DEFB 0,0,16,0,40,0,84,0
61256 DEFB 170,0,81,0,33,0,1,12
61264 DEFB 2,12,2,16,3,248,3,252
61272 DEFB 1,248,0,240,0,168,1,36
61280 DEFB 5,64,10,128,5,64,10,128
61288 DEFB 0,64,0,64,0,64,0,67
61296 DEFB 0,131,0,132,0,254,0,255
61304 DEFB 0,126,0,60,0,42,0,73
61312 DEFB 2,160,1,80,2,160,1,80
61320 DEFB 2,0,2,0,2,0,194,0
61328 DEFB 193,0,33,0,127,0,255,0
61336 DEFB 126,0,60,0,84,0,146,0
61344 DEFB 0,0,0,8,0,20,0,42
61352 DEFB 0,85,0,138,0,132,48,128
61360 DEFB 48,64,8,64,31,192,63,192
61368 DEFB 31,128,15,0,21,0,36,128
61376 DEFB 0,84,0,168,0,84,0,168
61384 DEFB 0,4,0,4,0,4,12,4
61392 DEFB 12,4,2,8,7,248,15,240
61400 DEFB 7,224,3,192,5,64,9,32
61408 DEFB 0,0,0,16,0,40,0,84
61416 DEFB 0,170,0,82,0,33,3,1
61424 DEFB 3,1,0,130,1,254,3,252
61432 DEFB 1,248,0,240,1,80,2,72
Prev: 59392 Up: Map Next: 61440