mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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…
x
Reference in New Issue
Block a user