![]() |
Routines |
| Prev: 47635 | Up: Map | Next: 47678 |
|
Used by the routine at ProcessScriptDisplay.
Reads the character being processed and clears its script list for ids 2 and 3.
|
||||
| ProcessCharacterDisplay | 47648 | LD A,(41014) | Read the character being processed and take the workspace byte at 47719. | |
| 47651 | LD HL,47719 | |||
| 47654 | CP 3 | Jump ahead to ProcessCharacterDisplay_Next if the character being processed is 3. | ||
| 47656 | JR Z,ProcessCharacterDisplay_Next | |||
| 47658 | LD HL,47975 | Jump ahead to ProcessCharacterDisplay_Store if the character being processed is not 2. | ||
| 47661 | CP 2 | |||
| 47663 | JR NZ,ProcessCharacterDisplay_Store | |||
| ProcessCharacterDisplay_Next | 47665 | CALL RecordResultCharacterScript | Call RecordResultCharacterScript to clear the character-script list. | |
| ProcessCharacterDisplay_Store | 47668 | LD A,1 | Take 1. | |
| 47670 | POP HL | Restore HL, IY and IX from the stack. | ||
| 47671 | POP IY | |||
| 47673 | POP IX | |||
| 47675 | AND A | Clear the carry before marking this character display as finished. | ||
| 47676 | SCF | Mark the condition as met. | ||
| 47677 | RET | Return. | ||
| Prev: 47635 | Up: Map | Next: 47678 |