![]() |
Data |
Prev: 62976 | 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.
|
|||||||||
63232 | DEFB 0,0,4,0,160,64,0,0 | Room layout | |||||||
63240 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
63248 | DEFB 0,0,16,0,160,64,0,0 | ||||||||
63256 | DEFB 0,0,0,0,160,64,0,21 | ||||||||
63264 | DEFB 0,0,4,0,160,64,0,0 | ||||||||
63272 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
63280 | DEFB 0,0,0,16,160,64,0,0 | ||||||||
63288 | DEFB 0,0,0,0,160,64,0,0 | ||||||||
63296 | DEFB 0,0,4,0,0,64,0,0 | ||||||||
63304 | DEFB 0,0,0,0,0,64,0,0 | ||||||||
63312 | DEFB 0,0,16,0,0,64,0,0 | ||||||||
63320 | DEFB 0,0,8,0,0,64,0,0 | ||||||||
63328 | DEFB 0,0,9,85,85,85,85,85 | ||||||||
63336 | DEFB 0,0,10,170,160,0,0,0 | ||||||||
63344 | DEFB 0,0,0,0,160,0,0,0 | ||||||||
63352 | DEFB 0,0,0,0,160,0,0,0 | ||||||||
The next 32 bytes are copied to 32896 and specify the room name.
|
|||||||||
63360 | DEFM " West Bedroom " | 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.
|
|||||||||
63392 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
63401 | DEFB 6,170,85,130,65,130,65,130,65 | Floor | |||||||
63410 | DEFB 13,168,85,168,86,207,46,38,193 | Wall | |||||||
63419 | DEFB 255,0,0,0,0,0,0,0,0 | Nasty (unused) | |||||||
63428 | DEFB 255,0,0,0,0,0,0,0,0 | Ramp (unused) | |||||||
63437 | DEFB 66,165,255,189,170,85,186,69,131 | Conveyor | |||||||
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
|
|||||||||
63446 | DEFB 0 | Direction (left) | |||||||
63447 | DEFW 24186 | Location in the attribute buffer at 24064: (3,26) | |||||||
63449 | DEFB 3 | Length | |||||||
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
|
|||||||||
63450 | DEFB 0 | Direction (up to the left) | |||||||
63451 | DEFW 0 | Location in the attribute buffer at 24064: (0,0) | |||||||
63453 | DEFB 0 | Length | |||||||
The next byte is copied to 32990 and specifies the border colour.
|
|||||||||
63454 | DEFB 5 | Border colour | |||||||
The next two bytes are copied to 32991, but are not used.
|
|||||||||
63455 | DEFB 0,0 | Unused | |||||||
The next eight bytes are copied to 32993 and define the item graphic.
|
|||||||||
63457 | 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.
|
|||||||||
63465 | DEFB 0 | Room to the left (The Off Licence) | |||||||
63466 | DEFB 54 | Room to the right (West Wing) | |||||||
63467 | DEFB 57 | Room above (Above the West Bedroom) | |||||||
63468 | DEFB 53 | Room below (Back Door) | |||||||
The next three bytes are copied to 33005, but are not used.
|
|||||||||
63469 | 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.
|
|||||||||
63472 | DEFB 30,139 | Guardian no. 30 (vertical), base sprite 4, x=11 (41200) | |||||||
63474 | DEFB 51,78 | Guardian no. 51 (vertical), base sprite 2, x=14 (41368) | |||||||
63476 | DEFB 255,0 | Terminator (41976) | |||||||
63478 | DEFB 0,0 | Nothing (40960) | |||||||
63480 | DEFB 0,0 | Nothing (40960) | |||||||
63482 | DEFB 0,0 | Nothing (40960) | |||||||
63484 | DEFB 0,0 | Nothing (40960) | |||||||
63486 | DEFB 0,0 | Nothing (40960) |
Prev: 62976 | Up: Map |