![]() |
Data |
| Prev: 58368 | 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.
|
|||||||||
| 58624 | DEFB 0,0,0,0,0,0,0,0 | Room layout | |||||||
| 58632 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 58640 | DEFB 0,0,0,0,0,1,0,0 | ||||||||
| 58648 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 58656 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 58664 | DEFB 0,0,0,0,64,0,16,0 | ||||||||
| 58672 | DEFB 0,0,0,0,0,4,0,64 | ||||||||
| 58680 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 58688 | DEFB 160,0,0,4,0,0,0,0 | ||||||||
| 58696 | DEFB 0,0,0,0,1,0,0,0 | ||||||||
| 58704 | DEFB 0,32,0,64,0,0,5,0 | ||||||||
| 58712 | DEFB 0,37,0,0,64,0,0,85 | ||||||||
| 58720 | DEFB 0,32,0,0,0,0,16,0 | ||||||||
| 58728 | DEFB 0,32,1,0,0,0,0,0 | ||||||||
| 58736 | DEFB 0,32,0,0,0,64,0,0 | ||||||||
| 58744 | DEFB 170,170,0,1,64,0,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 58752 | DEFM " Orangery " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 58784 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 58793 | DEFB 4,165,74,36,2,4,0,2,0 | Floor | |||||||
| 58802 | DEFB 22,21,85,85,36,37,85,73,34 | Wall | |||||||
| 58811 | DEFB 6,130,65,62,106,183,25,37,68 | Nasty (unused) | |||||||
| 58820 | DEFB 5,1,2,4,0,16,32,64,128 | Ramp | |||||||
| 58829 | DEFB 38,198,170,168,42,89,36,0,0 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 58838 | DEFB 0,92,95,4 | Conveyor direction (left), location (x=28, y=10) and length (4) | |||||||
| 58842 | DEFB 1,160,95,14 | Ramp direction (right), location (x=0, y=13) and length (14) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 58846 | DEFB 6 | Border colour | |||||||
| 58847 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 58849 | DEFB 2,20,46,85,42,69,42,20 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 58857 | DEFB 56 | Room to the left (West Wing Roof) | |||||||
| 58858 | DEFB 36 | Room to the right (A bit of tree) | |||||||
| 58859 | DEFB 43 | Room above (Conservatory Roof) | |||||||
| 58860 | DEFB 31 | Room below (Swimming Pool) | |||||||
| 58861 | 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.
|
|||||||||
| 58864 | DEFB 97,148 | Guardian no. 97 (vertical), base sprite 4, x=20 (41736) | |||||||
| 58866 | DEFB 27,137 | Guardian no. 27 (vertical), base sprite 4, x=9 (41176) | |||||||
| 58868 | DEFB 60,132 | Arrow flying left to right at pixel y-coordinate 66 (41440) | |||||||
| 58870 | DEFB 255,0 | Terminator (41976) | |||||||
| 58872 | DEFB 0,0 | Nothing (40960) | |||||||
| 58874 | DEFB 0,0 | Nothing (40960) | |||||||
| 58876 | DEFB 0,0 | Nothing (40960) | |||||||
| 58878 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 58368 | Up: Map |