Prev: E0FF Up: Map Next: E16B
E151: Lookup And Print Display Text
Used by the routine at SetHeldMark_OtherObject.
Looks up a display text message based on the room display parameter and prints it to the screen.
Print object description text.
LookupAndPrintDisplayText E151 CALL PrintObjectDescriptionText Call PrintObjectDescriptionText to print the object's description.
E154 LD A,($A034) Call SearchThreeByteTable to search three-byte length table.
E157 LD IX,$E16B
E15B CALL SearchThreeByteTable
E15E CP $FF Return if the entry is the end marker.
E160 RET Z
E161 LD L,(IX+$01) Load the text token pointer from the table entry.
E164 LD H,(IX+$02)
E167 CALL PrintTextAndHandleControlCharacters Call PrintTextAndHandleControlCharacters to print the message.
E16A RET Return.
Prev: E0FF Up: Map Next: E16B