From 6a9567b369b6d0a5ee14bf09e3d9df0349cef726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 19 Mar 2026 01:39:46 +0000 Subject: [PATCH] Fix rendering double digit key count (#6371) --- soh/src/code/z_parameter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c index 049f0eaf5..4b782d954 100644 --- a/soh/src/code/z_parameter.c +++ b/soh/src/code/z_parameter.c @@ -4,9 +4,7 @@ #include "textures/do_action_static/do_action_static.h" #include "textures/icon_item_static/icon_item_static.h" #include "soh_assets.h" -#include "soh/Enhancements/randomizer/randomizer_entrance.h" -#include "libultraship/bridge.h" #include "soh/Enhancements/gameplaystats.h" #include "soh/Enhancements/custom-message/CustomMessageInterfaceAddon.h" #include "soh/Enhancements/cosmetics/cosmeticsTypes.h" @@ -5339,15 +5337,17 @@ void Interface_Draw(PlayState* play) { interfaceCtx->counterDigits[3] -= 10; } + svar3 = 16; if (interfaceCtx->counterDigits[2] != 0) { OVERLAY_DISP = Gfx_TextureI8( OVERLAY_DISP, ((u8*)((u8*)digitTextures[interfaceCtx->counterDigits[2]])), 8, 16, - PosX_SKC + 8, PosY_SKC, 8, 16, 1 << 10, 1 << 10); + PosX_SKC + 16, PosY_SKC, 8, 16, 1 << 10, 1 << 10); + svar3 = 24; } OVERLAY_DISP = Gfx_TextureI8(OVERLAY_DISP, ((u8*)digitTextures[interfaceCtx->counterDigits[3]]), 8, 16, - PosX_SKC + 16, PosY_SKC, 8, 16, 1 << 10, 1 << 10); + PosX_SKC + svar3, PosY_SKC, 8, 16, 1 << 10, 1 << 10); } break; default: