![]() |
Routines |
| Prev: A78E | Up: Map | Next: A7AC |
|
Saves the current character, clears the object source flag, and continues at DescribeThisCharacter_StoredFlag. That entry runs ProcessObjectOrPrintToken, then returns token 0485 or token 007A when the character id is zero.
Control code 10 in the table at JumpTable_ControlCharacters.
Used by the routine at DispatchTextControlHandler.
|
||||
| DescribeThisCharacter | A793 | LD A,($A036) | Save the current character and clear A. | |
| A796 | EX AF,AF' | |||
| A797 | XOR A | |||
|
This entry point is used by the routine at DescribeTheDisplayedRoom.
Stores the object source flag, runs ProcessObjectOrPrintToken, and returns the description token.
|
||||
| DescribeThisCharacter_StoredFlag | A798 | LD ($A028),A | Store A in the object processing source flag. | |
| A79B | EX AF,AF' | Keep the character id aside. | ||
| A79C | PUSH AF | |||
| A79D | CALL ProcessObjectOrPrintToken | Call ProcessObjectOrPrintToken. | ||
| A7A0 | POP AF | Restore the saved character from the stack. | ||
| A7A1 | AND A | Return token 0485 when the character id is not zero. | ||
| A7A2 | LD DE,$0485 | |||
| A7A5 | RET NZ | |||
| A7A6 | LD DE,$007A | Take token 007A. | ||
| A7A9 | OR $01 | Mark the result non-zero. | ||
| A7AB | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: A78E | Up: Map | Next: A7AC |