Repository navigation
Door jumps: land on Turtle Rock 03G's raised west notch (C++ generator) - #890
Merged
Merged
Conversation
Turtle Rock 03G's west doorway (row 1) is a single 1.5 tile, then the ledge's lip, then crumbling floor. landing_search found no landing there and fell back to 2.2 in at height 0: Link stood inside the ledge and the game sent him back to the room he came from. Land him on the notch at its own height instead; he drops off it into the room as in vanilla. Only in the last pass (no areas), so door frames that have a landing further in keep it. The C++ side of the release/0.6 fix to dungeon_gen.landing_depth. Co-Authored-By: Claude Opus 5.5 <[email protected]>
NevesHenry
pushed a commit
to NevesHenry/LASRecomp
that referenced
this pull request
Nov 26, 2026
…peiikai#889) - peiikai#884, peiikai#888: 130 shader variants from the peiikai#883 logs (2049 records). - peiikai#885: Linux soft page write tracking race (peiikai#883 crash), moved to runtime/platform/soft_tracking.h, with tools/test_soft_tracking.c in CI. - peiikai#889: tools/rando/dungeon_gen.py stays deleted on develop; the same 03G notch landing fix is in C++ via peiikai#890. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The develop half of #889 (Python, release/0.6). With dungeon room shuffle, a door jump into Turtle Rock 03G's west doorway (the raised notch at the upper left) put Link inside the ledge. He got stuck and the game sent him back to the room he came from. Found in play on a nightly: seed
NJ4C6-KFQ0B-5RKFX-6MHAZ-9F3V0-0G133, Face Shrine 06E E -> 01H W (01H is 03G).Why
landing_searchfound no walkable tile past that doorway. The next tile is the ledge's lip (solid), and the rest of the row is crumbling floor. So it fell back to{2.2, 0.0}, which is inside the ledge. Now, when no landing is found anywhere and the doorway tile itself is raised, Link lands on that tile at its height (0.75 in). From there he drops into the room as in vanilla.The rule only runs in the last pass (without areas). In the area pass, door frames at 2.1 / 3.0 count as raised doorway tiles too. A first version put it in both passes, and that moved Turtle Rock 06G E and Bottle Grotto 08G E onto their door frames even though the second pass had a real landing for them.
Testing
lasrando generatewith the old and new code on three coupled room-shuffle requests. Only the rows into 03G W3 change:Lv06FaceShrine 06E E 8 3 01H WandLv01TailCave 06E E 8 3 07C W, from2.2 0.0to0.75 1.5. The spoilers (item placement) are identical. Regenerating with the old code gives aseed.jsonidentical to the user's.2.2 0.0, Link lands inside the ledge and ends back in 08D. With0.75 1.5, he lands on the notch, walks east off it into the room, andLARECOMP_DOORJUMP_TESTreports PASS. The runtime is unchanged; this was run on a release/0.6 build.Seeds made before this fix keep the old row in their
seed.json. Making the seed again from its seed ID picks up the fix.🤖 Generated with Claude Code