Use DecompileString for fixed text tables

This works around an issue with invalid characters in the teleport
destination table, since the flag/coordinate data is mixed in with the
text
This commit is contained in:
jeffman 2018-12-14 00:49:33 -05:00
parent cb0182f324
commit 973e63c669
1 changed files with 1 additions and 2 deletions

View File

@ -360,8 +360,7 @@ namespace ScriptTool
{ {
fixedStringRef.Old = fixedStringRef.Old =
fixedStringRef.New = fixedStringRef.New =
decompiler.DecompileRange(rom, fixedStringRef.OldPointer, decompiler.DecompileString(rom, fixedStringRef.OldPointer, false);
fixedStringRef.OldPointer + fixedStringCollection.EntryLength, false);
} }
// Write JSON // Write JSON