Fix GetMovePpPinterYpos typo
This commit is contained in:
@@ -2510,7 +2510,7 @@ static void PrintSkillsPage(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define GetMoveNamePrinterYpos(x) ((x) * 28 + 5)
|
#define GetMoveNamePrinterYpos(x) ((x) * 28 + 5)
|
||||||
#define GetMovePpPinterYpos(x) ((x) * 28 + 16)
|
#define GetMovePpPrinterYpos(x) ((x) * 28 + 16)
|
||||||
|
|
||||||
static void PrintMovesPage(void)
|
static void PrintMovesPage(void)
|
||||||
{
|
{
|
||||||
@@ -2567,14 +2567,14 @@ static void PokeSum_PrintMoveName(u8 i)
|
|||||||
colorIdx = 1;
|
colorIdx = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 36, GetMovePpPinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW,
|
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 36, GetMovePpPrinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW,
|
||||||
gText_PokeSum_PP);
|
gText_PokeSum_PP);
|
||||||
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 46 + sMonSkillsPrinterXpos->curPp[i], GetMovePpPinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, sMonSummaryScreen->summary.moveCurPpStrBufs[i]);
|
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 46 + sMonSkillsPrinterXpos->curPp[i], GetMovePpPrinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, sMonSummaryScreen->summary.moveCurPpStrBufs[i]);
|
||||||
|
|
||||||
if (sMonSummaryScreen->moveIds[i] != MOVE_NONE)
|
if (sMonSummaryScreen->moveIds[i] != MOVE_NONE)
|
||||||
{
|
{
|
||||||
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 58, GetMovePpPinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, gText_Slash);
|
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 58, GetMovePpPrinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, gText_Slash);
|
||||||
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 64 + sMonSkillsPrinterXpos->maxPp[i], GetMovePpPinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, sMonSummaryScreen->summary.moveMaxPpStrBufs[i]);
|
AddTextPrinterParameterized3(sMonSummaryScreen->windowIds[POKESUM_WIN_RIGHT_PANE], FONT_NORMAL, 64 + sMonSkillsPrinterXpos->maxPp[i], GetMovePpPrinterYpos(i), sPrintMoveTextColors[colorIdx], TEXT_SKIP_DRAW, sMonSummaryScreen->summary.moveMaxPpStrBufs[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user