shithub: pokecrystal

Download patch

ref: d23972b7a3bf387ffa883fa0c8f2827b0b826e84
parent: f6be64dc7e8eda93c5d88e7d7f13e19d3248fe27
author: Bryan Bishop <kanzure@gmail.com>
date: Mon Sep 10 18:28:20 EDT 2012

call load_asm in scan_for_predefined_labels

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -7823,6 +7823,9 @@
     all_labels = []
     bank_intervals = {}
 
+    if asm == None:
+        load_asm()
+
     #figure out line numbers for each bank
     for bank_id in range(0x7F+1):
         abbreviation = ("%.x" % (bank_id)).upper()
--