mist: fix marker switch

the sound consolidation broke marker switch
A was not preserved
This commit is contained in:
Vince Weaver 2020-07-18 23:23:41 -04:00
parent 26cc76a4f4
commit ec072179a4
2 changed files with 14 additions and 7 deletions

View File

@ -30,8 +30,9 @@
; back to writing
; says variations of "give me the page" while holding out hand
; click on him with
; click on him with
HAVE_PAGE_START = 5
ATRUS_WRITING = 10
atrus_text:
@ -473,9 +474,6 @@ visit_atrus:
lda #$80
sta FRAMEL ; want consistent timers
; FIXME: check for white page or not
; see if it's the first time we've opened book
lda DNI_PROGRESS
beq actually_talk_with_atrus
@ -486,6 +484,16 @@ visit_atrus:
actually_talk_with_atrus:
lda HOLDING_PAGE
and #$c0
cmp #HOLDING_WHITE_PAGE
bne not_holding_page
lda #HAVE_PAGE_START
sta DNI_PROGRESS
not_holding_page:
lda #DIRECTION_N|DIRECTION_SPLIT
sta DIRECTION

View File

@ -34,9 +34,6 @@ click_marker_switch:
; click
jsr click_speaker
jsr click_speaker
eor MARKER_SWITCHES ; toggle switch
sta MARKER_SWITCHES
@ -52,6 +49,8 @@ dont_open_secret:
done_handle_secret:
sta COMPARTMENT_OPEN
jsr click_speaker
jsr click_speaker
rts