summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-10-19 00:05:54 -0500
committerDiegoisawesome <diego@domoreaweso.me>2018-10-19 00:05:54 -0500
commitdd3689fdbf98b0a60190bf10e3bed3158692818e (patch)
tree8cf5a7bd95bf2b7598d096139f45e8352619bc22 /src/item_use.c
parent6206acd2d20af143698e4b5ae1dfe04af6360d27 (diff)
Finish porting/decompiling field_player_avatar
Diffstat (limited to 'src/item_use.c')
-rwxr-xr-xsrc/item_use.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item_use.c b/src/item_use.c
index 633d975a8..2a1c7883c 100755
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -260,7 +260,7 @@ bool32 CanFish(void)
if (MetatileBehavior_IsWaterfall(tileBehavior))
return FALSE;
- if (TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_4))
+ if (TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_UNDERWATER))
return FALSE;
if (!TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_SURFING))