mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-29 04:46:38 -05:00
fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db
original-commit-id: 66b65c854b09545fa24973e41bc2fe250a4dd068
This commit is contained in:
@@ -2228,7 +2228,7 @@ class MainText(TextCommand):
|
||||
output += "@\"\n"
|
||||
new_line = True
|
||||
elif not in_quotes:
|
||||
if not was_comma:
|
||||
if not was_comma and not new_line:
|
||||
output += ", "
|
||||
output += "\"@\"\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user