diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-07-20 18:02:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 18:02:50 -0400 |
commit | aeeff84462973b267e62031a945603d96afed716 (patch) | |
tree | 046ce2a73b467844e95a490b1cfa9cdda5e5f4df /src/item.c | |
parent | d3bfb6cfc63f9f64295cbd864f98df9cf4c643b4 (diff) | |
parent | f0bf1e641cb8532611c97354beaf46afaca7c417 (diff) |
Merge pull request #780 from GriffinRichards/sync-scripts
Sync some scripts with pokeemerald
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 470b4d430..8483e6d3f 100644 --- a/src/item.c +++ b/src/item.c @@ -64,7 +64,7 @@ void CopyItemName(u16 itemId, u8 *string) { if (itemId == ITEM_ENIGMA_BERRY) { - StringCopy(string, GetBerryInfo(GETBERRYID(ITEM_ENIGMA_BERRY))->name); + StringCopy(string, GetBerryInfo(ITEM_TO_BERRY(ITEM_ENIGMA_BERRY))->name); StringAppend(string, gOtherText_Berry2); } else |