Prev: 54272 Up: Map Next: 54784
54528: Room 21: Ballroom West (teleport: 1359)
Used by the routine at 35090.
ballroom_west
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.
54528 DEFB 0,0,0,0,0,0,0,10 Room layout
54536 DEFB 0,0,0,0,0,0,0,10
54544 DEFB 0,0,0,0,0,0,0,10
54552 DEFB 0,0,0,0,0,0,0,0
54560 DEFB 0,0,0,0,0,0,0,0
54568 DEFB 85,85,85,85,85,85,85,85
54576 DEFB 0,0,160,0,0,0,0,0
54584 DEFB 0,0,160,0,0,0,0,0
54592 DEFB 0,0,160,0,0,0,85,85
54600 DEFB 0,0,160,0,0,0,0,0
54608 DEFB 0,0,160,0,0,0,0,0
54616 DEFB 0,0,160,0,0,0,0,0
54624 DEFB 0,0,0,0,0,0,0,0
54632 DEFB 0,0,0,0,0,0,0,0
54640 DEFB 85,85,85,85,85,85,85,85
54648 DEFB 170,170,170,170,170,170,170,170
The next 32 bytes are copied to 32896 and specify the room name.
54656 DEFM " Ballroom West " 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.
background21 floor21 wall21 nasty21 ramp21 conveyor21
54688 DEFB 0,0,0,0,0,0,0,0,0 Background
54697 DEFB 50,170,168,173,175,32,170,85,85 Floor
54706 DEFB 35,17,34,136,17,68,136,34,68 Wall
54715 DEFB 66,40,84,170,84,168,84,20,46 Nasty (unused)
54724 DEFB 7,192,192,48,176,12,12,3,11 Ramp
54733 DEFB 70,255,255,255,170,85,24,24,24 Conveyor
The next four bytes are copied to 32982 and specify the direction, location and length of the conveyor.
54742 DEFB 1 Direction (right)
54743 DEFW 24496 Location in the attribute buffer at 24064: (13,16)
54745 DEFB 12 Length
The next four bytes are copied to 32986 and specify the direction, location and length of the ramp.
54746 DEFB 0 Direction (up to the left)
54747 DEFW 24483 Location in the attribute buffer at 24064: (13,3)
54749 DEFB 4 Length
The next byte is copied to 32990 and specifies the border colour.
54750 DEFB 1 Border colour
The next two bytes are copied to 32991, but are not used.
54751 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item21
54753 DEFB 4,4,174,174,162,66,66,238 Item graphic
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
54761 DEFB 22 Room to the left (To the Kitchens    Main Stairway)
54762 DEFB 20 Room to the right (Ballroom East)
54763 DEFB 27 Room above (The Chapel)
54764 DEFB 0 Room below (The Off Licence)
The next three bytes are copied to 33005, but are not used.
54765 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.
54768 DEFB 33,24 Guardian no. 33 (horizontal), base sprite 0, initial x=24 (41224)
54770 DEFB 40,14 Guardian no. 40 (vertical), base sprite 0, x=14 (41280)
54772 DEFB 42,6 Guardian no. 42 (vertical), base sprite 0, x=6 (41296)
54774 DEFB 255,0 Terminator (41976)
54776 DEFB 0,0 Nothing (40960)
54778 DEFB 0,0 Nothing (40960)
54780 DEFB 0,0 Nothing (40960)
54782 DEFB 0,0 Nothing (40960)
Prev: 54272 Up: Map Next: 54784