![]() |
Routines |
| Prev: 57402 | Up: Map | Next: 57707 |
|
Used by the routine at 57402.
Looks up a display text message based on the room display parameter and prints it to the screen.
|
||||
| LookupAndPrintDisplayText | 57681 | CALL PrintObjectDescriptionText | Call PrintObjectDescriptionText. | |
| 57684 | LD A,(41012) | A=*RoomDisplayParameter. | ||
| 57687 | LD IX,57707 | IX=*Table_DisplayEntryLookup. | ||
| 57691 | CALL SearchThreeByteTable | Call SearchThreeByteTable. | ||
| 57694 | CP 255 | Return if no matching entry was found. | ||
| 57696 | RET Z | |||
| 57697 | LD L,(IX+1) | Load the text token pointer from the table entry. | ||
| 57700 | LD H,(IX+2) | |||
| 57703 | CALL PrintTextAndHandleControlCharacters | Call PrintTextAndHandleControlCharacters. | ||
| 57706 | RET | Return. | ||
| Prev: 57402 | Up: Map | Next: 57707 |