Prev: 49929 Up: Map Next: 49965
49950: Parser: Match Or Rephrase
Allow a command with no object. Otherwise require the phrase to match.
Parser_MatchOrRephrase 49950 LD A,(47927) Return if the end-of-list marker was pressed.
49953 CP 255
49955 RET Z
49956 CALL Parser_FindPhrase Call Parser_FindPhrase to count the nouns, and return when one was named.
49959 RET NZ
The phrase does not match.
49960 CALL Response_PleaseRephraseThat Call Response_PleaseRephraseThat.
49963 SCF Set the carry flag to reject the command.
49964 RET Return.
Prev: 49929 Up: Map Next: 49965