From f80bfefad51819b72563bd65b4a4e4b5c232b850 Mon Sep 17 00:00:00 2001 From: cellos51 Date: Sat, 12 Jul 2025 01:22:16 -0400 Subject: [PATCH] fixed an issue with the shop icon breaking after going to the next round --- source/graphic_utils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/graphic_utils.c b/source/graphic_utils.c index 4e9ccd8..79cf708 100644 --- a/source/graphic_utils.c +++ b/source/graphic_utils.c @@ -59,7 +59,10 @@ void main_bg_se_copy_rect_1_tile_vert(Rect se_rect, int direction) se_rect.right - se_rect.left + 1); } - memset16(&se_mem[MAIN_BG_SBB][se_rect.left + SE_ROW_LEN * (end)], 0x0000, se_rect.right - se_rect.left + 1); // This clears the top row when going down, or the bottom row when going up. + if (direction == SE_DOWN) + { + memset16(&se_mem[MAIN_BG_SBB][se_rect.left + SE_ROW_LEN * (end)], 0x0000, se_rect.right - se_rect.left + 1); // This clears the top row when going down, or the bottom row when going up. + } } void tte_erase_rect_wrapper(Rect rect)