![]() |
Routines |
| Prev: 36376 | Up: Map | Next: 36540 |
|
Print the hint for this room, or a general hint.
|
||||
| ActionHelp | 36493 | CALL Parser_ValidateNoDirectObject | Return if the command names an object: the player is told to rephrase it. | |
| 36496 | RET C | |||
| 36497 | LD A,(25123) | Fetch the current room. | ||
| ActionHelp_Step1 | 36500 | LD HL,36540 | Point at the rooms that have a hint of their own. | |
| 36503 | LD BC,8 | 8 rooms have a hint of their own. | ||
| 36506 | CPIR | Find this room among the rooms that have a hint. | ||
| ActionHelp_Loop1 | 36508 | JR NZ,ActionHelp_Step2 | This room has no hint of its own. | |
| 36510 | LD HL,30612 | Print "Try rephrasing commands and examining things." and start a new line. | ||
| 36513 | JR ActionHelp_Loop3 | |||
| ActionHelp_Loop2 | 36515 | LD HL,30658 | Print "You don't really need it." and start a new line. | |
| ActionHelp_Loop3 | 36518 | CALL PrintStringAndANewline | ||
| 36521 | RET | Return. | ||
| ActionHelp_Step2 | 36522 | CP 25 | The special hint applies only in The eastern end of a Long Cavern.. | |
| 36524 | JR NZ,ActionHelp_Step3 | |||
| 36526 | LD A,11 | Jump back to ActionHelp_Loop1 when Some explosives. (11) is not here or being carried. | ||
| 36528 | CALL IsObjectInCurrentRoom | |||
| 36531 | JR NZ,ActionHelp_Loop1 | |||
| 36533 | LD HL,30565 | Print "I wouldn't stand there when this lot goes off." and start a new line. | ||
| 36536 | JR ActionHelp_Loop3 | |||
| ActionHelp_Step3 | 36538 | JR ActionHelp_Loop2 | Continue at ActionHelp_Loop2 to print the general hint. | |
| Prev: 36376 | Up: Map | Next: 36540 |