![]() |
Routines |
| Prev: 62315 | Up: Map | Next: 62376 |
|
Used by the routine at Validate_Take_Plank.
Was the player trying to take the coconut?
|
||||
| Validate_Take_Coconut | 62360 | LD HL,59877 | Call MatchPhraseTokens with PhraseTokens_Coconut. | |
| 62363 | CALL MatchPhraseTokens | |||
| 62366 | JR NZ,Validate_Take_Gun | Jump to Validate_Take_Gun if the token isn't for the coconut. | ||
|
Pick up the coconut.
|
||||
| 62368 | LD A,7 | Call Take_IsPlayerHoldingItem with item 7: "A coconut". | ||
| 62370 | CALL Take_IsPlayerHoldingItem | |||
| 62373 | JP TakeItem | Jump to TakeItem. | ||
| Prev: 62315 | Up: Map | Next: 62376 |