Prev: F79D Up: Map Next: F7EB
F7C2: Action: Touch
Touch the glowing rock and open the way east.
Action_Touch F7C2 CALL Parser_ValidateDirectObject Return if the words after the verb are not valid for this command.
F7C5 RET C
F7C6 LD HL,$E8F9 Jump to Action_Touch_Next unless the player named the glowing rock.
F7C9 CALL Parser_AdvanceToSeparator
F7CC JR NZ,Action_Touch_Next
F7CE LD A,$33 Jump to Response_ItHasNoApparentEffect if object 33 (the glowing rock) is not here.
F7D0 CALL IsObjectInCurrentRoom
F7D3 JP NZ,Response_ItHasNoApparentEffect
F7D6 LD A,($EAAA) Jump back to Response_ItHasNoApparentEffect when the rock wall already has a way east.
F7D9 AND A
F7DA JP NZ,Response_ItHasNoApparentEffect
F7DD LD A,$46 Open the way east and print "As you touch the rock, a passage opens,leading east." and return to the game loop.
F7DF LD ($EAAA),A
F7E2 LD HL,$E1E7
F7E5 JP PrintResponse
Action_Touch_Next F7E8 JP Response_ItHasNoApparentEffect Jump back to Response_ItHasNoApparentEffect to say it has no effect.
Prev: F79D Up: Map Next: F7EB