From d9b7e2258b66dc4b13ca4b4dc5e0c7ab82520da8 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sat, 15 Feb 2025 19:10:09 +0100 Subject: [PATCH] Revert "Use [ ] instead of < > for pkmn catchinfo tokens.." This reverts commit 2fa95df3e7dc573c925cd02c3a7b96fb07b924dc. --- P3D/Pokemon/Monster/Pokemon.vb | 18 +++++++++--------- P3D/Screens/Pokemon/SummaryScreen.vb | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/P3D/Pokemon/Monster/Pokemon.vb b/P3D/Pokemon/Monster/Pokemon.vb index 863feb124..1ad55042c 100644 --- a/P3D/Pokemon/Monster/Pokemon.vb +++ b/P3D/Pokemon/Monster/Pokemon.vb @@ -416,9 +416,9 @@ Public Class Pokemon End Set End Property - Public Property CatchLocation(Optional saveGame As Boolean = False) As String + Public Property CatchLocation() As String Get - If saveGame = False AndAlso (_catchLocation.StartsWith("") OrElse _catchLocation.StartsWith("[system.token(") AndAlso _catchLocation.EndsWith(")]")) Then + If _catchLocation.StartsWith("") Then Return Localization.GetString(_catchLocation.Remove(_catchLocation.Length - 2, 2).Remove(0, "") OrElse _catchTrainerName.StartsWith("[system.token(") AndAlso _catchTrainerName.EndsWith(")]")) Then + If _catchTrainerName.StartsWith("") Then Return Localization.GetString(_catchTrainerName.Remove(_catchTrainerName.Length - 2, 2).Remove(0, "") OrElse _catchMethod.StartsWith("[system.token(") AndAlso _catchMethod.EndsWith(")]")) Then + If _catchMethod.StartsWith("") Then Return Localization.GetString(_catchMethod.Remove(_catchMethod.Length - 2, 2).Remove(0, "