mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fixed infatuation volatile status lingering after the opp has switched out.
This commit is contained in:
parent
85dada91e1
commit
d557a98b48
@ -6048,6 +6048,10 @@
|
||||
.OppMagmaStorm = 0
|
||||
.OppSandTomb = 0
|
||||
.OppInfestation = 0
|
||||
|
||||
If BattleScreen.OppPokemon.HasVolatileStatus(Pokemon.VolatileStatus.Infatuation) Then
|
||||
BattleScreen.OppPokemon.RemoveVolatileStatus(Pokemon.VolatileStatus.Infatuation)
|
||||
End If
|
||||
End With
|
||||
|
||||
.OwnPokemon.Ability.SwitchOut(.OwnPokemon)
|
||||
@ -6380,6 +6384,9 @@
|
||||
.OwnSandTomb = 0
|
||||
.OwnInfestation = 0
|
||||
|
||||
If BattleScreen.OwnPokemon.HasVolatileStatus(Pokemon.VolatileStatus.Infatuation) Then
|
||||
BattleScreen.OwnPokemon.RemoveVolatileStatus(Pokemon.VolatileStatus.Infatuation)
|
||||
End If
|
||||
End With
|
||||
End With
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user