summaryrefslogtreecommitdiff
path: root/src/match_call.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-30 15:43:44 -0400
committerGriffinR <griffin.richards@comcast.net>2019-09-30 15:43:44 -0400
commit5325835ee718b4762fc21aa81a481bb63f2dbd29 (patch)
tree1bf1977f369e740eeda1c7c7cc4c7bf06bb040fc /src/match_call.c
parent3d9bad5558c6ef8828be7a50e3e553d55ca877e0 (diff)
Use STR_CONV constants
Diffstat (limited to 'src/match_call.c')
-rw-r--r--src/match_call.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/match_call.c b/src/match_call.c
index 3ed684938..baf71966e 100644
--- a/src/match_call.c
+++ b/src/match_call.c
@@ -1743,7 +1743,7 @@ static void PopulateBattleFrontierStreak(int matchCallId, u8 *destStr)
i++;
}
- ConvertIntToDecimalStringN(destStr, gBattleFrontierStreakInfo.streak, 0, i);
+ ConvertIntToDecimalStringN(destStr, gBattleFrontierStreakInfo.streak, STR_CONV_MODE_LEFT_ALIGN, i);
}
static const u16 sBadgeFlags[] =
@@ -1976,8 +1976,8 @@ void sub_8197080(u8 *destStr)
numSeen = GetHoennPokedexCount(FLAG_GET_SEEN);
numCaught = GetHoennPokedexCount(FLAG_GET_CAUGHT);
- ConvertIntToDecimalStringN(gStringVar1, numSeen, 0, 3);
- ConvertIntToDecimalStringN(gStringVar2, numCaught, 0, 3);
+ ConvertIntToDecimalStringN(gStringVar1, numSeen, STR_CONV_MODE_LEFT_ALIGN, 3);
+ ConvertIntToDecimalStringN(gStringVar2, numCaught, STR_CONV_MODE_LEFT_ALIGN, 3);
dexRatingLevel = GetPokedexRatingLevel(numCaught);
str = StringCopy(buffer, gBirchDexRatingText_AreYouCurious);
str[0] = CHAR_PROMPT_CLEAR;
@@ -1994,8 +1994,8 @@ void sub_8197080(u8 *destStr)
str++;
numSeen = GetNationalPokedexCount(FLAG_GET_SEEN);
numCaught = GetNationalPokedexCount(FLAG_GET_CAUGHT);
- ConvertIntToDecimalStringN(gStringVar1, numSeen, 0, 3);
- ConvertIntToDecimalStringN(gStringVar2, numCaught, 0, 3);
+ ConvertIntToDecimalStringN(gStringVar1, numSeen, STR_CONV_MODE_LEFT_ALIGN, 3);
+ ConvertIntToDecimalStringN(gStringVar2, numCaught, STR_CONV_MODE_LEFT_ALIGN, 3);
StringExpandPlaceholders(str, gBirchDexRatingText_OnANationwideBasis);
}