Make it possible to spawn NPC w/ rival/playerskin

This commit is contained in:
JappaWakka 2023-05-09 18:27:27 +02:00
parent a7013a19bc
commit ba2a970b11
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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