diff --git a/src/game/hud.c b/src/game/hud.c index 8d4daa54..96943292 100644 --- a/src/game/hud.c +++ b/src/game/hud.c @@ -275,9 +275,9 @@ void render_hud_mario_lives(void) { * Renders the amount of coins collected. */ void render_hud_coins(void) { - print_text(168, HUD_TOP_Y, "+"); // 'Coin' glyph - print_text(184, HUD_TOP_Y, "*"); // 'X' glyph - print_text_fmt_int(198, HUD_TOP_Y, "%d", gHudDisplay.coins); + print_text(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(152), HUD_TOP_Y, "+"); // 'Coin' glyph + print_text(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(136), HUD_TOP_Y, "*"); // 'X' glyph + print_text_fmt_int(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(122), HUD_TOP_Y, "%d", gHudDisplay.coins); } #ifdef VERSION_JP