Prev: EEB4 Up: Map Next: EED2
EEB9: Drop: Key
Drop the key that is held, or ask the player to be more specific.
Drop_Key EEB9 LD HL,$E51D HL=Data_ItemGroup_Key.
EEBC CALL FindActiveScenicEvent Call FindActiveScenicEvent.
EEBF CP $02 Jump to Response_PleaseBeMoreSpecific if more than one is present.
EEC1 JP NC,Response_PleaseBeMoreSpecific
EEC4 LD HL,$E51D HL=Data_ItemGroup_Key.
EEC7 CALL CheckActiveScenicEvents Call CheckActiveScenicEvents.
EECA CP $47 Jump to Drop_GoldKey if A is 47.
EECC JR Z,Drop_GoldKey
EECE CP $28 Jump to Drop_JewelledKey if A is 28.
EED0 JR Z,Drop_JewelledKey
Continue on to Drop_CopperKey.
Prev: EEB4 Up: Map Next: EED2