| Data

54016: Room 19: The Forgotten Abbey (teleport: 1259)

Used by the routine at 35090.
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.
54016 | DEFB 170,170,170,170,170,170,170,170 | Room layout
54024 | DEFB 170,170,170,170,170,170,170,170
54032 | DEFB 160,0,48,0,192,0,192,10
54040 | DEFB 160,0,0,0,0,0,0,10
54048 | DEFB 160,0,0,0,0,0,0,10
54056 | DEFB 168,0,0,0,0,0,0,10
54064 | DEFB 160,0,0,0,0,0,0,10
54072 | DEFB 160,0,0,0,0,0,0,10
54080 | DEFB 160,0,0,0,48,0,0,10
54088 | DEFB 160,0,0,0,0,0,0,26
54096 | DEFB 165,0,0,0,0,0,0,10
54104 | DEFB 80,5,85,85,85,85,85,90
54112 | DEFB 80,0,0,0,0,0,0,10
54120 | DEFB 168,0,0,0,0,0,0,0
54128 | DEFB 170,0,0,0,0,0,0,0
54136 | DEFB 170,170,170,170,170,170,170,170
The next 32 bytes are copied to 32896 and specify the room name.
54144 | DEFM " The Forgotten Abbey " | 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.
54176 | DEFB 0,0,0,0,0,0,0,0,0 | Background
54185 | DEFB 4,255,255,242,36,64,2,0,136 | Floor
54194 | DEFB 29,68,170,17,68,17,170,68,17 | Wall
54203 | DEFB 66,24,60,126,153,153,126,66,60 | Nasty
54212 | DEFB 7,128,64,224,48,168,212,34,137 | Ramp
54221 | DEFB 15,112,85,0,187,170,170,170,170 | Conveyor
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
54230 | DEFB 0 | Direction (left)
54231 | DEFW 24292 | Location in the attribute buffer at 24064: (7,4)
54233 | DEFB 26 | Length
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
54234 | DEFB 0 | Direction (up to the left)
54235 | DEFW 24516 | Location in the attribute buffer at 24064: (14,4)
54237 | DEFB 2 | Length
The next byte is copied to 32990 and specifies the border colour.
54238 | DEFB 1 | Border colour
The next two bytes are copied to 32991, but are not used.
54239 | DEFB 0,0 | Unused
The next eight bytes are copied to 32993 and define the item graphic.
54241 | DEFB 24,36,219,219,36,24,24,24 | Item graphic
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
54249 | DEFB 49 | Room to the left (The Wine Cellar)
54250 | DEFB 5 | Room to the right (The Security Guard)
54251 | DEFB 0 | Room above (The Off Licence)
54252 | DEFB 0 | Room below (The Off Licence)
The next three bytes are copied to 33005, but are not used.
54253 | 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.
54256 | DEFB 74,8 | Guardian no. 74 (horizontal), base sprite 0, initial x=8 (41552)
54258 | DEFB 75,16 | Guardian no. 75 (horizontal), base sprite 0, initial x=16 (41560)
54260 | DEFB 76,11 | Guardian no. 76 (horizontal), base sprite 0, initial x=11 (41568)
54262 | DEFB 77,24 | Guardian no. 77 (horizontal), base sprite 0, initial x=24 (41576)
54264 | DEFB 78,7 | Guardian no. 78 (horizontal), base sprite 0, initial x=7 (41584)
54266 | DEFB 79,12 | Guardian no. 79 (horizontal), base sprite 0, initial x=12 (41592)
54268 | DEFB 80,18 | Guardian no. 80 (horizontal), base sprite 0, initial x=18 (41600)
54270 | DEFB 81,24 | Guardian no. 81 (horizontal), base sprite 0, initial x=24 (41608)