Prev: 63705 Up: Map Next: 63814
63771: Action: Shoot
Action_Shoot 63771 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
63774 RET C Return if the direct object is malformed.
63775 LD A,15 Call CheckObjectInInventory with item: "A gun".
63777 CALL CheckObjectInInventory
63780 JR Z,PlayerHasGun Jump to PlayerHasGun if the player has the gun in their inventory.
Print "You haven't got a gun.".
63782 LD HL,57694 HL=57694.
63785 JP PrintStringAndNewline_Alias Jump to PrintStringAndNewline_Alias.
PlayerHasGun 63788 LD HL,60070 Call MatchPhraseTokens with PhraseTokens_PirateWithGun_2.
63791 CALL MatchPhraseTokens
63794 JP Z,Action_Kill_3 Jump to Action_Kill_3 if the token is for the .
63797 LD HL,60076 Call MatchPhraseTokens with PhraseTokens_ParrotWithGun_2.
63800 CALL MatchPhraseTokens
63803 JR NZ,Shooting_Invalid Jump to Shooting_Invalid if the token isn't for the .
Print "It's already dead.".
63805 LD HL,57675 HL=57675.
63808 JP PrintStringAndNewline_Alias Jump to PrintStringAndNewline_Alias.
Nothing else is valid.
Shooting_Invalid 63811 JP Response_ItHasNoApparentEffect Jump to Response_ItHasNoApparentEffect.
Prev: 63705 Up: Map Next: 63814