Prev: 62796 Up: Map Next: 62857
62813: Fill: Gas
Light the marsh gas with the tinderbox.
Fill_Gas 62813 LD A,4 Call IsObjectInInventory with item 4: "A tinderbox.".
62815 CALL IsObjectInInventory
62818 JR Z,Fill_Gas_0 Jump to Fill_Gas_0 if the Z flag is set.
Print "You have nothing to light it with.".
62820 LD HL,57052 HL=Messaging_YouHaveNothingToLightItWith.
62823 JP PrintResponse Jump to PrintResponse.
Fill_Gas_0 62826 LD HL,44663 Jump to Response_IDontSeeThePoint if bit 1 of *Flag_BeachDug is set.
62829 BIT 1,(HL)
62831 JP NZ,Response_IDontSeeThePoint
62834 SET 1,(HL) Set bit 1 of *Flag_BeachDug.
62836 LD A,6 Call HandlerDestroyItemEvent with item 6: "A swamp lizard.".
62838 CALL HandlerDestroyItemEvent
62841 LD A,7 Write 7 to open eastbound access to The Narrow Path from The Dead Marshes.
62843 LD (59404),A
62846 LD A,3 Call AddToScore with 3.
62848 CALL AddToScore
Print "The pungent vapour ignites and the lizard is incinerated.".
62851 LD HL,57087 HL=Messaging_ThePungentVapourIgnitesAndTheLizardIs.
62854 JP PrintResponse Jump to PrintResponse.
Prev: 62796 Up: Map Next: 62857