Prev: 60721 Up: Map Next: 60767
60730: Take: Water
Take the bottle of water, or fill an empty bottle.
Take_Water 60730 LD A,56 Call IsObjectInInventory with item 56: "A bottle of water.".
60732 CALL IsObjectInInventory
60735 LD A,56 Call Take_IsPlayerHoldingItem if "A bottle of water." is in the inventory.
60737 CALL Z,Take_IsPlayerHoldingItem
60740 LD B,A Jump to Handler_CheckPlayerInventory_PickUpItem if "A bottle of water." is present.
60741 CALL ValidateItemPresent
60744 LD A,B
60745 JP Z,Handler_CheckPlayerInventory_PickUpItem
60748 LD A,55 Call IsObjectInInventory with item 55: "A bottle.".
60750 CALL IsObjectInInventory
60753 JR NZ,Response_YouHaveNothingToCarryItIn Jump to Response_YouHaveNothingToCarryItIn if "A bottle." is not in the inventory.
60755 LD BC,14136 Call TransformItem to transform "A bottle." into "A bottle of water.".
60758 CALL TransformItem
Print "You now have a bottle of water.".
60761 LD HL,54023 HL=Messaging_YouNowHaveABottleOfWater.
60764 JP PrintResponse Jump to PrintResponse.
Prev: 60721 Up: Map Next: 60767