Prev: 62483 Up: Map Next: 62515
62499: Take: Key
Used by the routine at Validate_Take_Crowbar.
Was the player trying to take the key?
Validate_Take_Key 62499 LD HL,59903 Call MatchPhraseTokens with PhraseTokens_Key.
62502 CALL MatchPhraseTokens
62505 JR NZ,Validate_Take_Skull Jump to Validate_Take_Skull if the token isn't for the key.
Pick up the key.
62507 LD A,31 Call Take_IsPlayerHoldingItem with item 31: "A key".
62509 CALL Take_IsPlayerHoldingItem
62512 JP TakeItem Jump to TakeItem.
View the equivalent code in;
Prev: 62483 Up: Map Next: 62515