diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 15:14:23 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 15:14:23 -0500 |
commit | 48f6b8a8fa0faf62e5c74bf8e62715303e9bc536 (patch) | |
tree | e348be125c44f6aa4eddcd89a97106ecc5d75d0c | |
parent | e8eaeefda846e49286150caef7e4355193af1084 (diff) |
fix import wram syntax
-rw-r--r-- | pokemontools/crystal.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 0d0bd1e..69905d6 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -56,6 +56,7 @@ import pointers import interval_map import trainers import pokemon_constants +import wram # ---- script_parse_table explanation ---- # This is an IntervalMap that keeps track of previously parsed scripts, texts @@ -7551,13 +7552,12 @@ def write_all_labels(all_labels, filename="labels.json"): fh.close() return True -from wram import wram_labels def get_ram_label(address): """ returns a label assigned to a particular ram address """ - if address in wram_labels.keys(): - return wram_labels[address][-1] + if address in wram.wram_labels.keys(): + return wram.wram_labels[address][-1] return None def get_label_for(address): |