mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 08:45:02 +02:00
Fix OnlyCaptureFirst GameRule's implementation
This commit is contained in:
parent
afee85c4ac
commit
34fc3ffbbe
@ -1107,7 +1107,7 @@
|
||||
If Item.IsBall = True Then
|
||||
Core.Player.Inventory.RemoveItem(itemID.ToString, 1)
|
||||
If TempBattleScreen.IsTrainerBattle = False Then
|
||||
If BattleScreen.CanCatch = True Or CBool(GameModeManager.GetGameRuleValue("OnlyCaptureFirst", "0")) = True And Core.Player.PokeFiles.Contains(BattleScreen.TempPokeFile) = True Then
|
||||
If BattleScreen.CanCatch = True Or CBool(GameModeManager.GetGameRuleValue("OnlyCaptureFirst", "0")) = True And Core.Player.PokeFiles.Contains(BattleScreen.TempPokeFile) = False Then
|
||||
TempBattleScreen.BattleQuery.Clear()
|
||||
TempBattleScreen.BattleQuery.Add(TempBattleScreen.FocusBattle())
|
||||
TempBattleScreen.BattleQuery.Insert(0, New ToggleMenuQueryObject(True))
|
||||
|
Loading…
x
Reference in New Issue
Block a user