![]() |
Routines |
| Prev: EDBE | Up: Map | Next: EDE8 |
|
Explain how badly hurt the player is, if at all.
|
||||
| Action_Help | EDC3 | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject. | |
|
The "HELP" command can only be called on its own.
|
||||
| EDC6 | RET C | Return if there's any token set in UserInput_SecondToken. | ||
|
Does the player want help with their injury?
|
||||
| EDC7 | LD A,$48 | Jump to Action_Help_GiveUp if ValidateItemPresent reports the player isn't in the room where you're "You are seriously injured". | ||
| EDC9 | CALL ValidateItemPresent | |||
| EDCC | JR NZ,Action_Help_GiveUp | |||
|
Is the wood nymph already here?
|
||||
| EDCE | LD A,$8A | Jump to Action_Help_GiveUp if ValidateItemPresent reports that 8A is in the same room as the player. | ||
| EDD0 | CALL ValidateItemPresent | |||
| EDD3 | JR Z,Action_Help_GiveUp | |||
|
Is the wood nymph still in play?
|
||||
| EDD5 | LD A,$8A | Call GetObjectLocation with 8A. | ||
| EDD7 | CALL GetObjectLocation | |||
| EDDA | AND A | Jump to Action_Help_GiveUp if the wood nymph is not in play. | ||
| EDDB | JR Z,Action_Help_GiveUp | |||
|
Help is on the way.
Print "Help is on the way.".
|
||||
| EDDD | LD HL,$DC4F | HL=Messaging_HelpIsOnTheWay. | ||
| EDE0 | JR Action_Help_Reply | Jump to Action_Help_Reply. | ||
|
There's no more help available...
Print "Work it out for yourself.".
|
||||
| Action_Help_GiveUp | EDE2 | LD HL,$DC35 | HL=Messaging_WorkItOutForYourself. | |
| Action_Help_Reply | EDE5 | JP PrintResponse | Jump to PrintResponse. | |
|
View the equivalent code in;
|
||||
| Prev: EDBE | Up: Map | Next: EDE8 |