![]() |
Data |
| Prev: 62976 | 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.
|
|||||||||
| 63232 | DEFB 0,0,4,0,160,64,0,0 | Room layout | |||||||
| 63240 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
| 63248 | DEFB 0,0,16,0,160,64,0,0 | ||||||||
| 63256 | DEFB 0,0,0,0,160,64,0,21 | ||||||||
| 63264 | DEFB 0,0,4,0,160,64,0,0 | ||||||||
| 63272 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
| 63280 | DEFB 0,0,0,16,160,64,0,0 | ||||||||
| 63288 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
| 63296 | DEFB 0,0,4,0,0,64,0,0 | ||||||||
| 63304 | DEFB 0,0,0,0,0,64,0,0 | ||||||||
| 63312 | DEFB 0,0,16,0,0,64,0,0 | ||||||||
| 63320 | DEFB 0,0,8,0,0,64,0,0 | ||||||||
| 63328 | DEFB 0,0,9,85,85,85,85,85 | ||||||||
| 63336 | DEFB 0,0,10,170,160,0,0,0 | ||||||||
| 63344 | DEFB 0,0,0,0,160,0,0,0 | ||||||||
| 63352 | DEFB 0,0,0,0,160,0,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 63360 | DEFM " West Bedroom " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 63392 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 63401 | DEFB 6,170,85,130,65,130,65,130,65 | Floor | |||||||
| 63410 | DEFB 13,168,85,168,86,207,46,38,193 | Wall | |||||||
| 63419 | DEFB 255,0,0,0,0,0,0,0,0 | Nasty (unused) | |||||||
| 63428 | DEFB 255,0,0,0,0,0,0,0,0 | Ramp (unused) | |||||||
| 63437 | DEFB 66,165,255,189,170,85,186,69,131 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 63446 | DEFB 0,122,94,3 | Conveyor direction (left), location (x=26, y=3) and length (3) | |||||||
| 63450 | DEFB 0,0,0,0 | Ramp direction (left), location (x=0, y=0) and length (0) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 63454 | DEFB 5 | Border colour | |||||||
| 63455 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 63457 | 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.
|
|||||||||
| 63465 | DEFB 0 | Room to the left (The Off Licence) | |||||||
| 63466 | DEFB 54 | Room to the right (West Wing) | |||||||
| 63467 | DEFB 57 | Room above (Above the West Bedroom) | |||||||
| 63468 | DEFB 53 | Room below (Back Door) | |||||||
| 63469 | 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.
|
|||||||||
| 63472 | DEFB 30,139 | Guardian no. 30 (vertical), base sprite 4, x=11 (41200) | |||||||
| 63474 | DEFB 51,78 | Guardian no. 51 (vertical), base sprite 2, x=14 (41368) | |||||||
| 63476 | DEFB 255,0 | Terminator (41976) | |||||||
| 63478 | DEFB 0,0 | Nothing (40960) | |||||||
| 63480 | DEFB 0,0 | Nothing (40960) | |||||||
| 63482 | DEFB 0,0 | Nothing (40960) | |||||||
| 63484 | DEFB 0,0 | Nothing (40960) | |||||||
| 63486 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 62976 | Up: Map |