Fixes large battle messages being cut off instead of being prompted to advance (#6052)

This commit is contained in:
PhallenTree 2025-01-19 11:04:15 +00:00 committed by GitHub
parent ab9c48b2b3
commit b9acfdbb81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3153,7 +3153,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize)
dst[dstID] = *src;
dstID++;
BreakStringAutomatic(dst, BATTLE_MSG_MAX_WIDTH, BATTLE_MSG_MAX_WIDTH, fontId);
BreakStringAutomatic(dst, BATTLE_MSG_MAX_WIDTH, BATTLE_MSG_MAX_LINES, fontId);
return dstID;
}