summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_himo2.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-09-19 15:06:44 -0400
committerGitHub <noreply@github.com>2025-09-19 15:06:44 -0400
commit5dbb7e875eab0adc9e939b2c2b00c70928e2b34e (patch)
tree933a88f4e70943d4c3d2a6e0a3846b145e75b1a5 /src/d/actor/d_a_himo2.cpp
parent8af44daa2e75195d7dd596cc36128bb4ec2a9c8b (diff)
Added enums for all used event/tmp bits/regs (#893)
Diffstat (limited to 'src/d/actor/d_a_himo2.cpp')
-rw-r--r--src/d/actor/d_a_himo2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/actor/d_a_himo2.cpp b/src/d/actor/d_a_himo2.cpp
index 298793b8..b5265748 100644
--- a/src/d/actor/d_a_himo2.cpp
+++ b/src/d/actor/d_a_himo2.cpp
@@ -1179,9 +1179,9 @@ void new_himo2_move(himo2_class* i_this) {
if (fopAcM_GetParam(actor) == 3) {
i_this->m02DC = 11;
if ((fopAcM_GetParam(i_this->m217C) & 0xF0) != 0) {
- dComIfGs_onEventBit(0x540);
+ dComIfGs_onEventBit(dSv_event_flag_c::UNK_0540);
} else {
- dComIfGs_onEventBit(0x580);
+ dComIfGs_onEventBit(dSv_event_flag_c::UNK_0580);
}
}
i_this->m217C->health = 1;
@@ -1370,7 +1370,7 @@ void new_himo2_move(himo2_class* i_this) {
if (i_this->m029C == 30) {
fopAcM_seStartCurrent((fopAc_ac_c*)dr, JA_SE_CM_BTD_ROPE_SET, 0);
}
- if (((dComIfGp_getStartStageName()[0] != 'X') && (i_this->m029C <= 1)) && (!dComIfGs_isEventBit(0x420))) {
+ if (((dComIfGp_getStartStageName()[0] != 'X') && (i_this->m029C <= 1)) && (!dComIfGs_isEventBit(dSv_event_flag_c::UNK_0420))) {
dKy_custom_colset(0, 4, 1.0f);
}
if ((i_this->m029C != 0) || (REG0_S(8) != 0)) {
@@ -1382,10 +1382,10 @@ void new_himo2_move(himo2_class* i_this) {
btd->m6E15 = 1;
#endif
i_this->m24D9 = 4;
- if ((dComIfGp_getStartStageName()[0] == 'X') || (dComIfGs_isEventBit(0x420))) {
+ if ((dComIfGp_getStartStageName()[0] == 'X') || (dComIfGs_isEventBit(dSv_event_flag_c::UNK_0420))) {
i_this->m029C = 0;
} else {
- dComIfGs_onEventBit(0x420);
+ dComIfGs_onEventBit(dSv_event_flag_c::UNK_0420);
i_this->m029C = REG0_S(2) + 62;
daYkgr_c::hide();
}