![]() |
Data |
| Prev: 56064 | 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.
|
|||||||||
| 56320 | DEFB 160,0,0,0,0,0,160,0 | Room layout | |||||||
| 56328 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56336 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56344 | DEFB 160,0,0,0,0,0,160,48 | ||||||||
| 56352 | DEFB 160,0,0,0,0,0,160,252 | ||||||||
| 56360 | DEFB 160,0,0,0,0,0,160,48 | ||||||||
| 56368 | DEFB 160,0,0,0,0,0,160,48 | ||||||||
| 56376 | DEFB 160,0,0,0,0,0,160,48 | ||||||||
| 56384 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56392 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56400 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56408 | DEFB 160,0,0,0,0,0,160,0 | ||||||||
| 56416 | DEFB 160,0,0,0,0,0,0,0 | ||||||||
| 56424 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 56432 | DEFB 0,0,0,0,0,0,153,153 | ||||||||
| 56440 | DEFB 85,85,85,85,85,80,170,170 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 56448 | DEFM " First Landing " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 56480 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 56489 | DEFB 4,255,170,85,128,93,148,93,128 | Floor | |||||||
| 56498 | DEFB 14,34,85,0,85,136,85,0,34 | Wall | |||||||
| 56507 | DEFB 214,126,129,165,153,153,165,129,126 | Nasty | |||||||
| 56516 | DEFB 7,3,3,12,12,48,48,192,192 | Ramp | |||||||
| 56525 | DEFB 255,0,0,0,0,0,0,0,0 | Conveyor (unused) | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 56534 | DEFB 0,0,0,0 | Conveyor direction (left), location (x=0, y=0) and length (0) | |||||||
| 56538 | DEFB 1,201,95,15 | Ramp direction (right), location (x=9, y=14) and length (15) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 56542 | DEFB 3 | Border colour | |||||||
| 56543 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 56545 | DEFB 0,0,0,0,0,0,0,0 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 56553 | DEFB 29 | Room to the left (The Nightmare Room) | |||||||
| 56554 | DEFB 27 | Room to the right (The Chapel) | |||||||
| 56555 | DEFB 34 | Room above (Top Landing) | |||||||
| 56556 | DEFB 22 | Room below (To the Kitchens Main Stairway) | |||||||
| 56557 | 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.
|
|||||||||
| 56560 | DEFB 67,25 | Guardian no. 67 (horizontal), base sprite 0, initial x=25 (41496) | |||||||
| 56562 | DEFB 255,0 | Terminator (41976) | |||||||
| 56564 | DEFB 0,0 | Nothing (40960) | |||||||
| 56566 | DEFB 0,0 | Nothing (40960) | |||||||
| 56568 | DEFB 0,0 | Nothing (40960) | |||||||
| 56570 | DEFB 0,0 | Nothing (40960) | |||||||
| 56572 | DEFB 0,0 | Nothing (40960) | |||||||
| 56574 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 56064 | Up: Map |