![]() |
Data |
| Prev: 53760 | Up: Map |
|
Used by the routine at 35068.
The first 128 bytes 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 contain the room name.
|
|||||||||
| 54144 | DEFM " The Forgotten Abbey " | Room name | |||||||
|
The next 54 bytes 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 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 54230 | DEFB 0,228,94,26 | Conveyor direction (left), location (x=4, y=7) and length (26) | |||||||
| 54234 | DEFB 0,196,95,2 | Ramp direction (left), location (x=4, y=14) and length (2) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 54238 | DEFB 1 | Border colour | |||||||
| 54239 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 54241 | DEFB 24,36,219,219,36,24,24,24 | Item graphic | |||||||
|
The next 4 bytes 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) | |||||||
| 54253 | DEFB 0,0,0 | Unused | |||||||
|
The next 8 pairs of bytes specify the entities (ropes, arrows, guardians) in this room. The first byte in each pair identifies one of the entity definitions at 40960. The meaning of the second byte depends on the entity type: it determines the base sprite index and x-coordinate of a guardian, the y-coordinate of an arrow, or the x-coordinate of the top of a rope.
|
|||||||||
| 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) | |||||||
| Prev: 53760 | Up: Map |