summaryrefslogtreecommitdiff
path: root/src/manager/miscManager.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-08-09 18:48:05 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-08-09 18:56:13 +0200
commitad44d63b73b52fa49f1698526e1d77b414a1991d (patch)
treedde40030bc6013105e5f9ac1234c4e50707310f0 /src/manager/miscManager.c
parentdd59d70447cab4676e66895440fe6809d092bd31 (diff)
Document some player item stuff
Diffstat (limited to 'src/manager/miscManager.c')
-rw-r--r--src/manager/miscManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager/miscManager.c b/src/manager/miscManager.c
index cca46468..4bd03591 100644
--- a/src/manager/miscManager.c
+++ b/src/manager/miscManager.c
@@ -365,7 +365,7 @@ void MiscManager_TypeB(MiscManager* this) {
bool32 sub_080593CC(MiscManager* this) {
if (!(gPlayerState.flags & PL_MINISH) && gPlayerState.swim_state != 0 && gPlayerEntity.animationState == 0 &&
- (gPlayerState.playerInput.field_0x90 & PLAYER_INPUT_ANY_DIRECTION) == PLAYER_INPUT_UP) {
+ (gPlayerState.playerInput.heldInput & PLAYER_INPUT_ANY_DIRECTION) == PLAYER_INPUT_UP) {
return EntityWithinDistance(&gPlayerEntity, this->unk_38, this->unk_3a + 0xC, 6);
}
return FALSE;