From 8b483a636b17c5651ef8a1bbba7836a7a2423d20 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sun, 18 Feb 2024 09:42:33 +0100 Subject: [PATCH] Fixed roamers despawn without catch/defeat/flee --- P3D/Battle/BattleSystemV2/BattleScreen.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/Battle/BattleSystemV2/BattleScreen.vb b/P3D/Battle/BattleSystemV2/BattleScreen.vb index d68403007..990a771a4 100644 --- a/P3D/Battle/BattleSystemV2/BattleScreen.vb +++ b/P3D/Battle/BattleSystemV2/BattleScreen.vb @@ -1274,7 +1274,7 @@ nextIndex: 'Shift the Roaming Pokemon. If RoamingBattle = True Then - If FieldEffects.RoamingFled = False AndAlso Battle.Fled = False Then + If FieldEffects.RoamingFled = False AndAlso Battle.Fled = False AndAlso OppPokemon.HP <= 0 Or OppPokemon.Status = Pokemon.StatusProblems.Fainted Then Core.Player.RoamingPokemonData = RoamingPokemon.RemoveRoamingPokemon(RoamingPokemonStorage) Else Core.Player.RoamingPokemonData = RoamingPokemon.ReplaceRoamingPokemon(RoamingPokemonStorage)