Skip to content

Conversation

@GSKirox
Copy link

@GSKirox GSKirox commented Aug 31, 2023

The "block code" lines in Patches.py are the ones which reduced the original "Fairy Ocarina" textbox to the simple one currently used in ootr.
Commenting this block makes the whole textbox just disappear.

The hook for the fairy ocarina get item is put on this function : https://github.com/zeldaret/oot/blob/8913c4fa0d2cec19db6e8b4d8598125977243c5d/src/code/z_demo.c#L2381C1-L2381C1

Which enables us to write anything in there we want instead of automatically give the Fairy Ocarina.
I wrote a simple replacement in main.c, just to give a code example.

@fenhl
Copy link
Owner

fenhl commented Aug 31, 2023

Thank you! I've implemented fairy_ocarina_getitem and forwarded this as OoTRandomizer#2080.

@fenhl fenhl closed this Aug 31, 2023
@GSKirox GSKirox deleted the fairy_ocarina_override branch September 6, 2023 08:34
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