Merge pull request #1486 from sphericalice/pss-constant-fix
Use the correct constant for PSS page comparison
This commit is contained in:
@@ -3627,7 +3627,7 @@ static void PrintMoveDetails(u16 move)
|
|||||||
FillWindowPixelBuffer(windowId, PIXEL_FILL(0));
|
FillWindowPixelBuffer(windowId, PIXEL_FILL(0));
|
||||||
if (move != MOVE_NONE)
|
if (move != MOVE_NONE)
|
||||||
{
|
{
|
||||||
if (sMonSummaryScreen->currPageIndex == SUMMARY_MODE_BOX)
|
if (sMonSummaryScreen->currPageIndex == PSS_PAGE_BATTLE_MOVES)
|
||||||
{
|
{
|
||||||
PrintMovePowerAndAccuracy(move);
|
PrintMovePowerAndAccuracy(move);
|
||||||
PrintTextOnWindow(windowId, gMoveDescriptionPointers[move - 1], 6, 1, 0, 0);
|
PrintTextOnWindow(windowId, gMoveDescriptionPointers[move - 1], 6, 1, 0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user