From 2c723903a2f7ea2472f169279d6bf790489d6703 Mon Sep 17 00:00:00 2001 From: Ariel Antonitis Date: Tue, 23 Jun 2020 01:51:37 -0400 Subject: [PATCH] Updated following pokemon when fainting due to poison. --- src/field_poison.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/field_poison.c b/src/field_poison.c index 132ce571e1..c9459da41e 100644 --- a/src/field_poison.c +++ b/src/field_poison.c @@ -3,6 +3,7 @@ #include "battle_pike.h" #include "battle_pyramid.h" #include "event_data.h" +#include "event_object_movement.h" #include "field_message_box.h" #include "field_poison.h" #include "fldeff_misc.h" @@ -102,6 +103,7 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId) else { gSpecialVar_Result = FLDPSN_NO_WHITEOUT; + UpdateFollowingPokemon(); } EnableBothScriptContexts(); DestroyTask(taskId);