From 11001f69d0f9484612079bbbe48093beba19bfa4 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Fri, 19 Apr 2024 15:08:14 +0200 Subject: [PATCH] Fix text errors (out of bounds, newlines) --- P3D/Content/Data/Scripts/phone/039.dat | Bin 2172 -> 2172 bytes P3D/Entites/Enviroment/BerryPlant.vb | 2 +- P3D/Pokemon/Monster/PokemonInteractions.vb | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/P3D/Content/Data/Scripts/phone/039.dat b/P3D/Content/Data/Scripts/phone/039.dat index 6792c8df610bf62387cd83f40c8413e1a3823706..c2a7d652e7365f5f15664781499b8bfd354a6a01 100644 GIT binary patch delta 14 Vcmew(@JC?7A6CY?&3{?znE*D227dqm delta 14 Vcmew(@JC?7A67<%&3{?znE*6X1|a|d diff --git a/P3D/Entites/Enviroment/BerryPlant.vb b/P3D/Entites/Enviroment/BerryPlant.vb index 96fbf956e..b88951e5e 100644 --- a/P3D/Entites/Enviroment/BerryPlant.vb +++ b/P3D/Entites/Enviroment/BerryPlant.vb @@ -185,7 +185,7 @@ If Me.Berries = 1 Then Text = Localization.GetString("berry_picked_single_start", " picked the~").Replace("", Core.Player.Name) & Berry.OneLineName() & " " & Localization.GetString("berry_picked_single_end", "Berry.") & "*" & Core.Player.Inventory.GetMessageReceive(Berry, Me.Berries) Else - Text = Localization.GetString("berry_picked_multiple_start", " picked the~").Replace("", Core.Player.Name) & Berries & "~" & Berry.OneLineName() & " " & Localization.GetString("berry_picked_multiple_end", "Berries.") & "*" & Core.Player.Inventory.GetMessageReceive(Berry, Me.Berries) + Text = Localization.GetString("berry_picked_multiple_start", " picked the~").Replace("", Core.Player.Name) & Berries & Berry.OneLineName() & " " & Localization.GetString("berry_picked_multiple_end", "Berries.") & "*" & Core.Player.Inventory.GetMessageReceive(Berry, Me.Berries) End If Core.Player.AddPoints(2, "Picked berries.") diff --git a/P3D/Pokemon/Monster/PokemonInteractions.vb b/P3D/Pokemon/Monster/PokemonInteractions.vb index b5659d75e..21efa90f3 100644 --- a/P3D/Pokemon/Monster/PokemonInteractions.vb +++ b/P3D/Pokemon/Monster/PokemonInteractions.vb @@ -508,11 +508,11 @@ r = New ReactionContainer(" is sniffing~at .", MessageBulb.NotificationTypes.Friendly) Case 51 If IsOutside() = True And World.GetCurrentRegionWeather() = World.Weathers.Rain And GrassAround() = True Then - r = New ReactionContainer(" is taking shelter in the grass from the rain!", MessageBulb.NotificationTypes.Waiting) + r = New ReactionContainer(" is taking~shelter in the grass from~the rain!", MessageBulb.NotificationTypes.Waiting) End If Case 52 If IsOutside() = True And World.GetCurrentRegionWeather() = World.Weathers.Rain And GrassAround() = True Then - r = New ReactionContainer(" is splashing~around in the wet grass", MessageBulb.NotificationTypes.Note) + r = New ReactionContainer(" is splashing~around in the wet grass!", MessageBulb.NotificationTypes.Note) End If End Select End While