![]() |
Routines |
Prev: 61591 | Up: Map | Next: 61742 |
|
||||
Action_Help | 61596 | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject. | |
The "HELP" command can only be called on its own; you can't type "HELP CROCODILE" or "HELP WITH MATCH".
|
||||
61599 | RET C | Return if there's any token set in UserInput_Token_2. | ||
Does the player want help with the natives/ cannibals?
|
||||
61600 | LD A,24 | Jump to Action_Help_Boulder if ValidateItemPresent reports the player isn't in the room where you're "Surrounded by natives". | ||
61602 | CALL ValidateItemPresent | |||
61605 | JR NZ,Action_Help_Boulder | |||
Provide an initial full response for the natives/ cannibals.
|
||||
61607 | LD HL,48212 | Jump to Action_Help_Cannibals if bit 1 of *GameFlags_Help is set, which relates to asking for help a second time. | ||
61610 | BIT 1,(HL) | |||
61612 | JR NZ,Action_Help_Cannibals | |||
This is the first time the player has asked for help on this topic, so flag that it's been answered from now on.
|
||||
61614 | SET 1,(HL) | Set bit 1 of *GameFlags_Help which relates to asking for help about the natives/ cannibals. | ||
Print "You're really in the soup now.".
|
||||
61616 | LD HL,55668 | HL=55668. | ||
61619 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
Print "Sorry...
That was in poor taste.".
|
||||
61622 | LD HL,55699 | HL=55699. | ||
61625 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll. | ||
Print "Try distracting them.".
|
||||
Action_Help_Cannibals | 61628 | LD HL,55732 | HL=55732. | |
61631 | JP PausePrintStringAndScroll_Alias | Jump to PausePrintStringAndScroll_Alias. | ||
Does the player want help with the boulder?
|
||||
Action_Help_Boulder | 61634 | LD A,57 | Jump to Action_Help_Crocodile if ValidateItemPresent reports the player isn't in the room where there's a "A boulder on the brink of a ledge". | |
61636 | CALL ValidateItemPresent | |||
61639 | JR NZ,Action_Help_Crocodile | |||
The player is where the boulder is, so provide some pretty good help.
Print "Keep the noise down.".
|
||||
61641 | LD HL,55754 | HL=55754. | ||
61644 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
Does the player want help with the crocodile?
|
||||
Action_Help_Crocodile | 61647 | LD A,19 | Jump to label=Action_Help_CrocodileKeg if ValidateItemPresent reports the player isn't in the room where there's "A crocodile". | |
61649 | CALL ValidateItemPresent | |||
61652 | JR NZ,label=Action_Help_CrocodileKeg | |||
The player is where the crocodile is, so provide some abstract unhelpful help.
Print "Look at those JAWS!".
|
||||
61654 | LD HL,55775 | HL=55775. | ||
61657 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
Does the player want help with the crocodile with the keg in its mouth?
|
||||
label=Action_Help_CrocodileKeg | 61660 | LD A,20 | Jump to Response_WorkItOutForYourself if ValidateItemPresent reports that "A crocodile (with the keg in its mouth)" is in the same room as the player. | |
61662 | CALL ValidateItemPresent | |||
61665 | JP Z,Response_WorkItOutForYourself | |||
Does the player want help with the giant octopus?
|
||||
61668 | LD A,43 | Jump to Response_WorkItOutForYourself if ValidateItemPresent reports that "A giant octopus" is in the same room as the player. | ||
61670 | CALL ValidateItemPresent | |||
61673 | JP Z,Response_WorkItOutForYourself | |||
Does the player want help with the lion?
|
||||
61676 | LD A,42 | Jump to Action_Help_Parrot if ValidateItemPresent reports the player isn't in the room where there's "A lion". | ||
61678 | CALL ValidateItemPresent | |||
61681 | JR NZ,Action_Help_Parrot | |||
The player is where the lion is, so provide some abstract unhelpful help.
Print "Nice pussy!".
|
||||
61683 | LD HL,55847 | HL=55847. | ||
61686 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
Does the player want help with the parrot?
|
||||
Action_Help_Parrot | 61689 | LD A,39 | Jump to Action_Help_Sea if ValidateItemPresent reports the player isn't in the room where there's "A parrot (alive)". | |
61691 | CALL ValidateItemPresent | |||
61694 | JR NZ,Action_Help_Sea | |||
The player is where the parrot is, so provide some abstract unhelpful help.
Print "Pretty polly!".
|
||||
61696 | LD HL,55859 | HL=55859. | ||
61699 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
Does the player want help when they're at sea?
|
||||
Action_Help_Sea | 61702 | LD A,(48331) | Jump to Action_Help_Door if the *CurrentRoom is not room 2: " The Open Sea". | |
61705 | CP 2 | |||
61707 | JR NZ,Action_Help_Door | |||
More unhelpful help ...
Print "Now you're really lost.".
|
||||
61709 | LD HL,55873 | HL=55873. | ||
61712 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
Does the player want help with the door?
|
||||
Action_Help_Door | 61715 | LD A,50 | Jump to Response_WorkItOutForYourself if ValidateItemPresent reports that "The door is closed" is in the same room as the player. | |
61717 | CALL ValidateItemPresent | |||
61720 | JP Z,Response_WorkItOutForYourself | |||
Does the player want help with the pit?
|
||||
61723 | LD HL,59625 | Call CheckActiveScenicEvents with Data_ItemGroup_Pit. | ||
61726 | CALL CheckActiveScenicEvents | |||
61729 | JR NZ,Action_Help_GiveUp | Jump to Action_Help_GiveUp if the player is not in the room with the pit. | ||
Does the player want help with the plank?
|
||||
61731 | LD A,4 | Jump to Response_WorkItOutForYourself if ValidateItemPresent reports that "A plank" is in the same room as the player. | ||
61733 | CALL ValidateItemPresent | |||
61736 | JP Z,Response_WorkItOutForYourself | |||
There's no more help available...
|
||||
Action_Help_GiveUp | 61739 | JP Response_YouReallyDontNeedIt | Jump to Response_YouReallyDontNeedIt. |
Prev: 61591 | Up: Map | Next: 61742 |