fix trainer files not properly completing the math for pokemon ID

This commit is contained in:
darkfire006 2022-08-23 00:09:36 -05:00
parent 0e32b45b6c
commit 21937ffcf9
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ Public Class Trainer
Dim PK As String = ScriptCommander.Parse(firstPart).ToString()
Dim Level As Integer = ScriptConversion.ToInteger(ScriptCommander.Parse(secondPart))
Dim ID As Integer = CInt(PK.Split(CChar("_"))(0))
Dim ID As Integer = ScriptConversion.ToInteger(PK.Split(CChar("_"))(0))
Dim AD As String = ""
If PK.Contains(CChar("_")) Then