Prev: 50223 Up: Map Next: 50310
50275: Handler: Match Verb
Used by the routine at GameLoop.
Jump to the handler for the first vocabulary token, or admit the verb is unknown.
Handler_MatchVerb 50275 LD HL,(47862) Jump to VerbMatched if the search found a match.
50278 LD BC,(47868)
50282 LD A,(47926)
50285 CPIR
50287 JR Z,VerbMatched
50289 LD HL,47969 Print "I don't understand.".
50292 CALL PrintStringAndNewline
50295 RET Return.
VerbMatched 50296 LD A,(47868) Call GetTableEntry to look up the verb's handler.
50299 SUB C
50300 DEC A
50301 LD E,A
50302 LD IX,(47856)
50306 CALL GetTableEntry
50309 JP (HL) Jump to that handler.
Prev: 50223 Up: Map Next: 50310