![]() |
Data |
| Prev: 43776 | 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.
|
|||||||||
| 49152 | DEFB 0,0,0,0,0,0,0,0 | Room layout | |||||||
| 49160 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 49168 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 49176 | DEFB 0,0,0,170,170,170,170,170 | ||||||||
| 49184 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49192 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49200 | DEFB 0,0,0,140,0,0,0,2 | ||||||||
| 49208 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49216 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49224 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49232 | DEFB 0,0,0,128,0,0,0,2 | ||||||||
| 49240 | DEFB 0,0,0,170,0,0,2,170 | ||||||||
| 49248 | DEFB 0,0,0,0,0,0,0,2 | ||||||||
| 49256 | DEFB 0,0,0,0,0,0,0,2 | ||||||||
| 49264 | DEFB 0,0,0,0,0,0,0,2 | ||||||||
| 49272 | DEFB 85,85,85,85,85,85,85,85 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 49280 | DEFM " The Off Licence " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 49312 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 49321 | DEFB 68,255,222,108,136,18,64,4,0 | Floor | |||||||
| 49330 | DEFB 22,34,255,136,255,34,255,136,255 | Wall | |||||||
| 49339 | DEFB 5,248,136,158,189,189,158,136,248 | Nasty | |||||||
| 49348 | DEFB 7,3,0,12,0,48,0,192,0 | Ramp | |||||||
| 49357 | DEFB 67,51,255,51,0,255,0,170,0 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 49366 | DEFB 0,51,95,12 | Conveyor direction (left), location (x=19, y=9) and length (12) | |||||||
| 49370 | DEFB 1,215,95,4 | Ramp direction (right), location (x=23, y=14) and length (4) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 49374 | DEFB 5 | Border colour | |||||||
| 49375 | DEFB 0,160 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 49377 | DEFB 24,24,60,126,98,98,98,126 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 49385 | DEFB 1 | Room to the left (The Bridge) | |||||||
| 49386 | DEFB 0 | Room to the right (The Off Licence) | |||||||
| 49387 | DEFB 0 | Room above (The Off Licence) | |||||||
| 49388 | DEFB 0 | Room below (The Off Licence) | |||||||
| 49389 | 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.
|
|||||||||
| 49392 | DEFB 10,138 | Guardian no. 10 (vertical), base sprite 4, x=10 (41040) | |||||||
| 49394 | DEFB 12,29 | Guardian no. 12 (horizontal), base sprite 0, initial x=29 (41056) | |||||||
| 49396 | DEFB 44,39 | Guardian no. 44 (vertical), base sprite 1, x=7 (41312) | |||||||
| 49398 | DEFB 255,0 | Terminator (41976) | |||||||
| 49400 | DEFB 0,0 | Nothing (40960) | |||||||
| 49402 | DEFB 0,0 | Nothing (40960) | |||||||
| 49404 | DEFB 0,0 | Nothing (40960) | |||||||
| 49406 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 43776 | Up: Map |