Skip to content

Rando: Shuffle Ocarina Buttons#3082

Closed
Pepe20129 wants to merge 29 commits intoHarbourMasters:developfrom
Pepe20129:shuffle_ocarina_buttons
Closed

Rando: Shuffle Ocarina Buttons#3082
Pepe20129 wants to merge 29 commits intoHarbourMasters:developfrom
Pepe20129:shuffle_ocarina_buttons

Conversation

@Pepe20129
Copy link
Contributor

@Pepe20129 Pepe20129 commented Jul 18, 2023

Adds a new option to shuffle the 5 ocarina buttons.
If you don't have the buttons, you can't use them while playing songs.

Includes models by Purple Hato:
9c7914eb-0539-4e17-b9e9-d0c7765043aa
a3af5fb1-43dc-4ed6-92e0-17903f63087b

Build Artifacts

{ RAND_INF_HAS_OCARINA_C_LEFT, "RAND_INF_HAS_OCARINA_C_LEFT"},
{ RAND_INF_HAS_OCARINA_C_RIGHT, "RAND_INF_HAS_OCARINA_C_RIGHT"},
{ RAND_INF_HAS_OCARINA_C_UP, "RAND_INF_HAS_OCARINA_C_UP"},
{ RAND_INF_HAS_OCARINA_C_DOWN, "RAND_INF_HAS_OCARINA_C_DOWN"},
Copy link
Contributor

Choose a reason for hiding this comment

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

Just remember you're creating a merge conflict for yourself here :)

Copy link
Member

@inspectredc inspectredc left a comment

Choose a reason for hiding this comment

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

LGTM! Excited for this one :) (also reminder about the rando changes you made before merging)

@Malkierian
Copy link
Contributor

Yes, anything that added stuff with n64ddFlag should be changed to IS_RANDO before being merged from now on.

@Pepe20129
Copy link
Contributor Author

Yes, anything that added stuff with n64ddFlag should be changed to IS_RANDO before being merged from now on.

Done

@inspectredc
Copy link
Member

Noticed in playtesting but would be great if you could add the items to the item tracker, and also maybe have some indicator of which songs can then be played on the item tracker

@Pepe20129
Copy link
Contributor Author

Pepe20129 commented Oct 14, 2023

Currently the only way to know which buttons you have is that in the pause menu if you hover over a song, the buttons you don't have will be gray. I did try to make a display like how n64 rando does it but I wasn't able to, I'll look into putting them in the item tracker.

ScarecrowSong = ScarecrowSong || FreeScarecrow || (ChildScarecrow && AdultScarecrow);
Scarecrow = Hookshot && CanPlay(ScarecrowSong, Song::SONG_SCARECROW);
DistantScarecrow = Longshot && CanPlay(ScarecrowSong, Song::SONG_SCARECROW);
Scarecrow = Hookshot && Ocarina && OcarinaButtons >= 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

Either account for FreeScarecrow here and in z_en_kakasi2.c, or clarify in the tooltip that scarecrow still needs 2 buttons. (I gave my intial comment on the setting assuming it would just be in logic with 0 buttons if free, but still requiring buttons and only saving the trip to lake is valid too)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the tooltip and hopefully made the logic easier to understand

@Pepe20129
Copy link
Contributor Author

#3735 has been merged so this pr is no longer needed.

@Pepe20129 Pepe20129 closed this Dec 28, 2023
@Pepe20129 Pepe20129 deleted the shuffle_ocarina_buttons branch December 28, 2023 21:25
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.

6 participants