Fixed Yawn counter
This commit is contained in:
parent
da9e8095b0
commit
4b6cde659e
|
@ -5030,13 +5030,11 @@
|
|||
End If
|
||||
|
||||
If .FieldEffects.OwnYawn > 0 And .OwnPokemon.HP > 0 Then 'Yawn
|
||||
If .OwnPokemon.Status <> Pokemon.StatusProblems.Sleep Then
|
||||
.FieldEffects.OwnYawn = 0
|
||||
If .OwnPokemon.Status = Pokemon.StatusProblems.None Then
|
||||
.FieldEffects.OwnYawn -= 1
|
||||
If .OwnPokemon.Status = Pokemon.StatusProblems.None And .FieldEffects.OwnYawn = 0 Then
|
||||
InflictSleep(True, False, BattleScreen, -1, "", "yawn")
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
Dim futureSight As String = "Future Sight" 'Future Sight/Doom Desire
|
||||
If .FieldEffects.OwnFutureSightID = 1 Then
|
||||
|
@ -5758,13 +5756,11 @@
|
|||
End If
|
||||
|
||||
If .FieldEffects.OppYawn > 0 And .OppPokemon.HP > 0 Then 'Yawn
|
||||
If .OppPokemon.Status <> Pokemon.StatusProblems.Sleep Then
|
||||
.FieldEffects.OppYawn = 0
|
||||
If .OppPokemon.Status = Pokemon.StatusProblems.None Then
|
||||
.FieldEffects.OppYawn -= 1
|
||||
If .OppPokemon.Status = Pokemon.StatusProblems.None And .FieldEffects.OppYawn = 0 Then
|
||||
InflictSleep(False, True, BattleScreen, -1, "", "yawn")
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
Dim futureSight As String = "Future Sight" 'Future Sight/Doom Desire
|
||||
If .FieldEffects.OppFutureSightID = 1 Then
|
||||
|
|
Loading…
Reference in New Issue