summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-04-07 23:55:04 -0400
committerKurausukun <lord.uber1@gmail.com>2021-04-07 23:55:04 -0400
commit3ab68e51f014edfb50908849a77e5af2ae3f1093 (patch)
tree42999fd19af31e3c28cd520198dca05e8a54f08f
parent6254aaddce6a6da9ec96205219099956635b647a (diff)
Rename variables to match current repo
-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++;
}
}