mirror of https://github.com/pret/pokecrystal.git
handle $57 in MainText.to_asm
This commit is contained in:
parent
0721bd42e1
commit
133bcb7049
|
@ -1893,6 +1893,21 @@ class MainText(TextCommand):
|
|||
output += "\"@\"\n"
|
||||
|
||||
# reset everything
|
||||
in_quotes = False
|
||||
new_line = True
|
||||
was_comma = False
|
||||
end = True
|
||||
elif byte == 0x57:
|
||||
# close any quotes
|
||||
if in_quotes:
|
||||
output += "\""
|
||||
was_comma = False
|
||||
|
||||
if not was_comma:
|
||||
output += ", "
|
||||
|
||||
output += "$57\n"
|
||||
|
||||
in_quotes = False
|
||||
new_line = True
|
||||
was_comma = False
|
||||
|
|
Loading…
Reference in New Issue