Prev: ED5F Up: Map Next: ED8B
ED65: Take: Acid
Take the bottle of acid, or fill an empty bottle.
Take_Acid ED65 LD A,$39 Call IsObjectInInventory with item 39: "A bottle of acid.".
ED67 CALL IsObjectInInventory
ED6A LD A,$39 Call Take_IsPlayerHoldingItem if "A bottle of acid." is in the inventory.
ED6C CALL Z,Take_IsPlayerHoldingItem
ED6F LD B,A Jump to Handler_CheckPlayerInventory_PickUpItem if "A bottle of acid." is present.
ED70 CALL ValidateItemPresent
ED73 LD A,B
ED74 JP Z,Handler_CheckPlayerInventory_PickUpItem
ED77 LD A,$37 Call IsObjectInInventory with item 37: "A bottle.".
ED79 CALL IsObjectInInventory
ED7C JP NZ,Response_YouHaveNothingToCarryItIn Jump to Response_YouHaveNothingToCarryItIn if "A bottle." is not in the inventory.
ED7F LD BC,$3739 Call TransformItem to transform "A bottle." into "A bottle of acid.".
ED82 CALL TransformItem
Print "You now have a bottle of acid.".
ED85 LD HL,$D348 HL=Messaging_YouNowHaveABottleOfAcid.
ED88 JP PrintResponse Jump to PrintResponse.
Prev: ED5F Up: Map Next: ED8B