![]() |
Routines |
| Prev: E03A | Up: Map | Next: E16B |
|
Used by the routine at E03A.
Looks up a display text message based on the room display parameter and prints it to the screen.
|
||||
| LookupAndPrintDisplayText | E151 | CALL PrintObjectDescriptionText | Call PrintObjectDescriptionText. | |
| E154 | LD A,($A034) | A=*RoomDisplayParameter. | ||
| E157 | LD IX,$E16B | IX=*Table_DisplayEntryLookup. | ||
| E15B | CALL SearchThreeByteTable | Call SearchThreeByteTable. | ||
| E15E | CP $FF | Return if no matching entry was found. | ||
| 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. | ||
| E16A | RET | Return. | ||
| Prev: E03A | Up: Map | Next: E16B |