summaryrefslogtreecommitdiff
path: root/src/field_specials.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-18 20:24:09 -0400
committerGitHub <noreply@github.com>2020-07-18 20:24:09 -0400
commitaf09e73d6733245ea61189f339b81ab68f645c17 (patch)
treed425cff00e4c7dd8a564dbf17091d0d5d5f563fe /src/field_specials.c
parente129d04b931a4fc0e6584b4340dc57b9162264d5 (diff)
parent8e6dd3bafeab105f079e120d3b2cd7e61cf10477 (diff)
Merge branch 'master' into doc-overworld
Diffstat (limited to 'src/field_specials.c')
-rw-r--r--src/field_specials.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index f9b8a7bd0..98643b26e 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -2854,7 +2854,7 @@ void SetBattleTowerLinkPlayerGfx(void)
void ShowNatureGirlMessage(void)
{
- static const u8 *const sNatureGirlMessages[] = {
+ static const u8 *const sNatureGirlMessages[NUM_NATURES] = {
[NATURE_HARDY] = BattleFrontier_Lounge5_Text_NatureGirlHardy,
[NATURE_LONELY] = BattleFrontier_Lounge5_Text_NatureGirlLonely,
[NATURE_BRAVE] = BattleFrontier_Lounge5_Text_NatureGirlBrave,
@@ -3687,7 +3687,7 @@ void Unused_SetWeatherSunny(void)
SetCurrentAndNextWeather(WEATHER_SUNNY);
}
-// Always returns 1
+// All mart employees have a local id of 1, so function always returns 1
u32 GetMartEmployeeObjectEventId(void)
{
static const u8 sPokeMarts[][3] =