summaryrefslogtreecommitdiff
path: root/src/field_weather_util.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-03-16 21:48:54 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-03-16 21:48:54 -0400
commit2c0a5be745c22e23c3dfa96c60a9eb13e759e0bc (patch)
tree38e58ab104eeb48c8b4cc49e712eb207673d2604 /src/field_weather_util.c
parent7610a2dfc25a811e2918998523dd3e9b36263750 (diff)
Static syms in field_weather_*
Diffstat (limited to 'src/field_weather_util.c')
-rw-r--r--src/field_weather_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/field_weather_util.c b/src/field_weather_util.c
index d96378e23..2c3338fd9 100644
--- a/src/field_weather_util.c
+++ b/src/field_weather_util.c
@@ -3,8 +3,8 @@
#include "overworld.h"
#include "constants/weather.h"
-u8 TranslateWeatherNum(u8 weather);
-void UpdateRainCounter(u8 newWeather, u8 oldWeather);
+static u8 TranslateWeatherNum(u8 weather);
+static void UpdateRainCounter(u8 newWeather, u8 oldWeather);
void SetSav1Weather(u32 weather)
{
@@ -66,7 +66,7 @@ const u8 sWeatherCycleRoute123[] =
WEATHER_SUNNY,
};
-u8 TranslateWeatherNum(u8 weather)
+static u8 TranslateWeatherNum(u8 weather)
{
switch (weather)
{
@@ -98,7 +98,7 @@ void UpdateWeatherPerDay(u16 increment)
gSaveBlock1Ptr->weatherCycleStage = weatherStage;
}
-void UpdateRainCounter(u8 newWeather, u8 oldWeather)
+static void UpdateRainCounter(u8 newWeather, u8 oldWeather)
{
if (newWeather != oldWeather
&& (newWeather == WEATHER_RAIN || newWeather == WEATHER_RAIN_THUNDERSTORM))