From 8d73439554beb2b4870b86159aa2e676357792b7 Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:46:19 -0800 Subject: tbox/camera/d_bg_w_kcol work and cleanup (#2262) * some camera/tbox cleanup * d_bg_w_kcol work * make item name enum better --- src/d/d_msg_class.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/d_msg_class.cpp') diff --git a/src/d/d_msg_class.cpp b/src/d/d_msg_class.cpp index 87418bc7b8..f7171e1f5e 100644 --- a/src/d/d_msg_class.cpp +++ b/src/d/d_msg_class.cpp @@ -1646,12 +1646,12 @@ bool jmessage_tMeasureProcessor::do_tag(u32 i_tag, void const* i_data, u32 i_siz push_word(bomb_price_text); return true; case 0x37: - u8 bomb_type = NORMAL_BOMB; + u8 bomb_type = fpcNm_ITEM_NORMAL_BOMB; if (*(u8*)i_data == 1) { - bomb_type = WATER_BOMB; + bomb_type = fpcNm_ITEM_WATER_BOMB; } else if (*(u8*)i_data == 2) { - bomb_type = POKE_BOMB; + bomb_type = fpcNm_ITEM_POKE_BOMB; } char bomb_max_text[40]; @@ -3877,4 +3877,4 @@ SECTION_DATA extern void* __vt__19jmessage_tReference[4 + 1 /* padding */] = { NULL, }; -/* 80399610-80399610 025C70 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ \ No newline at end of file +/* 80399610-80399610 025C70 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ -- cgit v1.2.3