Compare commits
1 Commits
1e33777af7
...
389b80666c
Author | SHA1 | Date | |
---|---|---|---|
389b80666c |
@ -975,7 +975,7 @@ class Player {
|
|||||||
if(cur.Character) {
|
if(cur.Character) {
|
||||||
nameToUse = cur.Arg1;
|
nameToUse = cur.Arg1;
|
||||||
}
|
}
|
||||||
let nameFullWidth = nameToUse.replace(/[A-Za-z0-9]/g, function(s) {return String.fromCharCode(s.charCodeAt(0) + 0xFEE0);});
|
nameFullWidth = nameToUse.replace(/[A-Za-z0-9]/g, function(s) {return String.fromCharCode(s.charCodeAt(0) + 0xFEE0);});
|
||||||
this.text.characterName(true, this.utage.charTranslations[nameToUse] || this.utage.charTranslations[nameFullWidth] || nameToUse);
|
this.text.characterName(true, this.utage.charTranslations[nameToUse] || this.utage.charTranslations[nameFullWidth] || nameToUse);
|
||||||
this.text.dialogText(true, text);
|
this.text.dialogText(true, text);
|
||||||
//restoreTint is set from a colorTo command.
|
//restoreTint is set from a colorTo command.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user