peasant: get points talking to archer

This commit is contained in:
Vince Weaver 2021-10-25 00:54:19 -04:00
parent 543dfbc2bd
commit d315c6cfdd
1 changed files with 21 additions and 6 deletions

View File

@ -398,14 +398,30 @@ archery_talk_mendelev:
ldy #>archery_talk_mendelev2_message
jsr partial_message_step
; add 1 point to score
; make noise
; but after the below somehow?
ldx #<archery_talk_mendelev3_message
ldy #>archery_talk_mendelev3_message
jmp finish_parse_message
jsr finish_parse_message
; add 1 point to score if don't have mask or trinket
; add 2 points otherwise
lda INVENTORY_2
and #INV2_TRINKET
bne archer_2_points
lda INVENTORY_1
and #INV1_MONSTER_MASK
bne archer_2_points
archer_1_point:
lda #1
bne archer_score_points ; bra
archer_2_points:
lda #2
archer_score_points:
jsr score_points
rts
archery_talk_too_far:
ldx #<archery_talk_far_message
@ -413,7 +429,6 @@ archery_talk_too_far:
jmp finish_parse_message
;=======================
;=======================
;=======================