mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-07 21:30:39 +00:00
peasant: can actually wear the robe
This commit is contained in:
parent
b59d3d0233
commit
e41bad95b7
@ -174,7 +174,7 @@ inside_nn_cottage:
|
||||
; put outside door
|
||||
lda #13
|
||||
sta PEASANT_X
|
||||
lda #$6D
|
||||
lda #$71
|
||||
sta PEASANT_Y
|
||||
|
||||
; stop walking
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user