diff --git a/src/global_patches/surprise_pack_patch.c b/src/global_patches/surprise_pack_patch.c index d9002b1..df8cfd1 100644 --- a/src/global_patches/surprise_pack_patch.c +++ b/src/global_patches/surprise_pack_patch.c @@ -74,7 +74,7 @@ RECOMP_PATCH void func_080009F4_6AF1D4(Entity *entity, ParameterStruct *param) { // Get the item name char item_name[33]; - rando_get_item_name_from_id(item_id, item_name); + rando_get_location_item_name(location_id, item_name); recomp_printf("Item at location %d: 0x%08X (%s)\n", location_id, item_id, item_name); // If item_name is empty, use "BROKEN ITEM (DEV)" diff --git a/src/global_patches/turtle_rock.c b/src/global_patches/turtle_rock.c index b344f56..7f5db94 100644 --- a/src/global_patches/turtle_rock.c +++ b/src/global_patches/turtle_rock.c @@ -92,7 +92,7 @@ RECOMP_PATCH void func_08000060_725C90(GINNEKO_TASK_W *ginneko, CLS_BG_W *obj) { // Get the item name char item_name[33]; - rando_get_item_name_from_id(item_id, item_name); + rando_get_location_item_name(location_id, item_name); DEBUG_PRINTF("Item at location %d: 0x%08X (%s)\n", location_id, item_id, item_name); diff --git a/src/scenario_scripts/scenario_replacer.c b/src/scenario_scripts/scenario_replacer.c index ef9ea6d..b0a18d6 100644 --- a/src/scenario_scripts/scenario_replacer.c +++ b/src/scenario_scripts/scenario_replacer.c @@ -83,7 +83,7 @@ void update_text_buffer_with_ap_location(s16 *text_buffer, s32 flag_id, const ch // Get the item name char item_name[33]; - rando_get_item_name_from_id(item_id, item_name); + rando_get_location_item_name(ap_location_id, item_name); recomp_printf("Item at location %d: 0x%08X (%s)\n", ap_location_id, item_id, item_name);