Document and match somne trainer card
This commit is contained in:
@@ -422,16 +422,19 @@ static bool32 PrintStartMenuActions(s8 *pIndex, u32 count)
|
||||
|
||||
do
|
||||
{
|
||||
if (sStartMenuItems[sCurrentStartMenuActions[index]].func.u8_void == StartMenuPlayerNameCallback) {
|
||||
if (sStartMenuItems[sCurrentStartMenuActions[index]].func.u8_void == StartMenuPlayerNameCallback)
|
||||
{
|
||||
PrintPlayerNameOnWindow(GetStartMenuWindowId(), sStartMenuItems[sCurrentStartMenuActions[index]].text, 8, (index << 4) + 9);
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
StringExpandPlaceholders(gStringVar4, sStartMenuItems[sCurrentStartMenuActions[index]].text);
|
||||
AddTextPrinterParameterized(GetStartMenuWindowId(), 1, gStringVar4, 8, (index << 4) + 9, 0xFF, NULL);
|
||||
}
|
||||
|
||||
index++;
|
||||
if (index >= sNumStartMenuActions) {
|
||||
if (index >= sNumStartMenuActions)
|
||||
{
|
||||
*pIndex = index;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user