Fix Mold Breaker

This commit is contained in:
JappaWakka 2024-03-26 13:13:07 +01:00
parent 9bb85df200
commit 619f1b3d93
2 changed files with 3 additions and 3 deletions

View File

@ -2408,7 +2408,7 @@
op.Type1 = moveUsed.GetAttackType(own, BattleScreen) op.Type1 = moveUsed.GetAttackType(own, BattleScreen)
op.Type2.Type = Element.Types.Blank op.Type2.Type = Element.Types.Blank
BattleScreen.BattleQuery.Add(New TextQueryObject(op.GetDisplayName() & " changed it's color!")) BattleScreen.BattleQuery.Add(New TextQueryObject(op.GetDisplayName() & " changed its color!"))
End If End If
End If End If
Case "rough skin" Case "rough skin"
@ -5014,7 +5014,7 @@
RaiseStat(own, own, BattleScreen, "Special Attack", 1, "Download analyzed the foe!", "download") RaiseStat(own, own, BattleScreen, "Special Attack", 1, "Download analyzed the foe!", "download")
End If End If
Case "mold breaker" Case "mold breaker"
.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " breakes the mold!")) .BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " breaks the mold!"))
Case "turbo blaze" Case "turbo blaze"
.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " is radiating a blazing aura!")) .BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " is radiating a blazing aura!"))
Case "teravolt" Case "teravolt"

View File

@ -387,7 +387,7 @@
End If End If
Else Else
p = BattleScreen.OppPokemon p = BattleScreen.OppPokemon
If p.Type1.Type = Element.Types.Flying Or p.Type2.Type = Element.Types.Flying Or p.Ability.Name.ToLower() = "levitate" And BattleScreen.FieldEffects.CanUseAbility(True, BattleScreen) = True Then If p.Type1.Type = Element.Types.Flying Or p.Type2.Type = Element.Types.Flying Or p.Ability.Name.ToLower() = "levitate" And BattleScreen.FieldEffects.CanUseAbility(False, BattleScreen) = True Then
grounded = False grounded = False
End If End If
If BattleScreen.FieldEffects.Gravity > 0 Or BattleScreen.FieldEffects.OppSmacked > 0 Or BattleScreen.FieldEffects.OppIngrain > 0 Then If BattleScreen.FieldEffects.Gravity > 0 Or BattleScreen.FieldEffects.OppSmacked > 0 Or BattleScreen.FieldEffects.OppIngrain > 0 Then