Prev: 62720 Up: Map Next: 63232
62976: Room 54: West  Wing (teleport: 23569)
Used by the routine at 35090.
west__wing
The first 128 bytes are copied to 32768 and define the room layout. Each bit-pair (bits 7 and 6, 5 and 4, 3 and 2, or 1 and 0 of each byte) determines the type of tile (background, floor, wall or nasty) that will be drawn at the corresponding location.
Input
Output
62976 DEFB 0,160,0,0,0,0,0,0 Room layout
62984 DEFB 0,160,0,0,0,0,0,0
62992 DEFB 0,160,0,0,0,0,0,0
63000 DEFB 85,160,0,0,0,0,0,0
63008 DEFB 0,160,0,0,0,0,0,0
63016 DEFB 0,160,0,0,0,0,0,0
63024 DEFB 0,0,0,0,0,0,0,0
63032 DEFB 0,0,0,0,0,0,0,0
63040 DEFB 0,0,0,0,0,0,0,0
63048 DEFB 0,0,0,0,0,0,0,0
63056 DEFB 0,0,0,0,0,0,0,0
63064 DEFB 0,0,0,0,0,0,0,0
63072 DEFB 85,85,85,80,0,85,85,85
63080 DEFB 0,0,0,0,2,170,170,170
63088 DEFB 0,0,0,0,10,170,170,170
63096 DEFB 0,0,0,0,42,170,170,170
The next 32 bytes are copied to 32896 and specify the room name.
63104 DEFM " West Wing " Room name
The next 54 bytes are copied to 32928 and contain the attributes and graphic data for the tiles used to build the room.
background54 floor54 wall54 nasty54 ramp54 conveyor54
63136 DEFB 0,0,0,0,0,0,0,0,0 Background
63145 DEFB 65,249,255,63,213,170,21,74,132 Floor
63154 DEFB 39,172,174,1,173,173,2,172,232 Wall
63163 DEFB 255,0,0,0,0,0,0,0,0 Nasty (unused)
63172 DEFB 7,3,3,12,12,48,48,192,192 Ramp
63181 DEFB 255,0,0,0,0,0,0,0,0 Conveyor (unused)
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
63190 DEFB 0 Direction (left)
63191 DEFW 0 Location in the attribute buffer at 24064 (unused)
63193 DEFB 0 Length: 0 (there is no conveyor in this room)
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
63194 DEFB 1 Direction (up to the right)
63195 DEFW 24560 Location in the attribute buffer at 24064: (15,16)
63197 DEFB 16 Length
The next byte is copied to 32990 and specifies the border colour.
63198 DEFB 2 Border colour
The next two bytes are copied to 32991, but are not used.
63199 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item54
63201 DEFB 0,0,0,0,0,0,0,0 Item graphic (unused)
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
63209 DEFB 55 Room to the left (West Bedroom)
63210 DEFB 31 Room to the right (Swimming Pool)
63211 DEFB 56 Room above (West Wing Roof)
63212 DEFB 52 Room below (Back Stairway)
The next three bytes are copied to 33005, but are not used.
63213 DEFB 0,0,0 Unused
The next eight pairs of bytes are copied to 33008 and specify the entities (ropes, arrows, guardians) in this room.
63216 DEFB 97,14 Guardian no. 97 (vertical), base sprite 0, x=14 (41736)
63218 DEFB 89,196 Guardian no. 89 (vertical), base sprite 6, x=4 (41672)
63220 DEFB 20,9 Guardian no. 20 (horizontal), base sprite 0, initial x=9 (41120)
63222 DEFB 255,0 Terminator (41976)
63224 DEFB 0,0 Nothing (40960)
63226 DEFB 0,0 Nothing (40960)
63228 DEFB 0,0 Nothing (40960)
63230 DEFB 0,0 Nothing (40960)
Prev: 62720 Up: Map Next: 63232