summaryrefslogtreecommitdiff
path: root/soh/include
diff options
context:
space:
mode:
authordjevangelia <263709373+djevangelia@users.noreply.github.com>2026-07-19 19:04:32 +0200
committerGitHub <noreply@github.com>2026-07-19 17:04:32 +0000
commite579e7b9a463af78ec0ea0ea6cc67db309a4ca43 (patch)
treefb03f13854999a56d92b1c88f73f6d9561618f24 /soh/include
parent8cb0c745920989d31322ceeba2edb2bbf48ea402 (diff)
Polishing, climb everything door opening + sloped ledge climb up (#6936)
Allow player to try opening doors while climbing. Player can't open anything if a door doesn't offer it, so it's ok to try. Handle doors don't change player y position (player walks in the air), so manually lower it. Increase y height limit for doors to offer open from 15.0f/20.0f to 50.0f (normal door height). (For shutter doors height could be individualized depending on shutter door type in the future.) Make climbing up animation play even for sloped ledges. The animation/action breaks because game thinks player is not on ground. So, at the end of Player_ProcessSceneCollision, if player is in climbing up action, manually set BGCHECKFLAG_GROUND.
Diffstat (limited to 'soh/include')
-rw-r--r--soh/include/functions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/include/functions.h b/soh/include/functions.h
index 942f83a3b..af88ca2d9 100644
--- a/soh/include/functions.h
+++ b/soh/include/functions.h
@@ -1102,6 +1102,8 @@ void Path_CopyLastPoint(Path* path, Vec3f* dest);
void FrameAdvance_Init(FrameAdvanceContext* frameAdvCtx);
s32 FrameAdvance_Update(FrameAdvanceContext* frameAdvCtx, Input* input);
u8 PlayerGrounded(Player* player);
+s32 Player_ActionHandler_1(Player* player, PlayState* play);
+void Player_Action_8084BDFC(Player* player, PlayState* play);
void Player_SetBootData(PlayState* play, Player* player);
void Player_StartAnimMovement(PlayState* play, Player* player, s32 flags);
s32 Player_InBlockingCsMode(PlayState* play, Player* player);