Skip to content

Improved World > Kakariko Gate Fix: the Hyrule Field sun no longer sticks over Death Mountain - #122

Merged
OruizGl merged 12 commits into
ootrando:nightlyfrom
deanrather:fix/field-sun-palette
Nov 24, 2026
Merged

OruizGl merged 12 commits into
ootrando:nightlyfrom
deanrather:fix/field-sun-palette

Conversation

@deanrather

Copy link
Copy Markdown
Contributor

Base: ootrando/ootrr:nightly

Title: Improved World > Kakariko Gate Fix: the Hyrule Field sun no longer sticks over Death Mountain

With Kakariko Gate Open, Saria's gift set the flag the game uses for Link's first walk into Hyrule Field and the owl that clears it never played, so on clear days Hyrule Field and Lake Hylia drew the sun pinned in the north-east at every hour (reported on the OOTRR Discord). Saria's gift now clears that flag, and the shared item-get flow clears it on saves that already have it once the owl is marked played or can no longer play (it takes effect at the next field load). Data edits only; no setting changes.

This restores the clear that 8d12ecb ("Fixed Time Cycle") added for an open gate and that the Saria's gift rewrite in b4fdf84 bypassed.

Played by script on this code merged with nightly (25 Nov, 16 tests): the gift writes 1 on the old code and 0 here (also with the default settings and with debug_location_names and skip_first_pickup_text on); the repair clears an old save's flag after a chest, both when the owl was already seen and when the quest is past it, and keeps the flag while the owl will still play; on the default settings (gate Closed) the owl's scene still plays when Link walks out of the forest, and the flag reads 0 afterwards. Not played: a non-chest item get as the repair's trigger, a real old save, and the look of the sky (a person looked at Lake Hylia pictures on the first version only).

Two things change beyond the bug, on purpose: every build's Goto_HyruleCastle and GetPouchContent flows change slightly, because the repair for saves that already have the flag runs on each chest or item get (four extra flag checks), so the default build is not byte-identical to nightly (three files: those two flows and the size table); and with the gate Closed the owl's first scene is lit by the clock instead of the fixed first-morning light. Hunks outside field_palette.rs: one value in story_skip.rs, one stage call in slice/edit.rs, comments in start_state.rs. Default seeds and settings strings are unchanged.

Includes #120 and #121 (nightly's own test fixes) so CI passes; those lines drop out of this diff once they merge.

For details about implementation and testing, see difficulty-mod/docs/features/72-field-sun-palette-fix.md.

deanrather and others added 12 commits November 24, 2026 11:40
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…es the two deliberate changes

See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
See difficulty-mod/docs/features/72-field-sun-palette-fix.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@OruizGl
OruizGl merged commit 3ada4dd into ootrando:nightly Nov 24, 2026
1 check passed
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.

2 participants