From b5b0990e83a0ce698ab210c4ff6672b73a6a4288 Mon Sep 17 00:00:00 2001 From: aMannus Date: Tue, 28 Mar 2023 14:19:32 +0200 Subject: [PATCH] Wide Link while climbing --- .../overlays/actors/ovl_player_actor/z_player.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 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 8bc6feb52..71a2e0793 100644 --- a/soh/src/overlays/actors/ovl_player_actor/z_player.c +++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c @@ -11030,15 +11030,23 @@ void Player_Update(Actor* thisx, PlayState* play) { break; } - if (this->actor.scale.x = 0.01f) { + if (this->stateFlags1 & PLAYER_STATE1_21) { + this->actor.scale.x = 0.02f; + this->actor.scale.y = 0.009f; + this->actor.scale.z = 0.009f; + } else if (this->actor.scale.x == 0.02f) { + GameInteractor_SetLinkSize(GI_LINK_SIZE_RESET); + } + + if (this->actor.scale.x == 0.01f) { this->actor.scale.x = 0.009f; } - if (this->actor.scale.y = 0.01f) { + if (this->actor.scale.y == 0.01f) { this->actor.scale.y = 0.009f; } - if (this->actor.scale.z = 0.01f) { + if (this->actor.scale.z == 0.01f) { this->actor.scale.z = 0.009f; }