Prev: 57088 Up: Map Next: 57600
57344: Room 32: Halfway up the East Wall (teleport: 69)
Used by the routine at 35090.
halfway_up_the_east_wall
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.
57344 DEFB 160,0,10,0,0,0,0,0 Room layout
57352 DEFB 160,0,10,0,0,0,0,0
57360 DEFB 160,0,10,0,0,0,0,0
57368 DEFB 160,8,0,0,0,0,0,0
57376 DEFB 128,10,0,0,0,0,0,0
57384 DEFB 128,26,128,0,0,0,0,0
57392 DEFB 160,0,32,0,0,0,0,0
57400 DEFB 160,0,40,0,0,0,0,0
57408 DEFB 160,74,170,0,0,0,0,0
57416 DEFB 160,10,170,0,0,0,0,0
57424 DEFB 160,16,10,0,0,0,0,0
57432 DEFB 164,0,10,0,0,0,0,0
57440 DEFB 160,0,10,0,0,0,0,0
57448 DEFB 160,4,10,0,0,0,0,0
57456 DEFB 160,0,10,0,0,0,0,0
57464 DEFB 160,0,26,0,0,0,0,0
The next 32 bytes are copied to 32896 and specify the room name.
57472 DEFM "Halfway up the East Wall " 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.
background32 floor32 wall32 nasty32 ramp32 conveyor32
57504 DEFB 0,0,0,0,0,0,0,0,0 Background
57513 DEFB 5,255,255,90,153,189,90,60,90 Floor
57522 DEFB 15,51,17,68,204,51,17,68,204 Wall
57531 DEFB 255,0,0,0,0,0,0,0,0 Nasty (unused)
57540 DEFB 7,128,192,224,112,184,28,78,199 Ramp
57549 DEFB 7,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.
57558 DEFB 1 Direction (right)
57559 DEFW 0 Location in the attribute buffer at 24064 (unused)
57561 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.
57562 DEFB 0 Direction (up to the left)
57563 DEFW 24299 Location in the attribute buffer at 24064: (7,11)
57565 DEFB 6 Length
The next byte is copied to 32990 and specifies the border colour.
57566 DEFB 2 Border colour
The next two bytes are copied to 32991, but are not used.
57567 DEFB 0,0 Unused
The next eight bytes are copied to 32993 and define the item graphic.
item32
57569 DEFB 0,0,0,0,0,0,0,0 Item graphic (unused)
The next four bytes are copied to 33001 and specify the rooms to the left, to the right, above and below.
57577 DEFB 33 Room to the left (The Bathroom)
57578 DEFB 0 Room to the right (The Off Licence)
57579 DEFB 38 Room above (Priests' Hole)
57580 DEFB 26 Room below (East Wall Base)
The next three bytes are copied to 33005, but are not used.
57581 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.
57584 DEFB 38,4 Guardian no. 38 (horizontal), base sprite 0, initial x=4 (41264)
57586 DEFB 255,0 Terminator (41976)
57588 DEFB 0,0 Nothing (40960)
57590 DEFB 0,0 Nothing (40960)
57592 DEFB 0,0 Nothing (40960)
57594 DEFB 0,0 Nothing (40960)
57596 DEFB 0,0 Nothing (40960)
57598 DEFB 0,0 Nothing (40960)
Prev: 57088 Up: Map Next: 57600