Fixed null reference crash related to Sucker Punch move
This commit is contained in:
parent
68e277bf13
commit
d145750ce4
|
@ -470,7 +470,9 @@
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
OppStep = GetOppStep(BattleScreen, OwnStep)
|
Dim OppStep = GetOppStep(BattleScreen, OwnStep)
|
||||||
|
Me.OwnStep = OwnStep
|
||||||
|
Me.OppStep = OppStep
|
||||||
BattleScreen.OwnFaint = False '''
|
BattleScreen.OwnFaint = False '''
|
||||||
BattleScreen.OppFaint = False '''
|
BattleScreen.OppFaint = False '''
|
||||||
If OwnStep.StepType = RoundConst.StepTypes.Move Then
|
If OwnStep.StepType = RoundConst.StepTypes.Move Then
|
||||||
|
|
Loading…
Reference in New Issue