revert Weather_SetBlendCoeffs for all but shade

This commit is contained in:
cawtds 2026-03-16 18:21:53 +01:00
parent b1818a740d
commit d5a700155c

View File

@ -151,6 +151,7 @@ void Sunny_InitVars(void)
{
gWeatherPtr->targetColorMapIndex = 0;
gWeatherPtr->colorMapStepDelay = 20;
Weather_SetBlendCoeffs(8, BASE_SHADOW_INTENSITY); // preserve shadow darkness
gWeatherPtr->noShadows = FALSE;
}
@ -478,6 +479,7 @@ void Rain_InitVars(void)
gWeatherPtr->targetColorMapIndex = 3;
gWeatherPtr->colorMapStepDelay = 20;
SetRainStrengthFromSoundEffect(SE_RAIN);
Weather_SetBlendCoeffs(8, BASE_SHADOW_INTENSITY); // preserve shadow darkness
gWeatherPtr->noShadows = FALSE;
}
@ -772,6 +774,7 @@ void Snow_InitVars(void)
gWeatherPtr->colorMapStepDelay = 20;
gWeatherPtr->targetSnowflakeSpriteCount = NUM_SNOWFLAKE_SPRITES;
gWeatherPtr->snowflakeVisibleCounter = 0;
Weather_SetBlendCoeffs(8, BASE_SHADOW_INTENSITY); // preserve shadow darkness
gWeatherPtr->noShadows = FALSE;
}
@ -1021,6 +1024,7 @@ void Thunderstorm_InitVars(void)
gWeatherPtr->weatherGfxLoaded = FALSE; // duplicate assignment
gWeatherPtr->thunderEnqueued = FALSE;
SetRainStrengthFromSoundEffect(SE_THUNDERSTORM);
Weather_SetBlendCoeffs(8, BASE_SHADOW_INTENSITY); // preserve shadow darkness
gWeatherPtr->noShadows = FALSE;
}
@ -1050,6 +1054,7 @@ void Downpour_InitVars(void)
gWeatherPtr->colorMapStepDelay = 20;
gWeatherPtr->weatherGfxLoaded = FALSE; // duplicate assignment
SetRainStrengthFromSoundEffect(SE_DOWNPOUR);
Weather_SetBlendCoeffs(8, BASE_SHADOW_INTENSITY); // preserve shadow darkness
gWeatherPtr->noShadows = FALSE;
}