Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ganon tower logic #4526

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Pepe20129
Copy link
Contributor

@Pepe20129 Pepe20129 commented Nov 6, 2024

Separates the tower into the floors + the lair, and cleans up the logic a bit to use CanKillEnemy.
Also does the logic for escaping ganon's castle during the collapse (which is currently stubbed until we figure out what we should do with the collapse skip).
I did also put two comments indicating where pots are to facilitate potsanity merge conflicts (worth mentioning that there are pots during escape in the same place as the ones pre-collapse but there's not the same amount of them).

Build Artifacts

//18 pots
}, {
//Exits
Entrance(RR_GANONS_TOWER_FLOOR_3, {[]{return true;}}),
Copy link
Contributor

Choose a reason for hiding this comment

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

If you warped into the ganondorf fight, you wouldn't be able to leave, so this exit shouldn't exist unless there's some special edge case I am unaware of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This area currently encompasses everything after the first boss door so in that case it should be split, don't know what to name the one in between the boss doors tho.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK I reviewed the area, and you don't seem able to go backwards through the boss key locked doors at all, which makes the whole point moot. There may be value in separating pot room from the boss if a void warp is found, but that doesn't sound like anything that's needed now

//18 pots
}, {
//Exits
Entrance(RR_GANONS_TOWER_FLOOR_3, {[]{return true;}}),
Copy link
Contributor

Choose a reason for hiding this comment

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

OK I reviewed the area, and you don't seem able to go backwards through the boss key locked doors at all, which makes the whole point moot. There may be value in separating pot room from the boss if a void warp is found, but that doesn't sound like anything that's needed now

LOCATION(RC_GANONS_TOWER_BOSS_KEY_CHEST, logic->CanKillEnemy(RE_STALFOS, ED_CLOSE, true, 2)),
}, {
//Exits
Entrance(RR_GANONS_TOWER_FLOOR_1, {[]{return true;}}),
Copy link
Contributor

Choose a reason for hiding this comment

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

You actually need to kill the enemies to go backwards through here, as the doors back down are barred too.


// Bottle is not taken into account since a sword, hammer or stick are required
// for killing ganondorf and all of those can reflect the energy ball
return HasBossSoul(RG_GANON_SOUL) && CanUse(RG_LIGHT_ARROWS) && (CanUse(RG_KOKIRI_SWORD) || CanUse(RG_MASTER_SWORD) || CanUse(RG_BIGGORON_SWORD));
Copy link
Contributor

Choose a reason for hiding this comment

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

Ganondorf can be killed with bottle+sticks, but it requires more than is reasonable on default logic with a default stick bag (20 slash, 10 jumpslash), so it should be noted down for future ammo capacity logic instead.

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