Prev: 62464 Up: Map Next: 64512
63488: Solar Power Generator (teleport: 256)
Used by the routine at 34436.
solar_power_generator
The first 512 bytes are the attributes that define the layout of the cavern.
63488 DEFB 22,22,22,36,36,36,36,36 Attributes
63496 DEFB 36,36,36,36,36,36,36,36
63504 DEFB 36,36,36,36,36,36,36,36
63512 DEFB 36,36,36,36,36,36,36,22
63520 DEFB 22,36,36,36,36,36,36,36
63528 DEFB 36,36,36,36,36,36,36,36
63536 DEFB 36,36,36,36,36,36,36,36
63544 DEFB 36,36,36,36,36,36,36,22
63552 DEFB 22,36,36,36,36,36,36,36
63560 DEFB 36,36,36,36,36,36,36,36
63568 DEFB 36,36,36,36,36,36,36,36
63576 DEFB 36,36,36,36,36,36,36,22
63584 DEFB 22,36,36,36,36,36,36,36
63592 DEFB 36,36,36,36,36,36,36,36
63600 DEFB 36,36,36,36,36,36,36,36
63608 DEFB 36,36,36,36,36,36,36,22
63616 DEFB 22,36,36,36,36,36,36,36
63624 DEFB 36,36,36,36,36,36,36,36
63632 DEFB 36,36,36,36,36,36,36,36
63640 DEFB 36,36,36,36,36,36,36,22
63648 DEFB 22,36,36,32,32,36,36,36
63656 DEFB 36,32,32,32,32,32,32,36
63664 DEFB 36,36,36,36,36,36,36,36
63672 DEFB 32,32,32,32,32,32,32,22
63680 DEFB 22,36,36,36,36,36,36,36
63688 DEFB 36,36,36,36,36,36,36,36
63696 DEFB 36,36,36,36,36,36,36,36
63704 DEFB 36,36,36,36,36,36,36,22
63712 DEFB 22,36,36,36,36,36,36,36
63720 DEFB 36,36,36,36,36,36,36,36
63728 DEFB 36,36,36,32,32,32,36,36
63736 DEFB 36,36,36,36,36,36,36,22
63744 DEFB 22,32,32,36,36,36,36,36
63752 DEFB 36,36,36,36,36,32,32,32
63760 DEFB 36,36,36,36,36,36,36,36
63768 DEFB 32,32,32,32,32,32,32,22
63776 DEFB 22,36,36,36,36,36,36,36
63784 DEFB 36,36,36,36,36,36,36,36
63792 DEFB 36,36,36,36,36,36,36,36
63800 DEFB 36,36,36,36,36,36,36,22
63808 DEFB 22,36,36,36,36,36,36,36
63816 DEFB 36,36,36,36,36,36,36,36
63824 DEFB 36,36,36,32,32,36,36,36
63832 DEFB 36,36,36,36,36,36,36,22
63840 DEFB 22,32,32,32,32,36,36,36
63848 DEFB 36,36,36,36,36,36,36,36
63856 DEFB 36,36,36,36,36,36,36,36
63864 DEFB 32,32,32,32,32,32,32,22
63872 DEFB 22,36,36,36,36,36,36,38
63880 DEFB 38,38,38,36,36,36,32,32
63888 DEFB 32,32,32,36,36,36,36,36
63896 DEFB 36,36,36,36,36,36,36,22
63904 DEFB 22,36,36,36,36,36,36,36
63912 DEFB 36,36,36,36,36,36,36,36
63920 DEFB 36,36,36,36,36,36,36,36
63928 DEFB 36,36,36,36,36,36,36,22
63936 DEFB 22,22,22,36,36,36,36,36
63944 DEFB 36,36,36,36,36,36,36,36
63952 DEFB 36,36,36,36,36,36,36,36
63960 DEFB 36,36,36,36,36,36,36,22
63968 DEFB 22,22,22,32,32,32,32,32
63976 DEFB 32,32,32,32,32,32,32,32
63984 DEFB 32,32,32,32,32,32,32,22
63992 DEFB 32,32,32,32,32,32,32,22
The next 32 bytes are copied to 32768 and specify the cavern name.
64000 DEFM " Solar Power Generator " 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_18 floor_18 crumbling_floor_18 wall_18 conveyor_18 nasty1_18 nasty2_18 extra_18
64032 DEFB 36,0,0,0,0,0,0,0,0 Background
64041 DEFB 32,255,255,219,110,197,64,0,0 Floor
64050 DEFB 2,255,219,165,36,82,32,8,0 Crumbling floor (unused)
64059 DEFB 22,34,255,136,255,34,255,136,255 Wall
64068 DEFB 38,240,102,240,102,0,153,255,0 Conveyor
64077 DEFB 68,68,40,148,81,53,214,88,16 Nasty 1 (unused)
64086 DEFB 5,126,60,28,24,24,8,8,8 Nasty 2 (unused)
64095 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.
64104 DEFB 160 Pixel y-coordinate * 2 (see 32872)
64105 DEFB 0 Animation frame (see 32873)
64106 DEFB 0 Direction and movement flags: facing right (see 32874)
64107 DEFB 0 Airborne status indicator (see 32875)
64108 DEFW 23886 Location in the attribute buffer at 23552: (10,14) (see 32876)
64110 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.
64111 DEFB 0 Direction (left)
64112 DEFW 30855 Location in the screen buffer at 28672: (12,7)
64114 DEFB 4 Length
The next byte is copied to 32883 and specifies the border colour.
64115 DEFB 3 Border colour
The next byte is copied to 32884, but is not used.
64116 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
64117 DEFB 35 Item 1 at (1,30)
64118 DEFW 23614
64120 DEFB 96
64121 DEFB 255
64122 DEFB 36 Item 2 at (5,1)
64123 DEFW 23713
64125 DEFB 96
64126 DEFB 255
64127 DEFB 37 Item 3 at (12,30)
64128 DEFW 23966
64130 DEFB 104
64131 DEFB 255
64132 DEFB 255,255,255,255,255 Item 4 (unused)
64137 DEFB 0,255,255,255,255 Item 5 (unused)
64142 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal18
64143 DEFB 78 Attribute
64144 DEFB 255,255,128,1,191,253,160,5 Graphic data
64152 DEFB 175,245,168,21,171,213,170,85
64160 DEFB 170,85,171,213,168,21,175,245
64168 DEFB 160,5,191,253,128,1,255,255
64176 DEFW 23585 Location in the attribute buffer at 23552: (1,1)
64178 DEFW 24609 Location in the screen buffer at 24576: (1,1)
The next eight bytes are copied to 32948 and define the item graphic.
item18
64180 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.
64188 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
64189 DEFB 240 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
64190 DEFB 38 Horizontal guardian 1: y=3, initial x=24, 23<=x<=29, speed=normal
64191 DEFW 23672
64193 DEFB 96
64194 DEFB 0
64195 DEFB 119
64196 DEFB 125
64197 DEFB 33 Horizontal guardian 2: y=6, initial x=28, 22<=x<=29, speed=normal
64198 DEFW 23772
64200 DEFB 96
64201 DEFB 0
64202 DEFB 214
64203 DEFB 221
64204 DEFB 162 Horizontal guardian 3: y=9, initial x=29, 23<=x<=29, speed=slow
64205 DEFW 23869
64207 DEFB 104
64208 DEFB 7
64209 DEFB 55
64210 DEFB 61
64211 DEFB 38 Horizontal guardian 4: y=13, initial x=16, 13<=x<=29, speed=normal
64212 DEFW 23984
64214 DEFB 104
64215 DEFB 0
64216 DEFB 173
64217 DEFB 189
64218 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
64219 DEFB 0,0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
64221 DEFB 38 Vertical guardian 1: x=5, initial y=64, 2<=y<102, initial y-increment=3
64222 DEFB 0
64223 DEFB 64
64224 DEFB 5
64225 DEFB 3
64226 DEFB 2
64227 DEFB 102
64228 DEFB 34 Vertical guardian 2: x=11, initial y=56, 48<=y<102, initial y-increment=-2
64229 DEFB 1
64230 DEFB 56
64231 DEFB 11
64232 DEFB 254
64233 DEFB 48
64234 DEFB 102
64235 DEFB 33 Vertical guardian 3: x=16, initial y=80, 4<=y<80, initial y-increment=1
64236 DEFB 2
64237 DEFB 80
64238 DEFB 16
64239 DEFB 1
64240 DEFB 4
64241 DEFB 80
64242 DEFB 255,0,0,0,0,0,0 Vertical guardian 4 (unused)
The next 7 bytes are unused.
64249 DEFB 0,0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
solar_power_generator_guardian0 solar_power_generator_guardian1 solar_power_generator_guardian2 solar_power_generator_guardian3 solar_power_generator_guardian4 solar_power_generator_guardian5 solar_power_generator_guardian6 solar_power_generator_guardian7
64256 DEFB 3,64,15,112,63,60,63,76 Guardian graphic data
64264 DEFB 95,102,95,118,159,127,0,127
64272 DEFB 142,0,142,255,70,254,64,242
64280 DEFB 32,4,48,12,12,48,2,192
64288 DEFB 3,192,15,240,63,172,63,204
64296 DEFB 95,198,71,182,153,191,158,127
64304 DEFB 142,127,141,159,69,230,65,242
64312 DEFB 32,4,48,12,12,48,3,192
64320 DEFB 3,192,15,240,47,188,55,200
64328 DEFB 91,230,93,230,158,223,158,63
64336 DEFB 140,127,139,127,71,190,65,194
64344 DEFB 0,4,48,4,12,48,3,192
64352 DEFB 3,192,11,240,61,188,61,204
64360 DEFB 93,230,94,244,158,227,158,31
64368 DEFB 136,127,135,127,7,126,65,178
64376 DEFB 32,4,48,12,12,16,3,192
64384 DEFB 6,0,12,0,24,0,56,0
64392 DEFB 116,0,202,128,133,192,3,192
64400 DEFB 6,64,206,192,216,64,255,192
64408 DEFB 226,0,200,128,213,64,8,128
64416 DEFB 1,128,3,0,6,0,14,0
64424 DEFB 29,0,50,160,33,112,0,240
64432 DEFB 1,144,99,176,102,16,127,240
64440 DEFB 120,128,98,32,101,80,2,32
64448 DEFB 0,96,0,192,1,128,3,128
64456 DEFB 7,64,12,168,8,92,0,60
64464 DEFB 0,100,48,236,49,132,63,252
64472 DEFB 62,32,48,136,49,84,0,136
64480 DEFB 0,24,0,48,0,96,0,224
64488 DEFB 1,208,3,42,2,23,0,15
64496 DEFB 0,25,6,59,6,97,7,255
64504 DEFB 7,136,6,34,6,85,0,34
Prev: 62464 Up: Map Next: 64512