Skip to content

Add Misty Mark recognition & weather bleed for slots#4519

Merged
kwsch merged 3 commits intomasterfrom
mist
Jul 5, 2025
Merged

Add Misty Mark recognition & weather bleed for slots#4519
kwsch merged 3 commits intomasterfrom
mist

Conversation

@kwsch
Copy link
Owner

@kwsch kwsch commented Jul 5, 2025

This pull request introduces slight changes to how weather conditions are handled in Gen 9 encounters. The key updates include the addition of a new weather type (Mist replacing the unused Intense_Sun), the removal of location-specific weather mappings, and the incorporation of weather compatibility checks directly into encounter records and methods.

Weather System Updates:

Encounter Record Enhancements:

Legality Verification Adjustments:

These changes improve the flexibility and maintainability of weather-related legality checks by centralizing weather compatibility logic within encounter records and removing hardcoded mappings.

pkNX has absorbed the area location/weather permissions of prior commits, and now emits them directly into the encounter objects. See pkNX commits from late June/early July (today).

There are still some edge cases (Kitakami area boost determination for overlapping areas -- which one is the real parent?) and possibly some extra tolerance quirks in Blueberry, but those can be investigated in a separate effort.

Closes #4036 (player onlook weather bleed)

kwsch added 3 commits July 4, 2025 16:41
fixes the tauros
With fix from pknx, bad field-packing hash function
Take 1 less byte to alloc :)
@kwsch kwsch merged commit 7864907 into master Jul 5, 2025
2 checks passed
@Lusamine Lusamine deleted the mist branch July 5, 2025 13:12
@hexbyt3 hexbyt3 mentioned this pull request Jul 5, 2025
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.

Some crossovers not listed in the encounter database

1 participant