From 40b3d689e790db8e6c7beae067288081a7d8d0c8 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 22 May 2012 11:38:57 -0500 Subject: add '@' to EncodedText output original-commit-id: c16d796c27ad011f409f2110cf3e50b94198812a --- crystal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crystal.py') 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 -- cgit v1.2.3