Vanilla bugfix, ladder cutscene softlock#6804
Conversation
|
While this is a purely positive fix, it should probably still be behind a setting, as unmodified Ship is supposed to be a totally vanilla experience, warts and all. There are exceptions to this rule, notably hookshot as child crash, but generally those a combination of difficult to trigger by accident, hard to fix/re-break in that particular case, and purely destructive. This case only covers the latter, so I do not image it would get an exception, but if a more senior dev wants to overrule I would not mind. |
|
thinking we might group this & other soft lock behind shared setting. maybe can review existing settings in case there's room for more consolidation |
|
Thanks! My interest is primarily working with decomp/vanilla and porting vanilla fixes, so if there should be a setting, once it's been decided upon just let me know how to put it in SoH and I'll change it. I could see the case to make cutscene items (unk_6AD 4) a special case in this bugfix, as it allows use of Farore's Wind with ladder restricted items glitch (all CS items of course softlock, but FW is not usable after dismount). Depends on one's view on bugfixes and glitches - one could argue that FW should work, because the softlock is a bug; or, that like in vanilla FW should not be possible, even if the softlock is fixed. I can look into ways of prohibiting FW if needed. |
Fix of vanilla softlock on ladder dismount during cutscene or using cutscene items (with restricted items glitch).
Dismounting a ladder in a cutscene or when using a cutscene item (possible using restricted items glitch), i.e.
player->unk_6ADis 3 or 4, causes the animation inPlayer_Action_DismountLadderto never finish becausePlayer_TryActionInterruptalways returns true and player cannot exit the action.Fix: Disregard result of
Player_TryActionInterruptifunk_6AD>= 3.I have also written in more detail here https://github.com/djevangelia/ootmm-bugfix/blob/main/oot%20ladder%20cutscene%20softlock.c, with addition that this also concerns unk_6AD = 4 (cutscene items).
This fix does not affect normal or glitched gameplay, this bug is purely a softlock.
Demonstration of softlock and fix in SoH: https://www.youtube.com/watch?v=9RazVt8pKeQ
I've also submitted naming the
Player_Action_DismountLadderfunction etc to decomp zeldaret/oot#2771 but reviews there are generally going slow.Build Artifacts