![]() |
Routines |
| Prev: 62813 | Up: Map | Next: 63318 |
|
Carry out the "Help" command.
|
||||
| Action_Help | 63253 | CALL ParserValidateNoDirectObject | Call ParserValidateNoDirectObject. | |
| 63256 | RET C | Return if the direct object is malformed. | ||
|
Is "A swamp lizard." in the current room?
|
||||
| 63257 | LD A,6 | Jump to Response_ReadTheInformationCarefully if ValidateItemPresent reports that "A swamp lizard." is present. | ||
| 63259 | CALL ValidateItemPresent | |||
| 63262 | JP Z,Response_ReadTheInformationCarefully | |||
|
Is "A balrog." in the current room?
|
||||
| 63265 | LD A,44 | Jump to Response_ReadTheInformationCarefully if ValidateItemPresent reports that "A balrog." is present. | ||
| 63267 | CALL ValidateItemPresent | |||
| 63270 | JP Z,Response_ReadTheInformationCarefully | |||
|
Is "A bear." in the current room?
|
||||
| 63273 | LD A,7 | Jump to Action_Help_Next if ValidateItemPresent reports that "A bear." is not present. | ||
| 63275 | CALL ValidateItemPresent | |||
| 63278 | JR NZ,Action_Help_Next | |||
|
Print "It looks hungry.".
|
||||
| 63280 | LD HL,53510 | HL=Messaging_ItLooksHungry. | ||
| 63283 | JP PrintResponse | Jump to PrintResponse. | ||
|
Is "A venomous spider." in the current room?
|
||||
| Action_Help_Next | 63286 | LD A,78 | Jump to Response_TryALittleMusic if ValidateItemPresent reports that "A venomous spider." is present. | |
| 63288 | CALL ValidateItemPresent | |||
| 63291 | JP Z,Response_TryALittleMusic | |||
| 63294 | LD A,(44749) | A=*CurrentRoom. | ||
|
Is the player in room 35: "
The Hall of Infinity"?
|
||||
| 63297 | CP 35 | Jump to Response_TryALittleMusic if *CurrentRoom is room 35: " The Hall of Infinity". | ||
| 63299 | JP Z,Response_TryALittleMusic | |||
|
Is "The Black Knight." in the current room?
|
||||
| 63302 | LD A,86 | Jump to Response_YouDontReallyNeedIt if ValidateItemPresent reports that "The Black Knight." is not present. | ||
| 63304 | CALL ValidateItemPresent | |||
| 63307 | JR NZ,Action_Help_Next2 | |||
|
Print "Try corrosion.".
|
||||
| 63309 | LD HL,53547 | HL=Messaging_TryCorrosion. | ||
| 63312 | JP PrintResponse | Jump to PrintResponse. | ||
| Action_Help_Next2 | 63315 | JP Response_YouDontReallyNeedIt | Jump to Response_YouDontReallyNeedIt. | |
|
View the equivalent code in;
|
||||
| Prev: 62813 | Up: Map | Next: 63318 |