summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Shop-Items-By-Badge-Count.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Shop-Items-By-Badge-Count.md b/Shop-Items-By-Badge-Count.md
index 7b410be..afa7371 100644
--- a/Shop-Items-By-Badge-Count.md
+++ b/Shop-Items-By-Badge-Count.md
@@ -196,7 +196,7 @@ static void SetShopItemsForSale(const u16 *items)
sMartInfo.itemList = items;
sMartInfo.itemCount = 0;
- while (gMartInfo.itemList[i])
+ while (sMartInfo.itemList[i])
{
sMartInfo.itemCount++;
i++;