summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Racine <bass_dr@hotmail.com>2026-09-30 22:46:12 -0400
committerGitHub <noreply@github.com>2026-10-01 02:46:12 +0000
commit57eea55bd47de0204308751c2199736ab71c15b4 (patch)
treed026d82d1538e91f40873912feb100d9cc9db967
parentf4e698f4cc6906af2892c762fee115025d3863e6 (diff)
Fix a song enlarging on the quest page while the cursor is on L/R (#7263)
The selected-slot index is only assigned when the cursor is on a slot, so on the page arrows the song icons compared against an uninitialised value. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_collect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_collect.c b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_collect.c
index 6a378c173..2903be0e4 100644
--- a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_collect.c
+++ b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_collect.c
@@ -74,7 +74,7 @@ void KaleidoScope_DrawQuestStatus(PlayState* play, GraphicsContext* gfxCtx) {
s16 phi_s3;
s16 sp21A;
s16 sp218;
- s16 sp216;
+ s16 sp216 = -1;
s16 pad1;
s16 phi_v1;
s16 pad2;