mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-03 12:04:48 +02:00
Added even extra condition
Now it wont show if you have a mega evolved pokemon in your team (just cosmetic purpose)
This commit is contained in:
parent
43ba440217
commit
7bf5c6fd5d
@ -622,14 +622,16 @@
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub MainMenuAddMegaEvolution(ByVal BattleScreen As BattleScreen, ByVal Index As Integer)
|
Private Sub MainMenuAddMegaEvolution(ByVal BattleScreen As BattleScreen, ByVal Index As Integer)
|
||||||
Dim PokeIndex As Integer = BattleScreen.OwnPokemonIndex
|
For i = 0 To Core.Player.Pokemons.Count - 1
|
||||||
Dim _str As String = Core.Player.Pokemons(PokeIndex).AdditionalData
|
Dim _str As String = Core.Player.Pokemons(i).AdditionalData
|
||||||
Select Case _str
|
Select Case _str
|
||||||
Case "mega", "mega_x", "mega_y"
|
Case "mega", "mega_x", "mega_y"
|
||||||
Exit Sub
|
Exit Sub
|
||||||
Case Else
|
Case Else
|
||||||
'do nothing
|
'do nothing
|
||||||
End Select
|
End Select
|
||||||
|
Next
|
||||||
|
Dim PokeIndex As Integer = BattleScreen.OwnPokemonIndex
|
||||||
If BattleScreen.FieldEffects.OwnMegaEvolved = False Then
|
If BattleScreen.FieldEffects.OwnMegaEvolved = False Then
|
||||||
If Not Core.Player.Pokemons(PokeIndex).Item Is Nothing Then
|
If Not Core.Player.Pokemons(PokeIndex).Item Is Nothing Then
|
||||||
If Core.Player.Pokemons(PokeIndex).Item.IsMegaStone = True Then
|
If Core.Player.Pokemons(PokeIndex).Item.IsMegaStone = True Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user