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/actor/d_a_obj_rgate.cpp | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'src/d/actor/d_a_obj_rgate.cpp') diff --git a/src/d/actor/d_a_obj_rgate.cpp b/src/d/actor/d_a_obj_rgate.cpp index 368678e5ce..0b682a3209 100644 --- a/src/d/actor/d_a_obj_rgate.cpp +++ b/src/d/actor/d_a_obj_rgate.cpp @@ -213,23 +213,7 @@ void daObjRgate_c::setBaseMtx() { } } -/* 80CBC4A0-80CBC4AC 000000 000C+00 1/1 0/0 0/0 .data cNullVec__6Z2Calc */ -static u8 cNullVec__6Z2Calc[12] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; - -/* 80CBC4AC-80CBC4C0 00000C 0004+10 0/0 0/0 0/0 .data @1787 */ -#pragma push -#pragma force_active on -static u32 lit_1787[1 + 4 /* padding */] = { - 0x02000201, - /* padding */ - 0x40080000, - 0x00000000, - 0x3FE00000, - 0x00000000, -}; -#pragma pop +UNK_REL_DATA; /* 80CBC4C0-80CBC4C4 -00001 0004+00 4/4 0/0 0/0 .data l_arcName */ static char* l_arcName = "M_RGate00"; @@ -240,8 +224,9 @@ int daObjRgate_c::Create() { u8 sw_no = getSwNo(); if (sw_no != 0xFF && !fopAcM_isSwitch(this, sw_no) && + /* dSv_event_flag_c::M_035 - Cutscene - [cutscene: 35] after carriage guarding event */ !dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[68])) - { + {\ eventInfo.setArchiveName(l_arcName); mEventID = dComIfGp_getEventManager().getEventIdx(this, l_evName, 0xFF); @@ -567,6 +552,7 @@ void daObjRgate_c::setCrkSE() { /* 80CBB308-80CBB370 0016E8 0068+00 1/1 0/0 0/0 .text action__12daObjRgate_cFv */ void daObjRgate_c::action() { + /* dSv_event_flag_c::M_035 - Cutscene - [cutscene: 35] after carriage guarding event */ if (dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[68])) { mGateLAngle = 0x4000; mGateRAngle = -0x4000; -- cgit v1.2.3