![]() |
Routines |
| Prev: F2ED | Up: Map | Next: F30D |
|
Used by the routine at Validate_Take_Shoe.
Was the player trying to take the fruit?
|
||||
| Validate_Take_Fruit | F2FD | LD HL,$E9D7 | Call MatchPhraseTokens with PhraseTokens_Fruit. | |
| F300 | CALL MatchPhraseTokens | |||
| F303 | JR NZ,Validate_Take_Rod | Jump to Validate_Take_Rod if the token isn't for the fruit. | ||
|
Pick up the fruit.
|
||||
| F305 | LD A,$0E | Call Take_IsPlayerHoldingItem with item 0E: "Some fruit". | ||
| F307 | CALL Take_IsPlayerHoldingItem | |||
| F30A | JP TakeItem | Jump to TakeItem. | ||
| Prev: F2ED | Up: Map | Next: F30D |