Added enums for all used event/tmp bits/regs (#893)

This commit is contained in:
LagoLunatic
2025-09-19 15:06:44 -04:00
committed by GitHub
parent 8af44daa2e
commit 5dbb7e875e
110 changed files with 1906 additions and 1178 deletions
+3 -3
View File
@@ -119,7 +119,7 @@ static BOOL dScnMenu_Draw(menu_of_scene_class* i_this) {
static const char* language[] = {"ENGLISH", "GERMAN", "FRENCH", "SPANISH", "ITALIAN"};
JUTReport(40, 440, "%s", language[dComIfGs_getPalLanguage()]);
#endif
if (dComIfGs_isEventBit(0x2d01)) {
if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_2D01)) {
JUTReport(400, 420, "3コン(A):デモ23 ON");
} else {
JUTReport(400, 420, "3コン(A):デモ23 OFF");
@@ -230,9 +230,9 @@ static BOOL dScnMenu_Execute(menu_of_scene_class* i_this) {
if (CPad_CHECK_TRIG_A(2)) {
l_demo23 ^= 1;
if (l_demo23)
dComIfGs_onEventBit(0x2d01);
dComIfGs_onEventBit(dSv_event_flag_c::UNK_2D01);
else
dComIfGs_offEventBit(0x2d01);
dComIfGs_offEventBit(dSv_event_flag_c::UNK_2D01);
}
g_env_light.mTimeAdv = 0.0f;