shithub: pokecrystal

Download patch

ref: c16d796c27ad011f409f2110cf3e50b94198812a
parent: 7b965e5d3232e198c33bcaaf047067fce2444a80
author: Bryan Bishop <[email protected]>
date: Tue May 22 07:38:57 EDT 2012

add '@' to EncodedText output

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1110,6 +1110,10 @@
         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 @@
         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