mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 05:22:39 -04:00
Added enums for all used event/tmp bits/regs (#893)
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user