mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Fixed crash related to Mega Evolutions
This commit is contained in:
parent
a81c8da491
commit
f7e93447d7
@ -850,6 +850,7 @@
|
|||||||
BattleScreen.BattleQuery.Insert(0, New ToggleMenuQueryObject(True))
|
BattleScreen.BattleQuery.Insert(0, New ToggleMenuQueryObject(True))
|
||||||
If BattleScreen.IsMegaEvolvingOwn Then
|
If BattleScreen.IsMegaEvolvingOwn Then
|
||||||
BattleScreen.SendClientCommand("MEGA|" & BattleScreen.OwnPokemon.Attacks(_moveMenuIndex).ID.ToString())
|
BattleScreen.SendClientCommand("MEGA|" & BattleScreen.OwnPokemon.Attacks(_moveMenuIndex).ID.ToString())
|
||||||
|
BattleScreen.IsMegaEvolvingOwn = False
|
||||||
Else
|
Else
|
||||||
BattleScreen.SendClientCommand("MOVE|" & BattleScreen.OwnPokemon.Attacks(_moveMenuIndex).ID.ToString())
|
BattleScreen.SendClientCommand("MOVE|" & BattleScreen.OwnPokemon.Attacks(_moveMenuIndex).ID.ToString())
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user