Prev: 60416 Up: Map Next: 62464
61440: The Warehouse (teleport: 56)
Used by the routine at 34436.
the_warehouse
The first 512 bytes are the attributes that define the layout of the cavern.
61440 DEFB 22,0,0,0,0,0,0,0 Attributes
61448 DEFB 0,0,0,0,0,0,0,0
61456 DEFB 0,0,0,0,0,0,0,0
61464 DEFB 0,0,0,0,0,22,22,22
61472 DEFB 22,0,0,0,0,0,0,0
61480 DEFB 0,0,0,0,0,0,0,0
61488 DEFB 0,0,0,0,0,0,0,0
61496 DEFB 0,0,0,0,0,0,0,22
61504 DEFB 22,0,0,0,0,0,0,0
61512 DEFB 0,0,0,0,0,0,0,0
61520 DEFB 0,0,0,0,0,0,0,0
61528 DEFB 0,0,0,0,0,0,0,22
61536 DEFB 22,0,0,0,0,0,0,0
61544 DEFB 0,0,0,0,0,0,0,0
61552 DEFB 0,0,0,0,0,0,0,0
61560 DEFB 0,0,0,0,0,0,0,22
61568 DEFB 22,0,0,0,0,0,6,0
61576 DEFB 0,6,0,0,0,6,0,0
61584 DEFB 6,0,0,0,0,0,6,0
61592 DEFB 6,0,0,0,0,0,0,22
61600 DEFB 22,4,4,68,68,68,68,68
61608 DEFB 68,68,0,0,68,68,68,68
61616 DEFB 68,68,68,0,0,68,68,68
61624 DEFB 0,68,68,0,0,4,4,22
61632 DEFB 22,68,68,33,68,68,68,68
61640 DEFB 68,68,0,0,68,68,68,68
61648 DEFB 68,68,68,0,0,68,68,68
61656 DEFB 68,68,68,0,0,68,68,22
61664 DEFB 22,68,68,68,68,68,68,68
61672 DEFB 68,68,0,0,68,68,68,0
61680 DEFB 68,68,68,0,0,68,68,68
61688 DEFB 68,68,33,0,0,68,68,22
61696 DEFB 22,68,68,0,0,68,68,68
61704 DEFB 68,68,0,0,68,68,32,32
61712 DEFB 32,32,32,0,0,68,68,68
61720 DEFB 68,68,68,0,0,68,68,22
61728 DEFB 22,0,68,0,0,68,68,68
61736 DEFB 68,68,0,0,68,68,68,68
61744 DEFB 68,68,68,0,0,68,68,68
61752 DEFB 68,68,68,0,0,68,68,22
61760 DEFB 22,68,68,0,0,68,68,68
61768 DEFB 68,68,0,0,68,68,68,68
61776 DEFB 68,68,68,0,68,68,33,68
61784 DEFB 68,68,68,0,0,68,68,22
61792 DEFB 22,68,68,0,0,68,68,68
61800 DEFB 68,33,0,0,68,68,68,68
61808 DEFB 68,68,68,68,68,68,68,68
61816 DEFB 68,68,0,0,0,68,68,22
61824 DEFB 22,68,68,0,0,68,68,68
61832 DEFB 68,68,0,0,68,68,68,68
61840 DEFB 68,68,68,68,68,68,68,68
61848 DEFB 68,68,68,0,0,68,68,22
61856 DEFB 22,0,0,0,0,0,0,0
61864 DEFB 0,0,0,0,0,0,0,0
61872 DEFB 0,0,0,0,0,0,0,0
61880 DEFB 0,0,0,0,0,0,0,22
61888 DEFB 22,0,0,0,0,0,0,0
61896 DEFB 0,0,0,0,0,0,0,0
61904 DEFB 0,0,0,0,0,0,0,0
61912 DEFB 0,0,0,4,4,4,4,22
61920 DEFB 22,4,4,4,4,4,4,4
61928 DEFB 4,4,4,4,4,4,4,4
61936 DEFB 4,4,4,4,4,4,4,4
61944 DEFB 4,4,4,4,4,4,4,22
The next 32 bytes are copied to 32768 and specify the cavern name.
61952 DEFM " The Warehouse " 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_16 floor_16 crumbling_floor_16 wall_16 conveyor_16 nasty1_16 nasty2_16 extra_16
61984 DEFB 0,0,0,0,0,0,0,0,0 Background
61993 DEFB 4,255,255,219,110,197,64,0,0 Floor
62002 DEFB 68,255,170,85,170,85,170,85,170 Crumbling floor
62011 DEFB 22,255,153,187,255,255,153,187,255 Wall
62020 DEFB 32,240,102,240,102,0,0,0,0 Conveyor
62029 DEFB 6,68,40,148,81,53,214,88,16 Nasty 1
62038 DEFB 33,66,215,254,101,166,125,238,215 Nasty 2
62047 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.
62056 DEFB 48 Pixel y-coordinate * 2 (see 32872)
62057 DEFB 3 Animation frame (see 32873)
62058 DEFB 1 Direction and movement flags: facing left (see 32874)
62059 DEFB 0 Airborne status indicator (see 32875)
62060 DEFW 23649 Location in the attribute buffer at 23552: (3,1) (see 32876)
62062 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.
62063 DEFB 1 Direction (right)
62064 DEFW 30734 Location in the screen buffer at 28672: (8,14)
62066 DEFB 5 Length
The next byte is copied to 32883 and specifies the border colour.
62067 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
62068 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
62069 DEFB 35 Item 1 at (5,24)
62070 DEFW 23736
62072 DEFB 96
62073 DEFB 255
62074 DEFB 36 Item 2 at (7,15)
62075 DEFW 23791
62077 DEFB 96
62078 DEFB 255
62079 DEFB 37 Item 3 at (9,1)
62080 DEFW 23841
62082 DEFB 104
62083 DEFB 255
62084 DEFB 38 Item 4 at (10,19)
62085 DEFW 23891
62087 DEFB 104
62088 DEFB 255
62089 DEFB 35 Item 5 at (11,26)
62090 DEFW 23930
62092 DEFB 104
62093 DEFB 255
62094 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal16
62095 DEFB 76 Attribute
62096 DEFB 255,255,128,1,191,253,160,5 Graphic data
62104 DEFB 165,165,165,165,165,165,165,165
62112 DEFB 165,165,165,165,175,245,165,165
62120 DEFB 165,165,165,165,165,165,255,255
62128 DEFW 23613 Location in the attribute buffer at 23552: (1,29)
62130 DEFW 24637 Location in the screen buffer at 24576: (1,29)
The next eight bytes are copied to 32948 and define the item graphic.
item16
62132 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.
62140 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
62141 DEFB 128 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
62142 DEFB 194 Horizontal guardian 1: y=13, initial x=5, 5<=x<=8, speed=slow
62143 DEFW 23973
62145 DEFB 104
62146 DEFB 0
62147 DEFB 165
62148 DEFB 168
62149 DEFB 5 Horizontal guardian 2: y=13, initial x=12, 12<=x<=25, speed=normal
62150 DEFW 23980
62152 DEFB 104
62153 DEFB 0
62154 DEFB 172
62155 DEFB 185
62156 DEFB 255,0,0,0,0,0,0 Horizontal guardian 3 (unused)
62163 DEFB 0,0,0,0,0,0,0 Horizontal guardian 4 (unused)
62170 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
62171 DEFB 0,0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
62173 DEFB 65 Vertical guardian 1: x=3, initial y=64, 64<=y<102, initial y-increment=2
62174 DEFB 0
62175 DEFB 64
62176 DEFB 3
62177 DEFB 2
62178 DEFB 64
62179 DEFB 102
62180 DEFB 6 Vertical guardian 2: x=10, initial y=64, 3<=y<96, initial y-increment=-3
62181 DEFB 1
62182 DEFB 64
62183 DEFB 10
62184 DEFB 253
62185 DEFB 3
62186 DEFB 96
62187 DEFB 71 Vertical guardian 3: x=19, initial y=48, 0<=y<64, initial y-increment=1
62188 DEFB 2
62189 DEFB 48
62190 DEFB 19
62191 DEFB 1
62192 DEFB 0
62193 DEFB 64
62194 DEFB 67 Vertical guardian 4: x=27, initial y=0, 4<=y<96, initial y-increment=4
62195 DEFB 3
62196 DEFB 0
62197 DEFB 27
62198 DEFB 4
62199 DEFB 4
62200 DEFB 96
62201 DEFB 255 Terminator
The next 6 bytes are unused.
62202 DEFB 0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
the_warehouse_guardian0 the_warehouse_guardian1 the_warehouse_guardian2 the_warehouse_guardian3 the_warehouse_guardian4 the_warehouse_guardian5 the_warehouse_guardian6 the_warehouse_guardian7
62208 DEFB 85,85,255,255,255,255,8,16 Guardian graphic data
62216 DEFB 8,16,8,16,248,31,85,85
62224 DEFB 255,255,255,255,8,16,8,16
62232 DEFB 8,16,88,21,255,255,255,255
62240 DEFB 0,0,85,85,255,255,255,255
62248 DEFB 8,16,248,31,8,16,63,254
62256 DEFB 56,30,8,16,95,245,255,255
62264 DEFB 255,255,0,0,255,255,0,0
62272 DEFB 0,0,0,0,255,255,85,85
62280 DEFB 255,255,255,255,8,16,56,30
62288 DEFB 63,254,8,16,248,31,95,245
62296 DEFB 255,255,255,255,0,0,0,0
62304 DEFB 0,0,85,85,255,255,248,31
62312 DEFB 8,16,85,85,255,255,255,255
62320 DEFB 120,29,248,31,248,31,8,16
62328 DEFB 85,85,255,255,255,255,0,0
62336 DEFB 126,0,153,0,255,0,219,0
62344 DEFB 231,0,126,0,36,0,36,0
62352 DEFB 36,0,66,0,66,0,66,0
62360 DEFB 129,0,129,0,195,0,195,0
62368 DEFB 0,0,31,128,38,64,63,192
62376 DEFB 54,192,57,192,31,128,16,128
62384 DEFB 32,64,32,64,64,32,64,32
62392 DEFB 128,16,128,48,192,48,192,0
62400 DEFB 0,0,0,0,0,0,7,224
62408 DEFB 9,144,15,240,13,176,14,112
62416 DEFB 7,224,8,16,16,8,32,4
62424 DEFB 64,2,128,1,192,3,192,3
62432 DEFB 0,0,1,248,2,100,3,252
62440 DEFB 3,108,3,156,1,248,1,8
62448 DEFB 2,4,2,4,4,2,4,2
62456 DEFB 8,1,12,1,12,3,0,3
Prev: 60416 Up: Map Next: 62464