![]() |
Data |
| Prev: 58880 | 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.
|
|||||||||
| 59136 | DEFB 0,0,0,0,0,0,0,10 | Room layout | |||||||
| 59144 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 59152 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 59160 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 59168 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 59176 | DEFB 0,5,0,0,0,0,80,10 | ||||||||
| 59184 | DEFB 0,5,0,0,0,0,80,3 | ||||||||
| 59192 | DEFB 0,5,0,0,0,0,80,3 | ||||||||
| 59200 | DEFB 0,5,0,0,0,0,80,3 | ||||||||
| 59208 | DEFB 0,5,0,0,0,0,80,3 | ||||||||
| 59216 | DEFB 0,42,128,0,0,2,168,3 | ||||||||
| 59224 | DEFB 0,40,128,0,0,2,40,3 | ||||||||
| 59232 | DEFB 0,170,170,170,170,170,170,3 | ||||||||
| 59240 | DEFB 0,170,42,138,162,168,170,3 | ||||||||
| 59248 | DEFB 0,170,170,170,170,170,170,3 | ||||||||
| 59256 | DEFB 170,170,170,170,170,170,170,170 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 59264 | DEFM " Emergency Generator " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 59296 | DEFB 8,0,0,0,0,0,0,0,0 | Background | |||||||
| 59305 | DEFB 47,102,102,102,102,102,102,102,102 | Floor | |||||||
| 59314 | DEFB 51,191,21,0,81,251,81,0,21 | Wall | |||||||
| 59323 | DEFB 13,255,63,3,31,127,31,3,63 | Nasty | |||||||
| 59332 | DEFB 15,3,0,12,0,48,0,192,0 | Ramp | |||||||
| 59341 | DEFB 22,170,84,170,84,40,16,40,16 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 59350 | DEFB 0,105,95,14 | Conveyor direction (left), location (x=9, y=11) and length (14) | |||||||
| 59354 | DEFB 1,82,95,6 | Ramp direction (right), location (x=18, y=10) and length (6) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 59358 | DEFB 2 | Border colour | |||||||
| 59359 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 59361 | DEFB 0,0,0,0,0,0,0,0 | Item graphic (unused) | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 59369 | DEFB 40 | Room to the left (Dr Jones will never believe this) | |||||||
| 59370 | DEFB 38 | Room to the right (Priests' Hole) | |||||||
| 59371 | DEFB 14 | Room above (Rescue Esmerelda) | |||||||
| 59372 | DEFB 0 | Room below (The Off Licence) | |||||||
| 59373 | 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.
|
|||||||||
| 59376 | DEFB 26,8 | Guardian no. 26 (horizontal), base sprite 0, initial x=8 (41168) | |||||||
| 59378 | DEFB 255,0 | Terminator (41976) | |||||||
| 59380 | DEFB 0,0 | Nothing (40960) | |||||||
| 59382 | DEFB 0,0 | Nothing (40960) | |||||||
| 59384 | DEFB 0,0 | Nothing (40960) | |||||||
| 59386 | DEFB 0,0 | Nothing (40960) | |||||||
| 59388 | DEFB 0,0 | Nothing (40960) | |||||||
| 59390 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 58880 | Up: Map |