summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_rgate.cpp
diff options
context:
space:
mode:
authorCarco_21 <144170194+carter-ktb21@users.noreply.github.com>2025-08-08 14:39:26 -0400
committerGitHub <noreply@github.com>2025-08-08 21:39:26 +0300
commite0b1fe92b1e79b5b93e8a3df6ee56e5771e80915 (patch)
tree6a34a131100ef6c58171b7a1e9e4e1be0e65fb18 /src/d/actor/d_a_obj_rgate.cpp
parent9fbbec4326a5fcc9443e219415386da36b8ec5e8 (diff)
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?
Diffstat (limited to 'src/d/actor/d_a_obj_rgate.cpp')
-rw-r--r--src/d/actor/d_a_obj_rgate.cpp22
1 files changed, 4 insertions, 18 deletions
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;