mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-30 21:36:41 -05:00
fix was_comma statement (gah)
original-commit-id: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901
This commit is contained in:
@@ -1852,10 +1852,13 @@ class MainText(TextCommand):
|
||||
if not was_comma:
|
||||
output += ", "
|
||||
output += "$%.2x\n" % (byte)
|
||||
was_comma = True
|
||||
was_comma = False
|
||||
new_line = True
|
||||
elif byte == 0x50:
|
||||
assert not new_line, "can't have $50 or '@' as the first character on a newline"
|
||||
|
||||
if in_quotes:
|
||||
output += "@\""
|
||||
pass
|
||||
|
||||
# TODO
|
||||
|
||||
Reference in New Issue
Block a user