Split Emerald Egg in two tables - #536
Open
EliaValkyr wants to merge 1 commit into
Open
EliaValkyr wants to merge 1 commit into
EliaValkyr wants to merge 1 commit into
Conversation
EliaValkyr
force-pushed
the
emerald-egg-split
branch
from
February 25, 2026 16:00
c6a1ac2 to
5e5644f
Compare
EliaValkyr
force-pushed
the
emerald-egg-split
branch
from
February 25, 2026 16:44
5e5644f to
c44bb85
Compare
Owner
|
I believe PokeFinder used to be like this generating the results separately. I think as part of the redesign I did a couple years back I condensed to better utilize the information I had added (base stats, etc). I do think I had only a shared TableView between the two though that is a minor detail. I'm not opposed to having a split it would just have the consequence of not being able to show correct stats as we wouldn't have nature. Perhaps an option to do separate or combined would be ideal. @notblisy and @papajefe I think have complained to me about the new way before and can maybe provide extra insight. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In Emerald, eggs are created in two stages. Currently, pokefinder does a cartesian product of the two, leading to a crash when generating the table with the default settings, because it's trying to create 25 million rows. I have split the information in two tables, one for the held information (PID, nature, etc) and the other about the pickup information (IVs, hidden power) so that it's more convenient to use.
In my opinion, this also makes the tool easier to understand, since columns are now grouped by when they are populated in-game.
Here's how the table looks:
I tried to modify as little as possible from the code, hence why I've kept using the same state object for the two tables,
EggState3. I've had to create new classes for the table model but those aren't very large so hopefully that's okay for you.I've seen that for the rest of gen 3 games, something similar happens, as in the pokemon are created in two stages, though the information in each stage is different than in Emerald. If you like this change, I could also try and change those tables.
Anyway, please tell me what you think, and what changes you'd make to it!