Skip to content

Fix: Showing pocket cucco in rando gives first Anju reward instead#1766

Merged
briaguya0 merged 1 commit intoHarbourMasters:develop-zhorafrom
lilDavid:anju_shuffle_fix
Oct 13, 2022
Merged

Fix: Showing pocket cucco in rando gives first Anju reward instead#1766
briaguya0 merged 1 commit intoHarbourMasters:develop-zhorafrom
lilDavid:anju_shuffle_fix

Conversation

@lilDavid
Copy link
Contributor

Fixes #1415.

In vanilla, the flags gSaveContext.itemGetInf[2] & 0x1000 and gSaveContext.itemGetInf[2] & 0x4000 are used to determine what Anju says when spoken to, and the former is also used to determine whether she gives you the pocket cucco or Cojiro.

This fix makes it so that in randomizer, the item given is independent of gSaveContext.itemGetInf[2] & 0x1000. Additionally, whereas before they were set after Link was given the item, rando now sets them at the same time the item Link gets is determined so that the correct flag is set for the location checked.

@briaguya0 briaguya0 merged commit f4c871e into HarbourMasters:develop-zhora Oct 13, 2022
@lilDavid lilDavid deleted the anju_shuffle_fix branch October 13, 2022 17:20
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.

3 participants