mirror of https://github.com/pret/pokeemerald.git
Rename variables to match current repo
parent
6254aaddce
commit
3ab68e51f0
|
@ -191,14 +191,14 @@ static void SetShopItemsForSale(const u16 *items)
|
||||||
u8 badgeCount = GetNumberOfBadges();
|
u8 badgeCount = GetNumberOfBadges();
|
||||||
|
|
||||||
if (items == NULL)
|
if (items == NULL)
|
||||||
gMartInfo.itemList = sShopInventories[badgeCount];
|
sMartInfo.itemList = sShopInventories[badgeCount];
|
||||||
else
|
else
|
||||||
gMartInfo.itemList = items;
|
sMartInfo.itemList = items;
|
||||||
|
|
||||||
gMartInfo.itemCount = 0;
|
sMartInfo.itemCount = 0;
|
||||||
while (gMartInfo.itemList[i])
|
while (gMartInfo.itemList[i])
|
||||||
{
|
{
|
||||||
gMartInfo.itemCount++;
|
sMartInfo.itemCount++;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue