![]() |
Routines |
| Prev: 48904 | Up: Map | Next: 48965 |
|
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 | 48924 | LD A,(IX+0) | Read the record flag, then call PointToObjectAttributeByte to point to object attribute byte. | |
| 48927 | CALL PointToObjectAttributeByte | |||
| 48930 | PUSH HL | Call CheckObjectHasSpecialDescription to check object has special description. | ||
| 48931 | POP IY | |||
| 48933 | CALL CheckObjectHasSpecialDescription | |||
| 48936 | CALL ProcessTextTokenData | Go to ProcessTextTokenEntry_Next if this token has no text. | ||
| 48939 | JR Z,ProcessTextTokenEntry_Next | |||
|
Print text token.
|
||||
| 48941 | CALL PrintTextToken | Call PrintTextToken to print the dictionary word. | ||
| ProcessTextTokenEntry_Loop | 48944 | LD A,(IX+2) | Read the character's room, then call PointToObjectAttributeByte to point to object attribute byte. | |
| 48947 | CALL PointToObjectAttributeByte | |||
| 48950 | PUSH HL | Call CheckObjectHasSpecialDescription to check object has special description. | ||
| 48951 | POP IY | |||
| 48953 | CALL CheckObjectHasSpecialDescription | |||
| 48956 | RET | Return. | ||
|
Expand token 0093.
|
||||
| ProcessTextTokenEntry_Next | 48957 | LD DE,93 | Take token 0093 and call PrintTextToken to expand it. | |
| 48960 | CALL PrintTextToken | |||
| 48963 | JR ProcessTextTokenEntry_Loop | Jump back to ProcessTextTokenEntry_Loop for the next character. | ||
| Prev: 48904 | Up: Map | Next: 48965 |