Prev: 63389 Up: Map Next: 63467
63426: Action: Touch
Touch the glowing rock and open the way east.
Action_Touch 63426 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
63429 RET C Return if the direct object is malformed.
Was the player trying to touch ... the glowing rock?
63430 LD HL,59641 Call Parser_AdvanceToSeparator with 59641.
63433 CALL Parser_AdvanceToSeparator
63436 JR NZ,Touch_YouCant Jump to Touch_YouCant if the token isn't for the glowing rock.
63438 LD A,51 Jump to Response_ItHasNoApparentEffect if ValidateItemPresent reports that "A glowing rock" isn't in the current room.
63440 CALL ValidateItemPresent
63443 JP NZ,Response_ItHasNoApparentEffect
63446 LD A,(60074) Jump to Response_ItHasNoApparentEffect if *Exit_RockWallEast is not equal to 0.
63449 AND A
63450 JP NZ,Response_ItHasNoApparentEffect
This action changes the map:
Open the way east.
63453 LD A,70 Write 70 to *Exit_RockWallEast to open up eastbound access to The Cavern of Silence from A Rock Wall.
63455 LD (60074),A
Print "As you touch the rock, a passage opens,leading east.".
63458 LD HL,57831 HL=Messaging_AsYouTouchTheRock.
63461 JP PrintResponse Jump to PrintResponse.
Nothing else is valid.
Touch_YouCant 63464 JP Response_ItHasNoApparentEffect Jump to Response_ItHasNoApparentEffect.
View the equivalent code in;
Prev: 63389 Up: Map Next: 63467