FlagBrew / PKSM-Scripts

General purpose scripts to use with PKSM.
58 stars 14 forks source link

Feature Request: Dex Injection of all Pokémon in Storage #32

Closed VijoPlays closed 1 year ago

VijoPlays commented 3 years ago

Problem: Dex injections right now only offer the options to edit the Dex to display every Pokémon as seen or caught. It'd be great if it were possible to check the Storage for every Pokémon in the boxes and then update the Dex accordingly (so that you can create your own 'living Dex').

If it doesn't work, or is much work (since afaik right now there's a Dex script for every Gen separately), that's fine - just something cool that I'm missing.

Solution: Just a script (or a "Dump storage into Dex"-button) to dump the contents of the storage into the game's Dex.

Alternative: One thing that works right now is to dump the whole storage, save and then swap the contents of the boxes again. Problem here is that any Pokémon caught in a newer Gen doesn't transfer (only one at a time by editing them).

Additional context: As always, I am sorry if the above solutions exist/have been requested already, couldn't find anything with the words I searched by.

piepie62 commented 3 years ago

This is quite a good idea, actually. I don't remember if there's a script API for just setting Pokémon into the dex off the top of my head, but I'm certainly not opposed to this idea, including adding one if there isn't. I'm going to transfer this over to the script repository to track it there; thank you for the suggestion

SpiredMoth commented 3 years ago

I should have made this post a while ago, but this script now exists. It will be bundled in the next version of PKSM

If you want it sooner:

Then to use it, in the Scripts section of PKSM, press Y then press X and select inject-bank-to-dex.c

VijoPlays commented 3 years ago

Yoo, that's hype! And thanks for the headsup. 💙