forked from rh-hideout/pokeemerald-expansion
-
Notifications
You must be signed in to change notification settings - Fork 0
Sword & Shield Storage System
Montblanc edited this page May 29, 2026
·
5 revisions

This is a demake of the Pokemon storage system (PC) from Pokemon Sword and Shield.
With a clean working directory, run the following commands:
git remote add montblanc https://github.com/montmoguri/pokeemerald-expansion.git
git pull montblanc swsh_storage_systemThen sort out any merge conflicts and commit the merge.
- Supported only for the expansion
masterbranch (not upcoming) - Up-to-date to Expansion 1.15.2
void PokemonPC_SetReturnToPartyCallback(MainCallback cb)
{
sReturnToPartyCallback = cb;
}
+bool8 PokemonPC_HasReturnToPartyCallback(void)
+{
+ return sReturnToPartyCallback != NULL;
+}
+
void ShowPokemonPCFromParty(void)
{
+ if (SWSH_STORAGE_SYSTEM)
+ {
+ ShowPokemonPCFromParty_SwSh();
+ return;
+ }
EnterPokeStorage(OPTION_MOVE_MONS);
} void PokemonPC_SetReturnToPartyCallback(MainCallback cb);
+bool8 PokemonPC_HasReturnToPartyCallback(void); static void CB2_ExitPokeStorage(void)
{
sPreviousBoxOption = GetCurrentBoxOption();
- gFieldCallback = FieldTask_ReturnToPcMenu;
+#if SWSH_PARTY_MENU_PC_ACCESS
+ if (PokemonPC_HasReturnToPartyCallback())
+ gFieldCallback = CB2_ReopenPartyMenuFromPC;
+ else
+#endif
+ gFieldCallback = FieldTask_ReturnToPcMenu;
SetMainCallback2(CB2_ReturnToField);
}- Zatsu (helped me get alpha blend working in move items/chooseboxmon modes)
- hedara (for pointing out, in an unrelated context, that the battle interface uses BG y-offsets, which I leveraged for the mon info panel)
Reach out to me on TAH Discord @montblanc09 if you find any bugs. (Sorry I tend to ignore DMs unless I know you)