mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
Revert "Encore fix"
This reverts commit 0091704f4cd4a5a35da7b24d41c8a61960a3cff6.
This commit is contained in:
parent
0091704f4c
commit
69e8455cda
@ -485,7 +485,7 @@
|
|||||||
Core.SpriteBatch.Draw(TextureManager.GetTexture("GUI\Menus\Types", Me.Move.Type.GetElementImage(), ""), New Rectangle(Core.ScreenSize.Width - (AllExtended + extraExtended) + 28, 132 + Index * 96, 48, 16), New Color(255, 255, 255, 255 - deductAlpha))
|
Core.SpriteBatch.Draw(TextureManager.GetTexture("GUI\Menus\Types", Me.Move.Type.GetElementImage(), ""), New Rectangle(Core.ScreenSize.Width - (AllExtended + extraExtended) + 28, 132 + Index * 96, 48, 16), New Color(255, 255, 255, 255 - deductAlpha))
|
||||||
|
|
||||||
If isSelected = True Then
|
If isSelected = True Then
|
||||||
If Move.Disabled > 0 OrElse BattleScreen.FieldEffects.OwnEncore > 0 AndAlso BattleScreen.FieldEffects.OwnEncoreMove.ID <> Move.ID Then
|
If Move.Disabled > 0 Then
|
||||||
Core.SpriteBatch.DrawString(FontManager.MainFont, "Disabled!", New Vector2(CInt(Core.ScreenSize.Width - (AllExtended + extraExtended) + 28), CInt(152 + Index * 96)), Color.Black)
|
Core.SpriteBatch.DrawString(FontManager.MainFont, "Disabled!", New Vector2(CInt(Core.ScreenSize.Width - (AllExtended + extraExtended) + 28), CInt(152 + Index * 96)), Color.Black)
|
||||||
Else
|
Else
|
||||||
Dim ppColor As Color = GetPPColor()
|
Dim ppColor As Color = GetPPColor()
|
||||||
@ -522,7 +522,7 @@
|
|||||||
|
|
||||||
If Controls.Accept(False, True, True) = True And isSelected = True Then
|
If Controls.Accept(False, True, True) = True And isSelected = True Then
|
||||||
SoundManager.PlaySound("select")
|
SoundManager.PlaySound("select")
|
||||||
If Me.Move.Disabled = 0 AndAlso BattleScreen.FieldEffects.OwnEncore = 0 OrElse BattleScreen.FieldEffects.OwnEncoreMove.ID = Move.ID Then
|
If Me.Move.Disabled = 0 Then
|
||||||
Me.ClickAction(BattleScreen)
|
Me.ClickAction(BattleScreen)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@ -530,7 +530,7 @@
|
|||||||
If MouseHandler.IsInRectangle(New Rectangle(Core.ScreenSize.Width - 255, 116 + Index * 96, 255, 80)) = True Then
|
If MouseHandler.IsInRectangle(New Rectangle(Core.ScreenSize.Width - 255, 116 + Index * 96, 255, 80)) = True Then
|
||||||
If isSelected = True Then
|
If isSelected = True Then
|
||||||
SoundManager.PlaySound("select")
|
SoundManager.PlaySound("select")
|
||||||
If Me.Move.Disabled = 0 AndAlso BattleScreen.FieldEffects.OwnEncore = 0 OrElse BattleScreen.FieldEffects.OwnEncoreMove.ID = Move.ID Then
|
If Me.Move.Disabled = 0 Then
|
||||||
Me.ClickAction(BattleScreen)
|
Me.ClickAction(BattleScreen)
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user