Prev: 57344 Up: Map Next: 57856
57600: Room 33: The Bathroom (teleport: 169)
Used by the routine at 35090.
the_bathroom
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.
57600 DEFB 160,0,0,0,0,0,0,10 Room layout
57608 DEFB 160,0,0,0,0,0,0,10
57616 DEFB 160,0,0,0,0,0,0,10
57624 DEFB 0,0,0,0,0,0,0,10
57632 DEFB 0,0,0,0,0,0,0,10
57640 DEFB 85,85,85,80,37,85,85,90
57648 DEFB 128,0,0,0,32,0,0,10
57656 DEFB 128,0,0,0,32,0,0,10
57664 DEFB 128,0,0,0,32,0,0,10
57672 DEFB 128,0,0,0,32,0,0,10
57680 DEFB 128,0,0,0,32,0,0,10
57688 DEFB 128,0,0,0,32,0,0,10
57696 DEFB 128,0,0,0,32,0,0,10
57704 DEFB 0,5,64,0,0,0,0,10
57712 DEFB 0,0,0,0,0,0,0,10
57720 DEFB 85,85,85,85,85,85,85,90
The next 32 bytes are copied to 32896 and specify the room name.
57728 DEFM " The Bathroom " 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.
background33 floor33 wall33 nasty33 ramp33 conveyor33
57760 DEFB 0,0,0,0,0,0,0,0,0 Background
57769 DEFB 22,0,64,9,100,146,45,150,255 Floor
57778 DEFB 14,31,170,0,85,248,85,0,170 Wall
57787 DEFB 255,0,0,0,0,0,0,0,0 Nasty (unused)
57796 DEFB 7,3,0,12,0,48,0,192,0 Ramp
57805 DEFB 61,165,0,0,0,0,0,0,255 Conveyor
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
57814 DEFB 0 Direction (left)
57815 DEFW 24532 Location in the attribute buffer at 24064: (14,20)
57817 DEFB 4 Length
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
57818 DEFB 1 Direction (up to the right)
57819 DEFW 24457 Location in the attribute buffer at 24064: (12,9)
57821 DEFB 8 Length
The next byte is copied to 32990 and specifies the border colour.
57822 DEFB 2 Border colour
The next two bytes are copied to 32991, but are not used.
57823 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item33
57825 DEFB 31,4,10,119,135,177,170,10 Item graphic
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
57833 DEFB 34 Room to the left (Top Landing)
57834 DEFB 32 Room to the right (Halfway up the East Wall)
57835 DEFB 39 Room above (Emergency Generator)
57836 DEFB 27 Room below (The Chapel)
The next three bytes are copied to 33005, but are not used.
57837 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.
57840 DEFB 59,16 Guardian no. 59 (horizontal), base sprite 0, initial x=16 (41432)
57842 DEFB 255,0 Terminator (41976)
57844 DEFB 0,0 Nothing (40960)
57846 DEFB 0,0 Nothing (40960)
57848 DEFB 0,0 Nothing (40960)
57850 DEFB 0,0 Nothing (40960)
57852 DEFB 0,0 Nothing (40960)
57854 DEFB 0,0 Nothing (40960)
Prev: 57344 Up: Map Next: 57856