summaryrefslogtreecommitdiff
path: root/soh/src
diff options
context:
space:
mode:
authorPhilip Dubé <serprex@users.noreply.github.com>2026-01-19 19:47:56 +0000
committerGitHub <noreply@github.com>2026-01-19 19:47:56 +0000
commit596b714fa4138881650df6964120eaaa7b4df095 (patch)
tree100cc85c4525868156a85ecef3d9f5347634bcc0 /soh/src
parentf52b653cfba596b3a78381dd9fbd1c7c32dadae5 (diff)
Rando: Shuffle Climb (#5182)
Co-authored-by: Pepper0ni <93387759+Pepper0ni@users.noreply.github.com>
Diffstat (limited to 'soh/src')
-rw-r--r--soh/src/overlays/actors/ovl_player_actor/z_player.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/soh/src/overlays/actors/ovl_player_actor/z_player.c b/soh/src/overlays/actors/ovl_player_actor/z_player.c
index 8324ee83a..5a027c323 100644
--- a/soh/src/overlays/actors/ovl_player_actor/z_player.c
+++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c
@@ -13401,6 +13401,10 @@ void Player_Action_8084BF1C(Player* this, PlayState* play) {
this->fallStartHeight = this->actor.world.pos.y;
this->stateFlags2 |= PLAYER_STATE2_DISABLE_ROTATION_ALWAYS;
+ if (!GameInteractor_Should(VB_CLIMB, true, &sp80, &sp84)) {
+ return;
+ }
+
if ((this->av1.actionVar1 != 0) && (ABS(sp84) < ABS(sp80))) {
phi_f0 = ABS(sp80) * 0.0325f;
sp84 = 0;