peasant: hook up missing text in peasant1

This commit is contained in:
Vince Weaver 2021-12-05 15:01:46 -05:00
parent dc7a1f2473
commit 52229459fd
2 changed files with 22 additions and 3 deletions

View File

@ -712,8 +712,26 @@ well_throw:
jmp parse_common_unknown
well_throw_baby:
ldx #<well_throw_baby_message
ldy #>well_throw_baby_message
; first see if have baby
lda INVENTORY_1
and #INV1_BABY
beq well_throw_baby_none
; next see if still have baby
lda INVENTORY_1_GONE
and #INV1_BABY
bne well_throw_baby_none
well_throw_baby_have:
ldx #<well_throw_baby_have_message
ldy #>well_throw_baby_have_message
jmp finish_parse_message
well_throw_baby_none:
ldx #<well_throw_baby_none_message
ldy #>well_throw_baby_none_message
jmp finish_parse_message

View File

@ -449,11 +449,12 @@ well_get_bucket_message:
; throw
; + throw baby (if you have it)
well_throw_baby_have_message:
.byte "Throw it where?",0
; + throw baby
; + put baby in bucket/well (before baby/after baby)
well_throw_baby_message:
well_throw_baby_none_message:
well_put_baby_none_message:
.byte "Hmmmm... A baby, eh? You",13
.byte "check your sundial.",13