Add font id constants
This commit is contained in:
@@ -480,7 +480,7 @@ static void Task_StarterChoose(u8 taskId)
|
||||
{
|
||||
CreateStarterPokemonLabel(gTasks[taskId].tStarterSelection);
|
||||
DrawStdFrameWithCustomTileAndPalette(0, FALSE, 0x2A8, 0xD);
|
||||
AddTextPrinterParameterized(0, 1, gText_BirchInTrouble, 0, 1, 0, NULL);
|
||||
AddTextPrinterParameterized(0, FONT_NORMAL, gText_BirchInTrouble, 0, 1, 0, NULL);
|
||||
PutWindowTilemap(0);
|
||||
ScheduleBgCopyTilemapToVram(0);
|
||||
gTasks[taskId].func = Task_HandleStarterChooseInput;
|
||||
@@ -534,7 +534,7 @@ static void Task_AskConfirmStarter(u8 taskId)
|
||||
{
|
||||
PlayCry1(GetStarterPokemon(gTasks[taskId].tStarterSelection), 0);
|
||||
FillWindowPixelBuffer(0, PIXEL_FILL(1));
|
||||
AddTextPrinterParameterized(0, 1, gText_ConfirmStarterChoice, 0, 1, 0, NULL);
|
||||
AddTextPrinterParameterized(0, FONT_NORMAL, gText_ConfirmStarterChoice, 0, 1, 0, NULL);
|
||||
ScheduleBgCopyTilemapToVram(0);
|
||||
CreateYesNoMenu(&sWindowTemplate_ConfirmStarter, 0x2A8, 0xD, 0);
|
||||
gTasks[taskId].func = Task_HandleConfirmStarterInput;
|
||||
@@ -591,11 +591,11 @@ static void CreateStarterPokemonLabel(u8 selection)
|
||||
sStarterLabelWindowId = AddWindow(&winTemplate);
|
||||
FillWindowPixelBuffer(sStarterLabelWindowId, PIXEL_FILL(0));
|
||||
|
||||
width = GetStringCenterAlignXOffset(7, categoryText, 0x68);
|
||||
AddTextPrinterParameterized3(sStarterLabelWindowId, 7, width, 1, sTextColors, 0, categoryText);
|
||||
width = GetStringCenterAlignXOffset(FONT_NARROW, categoryText, 0x68);
|
||||
AddTextPrinterParameterized3(sStarterLabelWindowId, FONT_NARROW, width, 1, sTextColors, 0, categoryText);
|
||||
|
||||
width = GetStringCenterAlignXOffset(1, speciesName, 0x68);
|
||||
AddTextPrinterParameterized3(sStarterLabelWindowId, 1, width, 17, sTextColors, 0, speciesName);
|
||||
width = GetStringCenterAlignXOffset(FONT_NORMAL, speciesName, 0x68);
|
||||
AddTextPrinterParameterized3(sStarterLabelWindowId, FONT_NORMAL, width, 17, sTextColors, 0, speciesName);
|
||||
|
||||
PutWindowTilemap(sStarterLabelWindowId);
|
||||
ScheduleBgCopyTilemapToVram(0);
|
||||
|
||||
Reference in New Issue
Block a user