You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
handle $57 in MainText.to_asm
This commit is contained in:
@@ -1893,6 +1893,21 @@ class MainText(TextCommand):
|
|||||||
output += "\"@\"\n"
|
output += "\"@\"\n"
|
||||||
|
|
||||||
# reset everything
|
# 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
|
in_quotes = False
|
||||||
new_line = True
|
new_line = True
|
||||||
was_comma = False
|
was_comma = False
|
||||||
|
Reference in New Issue
Block a user