Documented boolean uses
This commit is contained in:
+9
-9
@@ -1333,7 +1333,7 @@ static void Task_NewGameBirchSpeech_WaitForSpriteFadeInWelcome(u8 taskId)
|
||||
CopyWindowToVram(0, COPYWIN_GFX);
|
||||
NewGameBirchSpeech_ClearWindow(0);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_Welcome);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_ThisIsAPokemon;
|
||||
}
|
||||
}
|
||||
@@ -1345,7 +1345,7 @@ static void Task_NewGameBirchSpeech_ThisIsAPokemon(u8 taskId)
|
||||
{
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_MainSpeech;
|
||||
StringExpandPlaceholders(gStringVar4, gText_ThisIsAPokemon);
|
||||
AddTextPrinterWithCallbackForMessage(1, NewGameBirchSpeech_WaitForThisIsPokemonText);
|
||||
AddTextPrinterWithCallbackForMessage(TRUE, NewGameBirchSpeech_WaitForThisIsPokemonText);
|
||||
sBirchSpeechMainTaskId = taskId;
|
||||
}
|
||||
}
|
||||
@@ -1355,7 +1355,7 @@ static void Task_NewGameBirchSpeech_MainSpeech(u8 taskId)
|
||||
if (!RunTextPrintersAndIsPrinter0Active())
|
||||
{
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_MainSpeech);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_AndYouAre;
|
||||
}
|
||||
}
|
||||
@@ -1410,7 +1410,7 @@ static void Task_NewGameBirchSpeech_AndYouAre(u8 taskId)
|
||||
{
|
||||
sStartedPokeBallTask = FALSE;
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_AndYouAre);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_StartBirchLotadPlatformFade;
|
||||
}
|
||||
}
|
||||
@@ -1482,7 +1482,7 @@ static void Task_NewGameBirchSpeech_BoyOrGirl(u8 taskId)
|
||||
{
|
||||
NewGameBirchSpeech_ClearWindow(0);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_BoyOrGirl);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_WaitToShowGenderMenu;
|
||||
}
|
||||
|
||||
@@ -1572,7 +1572,7 @@ static void Task_NewGameBirchSpeech_WhatsYourName(u8 taskId)
|
||||
{
|
||||
NewGameBirchSpeech_ClearWindow(0);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_WhatsYourName);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_WaitForWhatsYourNameToPrint;
|
||||
}
|
||||
|
||||
@@ -1607,7 +1607,7 @@ static void Task_NewGameBirchSpeech_SoItsPlayerName(u8 taskId)
|
||||
{
|
||||
NewGameBirchSpeech_ClearWindow(0);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_SoItsPlayer);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_CreateNameYesNo;
|
||||
}
|
||||
|
||||
@@ -1673,7 +1673,7 @@ static void Task_NewGameBirchSpeech_ReshowBirchLotad(u8 taskId)
|
||||
NewGameBirchSpeech_StartFadePlatformOut(taskId, 1);
|
||||
NewGameBirchSpeech_ClearWindow(0);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_YourePlayer);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_WaitForSpriteFadeInAndTextPrinter;
|
||||
}
|
||||
}
|
||||
@@ -1721,7 +1721,7 @@ static void Task_NewGameBirchSpeech_AreYouReady(u8 taskId)
|
||||
NewGameBirchSpeech_StartFadeInTarget1OutTarget2(taskId, 2);
|
||||
NewGameBirchSpeech_StartFadePlatformOut(taskId, 1);
|
||||
StringExpandPlaceholders(gStringVar4, gText_Birch_AreYouReady);
|
||||
AddTextPrinterForMessage(1);
|
||||
AddTextPrinterForMessage(TRUE);
|
||||
gTasks[taskId].func = Task_NewGameBirchSpeech_ShrinkPlayer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user