Forgot a thing

This commit is contained in:
JappaWakka 2023-12-10 20:20:23 +01:00
parent a5e68a153a
commit 84df4d7ccc
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ Public Class PokemonForms
ElseIf trigger(0).ToLower = "gender" Then
If GetGenderFormMatch(P, True) = "match" Then
If TypeChange <> Element.Types.Blank Then
Return BattleSystem.GameModeElementLoader.GetElementByName(TypeChange).ToString
Return BattleSystem.GameModeElementLoader.GetElementByID(TypeChange).ToString
Else
Return AdditionalValue
End If