Skip to content

Location Cleanup#402

Open
TheRealQuantam wants to merge 3 commits intoEllendar:5.1from
TheRealQuantam:LocCleanup
Open

Location Cleanup#402
TheRealQuantam wants to merge 3 commits intoEllendar:5.1from
TheRealQuantam:LocCleanup

Conversation

@TheRealQuantam
Copy link
Copy Markdown
Collaborator

This PR significantly cleans up the way locations are referenced by adding a LocationID enum and switching older methods (like ROM offsets to location table entries) to use the new method. It also removes some hard-coded location lists, replacing them with programmatic generation from the ROM.

Initial implementation is finished. I have not yet tested it apart from verifying it can generate a ROM. I figured reviewers would want to look it over carefully as both design and implementation are subject to feedback, so review can happen while I test it (and if anyone else wants to test it feel free). When reviewing, extra attention should be given to whether some of the removal of old things is safe with how shuffling works, and I didn't cut too deep.

Do NOT merge until review and testing are complete.

@TheRealQuantam TheRealQuantam requested review from Ellendar, initsu and jroweboy and removed request for initsu March 30, 2026 04:44
@TheRealQuantam
Copy link
Copy Markdown
Collaborator Author

After fixing stupid bug I generated 10 seeds on beginner and 10 on max rando before and after this PR and they came out identical.

@TheRealQuantam TheRealQuantam removed the request for review from jroweboy March 30, 2026 10:38
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