![]() |
Routines |
| Prev: BF08 | Up: Map | Next: BF45 |
|
Used by the routine at RunTextTokenEntry.
Checks the object's flag byte, expands its text, and prints the dictionary word when the check passes.
|
||||
| ProcessTextTokenEntry | BF1C | LD A,(IX+$00) | Read the record flag, then call PointToObjectAttributeByte to point to object attribute byte. | |
| BF1F | CALL PointToObjectAttributeByte | |||
| BF22 | PUSH HL | Call CheckObjectHasSpecialDescription to check object has special description. | ||
| BF23 | POP IY | |||
| BF25 | CALL CheckObjectHasSpecialDescription | |||
| BF28 | CALL ProcessTextTokenData | Go to ProcessTextTokenEntry_Next if this token has no text. | ||
| BF2B | JR Z,ProcessTextTokenEntry_Next | |||
|
Print text token.
|
||||
| BF2D | CALL PrintTextToken | Call PrintTextToken to print the dictionary word. | ||
| ProcessTextTokenEntry_Loop | BF30 | LD A,(IX+$02) | Read the character's room, then call PointToObjectAttributeByte to point to object attribute byte. | |
| BF33 | CALL PointToObjectAttributeByte | |||
| BF36 | PUSH HL | Call CheckObjectHasSpecialDescription to check object has special description. | ||
| BF37 | POP IY | |||
| BF39 | CALL CheckObjectHasSpecialDescription | |||
| BF3C | RET | Return. | ||
|
Expand token 005D.
|
||||
| ProcessTextTokenEntry_Next | BF3D | LD DE,$005D | Take token 005D and call PrintTextToken to expand it. | |
| BF40 | CALL PrintTextToken | |||
| BF43 | JR ProcessTextTokenEntry_Loop | Jump back to ProcessTextTokenEntry_Loop for the next character. | ||
| Prev: BF08 | Up: Map | Next: BF45 |