summaryrefslogtreecommitdiff
path: root/src/field_poison.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-11-06 11:40:17 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-11-06 11:40:17 -0600
commit9afe7a896e7bf9257d3c73c8fb592f0b9243d520 (patch)
tree490f5c185053db27730eefe1f6764b406d4adfb2 /src/field_poison.c
parent43a8534fced2c4327acdd8dc9690f5bc6751e2db (diff)
parentccc5d27fcb8647225656b06a60a7d79ad0fa299f (diff)
Merge remote-tracking branch 'pret/master' into render_text
Diffstat (limited to 'src/field_poison.c')
-rw-r--r--src/field_poison.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/field_poison.c b/src/field_poison.c
index 6a519d90c..e2fd994fc 100644
--- a/src/field_poison.c
+++ b/src/field_poison.c
@@ -6,7 +6,7 @@
#include "field_message_box.h"
#include "strings.h"
#include "rom_818CFC8.h"
-#include "battle_frontier_2.h"
+#include "frontier_util.h"
#include "pokenav.h"
#include "event_data.h"
#include "script.h"
@@ -14,6 +14,8 @@
#include "fldeff_80F9BCC.h"
#include "field_poison.h"
+extern bool8 InBattlePike(void);
+
static bool32 sub_80F9568(struct Pokemon *pokemon)
{
u16 species = GetMonData(pokemon, MON_DATA_SPECIES2);