Prev: 63229 Up: Map Next: 63389
63259: Action: Enter
Go into the farmhouse, the hut, the forge, the hovel or the boat.
Action_Enter 63259 CALL Parser_ValidateDirectObject Return if the words after the verb are not valid for this command.
63262 RET C
63263 LD HL,59628 Jump to Action_Enter_Next unless the player named the giant spider.
63266 CALL Parser_AdvanceToSeparator
63269 JR NZ,Action_Enter_Next
63271 LD A,(47771) Jump to Response_YoureInsideAlready unless the player is in room 3 (At a large Farmhouse).
63274 CP 3
63276 JP NZ,Response_YoureInsideAlready
63279 LD A,53 Jump to Response_YouCant_GameLoop if object 53 (an open door) is not here.
63281 CALL IsObjectInCurrentRoom
63284 JP NZ,Response_YouCant_GameLoop
63287 LD A,2 Try to enter room 2 (Inside the Farmhouse).
63289 CALL Handler_InjuryCheck
63292 RET Return.
Action_Enter_Next 63293 LD HL,59630 Jump to Action_Enter_Hovel unless the player named the hut.
63296 CALL Parser_AdvanceToSeparator
63299 JR NZ,Action_Enter_Hovel
63301 LD A,(47771) Jump to Response_YoureInsideAlready unless the player is in room 15 (At the Woodman's Hut).
63304 CP 15
63306 JP NZ,Response_YoureInsideAlready
63309 LD A,57 Jump to Response_YouCant_GameLoop if object 57 is not here.
63311 CALL IsObjectInCurrentRoom
63314 JP NZ,Response_YouCant_GameLoop
63317 LD A,16 Try to enter room 16 (Inside the Woodman's Hut).
63319 CALL Handler_InjuryCheck
63322 RET Return.
Action_Enter_Hovel 63323 LD HL,59632 Jump to Action_Enter_Log unless the player named the hovel.
63326 CALL Parser_AdvanceToSeparator
63329 JR NZ,Action_Enter_Log
63331 LD A,(47771) Jump to Response_YoureInsideAlready unless the player is in room 60 (At the Witch's Hovel).
63334 CP 60
63336 JP NZ,Response_YoureInsideAlready
63339 LD A,61 Jump to Response_YouCant_GameLoop if object 61 is not here.
63341 CALL IsObjectInCurrentRoom
63344 JP NZ,Response_YouCant_GameLoop
63347 LD A,61 Try to enter room 61 (Inside the Witch's Hovel).
63349 CALL Handler_InjuryCheck
63352 RET Return.
Action_Enter_Log 63353 LD HL,59634 Jump to Action_Enter_Boat unless the player named the log.
63356 CALL Parser_AdvanceToSeparator
63359 JR NZ,Action_Enter_Boat
63361 LD A,(47771) Jump to Response_YoureInsideAlready unless the player is in room 66 (At the Blacksmith's Forge).
63364 CP 66
63366 JP NZ,Response_YoureInsideAlready
63369 LD A,67 Try to enter room 67 (Inside the Forge).
63371 CALL Handler_InjuryCheck
63374 RET Return.
Action_Enter_Boat 63375 LD HL,59636 Jump to Action_Enter_YouCant unless the player named the boat.
63378 CALL Parser_AdvanceToSeparator
63381 JR NZ,Action_Enter_YouCant
63383 JP Response_PleaseRephraseThat_EnterTheBoat Jump back to Response_PleaseRephraseThat_EnterTheBoat to ask for a rephrase.
Action_Enter_YouCant 63386 JP Response_YouCant_GameLoop Tell the player the command is impossible.
Prev: 63229 Up: Map Next: 63389