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 Return if the words after the verb are not valid for this command.
63662 RET C
63663 LD HL,59685 Jump to Action_Row_YouCant unless the player named crossing the river.
63666 CALL Parser_AdvanceToSeparator
63669 JR NZ,Action_Row_YouCant
63671 LD A,(47771) Jump to Action_Row_Next when the player is in room 29 (In the Boat).
63674 CP 29
63676 JR Z,Action_Row_Next
Reply with "You're not in the boat.".
63678 LD HL,56883 Print "You're not in the boat." and return to the game loop.
63681 JP PrintResponse
Action_Row_Next 63684 LD A,29 Call GetObjectLocation to fetch where the boat is.
63686 CALL GetObjectLocation
63689 CP 26 Jump to Action_Row_WesternBank unless the boat is in room 26 (The Western Bank of a Broad River).
63691 JR NZ,Action_Row_WesternBank
63693 LD BC,7451 Put object 29 (the boat) in room 27 (The Eastern Bank of a Broad River).
63696 CALL UpdateObjectLocation
63699 JR Action_Row_Across Jump to Action_Row_Across to say the boat has crossed.
Action_Row_WesternBank 63701 LD BC,7450 Put object 29 (the boat) in room 26 (The Western Bank of a Broad River).
63704 CALL UpdateObjectLocation
Reply with "You row across to the opposite bank.".
Action_Row_Across 63707 LD HL,58186 Print "You row across to the opposite bank." and return to the game loop.
63710 JP PrintResponse
Action_Row_YouCant 63713 JP Response_YouCant_GameLoop Tell the player the command is impossible.
Prev: 63593 Up: Map Next: 63716