From 3216996f97bca58a480ea0c1787febac93d5dba7 Mon Sep 17 00:00:00 2001 From: Lugiad <2070109+Adri1@users.noreply.github.com> Date: Sat, 28 Jun 2025 21:24:11 +0200 Subject: [PATCH] Added STATS_HEXAGON TextStyle --- src/ui/text.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/text.ts b/src/ui/text.ts index e2991a915da..8a02dc3f38e 100644 --- a/src/ui/text.ts +++ b/src/ui/text.ts @@ -33,6 +33,7 @@ export enum TextStyle { SUMMARY_STATS_BLUE, SUMMARY_STATS_PINK, SUMMARY_STATS_GOLD, + STATS_HEXAGON, GROWTH_RATE_TYPE, MONEY, // Money default styling (pale yellow) MONEY_WINDOW, // Money displayed in Windows (needs different colors based on theme) @@ -450,6 +451,11 @@ export function getTextStyleOptions( shadowYpos = 3; break; } + case TextStyle.STATS_HEXAGON: + styleOptions.fontSize = defaultFontSize - 32; + shadowXpos = 3; + shadowYpos = 3; + break; case TextStyle.MOVE_INFO_CONTENT: styleOptions.fontSize = defaultFontSize - 40; shadowXpos = 3; @@ -542,6 +548,7 @@ export function getTextColor(textStyle: TextStyle, shadow?: boolean, uiTheme: Ui case TextStyle.WINDOW: case TextStyle.WINDOW_BATTLE_COMMAND: case TextStyle.MOVE_INFO_CONTENT: + case TextStyle.STATS_HEXAGON: case TextStyle.MOVE_PP_FULL: case TextStyle.EGG_LIST: case TextStyle.TOOLTIP_CONTENT: