mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-26 23:34:58 +02:00
Failsafe for Pokémon player texture
This commit is contained in:
parent
936368b322
commit
3d41783c71
@ -28,12 +28,11 @@
|
||||
|
||||
Public Sub SetTexture(ByVal TextureID As String, ByVal UseGameJoltID As Boolean)
|
||||
Me.SkinName = TextureID
|
||||
|
||||
Dim texturePath As String = "Textures\NPC\"
|
||||
If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[POKEMON|N]") Then
|
||||
If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[Pokémon|N]") Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Normal\"
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[POKEMON|S]") Then
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[Pokémon|S]") Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Shiny\"
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user