summaryrefslogtreecommitdiff
path: root/src/menu_specialized.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-02 09:18:48 -0400
committerGitHub <noreply@github.com>2019-10-02 09:18:48 -0400
commit9317d114a94f978548eb3d664e1bb325724d5ed8 (patch)
tree260825bffe542d3a4b4c057c5ed86fab5621945a /src/menu_specialized.c
parent301822603ea19ee69b9bd64b266e51a8ed9b7c04 (diff)
parentc5cb45991b65f7e4a5cfc39816a214085f740a7b (diff)
Merge pull request #823 from GriffinRichards/constants-strconv
Use STR_CONV constants
Diffstat (limited to 'src/menu_specialized.c')
-rw-r--r--src/menu_specialized.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu_specialized.c b/src/menu_specialized.c
index f46c93e05..75317e3ff 100644
--- a/src/menu_specialized.c
+++ b/src/menu_specialized.c
@@ -761,7 +761,7 @@ static void MoveRelearnerLoadBattleMoveDescription(u32 chosenMove)
AddTextPrinterParameterized(0, 1, str, 4, 0x19, TEXT_SPEED_FF, NULL);
x = 4 + GetStringWidth(1, gText_MoveRelearnerPP, 0);
- ConvertIntToDecimalStringN(buffer, move->pp, 0, 2);
+ ConvertIntToDecimalStringN(buffer, move->pp, STR_CONV_MODE_LEFT_ALIGN, 2);
AddTextPrinterParameterized(0, 1, buffer, x, 0x29, TEXT_SPEED_FF, NULL);
if (move->power < 2)
@@ -770,7 +770,7 @@ static void MoveRelearnerLoadBattleMoveDescription(u32 chosenMove)
}
else
{
- ConvertIntToDecimalStringN(buffer, move->power, 0, 3);
+ ConvertIntToDecimalStringN(buffer, move->power, STR_CONV_MODE_LEFT_ALIGN, 3);
str = buffer;
}
AddTextPrinterParameterized(0, 1, str, 0x6A, 0x19, TEXT_SPEED_FF, NULL);
@@ -781,7 +781,7 @@ static void MoveRelearnerLoadBattleMoveDescription(u32 chosenMove)
}
else
{
- ConvertIntToDecimalStringN(buffer, move->accuracy, 0, 3);
+ ConvertIntToDecimalStringN(buffer, move->accuracy, STR_CONV_MODE_LEFT_ALIGN, 3);
str = buffer;
}
AddTextPrinterParameterized(0, 1, str, 0x6A, 0x29, TEXT_SPEED_FF, NULL);