From dc0d5adac459fa8fb75665a7e1fe8c345aa6b4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo?= Date: Thu, 23 Jul 2026 00:42:02 -0300 Subject: [PATCH] Reset camera target when player exits climbing state with analog camera held. (#301) --- patches/camera_and_axis_inversion_patches.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patches/camera_and_axis_inversion_patches.c b/patches/camera_and_axis_inversion_patches.c index ed63907..de6353f 100644 --- a/patches/camera_and_axis_inversion_patches.c +++ b/patches/camera_and_axis_inversion_patches.c @@ -580,6 +580,11 @@ RECOMP_PATCH void func_80291154(void) { ncDynamicCamera_setState(DYNAMIC_CAMERA_STATE_R_LOOK); func_80291488(0x4); func_80290F14(); + + // The camera target must be reinitialized when the player exits the pole climbing state so the target doesn't stay on the climbable object. + if ((D_8037DB40 == 3) && (player_movementGroup() != BSGROUP_5_CLIMB)) { + func_802C0150(2); + } } else { tmp = func_8029105C(7);