Skip to content

Commit

Permalink
shop menu allows for 6 digits item prices
Browse files Browse the repository at this point in the history
  • Loading branch information
DizzyEggg authored Jul 8, 2024
1 parent cc0a9ac commit 40950b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shop.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,15 +628,15 @@ static void BuyMenuPrintPriceInList(u8 windowId, u32 itemId, u8 y)
gStringVar1,
ItemId_GetPrice(itemId) >> IsPokeNewsActive(POKENEWS_SLATEPORT),
STR_CONV_MODE_LEFT_ALIGN,
5);
6);
}
else
{
ConvertIntToDecimalStringN(
gStringVar1,
gDecorations[itemId].price,
STR_CONV_MODE_LEFT_ALIGN,
5);
6);
}

if (ItemId_GetImportance(itemId) && (CheckBagHasItem(itemId, 1) || CheckPCHasItem(itemId, 1)))
Expand Down

0 comments on commit 40950b6

Please sign in to comment.