From d3de943dba6585b20d3519ddbce595d3154cb866 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Mon, 1 Aug 2022 19:23:38 +0200 Subject: [PATCH] Fix shiny menusprite offset --- P3D/Pokemon/Monster/Pokemon.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/Pokemon/Monster/Pokemon.vb b/P3D/Pokemon/Monster/Pokemon.vb index 2df541f13..d9de18db1 100644 --- a/P3D/Pokemon/Monster/Pokemon.vb +++ b/P3D/Pokemon/Monster/Pokemon.vb @@ -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), "")