From c16d796c27ad011f409f2110cf3e50b94198812a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 22 May 2012 11:38:57 -0500 Subject: [PATCH] add '@' to EncodedText output --- extras/crystal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index 6502fa24f..58f133bd2 100644 --- a/extras/crystal.py +++ b/extras/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