![]() |
Routines |
| Prev: F29C | Up: Map | Next: F2BC |
|
Used by the routine at Action_Take.
Was the player trying to take the bottle of rum?
|
||||
| Validate_Take_BottleOfRum | F2A8 | LD HL,$E9E7 | Call MatchPhraseTokens with PhraseTokens_BottleOfRum. | |
| F2AB | CALL MatchPhraseTokens | |||
| F2AE | JR NZ,Validate_Take_Fish | Jump to Validate_Take_Fish if the token isn't for the bottle of rum. | ||
|
Which bottle is present?
|
||||
| F2B0 | LD HL,$E87A | Call CheckActiveScenicEvents with Data_ItemGroup_Bottle. | ||
| F2B3 | CALL CheckActiveScenicEvents | |||
|
Pick up the bottle.
|
||||
| F2B6 | CALL Take_IsPlayerHoldingItem | Call Take_IsPlayerHoldingItem. | ||
| F2B9 | JP TakeItem | Jump to TakeItem. | ||
| Prev: F29C | Up: Map | Next: F2BC |