Prev: 63232 Up: Map Next: 63744
63488: Room 56: West Wing Roof (teleport: 4569)
Used by the routine at 35090.
west_wing_roof
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.
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 are copied to 32896 and specify the room name.
63616 DEFM " West Wing Roof " 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.
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 four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
63702 DEFB 0 Direction (left)
63703 DEFW 0 Location in the attribute buffer at 24064 (unused)
63705 DEFB 0 Length: 0 (there is no conveyor in this room)
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
63706 DEFB 1 Direction (up to the right)
63707 DEFW 24572 Location in the attribute buffer at 24064: (15,28)
63709 DEFB 4 Length
The next byte is copied to 32990 and specifies the border colour.
63710 DEFB 1 Border colour
The next two bytes are copied to 32991, but are not used.
63711 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item56
63713 DEFB 0,0,0,10,13,60,242,192 Item graphic
The next four bytes are copied to 33001 and 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)
The next three bytes are copied to 33005, but are not used.
63725 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.
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