From 477192f3c277d40d9bf919f21a2fbf7293133717 Mon Sep 17 00:00:00 2001 From: Flash Computer Date: Wed, 27 May 2026 23:16:50 -0700 Subject: [PATCH] Fixed being unable to break through the water surface with the moonjump cheat (#1320) * Speed Vector for Link and Epona added to the Player Info debug ImGUI window for debugging. * Fix being unable to moonjump through water surface * Revert "Speed Vector for Link and Epona added to the Player Info debug ImGUI window for debugging." This reverts commit d87cad3b37872f0668b6d8883665971bda7950b6. --- src/d/actor/d_a_alink.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/d/actor/d_a_alink.cpp b/src/d/actor/d_a_alink.cpp index 34690accab..d4ff320282 100644 --- a/src/d/actor/d_a_alink.cpp +++ b/src/d/actor/d_a_alink.cpp @@ -13461,7 +13461,12 @@ void daAlink_c::autoGroundHit() { } } } else if (checkModeFlg(0x40000) && checkNoResetFlg0(FLG0_UNK_80) && current.pos.y > mWaterY && current.pos.y - mWaterY < 1000.0f) { - current.pos.y = mWaterY; +#if TARGET_PC + if(!(dusk::getSettings().game.moonJump && (mDoCPd_c::getHoldR(PAD_1) && mDoCPd_c::getHoldA(PAD_1)))) +#endif + { + current.pos.y = mWaterY; + } } if (checkReinRide() || checkSpinnerRide()) {