mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
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\"
|
texturePath = "Pokemon\Overworld\Shiny\"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Me.TextureID = "<player.skin>" Then
|
If Me.TextureID.ToLower = "<player.skin>" Then
|
||||||
Me.TextureID = Core.Player.Skin
|
Me.TextureID = Core.Player.Skin
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Me.TextureID = "<rival.skin>" Then
|
If Me.TextureID.ToLower = "<rival.skin>" Then
|
||||||
Me.TextureID = Core.Player.RivalSkin
|
Me.TextureID = Core.Player.RivalSkin
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
@ -212,7 +212,14 @@
|
|||||||
If args.Count >= 5 Then
|
If args.Count >= 5 Then
|
||||||
additionalValue = args(4)
|
additionalValue = args(4)
|
||||||
If args.Count >= 6 Then
|
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
|
If args.Count >= 7 Then
|
||||||
AnimateIdle = CBool(args(6))
|
AnimateIdle = CBool(args(6))
|
||||||
If args.Count >= 8 Then
|
If args.Count >= 8 Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user