From ca5a41700d0404c391bcdba8bebb7d862938a3c7 Mon Sep 17 00:00:00 2001 From: Jo Ruby P Date: Sat, 28 Jul 2018 16:36:17 +0100 Subject: gUnknown_08E77004 is now gBagScreen_Tilemap and corresponding unknown_E77004.bin is now bag_screen.bin and moved into interface --- data/graphics.s | 4 ++-- graphics/interface/bag_screen.bin | Bin 0 -> 2048 bytes graphics/unknown/unknown_E77004.bin | Bin 2048 -> 0 bytes include/graphics.h | 2 +- src/item_menu.c | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 graphics/interface/bag_screen.bin delete mode 100644 graphics/unknown/unknown_E77004.bin diff --git a/data/graphics.s b/data/graphics.s index 7970dc904..f48723501 100644 --- a/data/graphics.s +++ b/data/graphics.s @@ -3225,8 +3225,8 @@ gBagScreenMale_Pal:: @ 8E76F94 gBagScreenFemale_Pal:: @ 8E76FCC .incbin "graphics/interface/bag_screen_female.gbapal.lz" -gUnknown_08E77004:: @ 8E77004 - .incbin "graphics/unknown/unknown_E77004.bin" +gBagScreen_Tilemap:: @ 8E77004 + .incbin "graphics/interface/bag_screen.bin" .align 2 gBuyMenuFrame_Gfx:: @ 8E77804 diff --git a/graphics/interface/bag_screen.bin b/graphics/interface/bag_screen.bin new file mode 100644 index 000000000..0342aac39 Binary files /dev/null and b/graphics/interface/bag_screen.bin differ diff --git a/graphics/unknown/unknown_E77004.bin b/graphics/unknown/unknown_E77004.bin deleted file mode 100644 index 0342aac39..000000000 Binary files a/graphics/unknown/unknown_E77004.bin and /dev/null differ diff --git a/include/graphics.h b/include/graphics.h index 8e8e0c97e..d9390e1b6 100644 --- a/include/graphics.h +++ b/include/graphics.h @@ -2472,7 +2472,7 @@ extern const u8 gBagPalette[]; extern const u8 gBagScreen_Gfx[]; extern const u8 gBagScreenMale_Pal[]; extern const u8 gBagScreenFemale_Pal[]; -extern const u16 gUnknown_08E77004[]; +extern const u16 gBagScreen_Tilemap[]; extern const u8 gBuyMenuFrame_Gfx[]; extern const u8 gMenuMoneyPal[]; extern const u8 gBuyMenuFrame_Tilemap[]; diff --git a/src/item_menu.c b/src/item_menu.c index 71516c0a4..915aa5183 100644 --- a/src/item_menu.c +++ b/src/item_menu.c @@ -538,7 +538,7 @@ static bool8 LoadBagGraphicsMultistep(void) ewramBagSetupStep++; break; case 1: - CpuCopy16(gUnknown_08E77004, gBGTilemapBuffers[2], 0x800); + CpuCopy16(gBagScreen_Tilemap, gBGTilemapBuffers[2], 0x800); ewramBagSetupStep++; break; case 2: @@ -742,7 +742,7 @@ static void sub_80A37F8(u8 taskId) static void sub_80A3954(u16 *a) { - CpuCopy16(gUnknown_08E77004, a, 0x800); + CpuCopy16(gBagScreen_Tilemap, a, 0x800); } static void sub_80A396C(u16 *a, u8 b, u8 c, u8 d) -- cgit v1.2.3