Prev: F413 Up: Map Next: F433
F423: Take: Key
Used by the routine at Validate_Take_Crowbar.
Was the player trying to take the key?
Validate_Take_Key F423 LD HL,$E9FF Call MatchPhraseTokens with PhraseTokens_Key.
F426 CALL MatchPhraseTokens
F429 JR NZ,Validate_Take_Skull Jump to Validate_Take_Skull if the token isn't for the key.
Pick up the key.
F42B LD A,$1F Call Take_IsPlayerHoldingItem with item 1F: "A key".
F42D CALL Take_IsPlayerHoldingItem
F430 JP TakeItem Jump to TakeItem.
View the equivalent code in;
Prev: F413 Up: Map Next: F433