Fix name of SetDexNumberColor
This commit is contained in:
parent
abef3065d0
commit
1aca378634
1 changed files with 5 additions and 5 deletions
|
@ -2578,7 +2578,7 @@ static void DrawPokerusCuredSymbol(struct Pokemon *mon) // This checks if the mo
|
|||
ScheduleBgCopyTilemapToVram(3);
|
||||
}
|
||||
|
||||
static void SetDexNumberColor(bool8 isMonShiny)
|
||||
static void SetMonPicBackgroundPalette(bool8 isMonShiny)
|
||||
{
|
||||
if (!isMonShiny)
|
||||
SetBgTilemapPalette(3, 1, 4, 8, 8, 0);
|
||||
|
@ -2715,12 +2715,12 @@ static void PrintNotEggInfo(void)
|
|||
if (!IsMonShiny(mon))
|
||||
{
|
||||
PrintTextOnWindow(PSS_LABEL_WINDOW_PORTRAIT_DEX_NUMBER, gStringVar1, 0, 1, 0, 1);
|
||||
SetDexNumberColor(FALSE);
|
||||
SetMonPicBackgroundPalette(FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
PrintTextOnWindow(PSS_LABEL_WINDOW_PORTRAIT_DEX_NUMBER, gStringVar1, 0, 1, 0, 7);
|
||||
SetDexNumberColor(TRUE);
|
||||
SetMonPicBackgroundPalette(TRUE);
|
||||
}
|
||||
PutWindowTilemap(PSS_LABEL_WINDOW_PORTRAIT_DEX_NUMBER);
|
||||
}
|
||||
|
@ -2728,9 +2728,9 @@ static void PrintNotEggInfo(void)
|
|||
{
|
||||
ClearWindowTilemap(PSS_LABEL_WINDOW_PORTRAIT_DEX_NUMBER);
|
||||
if (!IsMonShiny(mon))
|
||||
SetDexNumberColor(FALSE);
|
||||
SetMonPicBackgroundPalette(FALSE);
|
||||
else
|
||||
SetDexNumberColor(TRUE);
|
||||
SetMonPicBackgroundPalette(TRUE);
|
||||
}
|
||||
StringCopy(gStringVar1, gText_LevelSymbol);
|
||||
ConvertIntToDecimalStringN(gStringVar2, summary->level, STR_CONV_MODE_LEFT_ALIGN, 3);
|
||||
|
|
Loading…
Reference in a new issue