Update Librarian previous translation logic

This commit is contained in:
scawful
2024-10-25 16:35:02 -04:00
parent 07e1fd5bd6
commit 96a537f6cd

View File

@@ -273,7 +273,8 @@ Sprite_Mermaid_Main:
LDA $1CE8 : BEQ .translate
CMP.b #$01 : BNE .finish
; Check for previous translation
LDA.l Scrolls : BEQ .translate ; The first one has no previous
LDA.l Scrolls : BEQ .finish
LDA.l PrevScroll
STA.w SprMiscG, X
%GotoAction(3)
RTS
@@ -368,6 +369,7 @@ Sprite_Mermaid_Main:
PHX
LDY.b #$01
LDA.w SprMiscG, X
STA.l PrevScroll
ASL A : TAX
LDA.w .scroll_messages, X
JSL Sprite_ShowMessageUnconditional