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_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/d/d_msg_object.cpp') diff --git a/src/d/d_msg_object.cpp b/src/d/d_msg_object.cpp index 32e34e243f..ab6560bab8 100644 --- a/src/d/d_msg_object.cpp +++ b/src/d/d_msg_object.cpp @@ -2223,7 +2223,7 @@ void dMsgObject_c::setDemoMessageLocal(u32 param_1) { u16 dMsgObject_c::getSmellTypeMessageIDLocal() { u16 msgId = 0; int smell = dComIfGs_getCollectSmell(); - if (smell < SMELL_MEDICINE + 1 && smell >= SMELL_YELIA_POUCH) { + if (smell < fpcNm_ITEM_SMELL_MEDICINE + 1 && smell >= fpcNm_ITEM_SMELL_YELIA_POUCH) { msgId = smell + 0x165; } else { if (dComIfGs_getCollectSmell() != -1) { -- cgit v1.2.3