diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-17 11:20:09 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-17 11:20:09 -0600 |
commit | 9f55db88039fd7020508ab9a28c8740ef053967d (patch) | |
tree | c2bf3b74e6091a0388220f6c735f694d521c504e | |
parent | 4a95f903601e328c5b007886714e564916c20957 (diff) |
make gfx.py not depend on crystal.py
-rw-r--r-- | pokemontools/gfx.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pokemontools/gfx.py b/pokemontools/gfx.py index c7c6bec..1113b1a 100644 --- a/pokemontools/gfx.py +++ b/pokemontools/gfx.py @@ -5,12 +5,14 @@ import sys import png from math import sqrt, floor, ceil -import crystal +import configuration +config = configuration.Config() + import pokemon_constants import trainers if __name__ != "__main__": - rom = crystal.load_rom() + rom = romstr.RomStr(filename=config.rom_path) def hex_dump(input, debug=True): """ |