Prev: 62560 Up: Map Next: 62693
62650: Oil: Ashes
Pour the bottle of water on the ashes.
Oil_Ashes 62650 LD A,56 Call IsObjectInInventory with item 56: "A bottle of water.".
62652 CALL IsObjectInInventory
62655 JR Z,Oil_Ashes_0 Jump to Oil_Ashes_0 if the Z flag is set.
Print "You have no water.".
62657 LD HL,56631 HL=Messaging_YouHaveNoWater.
62660 JP PrintResponse Jump to PrintResponse.
Oil_Ashes_0 62663 LD A,129 Call HandlerDestroyItemEvent with item 129: "Some hot ashes.".
62665 CALL HandlerDestroyItemEvent
62668 LD HL,44662 Set bit 1 of *Flags_RoomChange.
62671 SET 1,(HL)
62673 LD BC,14391 Call TransformItem to transform "A bottle of water." into "A bottle.".
62676 CALL TransformItem
62679 LD A,3 Call AddToScore with 3.
62681 CALL AddToScore
62684 CALL Response_OK_GameLoop Call Response_OK_GameLoop.
Print "The ashes sizzle fiercely for a moment,then they are washed away.".
62687 LD HL,56780 HL=Messaging_TheAshesSizzleFiercelyForAMoment.
62690 JP PrintResponse Jump to PrintResponse.
Prev: 62560 Up: Map Next: 62693