diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-30 15:43:44 -0400 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-09-30 15:43:44 -0400 |
commit | 5325835ee718b4762fc21aa81a481bb63f2dbd29 (patch) | |
tree | 1bf1977f369e740eeda1c7c7cc4c7bf06bb040fc /src/menu_specialized.c | |
parent | 3d9bad5558c6ef8828be7a50e3e553d55ca877e0 (diff) |
Use STR_CONV constants
Diffstat (limited to 'src/menu_specialized.c')
-rw-r--r-- | src/menu_specialized.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu_specialized.c b/src/menu_specialized.c index 1536cf413..e9932db26 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); |