summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan <eroelke@gmail.com>2019-11-30 10:54:19 -0500
committerEvan <eroelke@gmail.com>2019-11-30 10:54:19 -0500
commit8d0618778125e8260021652d369584d82a8cdf39 (patch)
treea0f37d8073ec4882041fea7057ae3c8377e7bfea
parentfe6db41f2b4b31d47c3b7e5eaa2e970379f224b1 (diff)
small typos fix
-rw-r--r--src/shop.c6
1 files 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)
{