Skip to content

Door jumps: land just inside when Link can step off sideways - #882

Merged
peiikai merged 1 commit into
developfrom
fix/doorjump-landing-sideways
Nov 23, 2026
Merged

peiikai merged 1 commit into
developfrom
fix/doorjump-landing-sideways

Conversation

@peiikai

@peiikai peiikai commented Nov 23, 2026

Copy link
Copy Markdown
Owner

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):

  • Face Shrine 06D, north and east doorways: a brazier right behind the first floor tile. Link landed beside the vacuum's pit, which then pulled him toward the middle.
  • Turtle Rock 04B, east doorway (in Bottle Grotto's 07D in seed WildCucco699): a block right behind the first floor tile. Link landed beside the chest.

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)

🤖 Generated with Claude Code

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>
@peiikai
peiikai merged commit 75fb8b8 into develop Nov 23, 2026
8 checks passed
@peiikai
peiikai deleted the fix/doorjump-landing-sideways branch November 23, 2026 19:37
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