Prev: F0CC Up: Map Next: F151
F114: Kiss: Chest
Kiss the chest.
Kiss_Chest F114 LD A,$4E Call ValidateItemPresent with item 4E: "A venomous spider.".
F116 CALL ValidateItemPresent
F119 JP Z,Take_Diamond_0 Jump to Take_Diamond_0 if the Z flag is set.
F11C LD HL,$E593 HL=Data_ItemGroup_Chest.
F11F CALL CheckActiveScenicEvents Call CheckActiveScenicEvents.
F122 CP $52 Jump to Kiss_Box_0 if A is 52.
F124 JR Z,Kiss_Box_0
F126 CP $51 Jump to Kiss_Chest_0 if A is 51.
F128 JR Z,Kiss_Chest_0
Print "The hinges are too rusty.".
F12A LD HL,$D7A2 HL=Messaging_TheHingesAreTooRusty.
F12D JP PrintResponse Jump to PrintResponse.
Kiss_Chest_0 F130 LD BC,$5152 Call TransformItem to transform "A chest with oiled hinges." into "An open chest.".
F133 CALL TransformItem
F136 LD A,$03 Call HandlerUpdateItemEventForTheCurrentRoom with item 03: "Khadim,the dwarf.".
F138 CALL HandlerUpdateItemEventForTheCurrentRoom
F13B LD HL,$AE91 Set bit 3 of *Flag_FollowingHeroes.
F13E SET 3,(HL)
F140 LD A,$04 Call AddToScore with 04.
F142 CALL AddToScore
Print "With hinges protesting noisily, you open the chest. Khadim climbs out!".
F145 LD HL,$D7BC HL=Messaging_WithHingesProtestingNoisilyYouOpenTheChest.
F148 JP PrintResponse Jump to PrintResponse.
This entry point is used by the routine at Kiss_JewelledGate.
Print "They're not here!".
Kiss_Chest_1 F14B LD HL,$D803 HL=Messaging_TheyreNotHere.
F14E JP PrintResponse Jump to PrintResponse.
Prev: F0CC Up: Map Next: F151