Now I really fixed the menu sprites

This commit is contained in:
JappaWakka 2022-08-01 13:08:17 +02:00
parent 0695ff6491
commit 3cab6f3b82
1 changed files with 3 additions and 2 deletions

View File

@ -136,8 +136,9 @@ Public Class PokemonForms
Return listP.GetMenuImageSize(P)
End If
Next
Return New Size(32, 32)
Dim sheet As String = GetSheetName(P)
Dim _size As Integer = CInt(TextureManager.GetTexture("GUI\PokemonMenu\" & sheet).Width / 32)
Return New Size(_size, _size)
End Function
''' <summary>