Skip to content

Commit

Permalink
Fixes large battle messages being cut off instead of being prompted t…
Browse files Browse the repository at this point in the history
…o advance (#6052)
  • Loading branch information
PhallenTree authored Jan 19, 2025
1 parent ab9c48b commit b9acfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b9acfdb

Please sign in to comment.