![]() |
Routines |
| Prev: F3D5 | Up: Map | Next: F403 |
|
Used by the routine at Validate_Take_Eyepatch.
Was the player trying to take the keg of gunpowder?
|
||||
| Validate_Take_KegOfGunpowder | F3E9 | LD HL,$E9F3 | Call MatchPhraseTokens with PhraseTokens_KegGunPowder. | |
| F3EC | CALL MatchPhraseTokens | |||
| F3EF | JR NZ,Validate_Take_Sextant | Jump to Validate_Take_Sextant if the token isn't for the keg of gunpowder. | ||
|
Which gunpowder is present?
|
||||
| F3F1 | LD HL,$E888 | Call CheckActiveScenicEvents with Data_ItemGroup_Gunpowder. | ||
| F3F4 | CALL CheckActiveScenicEvents | |||
| F3F7 | CALL Take_IsPlayerHoldingItem | Call Take_IsPlayerHoldingItem. | ||
| F3FA | LD A,B | Copy the object ID back into A. | ||
| F3FB | CP $12 | Compare A with "A keg of gunpowder". | ||
| F3FD | JP Z,TakeItem | Jump to TakeItem if this is "A keg of gunpowder". | ||
|
The keg is in the crocodile's mouth.
|
||||
| F400 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
| Prev: F3D5 | Up: Map | Next: F403 |