Prev: C42F Up: Map Next: C486
C463: 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 C463 LD HL,($BAF6) Jump to Handler_MatchVerb_Next if the search found a match.
C466 LD BC,($BAFC)
C46A LD A,($BB36)
C46D CPIR
C46F JR Z,Handler_MatchVerb_Next
C471 LD HL,$BB61 Print "I don't understand.".
C474 CALL PrintStringAndANewline
C477 RET Return.
Handler_MatchVerb_Next C478 LD A,($BAFC) Call GetTableEntry to look up the verb's handler.
C47B SUB C
C47C DEC A
C47D LD E,A
C47E LD IX,($BAF0)
C482 CALL GetTableEntry
C485 JP (HL) Jump to that handler.
Prev: C42F Up: Map Next: C486