diff options
author | Marcus Huderle <huderlem@gmail.com> | 2019-03-31 21:07:29 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2019-03-31 21:09:30 -0500 |
commit | 099ea89b77fdde1a6b31c7ef3e1975e57a175dd9 (patch) | |
tree | aea8bfa1b0a89a9a44417f35b3b0cd4a78067c2b /src/field_weather.c | |
parent | d13563b174119121964c2da62380bce44743b93f (diff) |
Document rain weather effect
Diffstat (limited to 'src/field_weather.c')
-rw-r--r-- | src/field_weather.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/field_weather.c b/src/field_weather.c index 9913e9a61..a2c40052b 100644 --- a/src/field_weather.c +++ b/src/field_weather.c @@ -167,7 +167,7 @@ void StartWeather(void) gWeatherPtr->altGammaSpritePalIndex = index; gWeatherPtr->weatherPicSpritePalIndex = AllocSpritePalette(0x1201); gWeatherPtr->rainSpriteCount = 0; - gWeatherPtr->unknown_6D8 = 0; + gWeatherPtr->curRainSpriteIndex = 0; gWeatherPtr->cloudSpritesCreated = 0; gWeatherPtr->snowflakeSpriteCount = 0; gWeatherPtr->ashSpritesCreated = 0; @@ -234,7 +234,8 @@ static void Task_WeatherMain(u8 taskId) { if (gWeatherPtr->currWeather != gWeatherPtr->nextWeather) { - if (!sWeatherFuncs[gWeatherPtr->currWeather].finish() && gWeatherPtr->palProcessingState != WEATHER_PAL_STATE_SCREEN_FADING_OUT) + if (!sWeatherFuncs[gWeatherPtr->currWeather].finish() + && gWeatherPtr->palProcessingState != WEATHER_PAL_STATE_SCREEN_FADING_OUT) { // Finished cleaning up previous weather. Now transition to next weather. sWeatherFuncs[gWeatherPtr->nextWeather].initVars(); |