Prev: EB54 Up: Map Next: EB6D
EB5A: Take: Frog
Take the frog unless the swamp lizard is present.
Take_Frog EB5A LD A,$05 Call Take_IsPlayerHoldingItem with item 05: "A frog.".
EB5C CALL Take_IsPlayerHoldingItem
EB5F LD A,$06 Call ValidateItemPresent with item 06: "A swamp lizard.".
EB61 CALL ValidateItemPresent
EB64 JP NZ,TakeItem Jump to TakeItem if "A swamp lizard." is not present.
Print "The swamp lizard prevents you.".
EB67 LD HL,$D21E HL=Messaging_TheSwampLizardPreventsYou.
EB6A JP PrintResponse Jump to PrintResponse.
Prev: EB54 Up: Map Next: EB6D