From 26f5b7eaeec8163ea623ea03ead41a0342471390 Mon Sep 17 00:00:00 2001 From: mudskipper13 <105766191+mudskipper13@users.noreply.github.com> Date: Sun, 24 Mar 2024 20:57:02 +0700 Subject: [PATCH] Updated Full Screen Start Menu by Archie and Mudskip (markdown) --- ...Screen-Start-Menu-by-Archie-and-Mudskip.md | 35 +++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/Full-Screen-Start-Menu-by-Archie-and-Mudskip.md b/Full-Screen-Start-Menu-by-Archie-and-Mudskip.md index bde5aa5..dd720cd 100644 --- a/Full-Screen-Start-Menu-by-Archie-and-Mudskip.md +++ b/Full-Screen-Start-Menu-by-Archie-and-Mudskip.md @@ -1,7 +1,9 @@ - https://github.com/pret/pokeemerald/assets/108838662/b250cbfc-ddc6-48eb-9e12-c91b1cb69810 + +https://github.com/pret/pokeemerald/assets/105766191/17ba0237-749b-46b7-9680-97722513d0fb + ## Setup To apply these changes you have two options, either pull the branch from the TeamAqua fork of pokeemerald (instructions below), or copy in the changes by hand [Here is the diff](https://github.com/pret/pokeemerald/compare/master...TeamAquasHideout:pokeemerald:full_start_menu) @@ -27,12 +29,37 @@ static void Task_ClosePokedex(u8 taskId) ``` ## Usage -The Start Menu uses the same `FLAG_SYS_POKEDEX_GET, FLAG_SYS_POKEMON_GET, FLAG_SYS_POKENAV_GET` flags to determine whether or not you can use each of the menus as the vanilla Start Menu. They will show up greyed out if you do not have these flags set and you won't be able to use them. +The Start Menu uses the same `FLAG_SYS_POKEDEX_GET`, `FLAG_SYS_POKEMON_GET` and `FLAG_SYS_POKENAV_GET` flags to determine whether or not you can use each of the menus as the vanilla Start Menu. They will show up greyed out if you do not have these flags set and you won't be able to use them. The save dialogue does not give an extra confirmation for overwriting an existing save, I've never heard of anyone accidentally doing this so personally I like it better this way. Just be aware. ![finishedstartmenu](https://github.com/pret/pokeemerald/assets/108838662/79d4fd72-ec2f-4b1b-bbe3-6792f284adbb) +There is also a config inside `src/ui_startmenu_full.c` (on top after the `#include`s) file to add an option to set the time clock modes between 12-hours and 24-hours mode. In order to be able to use it, you need to set the `FLAG_CLOCK_MODE` define on that file to an unused flag e.g. FLAG_UNUSED_0x020 and recompile after like the diff below. The button to trigger between the modes by default is the SELECT button. +```diff +-#define FLAG_CLOCK_MODE 0 ++#define FLAG_CLOCK_MODE FLAG_UNUSED_0x20 +``` + +When the config is enabled, the input reference to switch between clock modes is not shown in-game by default. If you would like to actually show the button, you need to uncomment these parts in `src/ui_startmenu_full.c`. +```diff +-//#if (FLAG_CLOCK_MODE != 0) +-//static const u32 sStartMenuTilemap[] = INCBIN_U32("graphics/ui_startmenu_full/menu_tilemap_alt.bin.lz"); +-//#else ++#if (FLAG_CLOCK_MODE != 0) ++static const u32 sStartMenuTilemap[] = INCBIN_U32("graphics/ui_startmenu_full/menu_tilemap_alt.bin.lz"); ++#else +static const u32 sStartMenuTilemap[] = INCBIN_U32("graphics/ui_startmenu_full/menu_tilemap.bin.lz"); +-//#endif ++#endif +``` + +### Before: +![pokeemerald-0](https://github.com/pret/pokeemerald/assets/105766191/4618e5e5-5979-4cd3-aea0-61f82231de24) + +### After: +![pokeemerald-1](https://github.com/pret/pokeemerald/assets/105766191/7dce533a-c4dc-4916-813b-221967e8e52a) + ## [How do I pull a feature branch?](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/wiki/Feature-Branches#how-do-i-pull-a-feature-branch) You use git remote add and git pull commands to pull in a feature branch. That is, @@ -48,4 +75,8 @@ Code by Archie Graphics by Mudskip +UI Shell Code by ghoulslash + +Knowledge Download from Grunt Lucas + HP Bar Code from PSFs hack written by Rioluwott