Prev: B64B Up: Map Next: B670
B665: Parser: Validate No Direct Object
Parser: Validate No Direct Object.
Output
F The Z flag is set when there's no direct object present
F The carry flag is set when there's a second token set
ParserValidateNoDirectObject B665 LD A,($AF2F) Return if the second token (*AF2F) is the terminator character (FF).
B668 CP $FF
B66A RET Z
B66B CALL Messaging_PleaseRephraseThat_Newline Call Messaging_PleaseRephraseThat_Newline to ask the player to rephrase.
B66E SCF Set the carry flag to indicate the command is malformed.
B66F RET Return.
Prev: B64B Up: Map Next: B670