summaryrefslogtreecommitdiff
path: root/src/field_weather.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-03-20 11:13:58 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-03-20 11:13:58 -0400
commitcdfeb638f40ffa0e3f5d437f7b1613f8313896ab (patch)
tree780b6fe27139a4214d7ed3419801b72863d950d9 /src/field_weather.c
parentf8932775cd9cc52d3d86c6ef11648d5204e7582d (diff)
Document remaining routines in field_specials
Diffstat (limited to 'src/field_weather.c')
-rw-r--r--src/field_weather.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/field_weather.c b/src/field_weather.c
index b097524bc..c53d7e516 100644
--- a/src/field_weather.c
+++ b/src/field_weather.c
@@ -147,7 +147,7 @@ void StartWeather(void)
{
u8 index = AllocSpritePalette(0x1200);
CpuCopy32(gUnknown_83C2CE0, &gPlttBufferUnfaded[0x100 + index * 16], 32);
- sub_8083598(index);
+ ApplyGlobalFieldPaletteTint(index);
BuildGammaShiftTables();
gWeatherPtr->altGammaSpritePalIndex = index;
gWeatherPtr->weatherPicSpritePalIndex = index;
@@ -1154,7 +1154,7 @@ void ResetPreservedPalettesInWeather(void)
sPaletteGammaTypes = sBasePaletteGammaTypes;
}
-void sub_807B0C4(u16 *palbuf, u16 *unused, u32 size)
+void SlightlyDarkenPalsInWeather(u16 *palbuf, u16 *unused, u32 size)
{
switch (gWeatherPtr->currWeather)
{
@@ -1163,7 +1163,7 @@ void sub_807B0C4(u16 *palbuf, u16 *unused, u32 size)
case WEATHER_RAIN_THUNDERSTORM:
case WEATHER_SHADE:
case WEATHER_DOWNPOUR:
- sub_8045314(palbuf, RGB_BLACK, 3, size);
+ BlendPalettesAt(palbuf, RGB_BLACK, 3, size);
break;
}
}