From bc9654d5563c27c1d1a9f9b8641b71021798a84a Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 14 Jun 2024 00:37:23 -0400 Subject: [PATCH] fix cheat check bug --- Util/item_cheat.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Util/item_cheat.asm b/Util/item_cheat.asm index eef375a..e669843 100644 --- a/Util/item_cheat.asm +++ b/Util/item_cheat.asm @@ -58,9 +58,12 @@ lorom org $068365 JSL $3CA62A ; Overwrite JSL executed every frame +Follower_Main = $099F91 + org $3CA62A ; Expanded space for our routine { LDA.l $7EF3C5 : CMP.b #$02 : BCS .continue ; Check if in main game + JSL Follower_Main RTL .continue LDA $F2 : CMP #$70 : BEQ $03 : JMP END ; Check L, R and X button @@ -173,6 +176,6 @@ endif END: - JSL $099F91 ; Execute original code + JSL Follower_Main RTL } \ No newline at end of file