Add save stage table, stage type, and event bit enums

This commit is contained in:
LagoLunatic
2024-01-04 00:37:52 -05:00
parent eb3db3883c
commit a0ea511650
26 changed files with 169 additions and 91 deletions
+2 -2
View File
@@ -147,10 +147,10 @@ s32 dKyeff_Create(kankyo_class* i_ky) {
g_env_light.mCurTime = 15.0f * cal.hours;
} else if (dKy_checkEventNightStop()) {
u32 stType = dStage_stagInfo_GetSTType(dComIfGp_getStage().getStagInfo());
if (stType == 0 || stType == 7) {
if (stType == dStageType_OUTDOORS_e || stType == dStageType_SEA_e) {
dKyw_rain_set(250);
g_env_light.mThunderEff.mMode = 1;
} else if (stType == 2) {
} else if (stType == dStageType_MISC_e) {
if (strcmp(dComIfGp_getStartStageName(), "Ocrogh") == 0 || strcmp(dComIfGp_getStartStageName(), "Omori") == 0 ||
strcmp(dComIfGp_getStartStageName(), "Orichh") == 0 || strcmp(dComIfGp_getStartStageName(), "Atorizk") == 0 ||
strcmp(dComIfGp_getStartStageName(), "LinkRM") == 0 || strcmp(dComIfGp_getStartStageName(), "Ojhous2") == 0 ||