mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-12 11:29:37 +00:00
peasant: print message when leaving inn with pot on head
This commit is contained in:
parent
7529336ee0
commit
1585b8f944
|
@ -143,13 +143,44 @@ new_location:
|
||||||
|
|
||||||
;=======================
|
;=======================
|
||||||
; before game text
|
; before game text
|
||||||
|
;=======================
|
||||||
|
|
||||||
|
|
||||||
lda MAP_LOCATION
|
lda MAP_LOCATION
|
||||||
|
|
||||||
cmp #LOCATION_JHONKA_CAVE
|
cmp #LOCATION_JHONKA_CAVE
|
||||||
|
beq before_jhonka_cave
|
||||||
|
|
||||||
|
cmp #LOCATION_OUTSIDE_INN
|
||||||
|
beq before_inn
|
||||||
|
|
||||||
bne no_before_game_text
|
bne no_before_game_text
|
||||||
|
|
||||||
|
|
||||||
|
;=====================
|
||||||
|
; at inn
|
||||||
|
|
||||||
|
before_inn:
|
||||||
|
; see if pot on head
|
||||||
|
|
||||||
|
lda GAME_STATE_1
|
||||||
|
and #POT_ON_HEAD
|
||||||
|
beq no_before_game_text
|
||||||
|
|
||||||
|
; take pott off head
|
||||||
|
|
||||||
|
lda GAME_STATE_1
|
||||||
|
and #<(~POT_ON_HEAD)
|
||||||
|
sta GAME_STATE_1
|
||||||
|
|
||||||
|
ldx #<outside_inn_pot_message
|
||||||
|
ldy #>outside_inn_pot_message
|
||||||
|
jsr finish_parse_message
|
||||||
|
|
||||||
|
;=====================
|
||||||
; at jhonka cave
|
; at jhonka cave
|
||||||
|
|
||||||
|
before_jhonka_cave:
|
||||||
; check to see if in hay
|
; check to see if in hay
|
||||||
|
|
||||||
lda GAME_STATE_1
|
lda GAME_STATE_1
|
||||||
|
|
|
@ -9,16 +9,6 @@ inn_dialog_start:
|
||||||
.byte "there before that smelly",13
|
.byte "there before that smelly",13
|
||||||
.byte "octogenarian gets back.",0
|
.byte "octogenarian gets back.",0
|
||||||
|
|
||||||
; + (exiting inn with pot on head)
|
|
||||||
.byte "Phew! You discard the big",13
|
|
||||||
.byte "black pot and wipe the",13
|
|
||||||
.byte "horse grease from your",13
|
|
||||||
.byte "eyes. The hood of your robe",13
|
|
||||||
.byte "is still covered in highly",13
|
|
||||||
.byte "flammable horse grease,",13
|
|
||||||
.byte "though.",0
|
|
||||||
|
|
||||||
|
|
||||||
; + look (day)
|
; + look (day)
|
||||||
inside_inn_look_message:
|
inside_inn_look_message:
|
||||||
.byte "What a dump! Only one bed",13
|
.byte "What a dump! Only one bed",13
|
||||||
|
|
|
@ -533,6 +533,17 @@ lake_east_throw_default_gone_message:
|
||||||
; Outside Giant Inn
|
; Outside Giant Inn
|
||||||
;===================
|
;===================
|
||||||
|
|
||||||
|
; + (exiting inn with pot on head)
|
||||||
|
outside_inn_pot_message:
|
||||||
|
.byte "Phew! You discard the big",13
|
||||||
|
.byte "black pot and wipe the",13
|
||||||
|
.byte "horse grease from your",13
|
||||||
|
.byte "eyes. The hood of your robe",13
|
||||||
|
.byte "is still covered in highly",13
|
||||||
|
.byte "flammable horse grease,",13
|
||||||
|
.byte "though.",0
|
||||||
|
|
||||||
|
|
||||||
; + look
|
; + look
|
||||||
outside_inn_look_message:
|
outside_inn_look_message:
|
||||||
.byte "There's a giant Inn here.",13
|
.byte "There's a giant Inn here.",13
|
||||||
|
|
Loading…
Reference in New Issue
Block a user