Repository navigation
Door jumps: land just inside when Link can step off sideways - #882
Merged
Merged
Conversation
landing_depth wanted the tile straight behind a landing spot to be walkable. A brazier or block right behind the first floor tile sent Link past it, three or four tiles into the room (user's play-test 2026-11-23: Face Shrine 06D N and E, beside the vacuum's pit; Turtle Rock 04B E, in Bottle Grotto's 07D, beside the chest). A landing now also counts as one he can walk on from when a tile beside it is free. Where only that sideways step is free, the half-tile centring stays as it was. lasrando room-facts against develop: 32 of 699 doorways land closer to their doorway (most 5.25 -> 2.25), none deeper, nothing else changes. 36 generated seeds (Coupled / Decoupled / off, keysanity and dungeon shuffle mixed) all pass; the user's seed WildCucco699 lands at 2.25 in Turtle Rock 04B E (was 5.25). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Door jumps sometimes put Link three or four tiles into a room instead of just inside the doorway (user's play-test 2026-11-23):
Cause
landing_depth(runtime/rando/solve/rooms_game.cpp) accepts a landing tile only if the tile straight behind it is walkable too. When a brazier or block sits right there, it skips past it and lands Link deeper in.Fix
A landing tile also counts as one Link can walk on from when a tile beside it is free. Where only that sideways step is free, the half-tile centring is computed as before, so nothing else moves.
Testing (
build/lasrando)room-factscompared with current develop: 32 of 699 doorways land closer to their doorway, most going from 5.25 to 2.25. None lands deeper, and nothing else in the room facts changes. A few land on a raised tile right inside the doorway (Eagle's Tower 04D, Turtle Rock 06F), still inside the area the logic says the doorway leads to (Rando rooms: Angler's Tunnel railings, shallow water doors, door-jump landings #877's area rule).🤖 Generated with Claude Code