Prev: 63488 Up: Map Next: 64000
63744: Room 57: Above the West Bedroom (teleport: 14569)
Used by the routine at 35090.
above_the_west_bedroom
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
63744 DEFB 0,0,0,0,0,0,0,0 Room layout
63752 DEFB 0,0,0,0,0,0,0,0
63760 DEFB 0,0,0,0,0,0,0,0
63768 DEFB 0,0,0,0,0,0,0,0
63776 DEFB 0,0,0,0,0,0,0,0
63784 DEFB 0,0,0,0,0,0,0,0
63792 DEFB 0,0,0,0,0,0,21,85
63800 DEFB 0,0,0,0,0,0,208,0
63808 DEFB 0,0,0,0,0,3,16,0
63816 DEFB 0,0,0,0,0,12,16,0
63824 DEFB 0,0,0,0,0,48,16,0
63832 DEFB 0,0,0,0,1,85,85,85
63840 DEFB 0,0,0,0,3,0,0,0
63848 DEFB 0,0,4,0,12,0,0,0
63856 DEFB 0,0,0,0,160,0,0,0
63864 DEFB 0,0,16,0,160,85,85,0
The next 32 bytes are copied to 32896 and specify the room name.
63872 DEFM " Above the West Bedroom " 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.
background57 floor57 wall57 nasty57 ramp57 conveyor57
63904 DEFB 0,0,0,0,0,0,0,0,0 Background
63913 DEFB 4,247,170,85,239,0,0,0,0 Floor
63922 DEFB 35,170,85,170,85,170,85,170,85 Wall
63931 DEFB 6,48,96,192,128,0,0,0,0 Nasty
63940 DEFB 7,1,0,6,9,19,6,108,152 Ramp
63949 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.
63958 DEFB 0 Direction (left)
63959 DEFW 0 Location in the attribute buffer at 24064 (unused)
63961 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.
63962 DEFB 1 Direction (up to the right)
63963 DEFW 24497 Location in the attribute buffer at 24064: (13,17)
63965 DEFB 8 Length
The next byte is copied to 32990 and specifies the border colour.
63966 DEFB 2 Border colour
The next two bytes are copied to 32991, but are not used.
63967 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item57
63969 DEFB 8,16,32,33,18,172,64,32 Item graphic
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
63977 DEFB 0 Room to the left (The Off Licence)
63978 DEFB 56 Room to the right (West Wing Roof)
63979 DEFB 0 Room above (The Off Licence)
63980 DEFB 55 Room below (West Bedroom)
The next three bytes are copied to 33005, but are not used.
63981 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.
63984 DEFB 7,203 Guardian no. 7 (vertical), base sprite 6, x=11 (41016)
63986 DEFB 51,78 Guardian no. 51 (vertical), base sprite 2, x=14 (41368)
63988 DEFB 255,0 Terminator (41976)
63990 DEFB 0,0 Nothing (40960)
63992 DEFB 0,0 Nothing (40960)
63994 DEFB 0,0 Nothing (40960)
63996 DEFB 0,0 Nothing (40960)
63998 DEFB 0,0 Nothing (40960)
Prev: 63488 Up: Map Next: 64000