mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Battle Pokémon models are now placed in subfolder
This commit is contained in:
parent
24a6b77a1c
commit
e47581df69
@ -1321,14 +1321,14 @@ nextIndex:
|
|||||||
poke = OppPokemon
|
poke = OppPokemon
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim n As String = poke.AnimationName
|
Dim n As String = PokemonForms.GetAnimationName(poke)
|
||||||
|
|
||||||
Dim s As String = "Normal"
|
Dim s As String = "Normal"
|
||||||
If poke.IsShiny = True Then
|
If poke.IsShiny = True Then
|
||||||
s = "Shiny"
|
s = "Shiny"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim p As String = "Models\" & n & "\" & s
|
Dim p As String = "Models\Pokemon\" & n & "\" & s
|
||||||
|
|
||||||
If ModelManager.ModelExist(p) = True Then
|
If ModelManager.ModelExist(p) = True Then
|
||||||
Return p
|
Return p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user