Prev: F5F9 Up: Map Next: F62B
F620: Did User Input Mention "SWORD"?
Used by the routines at IsPlayerCarryingSword and Process_KillHareWithSword.
Input
F The zero flag is set if the word was found
CheckUserInput_Sword F620 LD HL,$A825 Set a pointer in HL to UserInput_Token_2 (the second token in the user input tokens table).
F623 LD BC,$0009 Set a counter in BC for the length of the rest of the user input tokens table (0009 bytes).
F626 LD A,$3C A="SWOR".
F628 CPIR Search for the word "SWORD" in the table.
F62A RET Return.
Prev: F5F9 Up: Map Next: F62B