Prev: 63232 Up: Map Next: 63744
63488: Room 56: West Wing Roof (teleport: 4569)
Used by the routine at 35068.
west_wing_roof
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.
Input
Output
63488 DEFB 0,0,0,0,0,0,0,0 Room layout
63496 DEFB 0,0,0,0,0,0,0,0
63504 DEFB 0,0,0,0,0,0,0,0
63512 DEFB 0,0,0,0,0,0,0,0
63520 DEFB 0,0,0,0,0,0,0,0
63528 DEFB 0,0,0,0,0,0,0,0
63536 DEFB 85,160,0,0,0,0,0,0
63544 DEFB 0,160,48,48,12,12,3,0
63552 DEFB 0,165,85,85,85,85,85,85
63560 DEFB 0,160,0,0,0,0,0,0
63568 DEFB 0,160,0,0,0,0,0,0
63576 DEFB 80,160,0,0,0,0,0,0
63584 DEFB 0,160,0,0,0,0,0,0
63592 DEFB 1,160,0,0,0,0,0,0
63600 DEFB 0,160,0,0,0,0,0,0
63608 DEFB 4,165,85,85,85,85,85,5
The next 32 bytes contain the room name.
63616 DEFM " West Wing Roof " Room name
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
background56 floor56 wall56 nasty56 ramp56 conveyor56
63648 DEFB 0,0,0,0,0,0,0,0,0 Background
63657 DEFB 3,255,170,255,164,164,167,228,60 Floor
63666 DEFB 37,225,132,30,72,225,132,30,72 Wall
63675 DEFB 66,24,60,126,255,175,85,58,16 Nasty
63684 DEFB 7,3,0,12,0,48,0,192,0 Ramp
63693 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.
63702 DEFB 0,0,0,0 Conveyor direction (left), location (x=0, y=0) and length (0)
63706 DEFB 1,252,95,4 Ramp direction (right), location (x=28, y=15) and length (4)
The next byte specifies the border colour.
63710 DEFB 1 Border colour
63711 DEFB 0,0 Unused
The next 8 bytes define the item graphic.
item56
63713 DEFB 0,0,0,10,13,60,242,192 Item graphic
The next 4 bytes specify the rooms to the left, to the right, above and below.
63721 DEFB 57 Room to the left (Above the West Bedroom)
63722 DEFB 37 Room to the right (Orangery)
63723 DEFB 0 Room above (The Off Licence)
63724 DEFB 54 Room below (West  Wing)
63725 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.
63728 DEFB 52,19 Guardian no. 52 (horizontal), base sprite 0, initial x=19 (41376)
63730 DEFB 28,20 Guardian no. 28 (horizontal), base sprite 0, initial x=20 (41184)
63732 DEFB 60,84 Arrow flying left to right at pixel y-coordinate 42 (41440)
63734 DEFB 255,0 Terminator (41976)
63736 DEFB 0,0 Nothing (40960)
63738 DEFB 0,0 Nothing (40960)
63740 DEFB 0,0 Nothing (40960)
63742 DEFB 0,0 Nothing (40960)
Prev: 63232 Up: Map Next: 63744