![]() |
Data |
| Prev: 55552 | Up: Map |
|
Used by the routine at 35068.
The first 128 bytes are copied to 32768 and 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 are copied to 32896 and specify the room name.
|
|||||||||
| 55936 | DEFM " East Wall Base " | Room name | |||||||
|
The next 54 bytes are copied to 32928 and 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 four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
|
|||||||||
| 56022 | DEFB 0 | Direction (left) | |||||||
| 56023 | DEFW 0 | Location in the attribute buffer at 24064: (0,0) | |||||||
| 56025 | DEFB 0 | Length | |||||||
|
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
|
|||||||||
| 56026 | DEFB 0 | Direction (up to the left) | |||||||
| 56027 | DEFW 0 | Location in the attribute buffer at 24064: (0,0) | |||||||
| 56029 | DEFB 0 | Length | |||||||
|
The next byte is copied to 32990 and specifies the border colour.
|
|||||||||
| 56030 | DEFB 5 | Border colour | |||||||
|
The next two bytes are copied to 32991, but are not used.
|
|||||||||
| 56031 | DEFB 0,0 | Unused | |||||||
|
The next eight bytes are copied to 32993 and define the item graphic.
|
|||||||||
| 56033 | DEFB 0,0,0,0,0,0,0,0 | Item graphic (unused) | |||||||
|
The next four bytes are copied to 33001 and 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) | |||||||
|
The next three bytes are copied to 33005, but are not used.
|
|||||||||
| 56045 | DEFB 0,0,0 | Unused | |||||||
|
The next eight pairs of bytes are copied to 33008 and specify the entities (ropes, arrows, guardians) in this room.
|
|||||||||
| 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 |