From 3ab68e51f014edfb50908849a77e5af2ae3f1093 Mon Sep 17 00:00:00 2001 From: Kurausukun Date: Wed, 7 Apr 2021 23:55:04 -0400 Subject: [PATCH] Rename variables to match current repo --- Shop-Items-By-Badge-Count.md | 8 ++++---- 1 file 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++; } }