Pokemon Emerald: Automatically exclude locations based on goal #2655
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.
What is this fixing or adding?
Automatically excludes the specific locations which aren't accessible until after the player's goal is completed.
Excluding locations rather than not creating the locations because I get the item pool from the location pool directly. Removing a location that carries a progression item in the vanilla game would mean I'd have to explicitly add that item back in later and remove a filler item. This is much cleaner, and barely makes a dent in the location count anyway.
It's technically still possible to further detect whether a player could reach post-champion locations without first defeating Norman, but it gets messy, and nobody's asking for that right now anyway. When you play for a Norman goal, you're probably expecting to reach your goal quickly and release without approaching anywhere near full completion.
This pretty much makes the
Postgame Locations
location group obsolete, but I'll leave it for now and consider removing it in a future update.How was this tested?
Generating with the various triggering options and checking the spoiler log.