![]() |
Routines |
| Prev: 41565 | Up: Map | Next: 41622 |
|
Used by the routine at DescribeCurrentRoom.
If this token is not already on screen, clears the picture lines and draws the room again.
|
||||||||
| ProcessTextToken | 41591 | PUSH IX | Call CheckTextTokenMatch to check text token match. | |||||
| 41593 | PUSH HL | |||||||
| 41594 | PUSH BC | |||||||
| 41595 | PUSH AF | |||||||
| 41596 | CALL CheckTextTokenMatch | |||||||
| 41599 | JR Z,ProcessTextToken_Next | Go to ProcessTextToken_Next if there is no text token. | ||||||
| 41601 | CALL ClearDisplayLines | Call ClearDisplayLines and then InitialiseScreenDisplay to initialise the screen display. | ||||||
| 41604 | CALL InitialiseScreenDisplay | |||||||
| 41607 | LD L,(IX+1) | Call Drawing to draw. | ||||||
| 41610 | LD H,(IX+2) | |||||||
| 41613 | CALL Drawing | |||||||
| ProcessTextToken_Next | 41616 | POP AF | Restore the saved result, the saved count, the saved pointer and the saved character record from the stack. | |||||
| 41617 | POP BC | |||||||
| 41618 | POP HL | |||||||
| 41619 | POP IX | |||||||
| 41621 | RET | Return. | ||||||
| Prev: 41565 | Up: Map | Next: 41622 |