Prev: 46339 Up: Map Next: 46379
46358: 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 46358 LD (44856),A Store A in the screen line.
46361 CALL SetScreenPosition Call SetScreenPosition to park the cursor on the current screen line.
46364 LD A,(44749) Read the current room into A.
46367 LD IX,(44764) Load IX from the room-description pointer.
46371 LD E,A Use the room number to find its description.
46372 CALL GetTableEntry Call GetTableEntry to look up the table entry.
46375 CALL PrintStringAndANewline Call PrintStringAndANewline to print the string and start a new line.
46378 RET Return.
View the equivalent code in;
Prev: 46339 Up: Map Next: 46379