Prev: B503 Up: Map Next: B52B
B516: Print Room Description
Used by the routines at HandlerDisplayRoomExits and HandlerTheEdgeOfTheSea.
Print the description of the current room.
Input
A Line number to begin printing
PrintRoomDescription B516 LD ($AF38),A Store A in the screen line.
B519 CALL SetScreenPosition Call SetScreenPosition to park the cursor on the current screen line.
B51C LD A,($AECD) Read the current room into A.
B51F LD IX,($AEDC) Load IX from the room-description pointer.
B523 LD E,A Use the room number to find its description.
B524 CALL GetTableEntry Call GetTableEntry to look up the table entry.
B527 CALL PrintStringAndANewline Call PrintStringAndANewline to print the string and start a new line.
B52A RET Return.
View the equivalent code in;
Prev: B503 Up: Map Next: B52B