This commit is contained in:
@@ -535,13 +535,16 @@ public class BattleImpl : ScriptSource, IBattle
|
||||
}
|
||||
EventHook.Invoke(new CaptureAttemptEvent(target, attemptCapture, item));
|
||||
|
||||
if (!CanSlotBeFilled(sideIndex, position))
|
||||
if (attemptCapture.IsCaught)
|
||||
{
|
||||
Sides[sideIndex].MarkPositionAsUnfillable(position);
|
||||
}
|
||||
Sides[sideIndex].ForceClearPokemonFromField(position);
|
||||
if (!CanSlotBeFilled(sideIndex, position))
|
||||
{
|
||||
Sides[sideIndex].MarkPositionAsUnfillable(position);
|
||||
}
|
||||
Sides[sideIndex].ForceClearPokemonFromField(position);
|
||||
|
||||
ValidateBattleState();
|
||||
ValidateBattleState();
|
||||
}
|
||||
return attemptCapture;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user