![]()  | 
Routines | 
| Prev: 60317 | Up: Map | Next: 60345 | 
| 
 | 
||||
| Process_PreEnterCrystalCavern | 60327 | LD A,(42947) | Return if *CurrentRoom is not room 66: Inside A Rock Cavern. | |
| 60330 | CP 66 | |||
| 60332 | RET NZ | |||
| 
 
This entry point is used by the routine at Process_PreEnterInsideRockCavern.
 
Check if the player is wearing the cloak?
 
 | 
||||
| IsPlayerWearingCloak | 60333 | LD A,109 | Call CheckObjectInInventory with "A cloak (worn)". | |
| 60335 | CALL CheckObjectInInventory | |||
| 60338 | 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.".
 
 | 
||||
| 60339 | LD HL,57160 | HL=Messaging_MoveThroughFirecurtain. | ||
| 60342 | JP PrintAndGameOver_Duplicate | Jump to PrintAndGameOver_Duplicate. | ||
| Prev: 60317 | Up: Map | Next: 60345 |