![]() |
Data |
| Prev: 55808 | 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.
|
|||||||||
| 56064 | DEFB 0,0,0,0,0,0,0,10 | Room layout | |||||||
| 56072 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56080 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56088 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56096 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56104 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56112 | DEFB 0,0,0,0,0,0,0,10 | ||||||||
| 56120 | DEFB 0,0,0,0,0,0,128,26 | ||||||||
| 56128 | DEFB 0,0,0,0,0,2,128,26 | ||||||||
| 56136 | DEFB 0,0,0,0,0,10,128,26 | ||||||||
| 56144 | DEFB 0,0,0,0,0,42,128,26 | ||||||||
| 56152 | DEFB 0,0,0,0,0,170,128,26 | ||||||||
| 56160 | DEFB 0,0,0,0,0,0,0,26 | ||||||||
| 56168 | DEFB 0,0,0,0,0,0,0,26 | ||||||||
| 56176 | DEFB 170,170,170,170,170,170,160,170 | ||||||||
| 56184 | DEFB 170,170,170,170,170,170,160,170 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 56192 | DEFM " The Chapel " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 56224 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 56233 | DEFB 13,73,73,73,73,73,73,73,73 | Floor | |||||||
| 56242 | DEFB 22,168,37,0,37,168,64,221,64 | Wall | |||||||
| 56251 | DEFB 66,40,84,170,85,170,40,40,40 | Nasty (unused) | |||||||
| 56260 | DEFB 7,3,0,12,0,48,0,192,0 | Ramp | |||||||
| 56269 | DEFB 7,0,10,189,255,0,170,85,170 | Conveyor (unused) | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 56278 | DEFB 0,0,0,0 | Conveyor direction (left), location (x=0, y=0) and length (0) | |||||||
| 56282 | DEFB 1,177,95,7 | Ramp direction (right), location (x=17, y=13) and length (7) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 56286 | DEFB 2 | Border colour | |||||||
| 56287 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 56289 | DEFB 16,48,56,108,198,198,108,16 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 56297 | DEFB 28 | Room to the left (First Landing) | |||||||
| 56298 | DEFB 26 | Room to the right (East Wall Base) | |||||||
| 56299 | DEFB 33 | Room above (The Bathroom) | |||||||
| 56300 | DEFB 21 | Room below (Ballroom West) | |||||||
| 56301 | 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.
|
|||||||||
| 56304 | DEFB 16,153 | Guardian no. 16 (vertical), base sprite 4, x=25 (41088) | |||||||
| 56306 | DEFB 17,187 | Guardian no. 17 (vertical), base sprite 5, x=27 (41096) | |||||||
| 56308 | DEFB 18,218 | Guardian no. 18 (vertical), base sprite 6, x=26 (41104) | |||||||
| 56310 | DEFB 103,12 | Guardian no. 103 (horizontal), base sprite 0, initial x=12 (41784) | |||||||
| 56312 | DEFB 100,6 | Guardian no. 100 (vertical), base sprite 0, x=6 (41760) | |||||||
| 56314 | DEFB 102,145 | Guardian no. 102 (vertical), base sprite 4, x=17 (41776) | |||||||
| 56316 | DEFB 255,0 | Terminator (41976) | |||||||
| 56318 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 55808 | Up: Map |