peasant: can actually wear the robe

This commit is contained in:
Vince Weaver 2021-11-29 00:51:25 -05:00
parent b59d3d0233
commit e41bad95b7
3 changed files with 7 additions and 6 deletions

View File

@ -174,7 +174,7 @@ inside_nn_cottage:
; put outside door
lda #13
sta PEASANT_X
lda #$6D
lda #$71
sta PEASANT_Y
; stop walking

View File

@ -524,7 +524,7 @@ parse_common_wear_robe:
lda GAME_STATE_1
and #WEARING_ROBE
beq parse_common_wear_robe_no_have
bne parse_common_wear_robe_already
parse_common_wear_robe_do_have:
; wear the robe
@ -540,11 +540,12 @@ parse_common_wear_robe_do_have:
ldx #<wear_robe_message
ldy #>wear_robe_message
jsr partial_message_step
jmp finish_parse_message
parse_common_wear_robe_already:
ldx #<wear_robe_already_message
ldy #>wear_robe_already_message
jmp finish_parse_message
parse_common_wear_robe_no_have:
ldx #<wear_robe_none_message

View File

@ -214,7 +214,7 @@ game_loop:
lda PEASANT_Y ; #$68
cmp #$64
bcc not_ned_cottage
cmp #$71
cmp #$70
bcs not_ned_cottage
lda PEASANT_X ; 15 - 17