Skip to content

Possibility to make opening GTG a permanent flag#2590

Open
djevangelia wants to merge 1 commit into
OoTRandomizer:Devfrom
djevangelia:opengtg
Open

Possibility to make opening GTG a permanent flag#2590
djevangelia wants to merge 1 commit into
OoTRandomizer:Devfrom
djevangelia:opengtg

Conversation

@djevangelia

Copy link
Copy Markdown

This is an implementation of permanent flag open GTG after opening it once. Closes #2011 given that it can be agreed upon settings for it.

Guard opens GTG like normal. In addition to temporary scene flag, a permanent flag (4) is set.
When entering Gerudo Fortress again, guard and gate check for this flag.
If set, guard will offer to throw in jail, and the gate will be open.
Extra check has been added so that the gate does not open as child.

It currently uses dungeon entrance shuffle as setting. Once it's agreed upon what randomizer setting should be used it will be changed.
The flag number was chosen because I could only find that 3 is in use (large gate).

Testing

Tested on Ares recent nightly build and Project64 3.0.1.
Looks like this: https://www.youtube.com/watch?v=7Qo7Qa2IqsM

For instant Gerudo card:

if (z64_game.common.input[0].raw.pad.dl) {
    z64_GiveItem(&z64_game, Z64_ITEM_GERUDOS_CARD);
}

@fenhl fenhl added Type: Bug Something isn't working Component: Logic Non-trivial changes to the JSON logic files Component: ASM/C Changes some internals of the ASM/C libraries Status: Needs Review Someone should be looking at it labels Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: ASM/C Changes some internals of the ASM/C libraries Component: Logic Non-trivial changes to the JSON logic files Status: Needs Review Someone should be looking at it Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ER logic bug with shops behind the GTG entrance

2 participants