![]() |
Routines |
| Prev: F36B | Up: Map | Next: F3A8 |
|
Used by the routine at Validate_Take_Plank.
Was the player trying to take the coconut?
|
||||
| Validate_Take_Coconut | F398 | LD HL,$E9E5 | Call MatchPhraseTokens with PhraseTokens_Coconut. | |
| F39B | CALL MatchPhraseTokens | |||
| F39E | JR NZ,Validate_Take_Gun | Jump to Validate_Take_Gun if the token isn't for the coconut. | ||
|
Pick up the coconut.
|
||||
| F3A0 | LD A,$07 | Call Take_IsPlayerHoldingItem with item 07: "A coconut". | ||
| F3A2 | CALL Take_IsPlayerHoldingItem | |||
| F3A5 | JP TakeItem | Jump to TakeItem. | ||
| Prev: F36B | Up: Map | Next: F3A8 |