From aa21b6feda4b5f2a27e3566d815bc63c24a27df2 Mon Sep 17 00:00:00 2001 From: RoamerX <20692776+RoamerX@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DHGSS=E5=9B=BE=E9=89=B4?= =?UTF-8?q?=E4=B8=AD=E6=8B=9B=E5=BC=8F=E5=AD=A6=E4=B9=A0=E5=99=A8=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=AD=97=E6=95=B0=E8=B6=85=E5=87=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pokedex_plus_hgss.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/pokedex_plus_hgss.c b/src/pokedex_plus_hgss.c index bc5648891f..0a576b63f2 100644 --- a/src/pokedex_plus_hgss.c +++ b/src/pokedex_plus_hgss.c @@ -145,6 +145,8 @@ static const u8 sText_Stats_EV_Plus3[] = _("{UP_ARROW_2}{UP_ARROW_2}{UP_ARROW_2} static const u8 sText_Stats_EvStr1Str2[] = _("{STR_VAR_1}{STR_VAR_2}"); static const u8 sText_Stats_MoveSelectedMax[] = _("{STR_VAR_1} / {STR_VAR_2}"); static const u8 sText_Stats_MoveLevel[] = _("等级"); +static const u8 sText_Stats_MoveTM[] = _("TM"); +static const u8 sText_Stats_MoveHM[] = _("HM"); static const u8 sText_Stats_Gender_0[] = _("♂"); static const u8 sText_Stats_Gender_12_5[] = _("♀ 1/7 ♂"); //_("♀ 12.5 / 87.5 ♂"); static const u8 sText_Stats_Gender_25[] = _("♀ 1/3 ♂"); //_("♀ 25 / 75 ♂"); @@ -5232,7 +5234,15 @@ static void PrintStatsScreen_Moves_Top(u8 taskId) else if (selected < (numEggMoves + numLevelUpMoves + numTMHMMoves)) { CopyItemName(sStatsMovesTMHM_ID[(selected-numEggMoves-numLevelUpMoves)], gStringVar1); //TM name - PrintStatsScreenTextSmall(WIN_STATS_MOVES_TOP, gStringVar1, moves_x + 113, moves_y + 9); + if (StringCompareN(gStringVar1, COMPOUND_STRING("招式学习器"), 10))//判断道具名称前五个汉字 + { + PrintStatsScreenTextSmall(WIN_STATS_MOVES_TOP, sText_Stats_MoveHM, moves_x + 113, moves_y + 3); + } + else + { + PrintStatsScreenTextSmall(WIN_STATS_MOVES_TOP, sText_Stats_MoveTM, moves_x + 113, moves_y + 3); + } + PrintStatsScreenTextSmall(WIN_STATS_MOVES_TOP, gStringVar1 + 10, moves_x + 113, moves_y + 14);//截掉道具名称前五个汉字 item = sStatsMovesTMHM_ID[(selected-numEggMoves-numLevelUpMoves)]; } else if (selected < (numEggMoves + numLevelUpMoves + numTMHMMoves + numTutorMoves))