Make unable to switch message localizable

This commit is contained in:
JappaWakka 2022-12-04 21:17:42 +01:00
parent c0c4146607
commit bdb0278280
3 changed files with 3 additions and 2 deletions

View File

@ -999,7 +999,7 @@
If Pokemon.IsEgg() = False Then
If Pokemon.Status <> P3D.Pokemon.StatusProblems.Fainted Then
If BattleCalculation.CanSwitch(TempBattleScreen, True) = False Then
Screen.TextBox.Show("Cannot switch out.", {}, True, False)
Screen.TextBox.Show(Localization.GetString("battle_main_cannot_switch", "Cannot switch out."), {}, True, False)
Else
If TempBattleScreen.OwnPokemonIndex <> PokeIndex Then
If TempBattleScreen.IsRemoteBattle = True And TempBattleScreen.IsHost = False Then

View File

@ -162,7 +162,7 @@
If Pokemon.IsEgg() = False Then
If Pokemon.Status <> P3D.Pokemon.StatusProblems.Fainted Then
If BattleCalculation.CanSwitch(TempScreen, True) = False Then
Screen.TextBox.Show("Cannot switch out.", {}, True, False)
Screen.TextBox.Show(Localization.GetString("battle_main_cannot_switch", "Cannot switch out."), {}, True, False)
Else
Dim TempQuery = TempScreen.BattleQuery.ToArray
If TempScreen.OwnPokemonIndex <> PokeIndex Then

View File

@ -423,6 +423,7 @@ battle_main_trainer_defeat_2, and~
battle_main_trainer_defeat_3,~were defeated!
battle_main_trainer_defeat_4, got
battle_main_trainer_defeat_5,~PokéDollars for winning!
battle_main_cannot_switch,Cannot switch out.
---
attackTurn:
battle_attack_poison_damage,~was hurt by poison!