![]() |
Data |
| Prev: 49664 | 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.
|
|||||||||
| 49920 | DEFB 48,195,8,0,8,0,0,0 | Room layout | |||||||
| 49928 | DEFB 48,195,8,0,10,170,170,170 | ||||||||
| 49936 | DEFB 48,195,8,0,8,0,0,0 | ||||||||
| 49944 | DEFB 48,195,8,1,88,0,0,0 | ||||||||
| 49952 | DEFB 48,195,9,0,10,170,170,170 | ||||||||
| 49960 | DEFB 48,195,8,20,0,0,0,0 | ||||||||
| 49968 | DEFB 48,195,8,0,0,0,0,0 | ||||||||
| 49976 | DEFB 48,195,9,0,26,170,170,170 | ||||||||
| 49984 | DEFB 48,195,8,0,8,0,0,0 | ||||||||
| 49992 | DEFB 48,195,8,0,88,0,0,0 | ||||||||
| 50000 | DEFB 48,3,9,64,8,0,0,0 | ||||||||
| 50008 | DEFB 0,0,8,0,8,0,0,0 | ||||||||
| 50016 | DEFB 0,0,8,0,8,0,0,0 | ||||||||
| 50024 | DEFB 0,0,0,0,80,0,0,0 | ||||||||
| 50032 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 50040 | DEFB 85,85,85,85,85,85,85,85 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 50048 | DEFM " At the Foot of the MegaTree " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 50080 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 50089 | DEFB 4,240,249,191,31,12,16,40,68 | Floor | |||||||
| 50098 | DEFB 22,171,171,173,170,170,174,85,85 | Wall | |||||||
| 50107 | DEFB 6,110,116,56,30,110,116,56,30 | Nasty | |||||||
| 50116 | DEFB 7,192,0,48,0,12,0,3,0 | Ramp | |||||||
| 50125 | 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.
|
|||||||||
| 50134 | DEFB 0,0,0,0 | Conveyor direction (left), location (x=0, y=0) and length (0) | |||||||
| 50138 | DEFB 0,143,95,3 | Ramp direction (left), location (x=15, y=12) and length (3) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 50142 | DEFB 2 | Border colour | |||||||
| 50143 | DEFB 192,160 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 50145 | DEFB 64,160,92,34,33,34,20,8 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 50153 | DEFB 4 | Room to the left (The Drive) | |||||||
| 50154 | DEFB 2 | Room to the right (Under the MegaTree) | |||||||
| 50155 | DEFB 8 | Room above (Inside the MegaTrunk) | |||||||
| 50156 | DEFB 0 | Room below (The Off Licence) | |||||||
| 50157 | 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.
|
|||||||||
| 50160 | DEFB 6,2 | Guardian no. 6 (vertical), base sprite 0, x=2 (41008) | |||||||
| 50162 | DEFB 7,5 | Guardian no. 7 (vertical), base sprite 0, x=5 (41016) | |||||||
| 50164 | DEFB 8,8 | Guardian no. 8 (vertical), base sprite 0, x=8 (41024) | |||||||
| 50166 | DEFB 53,9 | Guardian no. 53 (horizontal), base sprite 0, initial x=9 (41384) | |||||||
| 50168 | DEFB 255,0 | Terminator (41976) | |||||||
| 50170 | DEFB 0,0 | Nothing (40960) | |||||||
| 50172 | DEFB 0,0 | Nothing (40960) | |||||||
| 50174 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 49664 | Up: Map |