![]() |
Data |
| Prev: 59136 | 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.
|
|||||||||
| 59392 | DEFB 0,0,0,0,0,0,0,0 | Room layout | |||||||
| 59400 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 59408 | DEFB 0,0,0,234,0,0,0,0 | ||||||||
| 59416 | DEFB 0,0,0,170,160,0,0,0 | ||||||||
| 59424 | DEFB 0,0,0,149,84,0,0,0 | ||||||||
| 59432 | DEFB 0,14,168,213,21,0,0,0 | ||||||||
| 59440 | DEFB 0,10,170,129,170,0,0,0 | ||||||||
| 59448 | DEFB 0,5,80,144,168,32,0,0 | ||||||||
| 59456 | DEFB 80,5,80,129,160,0,0,0 | ||||||||
| 59464 | DEFB 0,10,80,144,160,0,0,0 | ||||||||
| 59472 | DEFB 4,10,80,129,128,64,0,0 | ||||||||
| 59480 | DEFB 0,18,80,144,128,0,0,0 | ||||||||
| 59488 | DEFB 0,66,80,1,128,16,0,16 | ||||||||
| 59496 | DEFB 0,2,0,1,128,0,64,0 | ||||||||
| 59504 | DEFB 0,2,148,1,144,0,0,0 | ||||||||
| 59512 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 59520 | DEFM "Dr Jones will never believe this" | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 59552 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 59561 | DEFB 2,254,85,42,170,85,170,170,255 | Floor | |||||||
| 59570 | DEFB 31,17,68,34,136,17,68,34,136 | Wall | |||||||
| 59579 | DEFB 67,1,4,34,8,17,68,34,136 | Nasty | |||||||
| 59588 | DEFB 5,64,144,36,72,18,36,9,2 | Ramp | |||||||
| 59597 | DEFB 38,165,0,165,0,170,255,255,85 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 59606 | DEFB 0,224,95,32 | Conveyor direction (left), location (x=0, y=15) and length (32) | |||||||
| 59610 | DEFB 0,88,95,5 | Ramp direction (left), location (x=24, y=10) and length (5) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 59614 | DEFB 1 | Border colour | |||||||
| 59615 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 59617 | DEFB 240,240,120,184,76,50,13,3 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 59625 | DEFB 41 | Room to the left (The Attic) | |||||||
| 59626 | DEFB 39 | Room to the right (Emergency Generator) | |||||||
| 59627 | DEFB 16 | Room above (We must perform a Quirkafleeg) | |||||||
| 59628 | DEFB 0 | Room below (The Off Licence) | |||||||
| 59629 | 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.
|
|||||||||
| 59632 | DEFB 27,146 | Guardian no. 27 (vertical), base sprite 4, x=18 (41176) | |||||||
| 59634 | DEFB 11,10 | Guardian no. 11 (vertical), base sprite 0, x=10 (41048) | |||||||
| 59636 | DEFB 255,0 | Terminator (41976) | |||||||
| 59638 | DEFB 0,0 | Nothing (40960) | |||||||
| 59640 | DEFB 0,0 | Nothing (40960) | |||||||
| 59642 | DEFB 0,0 | Nothing (40960) | |||||||
| 59644 | DEFB 0,0 | Nothing (40960) | |||||||
| 59646 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 59136 | Up: Map |