Prev: F006 Up: Map Next: F03A
F011: Take: Rope
Used by the routine at Validate_Take_RingOff.
Was the player trying to take ... the rope?
Validate_Take_Rope F011 LD HL,$E823 Call Parser_AdvanceToSeparator with E823.
F014 CALL Parser_AdvanceToSeparator
F017 JR NZ,Take_YouCant Jump to Take_YouCant if the token isn't for the rope.
F019 LD A,($BA9B) Jump to Take_YouCant if *CurrentRoom is room 48: " Inside the Volcano".
F01C CP $48
F01E JR Z,Take_YouCant
F020 LD A,$08 Call Take_IsPlayerHoldingItem with item 08: "A rope".
F022 CALL Take_IsPlayerHoldingItem
F025 LD A,$23 Jump to Validate_Take_Rope_PickUp if ValidateItemPresent reports that "A projection of rock with a rope tied to it. The rope dangles down into the volc" isn't in the current room.
F027 CALL ValidateItemPresent
F02A JR NZ,Validate_Take_Rope_PickUp
F02C LD BC,$2322 Call TransformItem to transform "A projection of rock with a rope tied to it. The rope dangles down into the volc" into "A projection of rock hangs over the lip of the volcano".
F02F CALL TransformItem
Pick up the rope.
Validate_Take_Rope_PickUp F032 LD B,$08 B=08; jump to TakeItem.
F034 JP TakeItem
Nothing else is valid.
Take_YouCant F037 JP Response_YouCant_GameLoop Jump to Response_YouCant_GameLoop.
Prev: F006 Up: Map Next: F03A