mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-08 04:33:57 -04:00
Combine easySurface and easyZoraSwim into easySwim
This commit is contained in:
@@ -660,11 +660,11 @@ void daAlink_c::setSwimMoveAnime() {
|
||||
field_0x3478 = mpHIO->mSwim.m.mUnderwaterMinAnmSpeed;
|
||||
field_0x347c = mpHIO->mSwim.m.mUnderwaterMaxAnmSpeed;
|
||||
|
||||
IF_DUSK(const bool easyZoraSwim = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.zoraSwim, false));
|
||||
IF_DUSK(const bool easySwim = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.swimming, false));
|
||||
|
||||
if (mMaxSpeed < mpHIO->mSwim.m.mUnderwaterMaxSpeed) {
|
||||
mMaxSpeed = mpHIO->mSwim.m.mUnderwaterMaxSpeed;
|
||||
} else if (easyZoraSwim ? doButton() : doTrigger()) {
|
||||
} else if (easySwim ? doButton() : doTrigger()) {
|
||||
mMaxSpeed += 0.75f;
|
||||
if (mMaxSpeed > temp_f29) {
|
||||
mMaxSpeed = temp_f29;
|
||||
@@ -1337,9 +1337,7 @@ int daAlink_c::procSwimHookshotMove() {
|
||||
return procSwimDiveInit();
|
||||
}
|
||||
|
||||
IF_DUSK(const bool easySurface = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.surface, false));
|
||||
|
||||
if (checkUpSwimButtonAccept() && (easySurface ? doButton() : doTrigger())) {
|
||||
if (checkUpSwimButtonAccept() && (easySwim ? doButton() : doTrigger())) {
|
||||
field_0x3000 = 30;
|
||||
return procSwimMoveInit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user