![]() |
Routines |
| Prev: 60767 | Up: Map | Next: 60811 |
|
Take the bottle of acid, or fill an empty bottle.
|
||||
| Take_Acid | 60773 | LD A,57 | Call IsObjectInInventory with item 57: "A bottle of acid.". | |
| 60775 | CALL IsObjectInInventory | |||
| 60778 | LD A,57 | Call Take_IsPlayerHoldingItem if "A bottle of acid." is in the inventory. | ||
| 60780 | CALL Z,Take_IsPlayerHoldingItem | |||
| 60783 | LD B,A | Jump to Handler_CheckPlayerInventory_PickUpItem if "A bottle of acid." is present. | ||
| 60784 | CALL ValidateItemPresent | |||
| 60787 | LD A,B | |||
| 60788 | JP Z,Handler_CheckPlayerInventory_PickUpItem | |||
| 60791 | LD A,55 | Call IsObjectInInventory with item 55: "A bottle.". | ||
| 60793 | CALL IsObjectInInventory | |||
| 60796 | JP NZ,Response_YouHaveNothingToCarryItIn | Jump to Response_YouHaveNothingToCarryItIn if "A bottle." is not in the inventory. | ||
| 60799 | LD BC,14137 | Call TransformItem to transform "A bottle." into "A bottle of acid.". | ||
| 60802 | CALL TransformItem | |||
|
Print "You now have a bottle of acid.".
|
||||
| 60805 | LD HL,54088 | HL=Messaging_YouNowHaveABottleOfAcid. | ||
| 60808 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: 60767 | Up: Map | Next: 60811 |