Remove Disable when ResetTemp is called

At the end of battle
This commit is contained in:
JappaWakka 2023-01-17 18:22:18 +01:00
parent d839b64689
commit 6d5c798321

View File

@ -978,6 +978,12 @@ Public Class Pokemon
Public Sub ResetTemp() Public Sub ResetTemp()
_volatiles.Clear() _volatiles.Clear()
For Each attack As BattleSystem.Attack In Me.Attacks
If attack.Disabled > 0 Then
attack.Disabled = 0
End If
Next
StatAttack = 0 StatAttack = 0
StatDefense = 0 StatDefense = 0
StatSpAttack = 0 StatSpAttack = 0