Prev: 62119 Up: Map Next: 62151
62126: Handler: Check Weapon
Require the bow, and an arrow, before combat continues.
Handler_CheckWeapon 62126 LD A,3 Jump to Handler_CheckWeapon_Next if the player is not carrying object 3 (the bow).
62128 CALL IsObjectCarried
62131 JR NZ,Handler_CheckWeapon_Next
62133 LD A,4 Return when the player is carrying object 4 (the arrows).
62135 CALL IsObjectCarried
62138 RET Z
62139 LD HL,57041 Print "You have no arrows." to say the arrows are missing.
62142 JR Handler_CheckWeapon_Reply
Handler_CheckWeapon_Next 62144 LD HL,57129 The bow is missing, so say "You're not carrying a bow.".
Handler_CheckWeapon_Reply 62147 POP DE Discard the return address on the stack.
62148 JP PrintResponse Jump back to PrintResponse to print that reply and return to the game loop.
Prev: 62119 Up: Map Next: 62151