Genderless Pokémon can't give or get infatuation

This commit is contained in:
JappaWakka 2022-08-07 13:01:16 +02:00
parent 7310e3cd13
commit 4223dfaaea
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
op = BattleScreen.OwnPokemon
End If
If op.Gender <> Pokemon.Genders.Genderless And op.Gender <> p.Gender Then
If p.Gender <> Pokemon.Genders.Genderless AndAlso op.Gender <> Pokemon.Genders.Genderless AndAlso op.Gender <> p.Gender Then
If op.Ability.Name.ToLower() <> "aroma veil" Then
If BattleScreen.Battle.InflictInfatuate(Not own, own, BattleScreen, "", "move:attract") = False Then
BattleScreen.BattleQuery.Add(New TextQueryObject(Me.Name & " failed!"))