From e0b1fe92b1e79b5b93e8a3df6ee56e5771e80915 Mon Sep 17 00:00:00 2001 From: Carco_21 <144170194+carter-ktb21@users.noreply.github.com> Date: Fri, 8 Aug 2025 14:39:26 -0400 Subject: ChkBit comments and enum work (#2571) * Jagar cleanup * saru work * e_fm work * gob enum added * gob cleanup * gob anm enums * dComIfGs_isEventBit comments added * More bit work and besu enum work * Maybe fixed the issue? --- src/d/d_msg_object.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (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 1c86837757..d09a28e72f 100644 --- a/src/d/d_msg_object.cpp +++ b/src/d/d_msg_object.cpp @@ -1166,10 +1166,13 @@ void dMsgObject_c::inputProc() { if (isSend()) { field_0x199 = 0; if (mDoCPd_c::getTrigA(0)) { + /* dSv_event_tmp_flag_c::T_0080 - Kakariko Village - Put money in fundraiser box */ BOOL iVar2 = dComIfGs_isTmpBit(dSv_event_tmp_flag_c::tempBitLabels[80]); + /* dSv_event_flag_c::F_0802 - Faron Woods - Trill attacks when stealing */ if (getInputValue() > 0 && !dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[802])) { onPaymentFlagLocal(); } + dComIfGp_setItemRupeeCount(-getInputValue()); if (iVar2) { if (getInputValue() > 0) { @@ -1177,17 +1180,21 @@ void dMsgObject_c::inputProc() { getFundRaisingValue(); dMsgObject_getFundRaising(); if (dMsgObject_getFundRaising() >= getFundRaisingValue() && + /* dSv_event_flag_c::M_091 - Kakariko Village - Buy out fundraiser amount (Malo becomes nice) */ !dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[124])) { + /* dSv_event_flag_c::F_0376 - Kakariko Village - Gathered funds for bridge repair! (set by program after raising funds) */ if (!dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[376])) { dComIfGs_onEventBit(dSv_event_flag_c::saveBitLabels[376]); dMsgObject_setFundRaising(0); } else { + /* dSv_event_flag_c::M_091 - Kakariko Village - Buy out fundraiser amount (Malo becomes nice) */ dComIfGs_onEventBit(dSv_event_flag_c::saveBitLabels[124]); dMsgObject_setFundRaising(0); } } } else { + /* dSv_event_tmp_flag_c::T_0080 - Kakariko Village - Put money in fundraiser box */ dComIfGs_offTmpBit(dSv_event_tmp_flag_c::tempBitLabels[80]); } } else { @@ -1197,6 +1204,7 @@ void dMsgObject_c::inputProc() { dMeter2Info_offShopTalkFlag(); setStatusLocal(14); } else if (mDoCPd_c::getTrigB(0)) { + /* dSv_event_tmp_flag_c::T_0080 - Kakariko Village - Put money in fundraiser box */ dComIfGs_offTmpBit(dSv_event_tmp_flag_c::tempBitLabels[80]); dMeter2Info_offShopTalkFlag(); setStatusLocal(14); -- cgit v1.2.3