summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_warphr.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_warphr.cpp
parent8af44daa2e75195d7dd596cc36128bb4ec2a9c8b (diff)
Added enums for all used event/tmp bits/regs (#893)
Diffstat (limited to 'src/d/actor/d_a_warphr.cpp')
-rw-r--r--src/d/actor/d_a_warphr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_warphr.cpp b/src/d/actor/d_a_warphr.cpp
index b89e9e95..9576dcf8 100644
--- a/src/d/actor/d_a_warphr.cpp
+++ b/src/d/actor/d_a_warphr.cpp
@@ -131,7 +131,7 @@ void daWarphr_c::CreateInit() {
fopAcM_setCullSizeBox(this, -300.0f, 0.0f, -300.0f, 300.0f, 5000.0f, 300.0f);
fopAcM_setCullSizeFar(this, 1.0f);
set_mtx();
- if (dComIfGs_isEventBit(0x2d08)) {
+ if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_2D08)) {
m2F8 = dComIfGp_evmng_getEventIdx("TO_SEA_WARP_2");
} else {
m2F8 = dComIfGp_evmng_getEventIdx("TO_SEA_WARP_1");
@@ -206,7 +206,7 @@ bool daWarphr_c::_execute() {
BOOL daWarphr_c::normal_execute() {
if (check_warp() != 0) {
if (get_return_count() == 0) {
- dComIfGs_onEventBit(0x3810);
+ dComIfGs_onEventBit(dSv_event_flag_c::UNK_3810);
}
m2F0 = 2;
}
@@ -398,7 +398,7 @@ s32 daWarphr_c::get_return_count() {
return 0;
}
- return dComIfGs_isEventBit(0x1001) ? 2 : 1;
+ return dComIfGs_isEventBit(dSv_event_flag_c::UNK_1001) ? 2 : 1;
}
/* 0000134C-000014F0 .text check_warp__10daWarphr_cFv */