![]() |
Data |
| Prev: 57088 | 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.
|
|||||||||
| 57344 | DEFB 160,0,10,0,0,0,0,0 | Room layout | |||||||
| 57352 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 57360 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 57368 | DEFB 160,8,0,0,0,0,0,0 | ||||||||
| 57376 | DEFB 128,10,0,0,0,0,0,0 | ||||||||
| 57384 | DEFB 128,26,128,0,0,0,0,0 | ||||||||
| 57392 | DEFB 160,0,32,0,0,0,0,0 | ||||||||
| 57400 | DEFB 160,0,40,0,0,0,0,0 | ||||||||
| 57408 | DEFB 160,74,170,0,0,0,0,0 | ||||||||
| 57416 | DEFB 160,10,170,0,0,0,0,0 | ||||||||
| 57424 | DEFB 160,16,10,0,0,0,0,0 | ||||||||
| 57432 | DEFB 164,0,10,0,0,0,0,0 | ||||||||
| 57440 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 57448 | DEFB 160,4,10,0,0,0,0,0 | ||||||||
| 57456 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 57464 | DEFB 160,0,26,0,0,0,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 57472 | DEFM "Halfway up the East Wall " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 57504 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 57513 | DEFB 5,255,255,90,153,189,90,60,90 | Floor | |||||||
| 57522 | DEFB 15,51,17,68,204,51,17,68,204 | Wall | |||||||
| 57531 | DEFB 255,0,0,0,0,0,0,0,0 | Nasty (unused) | |||||||
| 57540 | DEFB 7,128,192,224,112,184,28,78,199 | Ramp | |||||||
| 57549 | DEFB 7,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.
|
|||||||||
| 57558 | DEFB 1,0,0,0 | Conveyor direction (right), location (x=0, y=0) and length (0) | |||||||
| 57562 | DEFB 0,235,94,6 | Ramp direction (left), location (x=11, y=7) and length (6) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 57566 | DEFB 2 | Border colour | |||||||
| 57567 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 57569 | 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.
|
|||||||||
| 57577 | DEFB 33 | Room to the left (The Bathroom) | |||||||
| 57578 | DEFB 0 | Room to the right (The Off Licence) | |||||||
| 57579 | DEFB 38 | Room above (Priests' Hole) | |||||||
| 57580 | DEFB 26 | Room below (East Wall Base) | |||||||
| 57581 | 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.
|
|||||||||
| 57584 | DEFB 38,4 | Guardian no. 38 (horizontal), base sprite 0, initial x=4 (41264) | |||||||
| 57586 | DEFB 255,0 | Terminator (41976) | |||||||
| 57588 | DEFB 0,0 | Nothing (40960) | |||||||
| 57590 | DEFB 0,0 | Nothing (40960) | |||||||
| 57592 | DEFB 0,0 | Nothing (40960) | |||||||
| 57594 | DEFB 0,0 | Nothing (40960) | |||||||
| 57596 | DEFB 0,0 | Nothing (40960) | |||||||
| 57598 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 57088 | Up: Map |