mist: fix to compile on newer versions of ca65

This commit is contained in:
Vince Weaver 2020-08-10 15:44:27 -04:00
parent 3e3511e429
commit 586fefee3d
2 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ not_holding_key:
; close lid
lda TRUNK_STATE
and #~(TRUNK_LID_OPEN)
and #<~(TRUNK_LID_OPEN)
sta TRUNK_STATE
jsr update_pump_state

View File

@ -1493,7 +1493,7 @@ goto_trunk:
pickup_floor_key:
lda TRUNK_STATE
and #~TRUNK_KEY_ON_FLOOR
and #<(~TRUNK_KEY_ON_FLOOR)
sta TRUNK_STATE
lda #HOLDING_KEY