Prev: C520 Up: Map Next: C579
C556: Handler: Match Verb
Used by the routine at GameLoop.
Handler_MatchVerb C556 LD HL,($BD26) HL=*Pointer_VerbWordTokens.
C559 LD BC,($BD2C) BC=*Count_VerbTokens.
C55D LD A,($BD66) A=*UserInput_Token_1.
C560 CPIR CPIR.
C562 JR Z,Handler_MatchVerb_0 Jump to Handler_MatchVerb_0 if ?? is equal to 00.
Print "I don't understand.".
C564 LD HL,$BD91 HL=Messaging_IDontUnderstand.
C567 CALL PrintStringAndNewline Call PrintStringAndNewline.
C56A RET Return.
Handler_MatchVerb_0 C56B LD A,($BD2C) A=*Count_VerbTokens-C.
C56E SUB C
C56F DEC A Decrease A by one.
C570 LD E,A Store the result in E.
C571 LD IX,($BD20) IX=*Pointer_JumpTable_Verbs.
C575 CALL GetTableEntry Call GetTableEntry.
C578 JP (HL) Jump to *HL.
Prev: C520 Up: Map Next: C579