replace random use age of different NPC skin names
This commit is contained in:
parent
8bf24306f6
commit
5614e05e4e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -88,10 +88,10 @@
|
|||
Me.TextureID = UseTextureID
|
||||
|
||||
Dim texturePath As String = "Textures\NPC\"
|
||||
If Me.TextureID.StartsWith("[POKEMON|N]") = True Or Me.TextureID.StartsWith("[Pokémon|N]") = True Then
|
||||
If Me.TextureID.StartsWith("[POKEMON|N]") = True Or Me.TextureID.StartsWith("[POKEMON|N]") = True Then
|
||||
Me.TextureID = Me.TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Normal\"
|
||||
ElseIf Me.TextureID.StartsWith("[POKEMON|S]") = True Or Me.TextureID.StartsWith("[Pokémon|S]") = True Then
|
||||
ElseIf Me.TextureID.StartsWith("[POKEMON|S]") = True Or Me.TextureID.StartsWith("[POKEMON|S]") = True Then
|
||||
Me.TextureID = Me.TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Shiny\"
|
||||
End If
|
||||
|
|
|
@ -103,10 +103,10 @@
|
|||
|
||||
Public Shared Function GetTexturePath(ByVal TextureID As String) As String
|
||||
Dim texturePath As String = "Textures\NPC\"
|
||||
If TextureID.StartsWith("[POKEMON|N]") = True Or TextureID.StartsWith("[Pokémon|N]") = True Then
|
||||
If TextureID.StartsWith("[POKEMON|N]") = True Or TextureID.StartsWith("[POKEMON|N]") = True Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Normal\"
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") = True Or TextureID.StartsWith("[Pokémon|S]") = True Then
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") = True Or TextureID.StartsWith("[POKEMON|S]") = True Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Shiny\"
|
||||
End If
|
||||
|
@ -304,7 +304,7 @@
|
|||
|
||||
Me.Name = p.Name
|
||||
|
||||
If Not p.Skin.StartsWith("[POKEMON|N]") AndAlso Not p.Skin.StartsWith("[Pokémon|N]") AndAlso Not p.Skin.StartsWith("[POKEMON|S]") AndAlso Not p.Skin.StartsWith("[Pokémon|S]") Then
|
||||
If Not p.Skin.StartsWith("[POKEMON|N]") AndAlso Not p.Skin.StartsWith("[POKEMON|N]") AndAlso Not p.Skin.StartsWith("[POKEMON|S]") AndAlso Not p.Skin.StartsWith("[POKEMON|S]") Then
|
||||
If Not String.IsNullOrWhiteSpace(GameJoltID) AndAlso CheckForOnlineSprite = False Then
|
||||
CheckForOnlineSprite = True
|
||||
Me.SetTexture(p.Skin)
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
Me.SkinName = TextureID
|
||||
|
||||
Dim texturePath As String = "Textures\NPC\"
|
||||
If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[Pokémon|N]") Then
|
||||
If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[POKEMON|N]") Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Normal\"
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[Pokémon|S]") Then
|
||||
ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[POKEMON|S]") Then
|
||||
TextureID = TextureID.Remove(0, 11)
|
||||
texturePath = "Pokemon\Overworld\Shiny\"
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue