Skip to content

Conversation

@LinusU
Copy link
Contributor

@LinusU LinusU commented Aug 3, 2025

When porting the function RandomUnseenWildMon to Rust (for Rustic Crystal) I noticed a logic error where it will always compare the potentially rare pokemon to the the first 4 morning encounters to see it is indeed rare.

I haven't seen the issue while playing since it's quite rare, and would be hard to notice unless you know what to look for.

Looking thru the grass data, it looks like it could happen for e.g. ROUTE_30 in the night. If it first picked slot 6 HOOTHOOT it would tell the player of the rare Hoothoot, even though slot 2 & 4 also contains HOOTHOOT in the night...

@Rangi42
Copy link
Member

Rangi42 commented Aug 3, 2025

Thank you for finding and fixing this!

@Rangi42 Rangi42 merged commit b0d56df into pret:master Aug 3, 2025
1 check passed
@LinusU LinusU deleted the lu-random-unseen-wild-mon-bug branch August 3, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants