![]() |
Routines |
| Prev: BA13 | Up: Map | Next: BA3E |
|
Used by the routine at ProcessScriptDisplay.
Reads the character being processed and clears its script list for ids 02 and 03.
|
||||
| ProcessCharacterDisplay | BA20 | LD A,($A036) | Read the character being processed and take the workspace byte at BA67. | |
| BA23 | LD HL,$BA67 | |||
| BA26 | CP $03 | Jump ahead to ProcessCharacterDisplay_Next if the character being processed is 03. | ||
| BA28 | JR Z,ProcessCharacterDisplay_Next | |||
| BA2A | LD HL,$BB67 | Jump ahead to ProcessCharacterDisplay_Store if the character being processed is not 02. | ||
| BA2D | CP $02 | |||
| BA2F | JR NZ,ProcessCharacterDisplay_Store | |||
| ProcessCharacterDisplay_Next | BA31 | CALL RecordResultCharacterScript | Call RecordResultCharacterScript to clear the character-script list. | |
| ProcessCharacterDisplay_Store | BA34 | LD A,$01 | Take 01. | |
| BA36 | POP HL | Restore HL, IY and IX from the stack. | ||
| BA37 | POP IY | |||
| BA39 | POP IX | |||
| BA3B | AND A | Clear the carry before marking this character display as finished. | ||
| BA3C | SCF | Mark the condition as met. | ||
| BA3D | RET | Return. | ||
| Prev: BA13 | Up: Map | Next: BA3E |