diff options
Diffstat (limited to 'src/item/itemTryPickupObject.c')
| -rw-r--r-- | src/item/itemTryPickupObject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item/itemTryPickupObject.c b/src/item/itemTryPickupObject.c index c1fc697e..1eb76da5 100644 --- a/src/item/itemTryPickupObject.c +++ b/src/item/itemTryPickupObject.c @@ -145,7 +145,7 @@ void sub_080762D8(ItemBehavior* this, u32 index) { if (gPlayerEntity.iframes < 9 && gPlayerEntity.knockbackDuration == 0) { if (this->field_0x18 != NULL) { if (this->field_0x18->action == 2 && this->field_0x18->subAction == 5) { - if (!(gPlayerState.playerInput.heldInput & PLAYER_INPUT_80)) { // Pressing R + if (!(gPlayerState.playerInput.heldInput & INPUT_ACTION)) { // Pressing R this->field_0x18->subAction = 6; PlayerCancelHoldItem(this, index); return; @@ -263,7 +263,7 @@ void sub_08076518(ItemBehavior* this, u32 index) { if (gPlayerEntity.knockbackDuration != 0) { PlayerCancelHoldItem(this, index); } else { - if ((gPlayerState.playerInput.newInput & (PLAYER_INPUT_8000 | PLAYER_INPUT_10 | PLAYER_INPUT_8)) != 0) { + if ((gPlayerState.playerInput.newInput & (INPUT_LIFT_THROW | INPUT_CANCEL | INPUT_INTERACT)) != 0) { sub_0806F948(&gPlayerEntity); gPlayerState.heldObject = 5; this->field_0x18->subAction = 2; |
