Prev: F54C Up: Map Next: F589
F55D: Fill: Gas
Light the marsh gas with the tinderbox.
Fill_Gas F55D LD A,$04 Call IsObjectInInventory with item 04: "A tinderbox.".
F55F CALL IsObjectInInventory
F562 JR Z,Fill_Gas_0 Jump to Fill_Gas_0 if the Z flag is set.
Print "You have nothing to light it with.".
F564 LD HL,$DEDC HL=Messaging_YouHaveNothingToLightItWith.
F567 JP PrintResponse Jump to PrintResponse.
Fill_Gas_0 F56A LD HL,$AE77 Jump to Response_IDontSeeThePoint if bit 1 of *Flag_BeachDug is set.
F56D BIT 1,(HL)
F56F JP NZ,Response_IDontSeeThePoint
F572 SET 1,(HL) Set bit 1 of *Flag_BeachDug.
F574 LD A,$06 Call HandlerDestroyItemEvent with item 06: "A swamp lizard.".
F576 CALL HandlerDestroyItemEvent
F579 LD A,$07 Write 07 to open eastbound access to The Narrow Path from The Dead Marshes.
F57B LD ($E80C),A
F57E LD A,$03 Call AddToScore with 03.
F580 CALL AddToScore
Print "The pungent vapour ignites and the lizard is incinerated.".
F583 LD HL,$DEFF HL=Messaging_ThePungentVapourIgnitesAndTheLizardIs.
F586 JP PrintResponse Jump to PrintResponse.
Prev: F54C Up: Map Next: F589