Make it possible to spawn NPC w/ rival/playerskin
This commit is contained in:
parent
a7013a19bc
commit
ba2a970b11
|
@ -96,11 +96,11 @@
|
|||
texturePath = "Pokemon\Overworld\Shiny\"
|
||||
End If
|
||||
|
||||
If Me.TextureID = "<player.skin>" Then
|
||||
If Me.TextureID.ToLower = "<player.skin>" Then
|
||||
Me.TextureID = Core.Player.Skin
|
||||
End If
|
||||
|
||||
If Me.TextureID = "<rival.skin>" Then
|
||||
If Me.TextureID.ToLower = "<rival.skin>" Then
|
||||
Me.TextureID = Core.Player.RivalSkin
|
||||
End If
|
||||
|
||||
|
|
|
@ -212,7 +212,14 @@
|
|||
If args.Count >= 5 Then
|
||||
additionalValue = args(4)
|
||||
If args.Count >= 6 Then
|
||||
TextureID = args(5)
|
||||
Dim _texturePath As String = args(5)
|
||||
If _texturePath.ToLower = "<rival.skin>" Then
|
||||
_texturePath = Core.Player.RivalSkin
|
||||
End If
|
||||
If _texturePath.ToLower = "<player.skin>" Then
|
||||
_texturePath = Core.Player.Skin
|
||||
End If
|
||||
TextureID = _texturePath
|
||||
If args.Count >= 7 Then
|
||||
AnimateIdle = CBool(args(6))
|
||||
If args.Count >= 8 Then
|
||||
|
|
Loading…
Reference in New Issue