![]() |
Routines |
| Prev: 63389 | Up: Map | Next: 63467 |
|
Touch the glowing rock and open the way east.
|
||||
| Action_Touch | 63426 | CALL Parser_ValidateDirectObject | Return if the words after the verb are not valid for this command. | |
| 63429 | RET C | |||
| 63430 | LD HL,59641 | Jump to Action_Touch_Next unless the player named the glowing rock. | ||
| 63433 | CALL Parser_AdvanceToSeparator | |||
| 63436 | JR NZ,Action_Touch_Next | |||
| 63438 | LD A,51 | Jump to Response_ItHasNoApparentEffect if object 51 (the glowing rock) is not here. | ||
| 63440 | CALL IsObjectInCurrentRoom | |||
| 63443 | JP NZ,Response_ItHasNoApparentEffect | |||
| 63446 | LD A,(60074) | Jump back to Response_ItHasNoApparentEffect when the rock wall already has a way east. | ||
| 63449 | AND A | |||
| 63450 | JP NZ,Response_ItHasNoApparentEffect | |||
| 63453 | LD A,70 | Open the way east and print "As you touch the rock, a passage opens,leading east." and return to the game loop. | ||
| 63455 | LD (60074),A | |||
| 63458 | LD HL,57831 | |||
| 63461 | JP PrintResponse | |||
| Action_Touch_Next | 63464 | JP Response_ItHasNoApparentEffect | Jump back to Response_ItHasNoApparentEffect to say it has no effect. | |
| Prev: 63389 | Up: Map | Next: 63467 |