Skip to content

Door jumps: land on Turtle Rock 03G's raised west notch - #889

Merged
peiikai merged 1 commit into
release/0.6from
fix/warp-ledge-spawn
Nov 25, 2026
Merged

peiikai merged 1 commit into
release/0.6from
fix/warp-ledge-spawn

Conversation

@peiikai

@peiikai peiikai commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What

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: 03G sat in Face Shrine as 01H, and the jump from 06E E fired five times in a row.

Why

dungeon_gen.landing_depth looks for the first walkable tile inward from a doorway. At 03G W3 the doorway is one 1.5-high tile, the next tile is the ledge's lip (solid), and the rest of the row is crumbling floor (left out since a jump landed Link on one and it gave way). With nothing found, it fell back to (2.2, 0.0): 2.2 in at height 0, which is inside the ledge.

Now, when nothing past the doorway can hold Link and the doorway tile itself is raised, he lands on that tile at its height (depth 0.75). From there he drops into the room the way vanilla does when coming from 03F.

Scope

A scan of every doorway in room_catalog.json shows 03G W3 is the only one this changes. 03G's other doorways (S 10, W 13) keep their landings. Eight other numbered doorways still use the fallback, but they are at floor level, onto pits, cracked floor or lava: Angler's 05B E, Catfish 06C E, Eagle 07B N / W, Turtle Rock 06E W / E, plus doors with walls behind them (Bottle 05G N, Turtle Rock 03D N). That's a separate problem and is not changed here.

The develop C++ generator (runtime/rando/solve/rooms_game.cpp) gets the same fix in its own PR.

Testing

macOS, Metal (M3 Max), release/0.6 build. Test seed with a single hand-written door_jumps.tsv row: Turtle Rock 08D N -> 03G W3, run with LARECOMP_DOORJUMP_TEST.

  • Old row 2.2 0.0: Link lands at (92.20, 26.25) inside the ledge and ends back in 08D (FAIL-after-jump).
  • New row 0.75 1.5: Link lands standing on the notch, walks east, drops into the room and walks on. The test reports PASS (now in 03G).
  • tools/test_room_ledges.py: 12 drop-down-only doorways ok.

🤖 Generated with Claude Code

Turtle Rock 03G's west doorway (row 1) is a single 1.5 tile, then the
ledge's lip, then crumbling floor. landing_depth 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 that doorway changes: every other catalog doorway keeps its landing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@peiikai
peiikai merged commit ac967df into release/0.6 Nov 25, 2026
8 checks passed
@peiikai
peiikai deleted the fix/warp-ledge-spawn branch November 25, 2026 02:13
peiikai added a commit that referenced this pull request Nov 25, 2026
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]>
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