![]() |
Routines |
| Prev: 37001 | Up: Map | Next: 37093 |
|
Used by the routine at Validate_Take_GlowingSphere.
Was the player trying to take the poison fungus?
|
||||
| Validate_Take_PoisonFungus | 37062 | LD HL,35138 | Jump to Validate_Take_RoundStones unless the command matches the phrase at 35138 ("Some poison fungus."). | |
| 37065 | CALL Parser_AdvanceToSeparator | |||
| 37068 | JR NZ,Validate_Take_RoundStones | |||
| 37070 | LD A,7 | |||
| 37072 | CALL Take_IsPlayerHoldingItem | |||
| 37075 | LD A,57 | Jump back to TakeItem when "A pair of gloves,which you are wearing." is here or being carried. | ||
| 37077 | CALL IsObjectInCurrentRoom | |||
| 37080 | JP Z,TakeItem | |||
|
Bad luck!
|
||||
| Validate_Take_PoisonFungus_Fatal | 37083 | LD HL,36275 | Switch GameOver onto the stack so the next return actions a "game over". | |
| 37086 | EX (SP),HL | |||
|
Print "As soon as you touch the fungus,
a terrible pain racks your body.
You collapse to the floor.".
|
||||
| 37087 | LD HL,31400 | HL=Messaging_AsSoonAsYouTouchTheFungusATerriblePain. | ||
| 37090 | JP TakeItem_PrintAndReturn | Jump to TakeItem_PrintAndReturn. | ||
| Prev: 37001 | Up: Map | Next: 37093 |