summaryrefslogtreecommitdiff
path: root/src/daycare.c
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-05-31 00:19:26 -0400
committerhuderlem <huderlem@gmail.com>2021-05-31 08:20:46 -0500
commit2bbaf71998337cba3c912143302f816b4116e851 (patch)
tree9606dd8751182d185d5903494f48002775dda2c8 /src/daycare.c
parent2705f2e5f44980f368d30845215e28ae5ea5c595 (diff)
[LEAK-INFORMED] fix CreateShedinja fakematch
info: the header change is required. accesses to the struct need to be treated as non-const, even though the array must be const. thanks to jiang for figuring this out.
Diffstat (limited to 'src/daycare.c')
-rw-r--r--src/daycare.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daycare.c b/src/daycare.c
index 34b864981..14053217d 100644
--- a/src/daycare.c
+++ b/src/daycare.c
@@ -23,6 +23,8 @@
#include "constants/moves.h"
#include "constants/region_map_sections.h"
+extern struct Evolution gEvolutionTable[][EVOS_PER_MON];
+
// this file's functions
static void ClearDaycareMonMail(struct DaycareMail *mail);
static void SetInitialEggData(struct Pokemon *mon, u16 species, struct DayCare *daycare);