Prev: 965B Up: Map Next: 969A
9686: Print the message at HL if there is one, or else the room's name
Used by the routine at DESCRIBE_LOCATION.
PRINT_ROOM_NAME prints the name alone, from the record's bytes 2 to 7, the same way an object's name is printed.
Input
HL The description, or 0
F NZ if HL is not 0
IX The room's record
DESCRIPTION_OR_NAME 9686 JP NZ,RUN_MESSAGE_HL
This entry point is used by the routine at DESCRIBE_BRIEFLY.
PRINT_ROOM_NAME 9689 LD DE,$0002 The name, which starts two bytes into the record
968C PUSH IY
968E PUSH IX
9690 POP IY
9692 ADD IY,DE
9694 CALL PRINT_NAME
9697 POP IY
9699 RET
Prev: 965B Up: Map Next: 969A