summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-07-02 12:53:12 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-07-02 12:53:12 -0400
commitb3d66f5528ccfc8b8a3f6c0d46444ad5943364f4 (patch)
tree9917de58912d28e884871cb7efc5b4d291ec4e78 /src/item_use.c
parent9fd27fe8552eb0716222e72bc92ffa7f7334c68d (diff)
parent3964820a84e4819bb807d601d2c3c7b196f764e8 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald
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 19f50549e..c9087e929 100755
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -910,7 +910,7 @@ static void ItemUseOnFieldCB_EscapeRope(u8 taskId)
bool8 CanUseDigOrEscapeRopeOnCurMap(void)
{
- if (gMapHeader.flags & MAP_ALLOW_ESCAPING)
+ if (gMapHeader.allowEscaping)
return TRUE;
else
return FALSE;