![]() |
Routines |
| Prev: 37062 | Up: Map | Next: 37130 |
|
Used by the routine at Validate_Take_PoisonFungus.
Was the player trying to take the round stones?
|
||||
| Validate_Take_RoundStones | 37093 | LD HL,35192 | Jump to Validate_Take_Key unless the command matches the phrase at 35192 ("Some round stones."). | |
| 37096 | CALL Parser_AdvanceToSeparator | |||
| 37099 | JR NZ,Validate_Take_Key | |||
| 37101 | LD A,8 | |||
| 37103 | CALL Take_IsPlayerHoldingItem | |||
| 37106 | LD A,34 | Jump to Validate_Take_RoundStones_PickUp when "An alcove containing some round stones." is not here or being carried. | ||
| 37108 | CALL IsObjectInCurrentRoom | |||
| 37111 | JR NZ,Validate_Take_RoundStones_PickUp | |||
| 37113 | EXX | Keep the command pointer safe while the stones are moved. | ||
| 37114 | LD BC,8704 | Move "An alcove containing some round stones." to nowhere (0). | ||
| 37117 | CALL UpdateObjectLocation | |||
| 37120 | LD BC,9006 | Move "An empty alcove." to room 46: " The Torture Chamber". | ||
| 37123 | CALL UpdateObjectLocation | |||
| 37126 | EXX | Bring the command pointer back. | ||
|
Pick up the round stones.
|
||||
| Validate_Take_RoundStones_PickUp | 37127 | JP TakeItem | Jump to TakeItem. | |
| Prev: 37062 | Up: Map | Next: 37130 |