![]() |
Routines |
| Prev: 9089 | Up: Map | Next: 90E5 |
|
Used by the routine at Validate_Take_GlowingSphere.
Was the player trying to take the poison fungus?
|
||||
| Validate_Take_PoisonFungus | 90C6 | LD HL,$8942 | Jump to Validate_Take_RoundStones unless the command matches the phrase at 8942 ("Some poison fungus."). | |
| 90C9 | CALL Parser_AdvanceToSeparator | |||
| 90CC | JR NZ,Validate_Take_RoundStones | |||
| 90CE | LD A,$07 | |||
| 90D0 | CALL Take_IsPlayerHoldingItem | |||
| 90D3 | LD A,$39 | Jump back to TakeItem when "A pair of gloves,which you are wearing." is here or being carried. | ||
| 90D5 | CALL IsObjectInCurrentRoom | |||
| 90D8 | JP Z,TakeItem | |||
|
Bad luck!
|
||||
| Validate_Take_PoisonFungus_Fatal | 90DB | LD HL,$8DB3 | Switch GameOver onto the stack so the next return actions a "game over". | |
| 90DE | EX (SP),HL | |||
|
Print "As soon as you touch the fungus,
a terrible pain racks your body.
You collapse to the floor.".
|
||||
| 90DF | LD HL,$7AA8 | HL=Messaging_AsSoonAsYouTouchTheFungusATerriblePain. | ||
| 90E2 | JP TakeItem_PrintAndReturn | Jump to TakeItem_PrintAndReturn. | ||
| Prev: 9089 | Up: Map | Next: 90E5 |