Updated following pokemon when fainting due to poison.
This commit is contained in:
parent
6692cd992f
commit
2c723903a2
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue