Fixed Detect not raising Protect moves count

This commit is contained in:
Capt_Segis 2016-09-14 17:17:05 -05:00 committed by GitHub
parent b6233b8779
commit b3749610f4
1 changed files with 3 additions and 3 deletions

View File

@ -78,11 +78,11 @@
Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen) Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen)
If own = True Then If own = True Then
BattleScreen.FieldEffects.OwnProtectCounter += 1 BattleScreen.FieldEffects.OwnProtectMovesCount += 1
BattleScreen.FieldEffects.OwnDetectCounter = 1 BattleScreen.FieldEffects.OwnDetectCounter = 1
Else Else
BattleScreen.FieldEffects.OppProtectCounter += 1 BattleScreen.FieldEffects.OppProtectMovesCount += 1
BattleScreen.FieldEffects.OppDetectCounter = 1 BattleScreen.FieldEffects.OppDetectCounter = 1
End If End If