Prev: A771 Up: Map Next: A78E
A780: Pronoun For This Character
Reads the current character and continues at PronounForThisCharacter_OtherId. A zero id returns token 09F2. Any other id returns token 0414. Either result is non-zero, so the caller prints the token.
Control code 0C in the table at JumpTable_ControlCharacters.
Used by the routine at DispatchTextControlHandler.
Output
DE Pronoun token
PronounForThisCharacter A780 LD A,($A036) Read the current character.
This entry point is used by the routine at PronounForTheRoom.
Returns token 0414 for any other character id, and token 09F2 for zero.
PronounForThisCharacter_OtherId A783 LD DE,$0414 Return token 0414 when the id is not zero.
A786 AND A
A787 RET NZ
A788 LD DE,$09F2 Take token 09F2.
A78B OR $01 Mark the result non-zero.
A78D RET Return.
View the equivalent code in;
Prev: A771 Up: Map Next: A78E