From 06677af252012857ef8b96722d2b2e55def8c726 Mon Sep 17 00:00:00 2001 From: owlisnotacat1 <118146757+owlisnotacat1@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:21:28 -0600 Subject: [PATCH] fix lui addiu pair not populating a1 with proper pointer --- ASM/src/hacks/z_kaleido_scope.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASM/src/hacks/z_kaleido_scope.asm b/ASM/src/hacks/z_kaleido_scope.asm index 6e828c315..bf4b503d9 100644 --- a/ASM/src/hacks/z_kaleido_scope.asm +++ b/ASM/src/hacks/z_kaleido_scope.asm @@ -24,9 +24,9 @@ nop .org 0x808264dc - lui a1, 0x8082 + lui a1, hi(0x8082a388) jal kaleidoScope_SwitchCaseHack ; this branch is to a modified version of the pauseCtx->state switch case - addiu a1, 0xA388 + addiu a1, lo(0x8082a388) beq at, v0, 0x808287D8 ; jump to case 17 if v0 is 2 nop beqz v0, 0x80828BE4 ; jump to return if v0 is 0 else continue flow