summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Shop-Items-By-Badge-Count.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Shop-Items-By-Badge-Count.md b/Shop-Items-By-Badge-Count.md
index eb60632..7b410be 100644
--- a/Shop-Items-By-Badge-Count.md
+++ b/Shop-Items-By-Badge-Count.md
@@ -191,14 +191,14 @@ static void SetShopItemsForSale(const u16 *items)
u8 badgeCount = GetNumberOfBadges();
if (items == NULL)
- gMartInfo.itemList = sShopInventories[badgeCount];
+ sMartInfo.itemList = sShopInventories[badgeCount];
else
- gMartInfo.itemList = items;
+ sMartInfo.itemList = items;
- gMartInfo.itemCount = 0;
+ sMartInfo.itemCount = 0;
while (gMartInfo.itemList[i])
{
- gMartInfo.itemCount++;
+ sMartInfo.itemCount++;
i++;
}
}