shithub: pokecrystal

Download patch

ref: e471fbeb3217107e94acca38213f8f9ffed98665
parent: 36eb6c726a73e5106dd2c2904f50a3ce134f1f32
author: Bryan Bishop <kanzure@gmail.com>
date: Wed Jun 20 17:13:24 EDT 2012

continue at relative jumps and fix formatting

--- a/extras/romstr.py
+++ b/extras/romstr.py
@@ -397,10 +397,6 @@
                         if number == 0x3d97:
                             used_3d97 = True
 
-                    if not self.has_outstanding_labels(asm_commands, offset):
-                        keep_reading = False
-                        break
-
                 # stop reading at a jump, relative jump or return
                 if current_byte in end_08_scripts_with:
                     is_data = False
@@ -455,7 +451,7 @@
                 if line["address"] == self.start_address:
                     output += "thing: ; " + hex(line["address"]) + "\n"
                 else:
-                    output += spacing + "." + line["current_label"] + "\@ ; " + hex(line["address"]) + "\n"
+                    output += "." + line["current_label"] + "\@ ; " + hex(line["address"]) + "\n"
 
             # show the actual line
             if line.has_key("formatted_with_labels"):
--