diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-26 10:23:13 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-26 10:23:13 -0400 |
commit | 93f0703fcdda810062071fde4febe111146c18cc (patch) | |
tree | 241164c7e5fd5e71a9e3eca6eb8d6a918566d963 /src/item.c | |
parent | fd78afa5a7d4441fe0d76693e301deb6bc2557dc (diff) | |
parent | 1f569f0136952135a0e17fe22cf180c0e87dd007 (diff) |
Merge branch 'master' of github.com:pret/pokefirered into script_menu
Diffstat (limited to 'src/item.c')
-rw-r--r-- | src/item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.c b/src/item.c index e76cb10d3..677c13ad7 100644 --- a/src/item.c +++ b/src/item.c @@ -73,7 +73,7 @@ void CopyItemName(u16 itemId, u8 * dest) { if (itemId == ITEM_ENIGMA_BERRY) { - StringCopy(dest, sub_809C8A0(43)->name); + StringCopy(dest, GetBerryInfo(ITEM_TO_BERRY(ITEM_ENIGMA_BERRY))->name); StringAppend(dest, gUnknown_84162BD); } else |