tbox/camera/d_bg_w_kcol work and cleanup (#2262)

* some camera/tbox cleanup

* d_bg_w_kcol work

* make item name enum better
This commit is contained in:
TakaRikka
2024-12-10 08:46:19 -08:00
committed by GitHub
parent 3fa6b50e6a
commit 8d73439554
100 changed files with 4161 additions and 3958 deletions
+1 -1
View File
@@ -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) {