summaryrefslogtreecommitdiff
path: root/src/berry.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-06-13 17:51:26 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-06-13 17:51:26 -0500
commit4d13e3394ad44eaa5dab972e73985dd1820069ea (patch)
tree05141d2c6307990b3013bc330e80d8e163492181 /src/berry.c
parentaa9a45c16fbaee2fffc94e4741e0a1f203b244bc (diff)
Bring all movement function names up-to-date with pokeruby
Diffstat (limited to 'src/berry.c')
-rw-r--r--src/berry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/berry.c b/src/berry.c
index 7b83743a7..f8a0204c4 100644
--- a/src/berry.c
+++ b/src/berry.c
@@ -12,7 +12,7 @@ extern u8 EventObjectGetBerryTreeId(u8 eventObjectId);
extern void sub_8092EF0(u8 mapId, u8 mapNumber, u8 mapGroup);
extern void CB2_ChooseBerry(void);
extern const u8* GetEventObjectScriptPointerForComparison(void);
-extern bool8 sub_8092E9C(u8, u8, u8);
+extern bool8 IsBerryTreeSparkling(u8, u8, u8);
extern u16 gSpecialVar_ItemId;
@@ -1166,7 +1166,7 @@ void EventObjectInteractionGetBerryTreeData(void)
unk = gSpecialVar_LastTalked;
num = gSaveBlock1Ptr->location.mapNum;
group = gSaveBlock1Ptr->location.mapGroup;
- if (sub_8092E9C(unk, num, group))
+ if (IsBerryTreeSparkling(unk, num, group))
gSpecialVar_0x8004 = 0xFF;
else
gSpecialVar_0x8004 = GetStageByBerryTreeId(id);