diff options
author | Cameron Hall <cameronghall@cox.net> | 2018-02-15 01:36:03 -0600 |
---|---|---|
committer | Cameron Hall <cameronghall@cox.net> | 2018-02-15 01:36:03 -0600 |
commit | e58c4ac922c10a2e7c06e1c3d27a95cf51361cb5 (patch) | |
tree | 6fdebecd8f9bac832cfff1f78a6abc7dc55ba207 /src/field/pokeblock.c | |
parent | aaa67d9f274611bc0a1eb1a28409e36756417c24 (diff) |
ItemId_GetItem -> ItemId_GetName
Diffstat (limited to 'src/field/pokeblock.c')
-rw-r--r-- | src/field/pokeblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field/pokeblock.c b/src/field/pokeblock.c index aa6539e91..6804f55d6 100644 --- a/src/field/pokeblock.c +++ b/src/field/pokeblock.c @@ -462,7 +462,7 @@ void debug_sub_8120F98(void) static void sub_810BB0C(void) { BasicInitMenuWindow(&gWindowTemplate_81E6E34); - sub_8072BD8(ItemId_GetItem(ITEM_POKEBLOCK_CASE)->name, 2, 1, 0x48); + sub_8072BD8(ItemId_GetName(ITEM_POKEBLOCK_CASE), 2, 1, 0x48); } static void sub_810BB30(void) @@ -481,7 +481,7 @@ static void sub_810BB88(u8 a0) u8 y; u8 *buf; BasicInitMenuWindow(&gWindowTemplate_81E6E34); - for (i=a0; i<=a0+8; i++) + for (i = a0; i <= a0 + 8; i++) { y = (i - a0) << 1; if (i == gUnknown_02039248.unk2) |