![]() |
Routines |
| Prev: 46975 | Up: Map | Next: 47206 |
|
Used by the routines at UnlinkNextDisplayRecord, SelectJumpIfNotZero, ProcessDisplayEntry and ProcessDisplayEntryAlternate.
Restores the saved character record for the caller.
|
||||
| RestoreSavedCharacterRecord | 47164 | POP IX | Restore IX from the stack. | |
| 47166 | LD B,3 | Count 3 words. | ||
| RestoreSavedCharacterRecord_ReadWords | 47168 | LD E,(HL) | Read each counted word onto the stack, then take the last one as the pointer. | |
| 47169 | INC HL | |||
| 47170 | LD D,(HL) | |||
| 47171 | INC HL | |||
| 47172 | PUSH DE | |||
| 47173 | DJNZ RestoreSavedCharacterRecord_ReadWords | |||
| 47175 | POP HL | |||
| 47176 | EX (SP),HL | Exchange HL with the return address and push HL. | ||
| 47177 | PUSH HL | |||
| 47178 | JP (IX) | Jump to the handler address in IX. | ||
| 47180 | LD HL,(45450) | Push the pointers at 45450 and 45448. | ||
| 47183 | PUSH HL | |||
| 47184 | LD HL,(45448) | |||
| 47187 | PUSH HL | |||
| 47188 | LD HL,(45446) | Push the pointers at 45445+1 and 45452. | ||
| 47191 | PUSH HL | |||
| 47192 | LD HL,(45452) | |||
| 47195 | PUSH HL | |||
| 47196 | LD HL,26730 | Take the message, then call PrintTextAndHandleControlCharacters to print the message. | ||
| 47199 | CALL PrintTextAndHandleControlCharacters | |||
| 47202 | RET | Return. | ||
| 47203 | JP ProcessObjectDisplayLogic | Jump ahead to ProcessObjectDisplayLogic to draw this object. | ||
| Prev: 46975 | Up: Map | Next: 47206 |