unsheathe without slashing (#6216)

This commit is contained in:
Jameriquiah
2026-02-27 21:34:56 -05:00
committed by GitHub
parent d46bfd9716
commit 9f56ef5090
4 changed files with 33 additions and 2 deletions
@@ -2834,8 +2834,10 @@ s32 Player_UpperAction_Sword(Player* this, PlayState* play) {
s32 Player_UpperAction_ChangeHeldItem(Player* this, PlayState* play) {
if (LinkAnimation_Update(play, &this->upperSkelAnime) ||
((Player_ItemToItemAction(this->heldItemId) == this->heldItemAction) &&
(sUseHeldItem =
(sUseHeldItem || ((this->modelAnimType != PLAYER_ANIMTYPE_3) && (play->shootingGalleryStatus == 0)))))) {
(sUseHeldItem = (sUseHeldItem || GameInteractor_Should(VB_USE_HELD_ITEM_AFTER_CHANGE,
((this->modelAnimType != PLAYER_ANIMTYPE_3) &&
(play->shootingGalleryStatus == 0)),
this))))) {
Player_SetUpperActionFunc(this, sItemActionUpdateFuncs[this->heldItemAction]);
this->unk_834 = 0;
this->idleType = PLAYER_IDLE_DEFAULT;