![]() |
Routines |
| Prev: 60862 | Up: Map | Next: 60904 |
|
Explain how badly hurt the player is, if at all.
|
||||
| Action_Help | 60867 | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject. | |
|
The "HELP" command can only be called on its own.
|
||||
| 60870 | RET C | Return if there's any token set in UserInput_SecondToken. | ||
|
Does the player want help with their injury?
|
||||
| 60871 | LD A,72 | Jump to Action_Help_GiveUp if ValidateItemPresent reports the player isn't in the room where you're "You are seriously injured". | ||
| 60873 | CALL ValidateItemPresent | |||
| 60876 | JR NZ,Action_Help_GiveUp | |||
|
Is the wood nymph already here?
|
||||
| 60878 | LD A,138 | Jump to Action_Help_GiveUp if ValidateItemPresent reports that 138 is in the same room as the player. | ||
| 60880 | CALL ValidateItemPresent | |||
| 60883 | JR Z,Action_Help_GiveUp | |||
|
Is the wood nymph still in play?
|
||||
| 60885 | LD A,138 | Call GetObjectLocation with 138. | ||
| 60887 | CALL GetObjectLocation | |||
| 60890 | AND A | Jump to Action_Help_GiveUp if the wood nymph is not in play. | ||
| 60891 | JR Z,Action_Help_GiveUp | |||
|
Help is on the way.
Print "Help is on the way.".
|
||||
| 60893 | LD HL,56399 | HL=Messaging_HelpIsOnTheWay. | ||
| 60896 | JR Action_Help_Reply | Jump to Action_Help_Reply. | ||
|
There's no more help available...
Print "Work it out for yourself.".
|
||||
| Action_Help_GiveUp | 60898 | LD HL,56373 | HL=Messaging_WorkItOutForYourself. | |
| Action_Help_Reply | 60901 | JP PrintResponse | Jump to PrintResponse. | |
|
View the equivalent code in;
|
||||
| Prev: 60862 | Up: Map | Next: 60904 |