summaryrefslogtreecommitdiff
path: root/src/pokeblock.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-05-07 18:18:00 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-05-07 18:18:00 -0400
commitfd1d75ce378aba3148a1fe9882e17c8cc790d5c2 (patch)
treec8738398572990b0166c268d0eb32439db6eb702 /src/pokeblock.c
parent61cc1d55743715a64e793187f63d0f1f7a80b0e0 (diff)
parentf14d2765da6f01eccb08967fd6b22c3bdef2be98 (diff)
Merge branch 'master' into mauville_old_man
Diffstat (limited to 'src/pokeblock.c')
-rw-r--r--src/pokeblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokeblock.c b/src/pokeblock.c
index e829452b2..60087b5bf 100644
--- a/src/pokeblock.c
+++ b/src/pokeblock.c
@@ -589,7 +589,7 @@ static void PutPokeblockInfoText(void)
{
u8 i;
- const u8 *itemName = ItemId_GetItem(ITEM_POKEBLOCK_CASE)->name;
+ const u8 *itemName = ItemId_GetName(ITEM_POKEBLOCK_CASE);
PrintOnPokeblockWindow(0, itemName, GetStringCenterAlignXOffset(1, itemName, 0x48));
PrintOnPokeblockWindow(2, gText_Spicy, 0);