Updated following pokemon when fainting due to poison.

This commit is contained in:
Ariel Antonitis 2020-06-23 01:51:37 -04:00
parent 6692cd992f
commit 2c723903a2

View file

@ -3,6 +3,7 @@
#include "battle_pike.h" #include "battle_pike.h"
#include "battle_pyramid.h" #include "battle_pyramid.h"
#include "event_data.h" #include "event_data.h"
#include "event_object_movement.h"
#include "field_message_box.h" #include "field_message_box.h"
#include "field_poison.h" #include "field_poison.h"
#include "fldeff_misc.h" #include "fldeff_misc.h"
@ -102,6 +103,7 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId)
else else
{ {
gSpecialVar_Result = FLDPSN_NO_WHITEOUT; gSpecialVar_Result = FLDPSN_NO_WHITEOUT;
UpdateFollowingPokemon();
} }
EnableBothScriptContexts(); EnableBothScriptContexts();
DestroyTask(taskId); DestroyTask(taskId);