From 8d0618778125e8260021652d369584d82a8cdf39 Mon Sep 17 00:00:00 2001 From: Evan Date: Sat, 30 Nov 2019 10:54:19 -0500 Subject: small typos fix --- src/shop.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shop.c b/src/shop.c index 4a0ac7fb1..12f3f3263 100644 --- a/src/shop.c +++ b/src/shop.c @@ -537,9 +537,7 @@ bool8 BuyMenuBuildListMenuTemplate(void) SetShopExitCallback(); return FALSE; } - - i = 0; - + for (i = 0; i < gShopData.itemCount; i++) { PokeMartWriteNameAndIdAt(&sShopMenuListMenu[i], gShopData.itemList[i], sShopMenuItemStrings[i]); @@ -776,7 +774,7 @@ static void BuyMenuDrawMapBg(void) static void BuyMenuDrawMapMetatile(s16 x, s16 y, const u16 *src, u8 metatileLayerType) { u16 offset1 = x * 2; - u16 offset2 = (y * 64) + 64; + u16 offset2 = y * 64 + 64; switch (metatileLayerType) { -- cgit v1.2.3