Prev: 61782 Up: Map Next: 61913
61817: Routine at F179
61817 LD A,35 A=35.
This entry point is used by the routine at 61919.
61819 CALL IsPlayerCarryingItem Call IsPlayerCarryingItem.
61822 LD A,E A=E.
61823 CALL Handler_DestroyItemEvent Call Handler_DestroyItemEvent.
61826 LD A,60 A=60.
61828 CALL Handler_DestroyItemEvent Call Handler_DestroyItemEvent.
61831 LD HL,42896 HL=Count_InventoryItems.
61834 DEC (HL) Decrease *HL by one.
61835 LD HL,54759 HL=Messaging_TraderTakesItSaysThankYou.
61838 JP 60781 Jump to 60781.
61841 LD A,11 A=11.
61843 CALL Handler_DestroyItemEvent Call Handler_DestroyItemEvent.
61846 LD HL,42887 HL=42887.
61849 RES 0,(HL) Reset bit 0 of *HL.
61851 LD BC,18763 Call TransformItem to transform item 73 ("A druid wearing an amulet") into item 75 ("An amulet").
61854 CALL TransformItem
61857 LD A,4 Call AddToScore to add 4 points to the score.
61859 CALL AddToScore
61862 LD HL,54848 HL=Messaging_DruidRemovesTheAmulet.
61865 JP 60781 Jump to 60781.
61868 LD A,69 A=69.
61870 CALL ValidateItemPresent Call ValidateItemPresent.
61873 JP Z,Response_DontBeRidiculous Jump to Response_DontBeRidiculous if *HL is equal to 69.
61876 LD HL,54933 HL=Messaging_GettingTooClose.
61879 CALL PrintStringAndNewline Call PrintStringAndNewline.
61882 LD HL,59826 HL=GameOver.
61885 EX (SP),HL Exchange the *SP with the HL register.
61886 LD HL,54960 HL=Messaging_MightyPaws.
61889 JP 60785 Jump to 60785.
61892 LD HL,54933 HL=Messaging_GettingTooClose.
61895 CALL PrintStringAndNewline Call PrintStringAndNewline.
61898 LD HL,59826 HL=GameOver.
61901 EX (SP),HL Exchange the *SP with the HL register.
61902 LD HL,55011 HL=Messaging_WolvesUponYou.
61905 JP 60785 Jump to 60785.
61908 LD A,25 A=25.
61910 JP 61819 Jump to 61819.
Prev: 61782 Up: Map Next: 61913