summaryrefslogtreecommitdiff
path: root/src/field_weather_util.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-03-17 08:28:09 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-03-17 08:28:09 -0400
commit39587fe2bcfdc8a353e2ca91ca1ed370d748613e (patch)
treeeb4dd512ff4b4f866b64384ec4eea3c56bf6675c /src/field_weather_util.c
parente7a288189db2773f27134a6327aa9ce3312dc812 (diff)
Address review comments
Diffstat (limited to 'src/field_weather_util.c')
-rw-r--r--src/field_weather_util.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/field_weather_util.c b/src/field_weather_util.c
index 2c3338fd9..459071736 100644
--- a/src/field_weather_util.c
+++ b/src/field_weather_util.c
@@ -51,20 +51,19 @@ void ResumePausedWeather(void)
SetCurrentAndNextWeather(weather);
}
-const u8 sWeatherCycleRoute119[] =
- {
- WEATHER_SUNNY,
- WEATHER_RAIN,
- WEATHER_RAIN_THUNDERSTORM,
- WEATHER_RAIN,
- };
-const u8 sWeatherCycleRoute123[] =
- {
- WEATHER_SUNNY,
- WEATHER_SUNNY,
- WEATHER_RAIN,
- WEATHER_SUNNY,
- };
+static const u8 sWeatherCycleRoute119[] = {
+ WEATHER_SUNNY,
+ WEATHER_RAIN,
+ WEATHER_RAIN_THUNDERSTORM,
+ WEATHER_RAIN,
+};
+
+static const u8 sWeatherCycleRoute123[] = {
+ WEATHER_SUNNY,
+ WEATHER_SUNNY,
+ WEATHER_RAIN,
+ WEATHER_SUNNY,
+};
static u8 TranslateWeatherNum(u8 weather)
{