![]() |
Routines |
| Prev: 62421 | Up: Map | Next: 62467 |
|
Used by the routine at Validate_Take_Eyepatch.
Was the player trying to take the keg of gunpowder?
|
||||
| Validate_Take_KegOfGunpowder | 62441 | LD HL,59891 | Call MatchPhraseTokens with PhraseTokens_KegGunPowder. | |
| 62444 | CALL MatchPhraseTokens | |||
| 62447 | JR NZ,Validate_Take_Sextant | Jump to Validate_Take_Sextant if the token isn't for the keg of gunpowder. | ||
|
Which gunpowder is present?
|
||||
| 62449 | LD HL,59528 | Call CheckActiveScenicEvents with Data_ItemGroup_Gunpowder. | ||
| 62452 | CALL CheckActiveScenicEvents | |||
| 62455 | CALL Take_IsPlayerHoldingItem | Call Take_IsPlayerHoldingItem. | ||
| 62458 | LD A,B | Copy the object ID back into A. | ||
| 62459 | CP 18 | Compare A with "A keg of gunpowder". | ||
| 62461 | JP Z,TakeItem | Jump to TakeItem if this is "A keg of gunpowder". | ||
|
The keg is in the crocodile's mouth.
|
||||
| 62464 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
| Prev: 62421 | Up: Map | Next: 62467 |