![]() |
Routines |
| Prev: 52815 | Up: Map | Next: 52842 |
|
Used by the routine at HandleRoomDisplay.
Marks the saved character as finished and returns when the room description does not fit.
|
||||
|
Set the room description marker.
|
||||
| ReadCharactersRoom | 52823 | LD A,255 | Write 255 to the saved character. | |
| 52825 | LD (41011),A | |||
| 52828 | LD L,(IX+1) | Read the room description address. | ||
| 52831 | LD H,(IX+2) | |||
| 52834 | CALL ProcessDisplayRecordFromScript | Return if the display record has bit 7 set, so the script resumes. | ||
| 52837 | RET C | |||
| 52838 | JR Z,ProcessScriptCommandWithCounter | Go to ProcessScriptCommandWithCounter if the room description matched. | ||
| 52840 | JR ContinueScriptExecution | Jump ahead to ContinueScriptExecution to resume script execution. | ||
| Prev: 52815 | Up: Map | Next: 52842 |