Fix shiny menusprite offset
This commit is contained in:
parent
9772dc452a
commit
d3de943dba
|
@ -2543,7 +2543,7 @@ Public Class Pokemon
|
|||
|
||||
Dim shinypos As Integer = 0
|
||||
If Me.IsShiny = True Then
|
||||
shinypos = 512
|
||||
shinypos = CInt(P3D.TextureManager.GetTexture("GUI\PokemonMenu\" & sheet).Width / 2)
|
||||
End If
|
||||
|
||||
Textures(index) = P3D.TextureManager.GetTexture("GUI\PokemonMenu\" & sheet, New Rectangle(CInt(v.X) * s.Width + shinypos, CInt(v.Y) * s.Height, s.Width, s.Height), "")
|
||||
|
|
Loading…
Reference in New Issue