Use 'Stringappend' in some functions & Few Changes of Pics

This commit is contained in:
12014 2025-07-07 00:56:39 +09:00
parent 187ee8256c
commit 7598de60a6
5 changed files with 4 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -2583,7 +2583,6 @@ static void PrintBattlerOnAbilityPopUp(u8 battler, u8 spriteId1, u8 spriteId2)
textPtr++;
textPtr[0] = 0x0B; //手动写入汉字第二部分
textPtr++;
textPtr[0] = EOS;
PrintOnAbilityPopUp((const u8 *)monName,

View File

@ -2252,11 +2252,9 @@ void BufferSaveMenuText(u8 textId, u8 *dest, u8 color)
string = ConvertIntToDecimalStringN(string, GetNationalPokedexCount(FLAG_GET_CAUGHT), STR_CONV_MODE_LEFT_ALIGN, 4);
else
string = ConvertIntToDecimalStringN(string, GetHoennPokedexCount(FLAG_GET_CAUGHT), STR_CONV_MODE_LEFT_ALIGN, 3);
//*string = EOS;
//修改,增加图鉴单位显示
*string++ = 0x10;
*string++ = 0x8C; //手动写入汉字「只」的编码
*string++ = EOS; //结束
StringAppend(string, COMPOUND_STRING(""));
//*string = EOS; //修正错误
break;
case SAVE_MENU_PLAY_TIME:
string = ConvertIntToDecimalStringN(string, gSaveBlock2Ptr->playTimeHours, STR_CONV_MODE_LEFT_ALIGN, 3);
@ -2276,9 +2274,8 @@ void BufferSaveMenuText(u8 textId, u8 *dest, u8 color)
*string = flagCount + CHAR_0;
string++;
//修改,增加徽章单位显示
*string++ = 0x04;
*string++ = 0x60; //手动写入汉字「个」的编码
//*string++ = EOS; //结束
StringAppend(string, COMPOUND_STRING(""));
//*string++ = EOS; //修正错误
*endOfString = EOS;
break;
}