diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 16:42:05 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 16:42:05 -0500 |
commit | 52d4978974263f4f19985632442291c2d30c4b67 (patch) | |
tree | bb91bace929310f2787b80424fdada70bba94e81 | |
parent | 43c912b4ee33fced7b8d9cc598c7d8f50aecb245 (diff) |
move the map_names import to the top
Maybe it will get more attention up here. It needs to be cleaned up
since it's a global used throughout the source code, plus it gets
modified multiple times everywhere. Awful.
-rw-r--r-- | pokemontools/crystal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 6ba998b..d6dba89 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -61,6 +61,8 @@ import item_constants import wram import exceptions +from map_names import map_names + # ---- script_parse_table explanation ---- # This is an IntervalMap that keeps track of previously parsed scripts, texts # and other objects. Anything that has a location in the ROM should be mapped @@ -6730,8 +6732,6 @@ class PokedexEntry: {4}""".format(self.species, self.weight, self.height, self.page1.to_asm(), self.page2.to_asm()) return output -from map_names import map_names - # map names with no labels will be generated # generate labels for each map name for map_group_id in map_names.keys(): |