diff --git a/2.5DHero/2.5DHero/2.5DHero.vbproj b/2.5DHero/2.5DHero/2.5DHero.vbproj index 6d97aeb15..b42f3510e 100644 --- a/2.5DHero/2.5DHero/2.5DHero.vbproj +++ b/2.5DHero/2.5DHero/2.5DHero.vbproj @@ -1055,6 +1055,7 @@ + diff --git a/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleMenu.vb b/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleMenu.vb index d682bc2e4..3e082c6f4 100644 --- a/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleMenu.vb +++ b/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleMenu.vb @@ -642,6 +642,12 @@ End Sub Private Sub MainMenuAddMegaEvolution(ByVal BattleScreen As BattleScreen, ByVal Index As Integer) + + 'Checks if the player has the Mega Bracelet. + If Not (Core.Player.Inventory.GetItemAmount(576) > 0) Then + Exit Sub + End If + If _mainMenuIndex >= 3 Then _mainMenuIndex = 0 End If diff --git a/2.5DHero/2.5DHero/Pokemon/Items/KeyItems/MegaBracelet.vb b/2.5DHero/2.5DHero/Pokemon/Items/KeyItems/MegaBracelet.vb new file mode 100644 index 000000000..f45a834e8 --- /dev/null +++ b/2.5DHero/2.5DHero/Pokemon/Items/KeyItems/MegaBracelet.vb @@ -0,0 +1,16 @@ +Namespace Items.KeyItems + + + Public Class MegaBracelet + + Inherits KeyItem + + Public Overrides ReadOnly Property Description As String = "This bracelet contains an untold power that somehow enables Pokémon carrying a Mega Stone to Mega Evolve in battle. " + + Public Sub New() + _textureRectangle = New Rectangle(312, 288, 24, 24) + End Sub + + End Class + +End Namespace diff --git a/2.5DHero/2.5DHeroContent/Items/ItemSheet.png b/2.5DHero/2.5DHeroContent/Items/ItemSheet.png index 51f68dd53..04dba3a8d 100644 Binary files a/2.5DHero/2.5DHeroContent/Items/ItemSheet.png and b/2.5DHero/2.5DHeroContent/Items/ItemSheet.png differ