From fb46732075c5c2b13cfaf19377795e38b97bfac4 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Tue, 24 Mar 2020 00:36:53 -0400 Subject: [PATCH] mist: update clock bridge state when re-entering level --- mist/clock_bridge_puzzle.s | 7 +++++-- mist/mist.s | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mist/clock_bridge_puzzle.s b/mist/clock_bridge_puzzle.s index 16eb17cf..c0a4e54d 100644 --- a/mist/clock_bridge_puzzle.s +++ b/mist/clock_bridge_puzzle.s @@ -13,7 +13,7 @@ clock_inside_reset: ;====================== -; handle the clock iside puzzle +; handle the clock inside puzzle clock_inside_puzzle: @@ -299,7 +299,6 @@ lower_bridge: sta location11+1,Y ; MIST_CLOCK done_clock_bridge: - jsr change_location rts @@ -394,6 +393,10 @@ bridge_adjust: jsr raise_bridge + ; update the background + + jsr change_location + clock_puzzle_done: rts diff --git a/mist/mist.s b/mist/mist.s index 6d48d365..34800a68 100644 --- a/mist/mist.s +++ b/mist/mist.s @@ -39,7 +39,8 @@ mist_start: lda #1 sta CURSOR_VISIBLE ; visible at first - + ; init the clock bridge + jsr raise_bridge game_loop: ;=================