Prev: 42894 Up: Map Next: 42924
42899: Describe This Character
Saves the current character, clears the object source flag, and continues at DescribeThisCharacter_StoredFlag. That entry runs ProcessObjectOrPrintToken, then returns token 1157 or token 0122 when the character id is zero.
Control code 16 in the table at JumpTable_ControlCharacters.
Used by the routine at DispatchTextControlHandler.
DescribeThisCharacter 42899 LD A,(41014) Save the current character and clear A.
42902 EX AF,AF'
42903 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 42904 LD (41000),A Store A in the object processing source flag.
42907 EX AF,AF' Keep the character id aside.
42908 PUSH AF
42909 CALL ProcessObjectOrPrintToken Call ProcessObjectOrPrintToken.
42912 POP AF Restore the saved character from the stack.
42913 AND A Return token 1157 when the character id is not zero.
42914 LD DE,1157
42917 RET NZ
42918 LD DE,122 Take token 0122.
42921 OR 1 Mark the result non-zero.
42923 RET Return.
View the equivalent code in;
Prev: 42894 Up: Map Next: 42924