Skip to content

Pets: the rooster's grave gives a check when the rooster is an item - #896

Merged
peiikai merged 1 commit into
developfrom
feature/rooster-grave-check
Nov 26, 2026
Merged

peiikai merged 1 commit into
developfrom
feature/rooster-grave-check

Conversation

@peiikai

@peiikai peiikai commented Nov 26, 2026

Copy link
Copy Markdown
Owner

What changed

With Flying Rooster shuffled as an item (pet-rooster), playing the Frog Song at the rooster's grave still revived him, and the generator put nothing there. You could get a free rooster that way, outside the logic, and then find a second one at his item spot. A player ran into this.

In those seeds, the grave is now a normal check:

  • Generator (prepare.cpp, shuffler.cpp): rooster-statue becomes an npc item location instead of being removed. It keeps its logic: song and Ocarina, behind the grave door, with or without entrance shuffle. The rooster is no longer forced there.
  • Game files (pets_apply):
    • In RoosterBones.bfevfl, after the bones turn to light, the whiteout fades back, the placed item is held up and the zone music comes back. The rooster isn't woken.
    • A flag set at the hand-out (unused0425, LAS's unused "RoosterFound") is now the bones' layout condition, so they stay gone afterwards.
    • The old condition, hiding the bones while the rooster follows, is dropped. Finding the rooster first no longer hides the grave check.
  • Spoiler, tracker and hints (outputs_data.cpp): check name "Flying Rooster's grave", its room, its door, and its done flag. The tracker overlay only gives the rooster token for the follower version.
  • Old seeds: seeds made before this record the rooster at the grave. They, and any new seed that puts the rooster there by chance, keep the vanilla revival.

Testing (macOS, Metal)

  • Ran 36 generated seeds with mixed settings, all with pet-rooster. All are beatable, and the grave got everything from rupees to the Wind Marimba, souls and the shield. Without pet-rooster, the grave stays the vanilla rooster.
  • In game, a seed with the shield at the grave (scratch save, muted):
    • Ocarina and Frog Song given, then the song played at the bones. The light and whiteout play, then "You got your shield back!", and the bones are gone with no rooster.
    • Link walks off after the hand-out. Leaving and coming back, the bones stay gone.
    • Before the layout fix, a !flag condition hid the bones from the start. These conditions hide the actor when true.
  • Old seed: a copy of an existing seed (rooster at the grave) loads, and the bones are there as before.
  • Not tested on Vulkan. This only changes generated data, not rendering.

🤖 Generated with Claude Code

With the Flying Rooster shuffled as an item, playing the Frog Song at his
grave still revived him and nothing else was placed there, so the song
gave a second rooster and skipped the logic.

The grave is now an item spot in those seeds (rooster-statue: the song
and the Ocarina, behind the grave door). After the bones turn to light,
the placed item is held up and a flag (LAS's spare "RoosterFound") keeps
the bones away afterwards; the rooster comes only from his own item.
Seeds made before this hold the rooster at the grave and keep the
vanilla revival.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@peiikai
peiikai merged commit e2e56ca into develop Nov 26, 2026
8 checks passed
@peiikai
peiikai deleted the feature/rooster-grave-check branch November 26, 2026 09:50
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