diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-28 17:48:05 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-28 17:54:39 -0800 |
| commit | 7c1c612c9ba95b47f33cfd217ab99c4c9102531e (patch) | |
| tree | 80c3483afb7c3b6795a1320e5afe0570b26c4889 /src/beanstalkSubtask.c | |
| parent | b32553e4902f91481ec9336a238d26bd355c7d2f (diff) | |
fix fakematch in LinkHoldingItem_Action3
Diffstat (limited to 'src/beanstalkSubtask.c')
| -rw-r--r-- | src/beanstalkSubtask.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/beanstalkSubtask.c b/src/beanstalkSubtask.c index 3d425817..a115acc1 100644 --- a/src/beanstalkSubtask.c +++ b/src/beanstalkSubtask.c @@ -313,7 +313,7 @@ u32 UpdatePlayerCollision(void) { return 0; } gUnk_0200AF00.rActionInteractTile = R_ACTION_READ; - if ((gPlayerState.playerInput.newInput & (PLAYER_INPUT_80 | PLAYER_INPUT_40)) == 0) { + if ((gPlayerState.playerInput.newInput & (INPUT_ACTION | INPUT_40)) == 0) { return 0; } gPlayerState.mobility = 1; @@ -327,7 +327,7 @@ u32 UpdatePlayerCollision(void) { return 0; } gUnk_0200AF00.rActionInteractTile = R_ACTION_OPEN; - if ((gPlayerState.playerInput.newInput & (PLAYER_INPUT_80 | PLAYER_INPUT_8)) == 0) { + if ((gPlayerState.playerInput.newInput & (INPUT_ACTION | INPUT_INTERACT)) == 0) { return 0; } gPlayerState.mobility = 1; @@ -338,7 +338,7 @@ u32 UpdatePlayerCollision(void) { return 0; } gUnk_0200AF00.rActionInteractTile = R_ACTION_OPEN; - if ((gPlayerState.playerInput.newInput & (PLAYER_INPUT_80 | PLAYER_INPUT_8)) == 0) { + if ((gPlayerState.playerInput.newInput & (INPUT_ACTION | INPUT_INTERACT)) == 0) { return 0; } gPlayerState.mobility = 1; |
