4 files changed
+30
-6
No files matched your search
@@ -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