![]()  | 
Routines | 
| Prev: EFCB | Up: Map | Next: EFE4 | 
| 
 | 
||||
| 
 
The player wants to take the amulet from the druid, check which version of the amulet is in the current room.
 
 | 
||||
| Process_TakeAmuletFromDruid | EFD0 | LD HL,$E3A6 | Call CheckItemGroupPresent with Data_ItemGroup_Amulet. | |
| EFD3 | CALL CheckItemGroupPresent | |||
| EFD6 | CP $49 | Jump to TakeAmuletFromDruid if the version of the amulet in the current room is "A druid wearing an amulet". | ||
| EFD8 | JP Z,TakeAmuletFromDruid | |||
| 
 
Handle responding if the player is already carrying the amulet.
 
 | 
||||
| EFDB | CALL Check_PlayerInventory | Call Check_PlayerInventory. | ||
| 
 
Handle responding if the druid doesn't have the amulet.
 
Print "He doesn't have it.".
 
 | 
||||
| EFDE | LD HL,$D2F4 | HL=Messaging_HeDoesntHaveIt. | ||
| EFE1 | JP PrintStringAndNewline_Duplicate | Jump to PrintStringAndNewline_Duplicate. | ||
| Prev: EFCB | Up: Map | Next: EFE4 |