From 58b38106832685ce91894e92f866aff117edd0f7 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Tue, 21 Apr 2020 22:16:42 -0400 Subject: [PATCH] mist: stoney: fix back-to-mist glitch had one too many jsr w/o a ret --- mist/link_book_mist.s | 7 +++++++ mist/stoney.s | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mist/link_book_mist.s b/mist/link_book_mist.s index d99f82b1..8e77aeb9 100644 --- a/mist/link_book_mist.s +++ b/mist/link_book_mist.s @@ -19,8 +19,15 @@ mist_link_book: sta BTC_L lda #>linking_noise sta BTC_H + + ldy #0 + lda (BTC_L),Y + cmp #$55 ; hack + bne skip_audio + ldx #LINKING_NOISE_LENGTH ; 45 pages long??? jsr play_audio +skip_audio: lda #OCTAGON_CEILING sta LOCATION diff --git a/mist/stoney.s b/mist/stoney.s index 8e398eaa..26180a97 100644 --- a/mist/stoney.s +++ b/mist/stoney.s @@ -400,7 +400,7 @@ do_animate_stoney_book: lda #0 sta ANIMATE_FRAME done_animate_book: - jmp nothing_special + rts