[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.
This commit is contained in:
Kurausukun
2021-05-31 00:19:26 -04:00
committed by huderlem
parent 2705f2e5f4
commit 2bbaf71998
3 changed files with 6 additions and 9 deletions
+2
View File
@@ -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);