Prev: 90C6 Up: Map Next: 910A
90E5: Take: Round Stones
Used by the routine at Validate_Take_PoisonFungus.
Was the player trying to take the round stones?
Validate_Take_RoundStones 90E5 LD HL,$8978 Jump to Validate_Take_Key unless the command matches the phrase at 8978 ("Some round stones.").
90E8 CALL Parser_AdvanceToSeparator
90EB JR NZ,Validate_Take_Key
90ED LD A,$08
90EF CALL Take_IsPlayerHoldingItem
90F2 LD A,$22 Jump to Validate_Take_RoundStones_PickUp when "An alcove containing some round stones." is not here or being carried.
90F4 CALL IsObjectInCurrentRoom
90F7 JR NZ,Validate_Take_RoundStones_PickUp
90F9 EXX Keep the command pointer safe while the stones are moved.
90FA LD BC,$2200 Move "An alcove containing some round stones." to nowhere (00).
90FD CALL UpdateObjectLocation
9100 LD BC,$232E Move "An empty alcove." to room 2E: " The Torture Chamber".
9103 CALL UpdateObjectLocation
9106 EXX Bring the command pointer back.
Pick up the round stones.
Validate_Take_RoundStones_PickUp 9107 JP TakeItem Jump to TakeItem.
Prev: 90C6 Up: Map Next: 910A