Skip to content

Adjust KZ hooks to permit early eyeball frog in rando#2

Merged
Pepper0ni merged 1 commit intoPepper0ni:FixOnlyKZfrom
Archez:extra-kz-stuff
Dec 20, 2024
Merged

Adjust KZ hooks to permit early eyeball frog in rando#2
Pepper0ni merged 1 commit intoPepper0ni:FixOnlyKZfrom
Archez:extra-kz-stuff

Conversation

@Archez
Copy link

@Archez Archez commented Dec 20, 2024

Tweaks the hooks to permit early eyeball frog check in rando.

VB_TRADE_TIMER_FROG should not have been removed as it stops the frog timer from getting set in rando saves.

One of the VB_KING_ZORA_TUNIC_CHECK had an inverted vanilla condition which would set the opposite textId in vanilla saves (the one where if you had the frog item or higher in inventory).

Moved VB_ADULT_KING_ZORA_ITEM_GIVE to the first if condition alongside Actor_HasParent so that we don't have to set extra stuff in the hook handler.

VB_ADULT_KING_ZORA_ITEM_GIVE will crudely check if the player has a shield equipped and if the R button is held, this is the magical part that makes early eyeball frog work in rando saves.

@Pepper0ni Pepper0ni merged commit d931e73 into Pepper0ni:FixOnlyKZ Dec 20, 2024
@Archez Archez deleted the extra-kz-stuff branch December 20, 2024 02:42
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