Prev: 58368 Up: Map Next: 58880
58624: Room 37: Orangery (teleport: 1369)
Used by the routine at 35090.
orangery
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.
58624 DEFB 0,0,0,0,0,0,0,0 Room layout
58632 DEFB 0,0,0,0,0,0,0,0
58640 DEFB 0,0,0,0,0,1,0,0
58648 DEFB 0,0,0,0,0,0,0,0
58656 DEFB 0,0,0,0,0,0,0,0
58664 DEFB 0,0,0,0,64,0,16,0
58672 DEFB 0,0,0,0,0,4,0,64
58680 DEFB 0,0,0,0,0,0,0,0
58688 DEFB 160,0,0,4,0,0,0,0
58696 DEFB 0,0,0,0,1,0,0,0
58704 DEFB 0,32,0,64,0,0,5,0
58712 DEFB 0,37,0,0,64,0,0,85
58720 DEFB 0,32,0,0,0,0,16,0
58728 DEFB 0,32,1,0,0,0,0,0
58736 DEFB 0,32,0,0,0,64,0,0
58744 DEFB 170,170,0,1,64,0,0,0
The next 32 bytes are copied to 32896 and specify the room name.
58752 DEFM " Orangery " 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.
background37 floor37 wall37 nasty37 ramp37 conveyor37
58784 DEFB 0,0,0,0,0,0,0,0,0 Background
58793 DEFB 4,165,74,36,2,4,0,2,0 Floor
58802 DEFB 22,21,85,85,36,37,85,73,34 Wall
58811 DEFB 6,130,65,62,106,183,25,37,68 Nasty (unused)
58820 DEFB 5,1,2,4,0,16,32,64,128 Ramp
58829 DEFB 38,198,170,168,42,89,36,0,0 Conveyor
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
58838 DEFB 0 Direction (left)
58839 DEFW 24412 Location in the attribute buffer at 24064: (10,28)
58841 DEFB 4 Length
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
58842 DEFB 1 Direction (up to the right)
58843 DEFW 24480 Location in the attribute buffer at 24064: (13,0)
58845 DEFB 14 Length
The next byte is copied to 32990 and specifies the border colour.
58846 DEFB 6 Border colour
The next two bytes are copied to 32991, but are not used.
58847 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item37
58849 DEFB 2,20,46,85,42,69,42,20 Item graphic
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
58857 DEFB 56 Room to the left (West Wing Roof)
58858 DEFB 36 Room to the right (A bit of tree)
58859 DEFB 43 Room above (Conservatory Roof)
58860 DEFB 31 Room below (Swimming Pool)
The next three bytes are copied to 33005, but are not used.
58861 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.
58864 DEFB 97,148 Guardian no. 97 (vertical), base sprite 4, x=20 (41736)
58866 DEFB 27,137 Guardian no. 27 (vertical), base sprite 4, x=9 (41176)
58868 DEFB 60,132 Arrow flying left to right at pixel y-coordinate 66 (41440)
58870 DEFB 255,0 Terminator (41976)
58872 DEFB 0,0 Nothing (40960)
58874 DEFB 0,0 Nothing (40960)
58876 DEFB 0,0 Nothing (40960)
58878 DEFB 0,0 Nothing (40960)
Prev: 58368 Up: Map Next: 58880