![]() |
Data |
| Prev: 55552 | 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.
|
|||||||||
| 55808 | DEFB 160,0,10,0,0,0,0,0 | Room layout | |||||||
| 55816 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 55824 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 55832 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 55840 | DEFB 160,0,26,0,0,0,0,0 | ||||||||
| 55848 | DEFB 160,4,10,0,0,0,0,0 | ||||||||
| 55856 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 55864 | DEFB 164,0,10,0,0,0,0,0 | ||||||||
| 55872 | DEFB 160,4,0,0,0,0,0,0 | ||||||||
| 55880 | DEFB 160,0,0,0,0,0,0,0 | ||||||||
| 55888 | DEFB 160,0,26,0,0,0,0,0 | ||||||||
| 55896 | DEFB 160,16,10,0,0,0,0,0 | ||||||||
| 55904 | DEFB 160,0,10,0,0,0,0,0 | ||||||||
| 55912 | DEFB 160,4,10,0,0,0,0,0 | ||||||||
| 55920 | DEFB 160,0,26,0,0,0,0,0 | ||||||||
| 55928 | DEFB 160,64,10,0,0,0,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 55936 | DEFM " East Wall Base " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 55968 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 55977 | DEFB 5,91,164,164,85,10,0,0,0 | Floor | |||||||
| 55986 | DEFB 38,89,37,38,217,41,214,84,150 | Wall | |||||||
| 55995 | DEFB 255,0,0,0,0,0,0,0,0 | Nasty (unused) | |||||||
| 56004 | DEFB 255,0,0,0,0,0,0,0,0 | Ramp (unused) | |||||||
| 56013 | 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.
|
|||||||||
| 56022 | DEFB 0,0,0,0 | Conveyor direction (left), location (x=0, y=0) and length (0) | |||||||
| 56026 | DEFB 0,0,0,0 | Ramp direction (left), location (x=0, y=0) and length (0) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 56030 | DEFB 5 | Border colour | |||||||
| 56031 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 56033 | 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.
|
|||||||||
| 56041 | DEFB 27 | Room to the left (The Chapel) | |||||||
| 56042 | DEFB 0 | Room to the right (The Off Licence) | |||||||
| 56043 | DEFB 32 | Room above (Halfway up the East Wall) | |||||||
| 56044 | DEFB 20 | Room below (Ballroom East) | |||||||
| 56045 | 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.
|
|||||||||
| 56048 | DEFB 96,3 | Guardian no. 96 (vertical), base sprite 0, x=3 (41728) | |||||||
| 56050 | DEFB 45,39 | Guardian no. 45 (vertical), base sprite 1, x=7 (41320) | |||||||
| 56052 | DEFB 255,0 | Terminator (41976) | |||||||
| 56054 | DEFB 0,0 | Nothing (40960) | |||||||
| 56056 | DEFB 0,0 | Nothing (40960) | |||||||
| 56058 | DEFB 0,0 | Nothing (40960) | |||||||
| 56060 | DEFB 0,0 | Nothing (40960) | |||||||
| 56062 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 55552 | Up: Map |