![]() |
Routines |
| Prev: F6FD | Up: Map | Next: F79D |
|
Go into the farmhouse, the hut, the forge, the hovel or the boat.
|
||||
| Action_Enter | F71B | CALL Parser_ValidateDirectObject | Return if the words after the verb are not valid for this command. | |
| F71E | RET C | |||
| F71F | LD HL,$E8EC | Jump to Action_Enter_Next unless the player named the giant spider. | ||
| F722 | CALL Parser_AdvanceToSeparator | |||
| F725 | JR NZ,Action_Enter_Next | |||
| F727 | LD A,($BA9B) | Jump to Response_YoureInsideAlready unless the player is in room 03 (At a large Farmhouse). | ||
| F72A | CP $03 | |||
| F72C | JP NZ,Response_YoureInsideAlready | |||
| F72F | LD A,$35 | Jump to Response_YouCant_GameLoop if object 35 (an open door) is not here. | ||
| F731 | CALL IsObjectInCurrentRoom | |||
| F734 | JP NZ,Response_YouCant_GameLoop | |||
| F737 | LD A,$02 | Try to enter room 02 (Inside the Farmhouse). | ||
| F739 | CALL Handler_InjuryCheck | |||
| F73C | RET | Return. | ||
| Action_Enter_Next | F73D | LD HL,$E8EE | Jump to Action_Enter_Hovel unless the player named the hut. | |
| F740 | CALL Parser_AdvanceToSeparator | |||
| F743 | JR NZ,Action_Enter_Hovel | |||
| F745 | LD A,($BA9B) | Jump to Response_YoureInsideAlready unless the player is in room 0F (At the Woodman's Hut). | ||
| F748 | CP $0F | |||
| F74A | JP NZ,Response_YoureInsideAlready | |||
| F74D | LD A,$39 | Jump to Response_YouCant_GameLoop if object 39 is not here. | ||
| F74F | CALL IsObjectInCurrentRoom | |||
| F752 | JP NZ,Response_YouCant_GameLoop | |||
| F755 | LD A,$10 | Try to enter room 10 (Inside the Woodman's Hut). | ||
| F757 | CALL Handler_InjuryCheck | |||
| F75A | RET | Return. | ||
| Action_Enter_Hovel | F75B | LD HL,$E8F0 | Jump to Action_Enter_Log unless the player named the hovel. | |
| F75E | CALL Parser_AdvanceToSeparator | |||
| F761 | JR NZ,Action_Enter_Log | |||
| F763 | LD A,($BA9B) | Jump to Response_YoureInsideAlready unless the player is in room 3C (At the Witch's Hovel). | ||
| F766 | CP $3C | |||
| F768 | JP NZ,Response_YoureInsideAlready | |||
| F76B | LD A,$3D | Jump to Response_YouCant_GameLoop if object 3D is not here. | ||
| F76D | CALL IsObjectInCurrentRoom | |||
| F770 | JP NZ,Response_YouCant_GameLoop | |||
| F773 | LD A,$3D | Try to enter room 3D (Inside the Witch's Hovel). | ||
| F775 | CALL Handler_InjuryCheck | |||
| F778 | RET | Return. | ||
| Action_Enter_Log | F779 | LD HL,$E8F2 | Jump to Action_Enter_Boat unless the player named the log. | |
| F77C | CALL Parser_AdvanceToSeparator | |||
| F77F | JR NZ,Action_Enter_Boat | |||
| F781 | LD A,($BA9B) | Jump to Response_YoureInsideAlready unless the player is in room 42 (At the Blacksmith's Forge). | ||
| F784 | CP $42 | |||
| F786 | JP NZ,Response_YoureInsideAlready | |||
| F789 | LD A,$43 | Try to enter room 43 (Inside the Forge). | ||
| F78B | CALL Handler_InjuryCheck | |||
| F78E | RET | Return. | ||
| Action_Enter_Boat | F78F | LD HL,$E8F4 | Jump to Action_Enter_YouCant unless the player named the boat. | |
| F792 | CALL Parser_AdvanceToSeparator | |||
| F795 | JR NZ,Action_Enter_YouCant | |||
| F797 | JP Response_PleaseRephraseThat_EnterTheBoat | Jump back to Response_PleaseRephraseThat_EnterTheBoat to ask for a rephrase. | ||
| Action_Enter_YouCant | F79A | JP Response_YouCant_GameLoop | Tell the player the command is impossible. | |
| Prev: F6FD | Up: Map | Next: F79D |