diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-09-10 10:20:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 10:20:41 -0500 |
commit | cb053b3a15cf342ab520d234f6dbae27a6199d45 (patch) | |
tree | cb93014d00fbd49975b1607fe2c5698f61a38fa0 /src/berry_blender.c | |
parent | 37edb063babb4f8d7b81ea95fb5911a0ab0878c7 (diff) | |
parent | 74cc2cf512657f478667f6b57ab595ab546962a1 (diff) |
Merge pull request #312 from DizzyEggg/decompile_frontier_2
Decompile Battle Factory
Diffstat (limited to 'src/berry_blender.c')
-rw-r--r-- | src/berry_blender.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/berry_blender.c b/src/berry_blender.c index 96c3a933d..a5b940189 100644 --- a/src/berry_blender.c +++ b/src/berry_blender.c @@ -3550,8 +3550,8 @@ void ShowBerryBlenderRecordWindow(void) FillWindowPixelBuffer(gRecordsWindowId, 0x11); xPos = GetStringCenterAlignXOffset(1, gText_BlenderMaxSpeedRecord, 0x90); - PrintTextOnWindow(gRecordsWindowId, 1, gText_BlenderMaxSpeedRecord, xPos, 1, 0, NULL); - PrintTextOnWindow(gRecordsWindowId, 1, gText_234Players, 4, 0x29, 0, NULL); + AddTextPrinterParameterized(gRecordsWindowId, 1, gText_BlenderMaxSpeedRecord, xPos, 1, 0, NULL); + AddTextPrinterParameterized(gRecordsWindowId, 1, gText_234Players, 4, 0x29, 0, NULL); for (i = 0, yPos = 0x29; i < BLENDER_SCORES_NO; i++) { @@ -3566,7 +3566,7 @@ void ShowBerryBlenderRecordWindow(void) txtPtr = StringAppend(txtPtr, sText_RPM); xPos = GetStringRightAlignXOffset(1, text, 0x8C); - PrintTextOnWindow(gRecordsWindowId, 1, text, xPos, yPos + (i * 16), 0, NULL); + AddTextPrinterParameterized(gRecordsWindowId, 1, text, xPos, yPos + (i * 16), 0, NULL); } PutWindowTilemap(gRecordsWindowId); @@ -3659,7 +3659,7 @@ static void Blender_AddTextPrinter(u8 windowId, const u8 *string, u8 x, u8 y, s3 FillWindowPixelBuffer(windowId, txtColor[0] | (txtColor[0] << 4)); } - AddTextPrinterParameterized2(windowId, 1, x, y, letterSpacing, 1, txtColor, speed, string); + AddTextPrinterParameterized4(windowId, 1, x, y, letterSpacing, 1, txtColor, speed, string); } static bool32 Blender_PrintText(s16 *textState, const u8 *string, s32 textSpeed) |