diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-09-19 15:06:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-19 15:06:44 -0400 |
| commit | 5dbb7e875eab0adc9e939b2c2b00c70928e2b34e (patch) | |
| tree | 933a88f4e70943d4c3d2a6e0a3846b145e75b1a5 /src/d/d_stage.cpp | |
| parent | 8af44daa2e75195d7dd596cc36128bb4ec2a9c8b (diff) | |
Added enums for all used event/tmp bits/regs (#893)
Diffstat (limited to 'src/d/d_stage.cpp')
| -rw-r--r-- | src/d/d_stage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/d_stage.cpp b/src/d/d_stage.cpp index 842e0d9d..63a12c19 100644 --- a/src/d/d_stage.cpp +++ b/src/d/d_stage.cpp @@ -1885,7 +1885,7 @@ bool dStage_setShipPos(int param_0, int i_roomNo) { #else /* 800429C0-80042B10 .text dStage_setShipPos__Fii */ bool dStage_setShipPos(int param_0, int i_roomNo) { - if (strcmp(dComIfGp_getStartStageName(), "GanonM") == 0 && !dComIfGs_isEventBit(0x3D02)) { + if (strcmp(dComIfGp_getStartStageName(), "GanonM") == 0 && !dComIfGs_isEventBit(dSv_event_flag_c::UNK_3D02)) { param_0 = 0xFF; i_roomNo = 0xFF; dComIfGp_setShipId(0xFF); @@ -1939,7 +1939,7 @@ int dStage_shipInfoInit(dStage_dt_c* i_stage, void* i_data, int i_num, void*) { int shipId = dComIfGp_getShipId(); int roomId = dComIfGp_getShipRoomId(); - if (dStage_chkTaura(roomId) && !dComIfGs_isEventBit(dSv_evtBit_c::RODE_KORL)) { + if (dStage_chkTaura(roomId) && !dComIfGs_isEventBit(dSv_event_flag_c::RODE_KORL)) { if (dStage_setShipPos(0x80, roomId)) { shipId = 0xFF; roomId = 0xFF; @@ -1948,7 +1948,7 @@ int dStage_shipInfoInit(dStage_dt_c* i_stage, void* i_data, int i_num, void*) { } } #if VERSION == VERSION_DEMO - else if (strcmp(dComIfGp_getStartStageName(), "GanonM") == 0 && !dComIfGs_isEventBit(0x3D02)) { + else if (strcmp(dComIfGp_getStartStageName(), "GanonM") == 0 && !dComIfGs_isEventBit(dSv_event_flag_c::UNK_3D02)) { shipId = 0xFF; roomId = 0xFF; dComIfGp_setShipId(0xFF); @@ -2330,8 +2330,8 @@ int dStage_changeSceneExitId(cBgS_PolyInfo& i_poly, f32 i_speed, u32 i_mode, s8 return 1; } else if (exit_id == 0x3C) { if (strcmp(dComIfGp_getStartStageName(), "Asoko") == 0) { - if (dComIfGs_isEventBit(0x808)) { - if (dComIfGs_isEventBit(0x520)) { + if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_0808)) { + if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_0520)) { dComIfGp_setNextStage("sea", 5, 11, -1, i_speed, i_mode); } else { dComIfGp_setNextStage("MajyuE", 18, 0, -1, i_speed, i_mode); |
