From 47cc3aa0f1fd77f16d898da30fd482cfd5a4c1ba Mon Sep 17 00:00:00 2001 From: hjk321 <37224753+hjk321@users.noreply.github.com> Date: Sat, 10 Apr 2021 21:35:14 -0500 Subject: Document hall of fame and help system gfx --- graphics/hall_of_fame/hall_of_fame.png | Bin 0 -> 437 bytes graphics/hall_of_fame/unk_840C3BC.png | Bin 481 -> 0 bytes graphics/help_system/unk_845BCB0.bin | Bin 2048 -> 0 bytes graphics/help_system/unused.bin | Bin 0 -> 2048 bytes graphics_file_rules.mk | 4 ++++ src/hall_of_fame.c | 4 ++-- src/help_system.c | 2 +- 7 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 graphics/hall_of_fame/hall_of_fame.png delete mode 100644 graphics/hall_of_fame/unk_840C3BC.png delete mode 100644 graphics/help_system/unk_845BCB0.bin create mode 100644 graphics/help_system/unused.bin diff --git a/graphics/hall_of_fame/hall_of_fame.png b/graphics/hall_of_fame/hall_of_fame.png new file mode 100644 index 000000000..769ca4b35 Binary files /dev/null and b/graphics/hall_of_fame/hall_of_fame.png differ diff --git a/graphics/hall_of_fame/unk_840C3BC.png b/graphics/hall_of_fame/unk_840C3BC.png deleted file mode 100644 index 567665495..000000000 Binary files a/graphics/hall_of_fame/unk_840C3BC.png and /dev/null differ diff --git a/graphics/help_system/unk_845BCB0.bin b/graphics/help_system/unk_845BCB0.bin deleted file mode 100644 index b7ceb5080..000000000 Binary files a/graphics/help_system/unk_845BCB0.bin and /dev/null differ diff --git a/graphics/help_system/unused.bin b/graphics/help_system/unused.bin new file mode 100644 index 000000000..b7ceb5080 Binary files /dev/null and b/graphics/help_system/unused.bin differ diff --git a/graphics_file_rules.mk b/graphics_file_rules.mk index d064c63c8..3ad7cf542 100644 --- a/graphics_file_rules.mk +++ b/graphics_file_rules.mk @@ -26,6 +26,7 @@ ITEMMENUGFXDIR := graphics/item_menu INTROGFXDIR := graphics/intro BATTLETERRAINGFXDIR := graphics/battle_terrain BERRYPOUCHGFXDIR := graphics/berry_pouch +HALLOFFAMEGFXDIR := graphics/hall_of_fame types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark contest_types := cool beauty cute smart tough @@ -573,3 +574,6 @@ $(BATTLETERRAINGFXDIR)/terrain_water.4bpp: %.4bpp: %.png $(BERRYPOUCHGFXDIR)/background.4bpp: %.4bpp: %.png $(GFX) $< $@ -num_tiles 52 + +$(HALLOFFAMEGFXDIR)/hall_of_fame.4bpp: %.4bpp: %.png + $(GFX) $< $@ -num_tiles 29 diff --git a/src/hall_of_fame.c b/src/hall_of_fame.c index 8480edfaf..e6f8b72ec 100644 --- a/src/hall_of_fame.c +++ b/src/hall_of_fame.c @@ -283,8 +283,8 @@ static const struct SpriteTemplate sSpriteTemplate_Confetti = { .callback = SpriteCB_Confetti }; -static const u16 sHallOfFame_Pal[] = INCBIN_U16("graphics/hall_of_fame/unk_840C3BC.gbapal"); -static const u32 sHallOfFame_Gfx[] = INCBIN_U32("graphics/hall_of_fame/unk_840C3BC.4bpp.lz"); +static const u16 sHallOfFame_Pal[] = INCBIN_U16("graphics/hall_of_fame/hall_of_fame.gbapal"); +static const u32 sHallOfFame_Gfx[] = INCBIN_U32("graphics/hall_of_fame/hall_of_fame.4bpp.lz"); static const struct HallofFameMon sDummyHofMon = { .tid = 0x03EA03EA, // (u16[]){1002, 1002} corrupted sprite template? diff --git a/src/help_system.c b/src/help_system.c index 27ec64baa..f29359354 100644 --- a/src/help_system.c +++ b/src/help_system.c @@ -1646,7 +1646,7 @@ static const u8 *const sHelpSystemSubmenuItemLists[HELPCONTEXT_COUNT * (TOPIC_CO NULL, NULL, NULL, NULL, NULL // HELPCONTEXT_UNUSED }; -static const u16 unref_845BCB0[] = INCBIN_U16("graphics/help_system/unk_845BCB0.bin"); +static const u16 unref_845BCB0[] = INCBIN_U16("graphics/help_system/unused.bin"); static const u8 sHelpSystemContextTopicOrder[TOPIC_COUNT] = { TOPIC_ABOUT_GAME, -- cgit v1.2.3