Skip to content

Add Attacking Cuccos to the Randomizer#6221

Open
anthony-barricelli wants to merge 5 commits intoHarbourMasters:developfrom
anthony-barricelli:cucco-randomizer
Open

Add Attacking Cuccos to the Randomizer#6221
anthony-barricelli wants to merge 5 commits intoHarbourMasters:developfrom
anthony-barricelli:cucco-randomizer

Conversation

@anthony-barricelli
Copy link
Contributor

@anthony-barricelli anthony-barricelli commented Feb 1, 2026

Adds Attacking Cuccos to the Enemy Randomizer. Attacking Cuccos are categorized internally as Enemies 🙂

  • Attacking Cuccos can replace enemies as well as enemies replacing Attacking Cuccos.
  • Attacking Cucco behavior was slightly modified so they do not fly away or despawn when they go off screen. This was accomplished using the unused params of the Actor. This may be unorthodox.
  • Fail safe was added if they are the only selected Enemy when randomizing clear/timed rooms.
  • Enemies spawned by attacking a regular Cucco are de-parented from the spawning Cuccos to avoid crashes.
image Screenshot_20260201_025057 Screenshot_20260201_025252

Build Artifacts


// Params == 777 means that this is a randomized Attacking Cucco, and we want them attacking indefinitely
// So here we randomize the targeting timing and continuously have the Cucco face the player
if (this->actor.params == 777) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid heavily modifying decomp code. this functionality should be handled by hooks setup by enemy randomizer

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