Gender icon in naming screen based on Pokémon name length

This commit is contained in:
Eduardo Quezada 2022-09-24 23:48:24 -03:00
parent d8b3919063
commit 0f35f080ec

View File

@ -1771,7 +1771,7 @@ static void DrawGenderIcon(void)
StringCopy(text, gText_FemaleSymbol); StringCopy(text, gText_FemaleSymbol);
isFemale = TRUE; isFemale = TRUE;
} }
AddTextPrinterParameterized3(sNamingScreen->windows[WIN_TEXT_ENTRY], FONT_NORMAL, 0x68, 1, sGenderColors[isFemale], TEXT_SKIP_DRAW, text); AddTextPrinterParameterized3(sNamingScreen->windows[WIN_TEXT_ENTRY], FONT_NORMAL, (POKEMON_NAME_LENGTH * 4) + 64, 1, sGenderColors[isFemale], TEXT_SKIP_DRAW, text);
} }
} }