Prev: 63593 Up: Map Next: 63716
63659: Action: Row
Row the boat, if the player is in it and has the oars.
Action_Row 63659 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
63662 RET C Return if the direct object is malformed.
Was the player trying to row ... across the river?
63663 LD HL,59685 Call Parser_AdvanceToSeparator with 59685.
63666 CALL Parser_AdvanceToSeparator
63669 JR NZ,Row_YouCant Jump to Row_YouCant if the token isn't for crossing the river.
63671 LD A,(47771) Jump to Row_CheckBoat if *CurrentRoom is room 29: " In the Boat".
63674 CP 29
63676 JR Z,Row_CheckBoat
Print "You're not in the boat.".
63678 LD HL,56883 HL=Messaging_YoureNotInTheBoat.
63681 JP PrintResponse Jump to PrintResponse.
Where is the boat?
Row_CheckBoat 63684 LD A,29 Call GetObjectLocation with item 29: "A rowing boat".
63686 CALL GetObjectLocation
63689 CP 26 Jump to Row_WesternBank if the boat isn't in room 26: " The Western Bank".
63691 JR NZ,Row_WesternBank
63693 LD BC,7451 Call UpdateObjectLocation to move "A rowing boat" to room 27: " The Eastern Bank".
63696 CALL UpdateObjectLocation
63699 JR Row_Across Jump to Row_Across.
Move the boat to the western bank.
Row_WesternBank 63701 LD BC,7450 Call UpdateObjectLocation to move "A rowing boat" to room 26: " The Western Bank".
63704 CALL UpdateObjectLocation
Print "You row across to the opposite bank.".
Row_Across 63707 LD HL,58186 HL=Messaging_YouRowAcrossTo.
63710 JP PrintResponse Jump to PrintResponse.
Nothing else is valid.
Row_YouCant 63713 JP Response_YouCant_GameLoop Jump to Response_YouCant_GameLoop.
View the equivalent code in;
Prev: 63593 Up: Map Next: 63716