Skip to content

Random Mon Generation#9896

Draft
jtebbe wants to merge 1 commit intorh-hideout:upcomingfrom
jtebbe:random-mon-generation
Draft

Random Mon Generation#9896
jtebbe wants to merge 1 commit intorh-hideout:upcomingfrom
jtebbe:random-mon-generation

Conversation

@jtebbe
Copy link
Copy Markdown

@jtebbe jtebbe commented May 1, 2026

Supercedes #8714 , does not actually add surprise/wonder trade in this PR.

The last PR's scope was a bit narrow, and so this is the first of two possible PRs to handle wonder/surprise trade, and the utility behind what the second would need regardless. Removed some features like auto-evolution, random evs, etc that I deemed closer to surprise trade/wonder trade features, but can add them back as necessary.

Description

Adds functionality to generate random pokemon with specific options. Works as follows:

1.) include/constants/species.h has additional random species (more can be added), which correlate to randomization pool settings in src/data/random_mon_generator.h

2.) givemon/createmon will, if using one of the above random species, pull from the appropriate pool settings and generate a random pokemon.

Feature(s) this PR does NOT handle:

Does not add surprise/wonder trade.

Things to note in the release changelog:

  • Added randomization options to givemon/createmon. For information on how to use this feature, check out (docs pending)

Discord contact info

harbingerofruination on discord

Shoutout to PSF for the original code and help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant