Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Only One Loop in RandomlyGivePartyPokerus #1991

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

Kurausukun
Copy link
Contributor

Description

Using a compound check instead of a nested loop is a bit nicer here. Also added missing SPECIES_NONE constant usage.

Discord contact info

kurausukun

@GriffinRichards
Copy link
Member

That 0 doesn't represent a species, it's a null pointer.

@Kurausukun
Copy link
Contributor Author

My bad, you're right. Forgot how GetMonData worked for a second there

@GriffinRichards GriffinRichards merged commit 5dbd90b into pret:master Apr 19, 2024
1 check passed
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.

None yet

2 participants