mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fix rare candy blank textbox
This commit is contained in:
parent
09fec864e7
commit
1503cecb1a
@ -48,9 +48,6 @@ Namespace Items.Medicine
|
||||
|
||||
Dim t As String = Me.RemoveItem()
|
||||
If t <> "" Then
|
||||
If t.StartsWith("*") Then
|
||||
t.Remove(0, 1)
|
||||
End If
|
||||
s &= "@text.show(" & t & ")" & Environment.NewLine
|
||||
End If
|
||||
removedItem = True
|
||||
@ -58,7 +55,7 @@ Namespace Items.Medicine
|
||||
Pokemon.Attacks.Add(Pokemon.AttackLearns(Pokemon.Level))
|
||||
|
||||
s &= "@sound.play(success_small,1)" & Environment.NewLine &
|
||||
"@text.show(" & Pokemon.GetDisplayName() & " learned~" & Pokemon.AttackLearns(Pokemon.Level).Name & "!*" & Me.RemoveItem() & ")" & Environment.NewLine
|
||||
"@text.show(" & Pokemon.GetDisplayName() & " learned~" & Pokemon.AttackLearns(Pokemon.Level).Name & "!" & Me.RemoveItem() & ")" & Environment.NewLine
|
||||
removedItem = True
|
||||
PlayerStatistics.Track("Moves learned", 1)
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user