UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

The code editor doesn't show some strings from undertales scr_gettext.

Open VladiStep opened this issue 2 years ago • 2 comments

Describe the bug

The code editor doesn't show scr_gettext() strings that start with quotes, and also it incorrectly shows the strings which contain quotes. For example, if the string in "scr_textdata_en" contains a string This is a "test", then it would show // This is a " + '"' + "test" + '"'.

Reproducing steps

  1. Open some Undertale code that contains scr_gettext() that calls a string with quotes.

Setup Details

  1. UTMT version - https://github.com/krzys-h/UndertaleModTool/commit/7b876ad457eca5cdd69957dc02ef57a569412e5e

VladiStep avatar Sep 15 '23 21:09 VladiStep

Can someone retest this? IIRC this was fixed by #1488 but I might be wrong.

Miepee avatar Jun 01 '24 10:06 Miepee

Can someone retest this? IIRC this was fixed by #1488 but I might be wrong.

Nope image ds_map_add(global.text_data_en, "phonename_204", "Call Her " + '"' + "Mom" + '"')

VladiStep avatar Jun 01 '24 18:06 VladiStep

Is it fixed now, I just checked in the latest release version (v0.8.1.1):

Image

VladiStep avatar May 30 '25 17:05 VladiStep