Prev: EF38 Up: Map Next: EF5A
EF49: Process: Get Amulet
The player wants to pick up the amulet, check which version of it is in the current room.
Process_GetAmulet EF49 LD HL,$E3A6 Call CheckItemGroupPresent with Data_ItemGroup_Amulet.
EF4C CALL CheckItemGroupPresent
EF4F CP $49 Jump to Handler_CheckPlayerInventory_PickUpItem if the amulet state in the current room is not "A druid wearing an amulet".
EF51 JP NZ,Handler_CheckPlayerInventory_PickUpItem
This entry point is used by the routine at Process_TakeAmuletFromDruid.
Print "The druid is deceptively strong. He prevents you,saying:- "No Warlord,this is a gift from the gods and cannot be given away so lightly."".
TakeAmuletFromDruid EF54 LD HL,$D26B HL=Messaging_DruidDeceptivelyStrong.
EF57 JP PrintStringAndNewline_Duplicate Jump to PrintStringAndNewline_Duplicate.
Prev: EF38 Up: Map Next: EF5A