Standartize AddTextPrinterParametrized functions,
This commit is contained in:
@@ -531,7 +531,7 @@ static void DisplaySentToPCMessage(void)
|
||||
StringExpandPlaceholders(gStringVar4, gUnknown_0858BDB8[stringToDisplay]);
|
||||
NewMenuHelpers_DrawDialogueFrame(0, 0);
|
||||
gTextFlags.flag_0 = TRUE;
|
||||
AddTextPrinterParameterized(0, 1, gStringVar4, GetPlayerTextSpeed(), 0, 2, 1, 3);
|
||||
AddTextPrinterParameterized2(0, 1, gStringVar4, GetPlayerTextSpeed(), 0, 2, 1, 3);
|
||||
CopyWindowToVram(0, 3);
|
||||
}
|
||||
|
||||
@@ -1447,7 +1447,7 @@ static void HandleDpadMovement(struct Task *task)
|
||||
static void sub_80E4894(void)
|
||||
{
|
||||
FillWindowPixelBuffer(gNamingScreenData->windows[3], 0x11);
|
||||
PrintTextOnWindow(gNamingScreenData->windows[3], 1, gNamingScreenData->template->title, 8, 1, 0, 0);
|
||||
AddTextPrinterParameterized(gNamingScreenData->windows[3], 1, gNamingScreenData->template->title, 8, 1, 0, 0);
|
||||
PutWindowTilemap(gNamingScreenData->windows[3]);
|
||||
}
|
||||
|
||||
@@ -1458,7 +1458,7 @@ static void sub_80E48E8(void)
|
||||
StringCopy(buffer, gSpeciesNames[gNamingScreenData->monSpecies]);
|
||||
StringAppendN(buffer, gNamingScreenData->template->title, 15);
|
||||
FillWindowPixelBuffer(gNamingScreenData->windows[3], 0x11);
|
||||
PrintTextOnWindow(gNamingScreenData->windows[3], 1, buffer, 8, 1, 0, 0);
|
||||
AddTextPrinterParameterized(gNamingScreenData->windows[3], 1, buffer, 8, 1, 0, 0);
|
||||
PutWindowTilemap(gNamingScreenData->windows[3]);
|
||||
}
|
||||
|
||||
@@ -1652,7 +1652,7 @@ static void sub_80E4D10(void)
|
||||
temp[1] = gExpandedPlaceholder_Empty[0];
|
||||
unk2 = (sub_80E503C(temp[0]) == 1) ? 2 : 0;
|
||||
|
||||
PrintTextOnWindow(gNamingScreenData->windows[2], 1, temp, i * 8 + unk + unk2, 1, 0xFF, NULL);
|
||||
AddTextPrinterParameterized(gNamingScreenData->windows[2], 1, temp, i * 8 + unk + unk2, 1, 0xFF, NULL);
|
||||
}
|
||||
|
||||
sub_80E498C();
|
||||
|
||||
Reference in New Issue
Block a user