diff options
author | tom-overton <tom.overton@outlook.com> | 2022-05-30 22:52:28 -0700 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-05-31 12:34:28 +0100 |
commit | ecb361088acc54cda7a32136d1bc9cb28957a69a (patch) | |
tree | f417c17b6c22e3440d95328e832b7966f78d197a /src/com/sneed/pkrandom | |
parent | e153a03e66f5dbe6490c800af69f0b7f70793a4f (diff) |
Fix issue where Lower Case Pokemon Names changes FARFETCH'D to Farfetch'D
Diffstat (limited to 'src/com/sneed/pkrandom')
-rwxr-xr-x | src/com/sneed/pkrandom/RomFunctions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/sneed/pkrandom/RomFunctions.java b/src/com/sneed/pkrandom/RomFunctions.java index 6ffc8f7..727d817 100755 --- a/src/com/sneed/pkrandom/RomFunctions.java +++ b/src/com/sneed/pkrandom/RomFunctions.java @@ -159,7 +159,7 @@ public class RomFunctions { string[j] = Character.toUpperCase(current); docap = false; } else { - if (!docap && !Character.isLetter(current) && current != '\'') { + if (!docap && !Character.isLetter(current) && current != '\'' && current != '’') { docap = true; } } |