mirror of https://github.com/pret/pokeemerald.git
Updated Full Screen Start Menu by Archie and Mudskip (markdown)
parent
dc7a5e2e1d
commit
c98cf7e1ea
|
@ -2,7 +2,28 @@
|
|||
![finishedstartmenu_static](https://github.com/pret/pokeemerald/assets/108838662/b638305e-d27e-435b-b9c0-6b8b8ac7b36e) ![finishedstartmenu](https://github.com/pret/pokeemerald/assets/108838662/79d4fd72-ec2f-4b1b-bbe3-6792f284adbb)
|
||||
|
||||
## 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:sandbox)
|
||||
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)
|
||||
|
||||
This branch is Expansion Compatible but if you are using the HGSS Pokedex you need to change one line in `pokdex_plus_hgss.c`:
|
||||
|
||||
```
|
||||
static void Task_ClosePokedex(u8 taskId)
|
||||
{
|
||||
if (!gPaletteFade.active)
|
||||
{
|
||||
gSaveBlock2Ptr->pokedex.mode = sPokedexView->dexMode;
|
||||
if (!IsNationalPokedexEnabled())
|
||||
gSaveBlock2Ptr->pokedex.mode = DEX_MODE_HOENN;
|
||||
gSaveBlock2Ptr->pokedex.order = sPokedexView->dexOrder;
|
||||
ClearMonSprites();
|
||||
FreeWindowAndBgBuffers();
|
||||
DestroyTask(taskId);
|
||||
+ SetMainCallback2(CB2_ReturnToFullScreenStartMenu);
|
||||
m4aMPlayVolumeControl(&gMPlayInfo_BGM, TRACKS_ALL, 0x100);
|
||||
Free(sPokedexView);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
By default the Stat Editor when pulled works from the Party Menu, it should be trivial to gate this behind a flag, or call the StatEditor_Init function from an item callback if you want it to be an item. There are also commented-out changes to the start menu in the branch for opening it from there, you can ignore the changes to this file if you don't want it there.
|
||||
|
|
Loading…
Reference in New Issue