Prev: 6972 Up: Map Next: 6992
697D: Parser: Validate Direct Object
Parser_ValidateDirectObject 697D LD A,($6292) Fetch the second word of the command.
6980 CP $FF Jump to Parser_ValidateDirectObject_Step1 when the command has a second word.
6982 JR NZ,Parser_ValidateDirectObject_Step1
6984 CALL ResponsePleaseBeMoreSpecific Call ResponsePleaseBeMoreSpecific to say there is nothing there.
6987 SCF Set the carry flag to reject the command.
6988 RET Return.
Parser_ValidateDirectObject_Step1 6989 CALL Parser_FindPhrase Call Parser_FindPhrase to look for a noun.
698C RET NZ Return when the command names a noun.
698D CALL ResponsePleaseRephraseThat Call ResponsePleaseRephraseThat to ask the player to rephrase the command.
6990 SCF Set the carry flag to reject the command.
6991 RET Return.
Prev: 6972 Up: Map Next: 6992