mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-16 07:29:29 +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
|
; put outside door
|
||||||
lda #13
|
lda #13
|
||||||
sta PEASANT_X
|
sta PEASANT_X
|
||||||
lda #$6D
|
lda #$71
|
||||||
sta PEASANT_Y
|
sta PEASANT_Y
|
||||||
|
|
||||||
; stop walking
|
; stop walking
|
||||||
|
|
|
@ -524,7 +524,7 @@ parse_common_wear_robe:
|
||||||
|
|
||||||
lda GAME_STATE_1
|
lda GAME_STATE_1
|
||||||
and #WEARING_ROBE
|
and #WEARING_ROBE
|
||||||
beq parse_common_wear_robe_no_have
|
bne parse_common_wear_robe_already
|
||||||
|
|
||||||
parse_common_wear_robe_do_have:
|
parse_common_wear_robe_do_have:
|
||||||
; wear the robe
|
; wear the robe
|
||||||
|
@ -540,11 +540,12 @@ parse_common_wear_robe_do_have:
|
||||||
|
|
||||||
ldx #<wear_robe_message
|
ldx #<wear_robe_message
|
||||||
ldy #>wear_robe_message
|
ldy #>wear_robe_message
|
||||||
jsr partial_message_step
|
|
||||||
jmp finish_parse_message
|
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:
|
parse_common_wear_robe_no_have:
|
||||||
ldx #<wear_robe_none_message
|
ldx #<wear_robe_none_message
|
||||||
|
|
|
@ -214,7 +214,7 @@ game_loop:
|
||||||
lda PEASANT_Y ; #$68
|
lda PEASANT_Y ; #$68
|
||||||
cmp #$64
|
cmp #$64
|
||||||
bcc not_ned_cottage
|
bcc not_ned_cottage
|
||||||
cmp #$71
|
cmp #$70
|
||||||
bcs not_ned_cottage
|
bcs not_ned_cottage
|
||||||
|
|
||||||
lda PEASANT_X ; 15 - 17
|
lda PEASANT_X ; 15 - 17
|
||||||
|
|
Loading…
Reference in New Issue
Block a user