Prev: EB9D Up: Map Next: EBB9
EBA7: Process: Pre-Enter Crystal Cavern
Process_PreEnterCrystalCavern EBA7 LD A,($A7C3) Return if *CurrentRoom is not room 42: Inside A Rock Cavern.
EBAA CP $42
EBAC RET NZ
This entry point is used by the routine at Process_PreEnterInsideRockCavern.
Check if the player is wearing the cloak?
IsPlayerWearingCloak EBAD LD A,$6D Call CheckObjectInInventory with "A cloak (worn)".
EBAF CALL CheckObjectInInventory
EBB2 RET Z Return if the player has "A cloak (worn)" in their inventory.
Uh oh ... the player isn't wearing the cloak ...
Print "As you move through the fire curtain,you are incinerated.".
EBB3 LD HL,$DF48 HL=Messaging_MoveThroughFirecurtain.
EBB6 JP PrintAndGameOver_Duplicate Jump to PrintAndGameOver_Duplicate.
Prev: EB9D Up: Map Next: EBB9