Prev: F0A4 Up: Map Next: F114
F0CC: Kiss: Box
Kiss the wooden box.
Print "You open the box and from it there issues a howling wind. The lid suddenly closes.".
Kiss_Box F0CC LD HL,$D69D HL=Messaging_YouOpenTheBoxAndFromItThereIssuesAHowling.
F0CF CALL PrintStringAndNewline Call PrintStringAndNewline.
F0D2 LD A,($AECD) A=*CurrentRoom.
F0D5 CP $26 Return if A is not 26.
F0D7 RET NZ
Print "The smoke is blown away for a brief while.".
F0D8 LD HL,$D6F0 HL=Messaging_TheSmokeIsBlownAwayForABriefWhile.
F0DB CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
F0DE LD HL,$AE76 Return if bit 6 of *Flags_RoomChange is set.
F0E1 BIT 6,(HL)
F0E3 RET NZ
F0E4 SET 6,(HL) Set bit 6 of *HL.
F0E6 LD A,$4A Call HandlerUpdateItemEventForTheCurrentRoom with item 4A: "A ruby.".
F0E8 CALL HandlerUpdateItemEventForTheCurrentRoom
F0EB LD A,$03 Call AddToScore with 03.
F0ED CALL AddToScore
Print "You can see a ruby.".
F0F0 LD HL,$D71B HL=Messaging_YouCanSeeARuby.
F0F3 JP PausePrintAndScroll Jump to PausePrintAndScroll.
This entry point is used by the routines at Kiss_Chest, Kiss_Coffin, Kiss_Clam, Kiss_ClamWithCrowbar and Kiss_Door.
Print "It is already open.".
Kiss_Box_0 F0F6 LD HL,$D72F HL=Messaging_ItIsAlreadyOpen.
F0F9 JP PrintResponse Jump to PrintResponse.
Print "It is already closed.".
F0FC LD HL,$D743 HL=Messaging_ItIsAlreadyClosed.
F0FF JP PrintResponse Jump to PrintResponse.
This entry point is used by the routine at Kiss_JewelledGate.
Print "They are already open.".
Kiss_Box_1 F102 LD HL,$D759 HL=Messaging_TheyAreAlreadyOpen.
F105 JP PrintResponse Jump to PrintResponse.
Print "They are already closed.".
F108 LD HL,$D770 HL=Messaging_TheyAreAlreadyClosed.
F10B JP PrintResponse Jump to PrintResponse.
This entry point is used by the routine at Kiss_JewelledGate.
Print "You need the proper key.".
Kiss_Box_2 F10E LD HL,$D789 HL=Messaging_YouNeedTheProperKey.
F111 JP PrintResponse Jump to PrintResponse.
Prev: F0A4 Up: Map Next: F114