Fixed infatuation volatile status lingering after the opp has switched out.

This commit is contained in:
CaptainSegis 2017-01-24 00:34:40 -05:00
parent 85dada91e1
commit d557a98b48
1 changed files with 7 additions and 0 deletions

View File

@ -6048,6 +6048,10 @@
.OppMagmaStorm = 0 .OppMagmaStorm = 0
.OppSandTomb = 0 .OppSandTomb = 0
.OppInfestation = 0 .OppInfestation = 0
If BattleScreen.OppPokemon.HasVolatileStatus(Pokemon.VolatileStatus.Infatuation) Then
BattleScreen.OppPokemon.RemoveVolatileStatus(Pokemon.VolatileStatus.Infatuation)
End If
End With End With
.OwnPokemon.Ability.SwitchOut(.OwnPokemon) .OwnPokemon.Ability.SwitchOut(.OwnPokemon)
@ -6380,6 +6384,9 @@
.OwnSandTomb = 0 .OwnSandTomb = 0
.OwnInfestation = 0 .OwnInfestation = 0
If BattleScreen.OwnPokemon.HasVolatileStatus(Pokemon.VolatileStatus.Infatuation) Then
BattleScreen.OwnPokemon.RemoveVolatileStatus(Pokemon.VolatileStatus.Infatuation)
End If
End With End With
End With End With