summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-22 11:38:57 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-22 11:38:57 -0500
commit40b3d689e790db8e6c7beae067288081a7d8d0c8 (patch)
treeabfb770a7c974f4f77616c152822732c69578d9d
parentf61796eef9d44be0454aa74c97478d4d35083930 (diff)
add '@' to EncodedText output
original-commit-id: c16d796c27ad011f409f2110cf3e50b94198812a
-rw-r--r--crystal.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 6502fa2..58f133b 100644
--- a/crystal.py
+++ b/crystal.py
@@ -1110,6 +1110,10 @@ class EncodedText:
end_address = offset + jump #we want the address before $57
text = parse_text_at2(offset, end_address-offset, debug=self.debug)
+
+ if jump == jump50:
+ text += "@"
+
self.text = text
self.last_address = self.end_address = end_address
@@ -1164,7 +1168,6 @@ class EncodedText:
commands = process_00_subcommands(address, address+count, debug=debug)
for (line_id, line) in commands.items():
output += parse_text_from_bytes(line, debug=debug, japanese=japanese)
- output += "\n"
texts.append([address, output])
return output