summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-04-03 19:25:01 -0400
committerGitHub <noreply@github.com>2020-04-03 19:25:01 -0400
commitc47eca8a182a2a202cd65e2af93e9ef322d8674c (patch)
tree30cc360cbf4b2f3250864aa28cc88a728074e3db /src/item_use.c
parent200c82e01a94dbe535e6ed8768d8afad4444d4d2 (diff)
parent8f74dda3e443d561b21d6b267aa71d14aed05031 (diff)
Merge pull request #316 from PikalaxALT/various_documentation
Various documentation
Diffstat (limited to 'src/item_use.c')
-rw-r--r--src/item_use.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item_use.c b/src/item_use.c
index af3243678..45bed65e8 100644
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -268,7 +268,7 @@ void FieldUseFunc_MachBike(u8 taskId)
|| MetatileBehavior_IsIsolatedVerticalRail(behavior) == TRUE
|| MetatileBehavior_IsIsolatedHorizontalRail(behavior) == TRUE)
sub_80A10C4(taskId, gTasks[taskId].data[3], 2, gUnknown_8416451);
- else if (Overworld_IsBikingAllowed() == TRUE && !sub_80BD540())
+ else if (Overworld_IsBikingAllowed() == TRUE && !MetatileAtPlayerPositionForbidsBiking())
{
sItemUseOnFieldCB = ItemUseOnFieldCB_Bicycle;
sub_80A103C(taskId);