Prev: 61113 Up: Map Next: 61171
61138: Drop: Copper Key
Drop the copper key and close the copper gates.
Drop_CopperKey 61138 LD A,108 Call IsObjectInInventory with item 108: "A copper key.".
61140 CALL IsObjectInInventory
61143 LD A,108 Jump to Drop_IsPlayerHoldingItem with item 108: "A copper key." if the Z flag is not set.
61145 JP NZ,Drop_IsPlayerHoldingItem
61148 CALL Drop_IsPlayerHoldingItem Call Drop_IsPlayerHoldingItem.
61151 XOR A Write 0 to close the matching map exits.
61152 LD (59421),A
61155 LD (59468),A
61158 LD BC,2571 Call TransformItem to transform "The gates are open." into "The gates are closed.".
61161 CALL TransformItem
61164 LD BC,3342 Call TransformItem to transform "The gates are open." into "The gates are closed.".
61167 CALL TransformItem
61170 RET Return.
Prev: 61113 Up: Map Next: 61171