summaryrefslogtreecommitdiff
path: root/pokemontools/gfx.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-11-18 21:03:31 -0500
committeryenatch <yenatch@gmail.com>2013-11-18 21:03:31 -0500
commitdfc88b9ac0369632bfa93a3859bf26dc2828ae9e (patch)
tree6243ede1e0a5a0bc2a76abf8c5027e21f1a72471 /pokemontools/gfx.py
parent9d01c85d3bac2a6a7b5826dc2139f69731a901ab (diff)
parent3027746bd69db504f8d0e311d9f81593337ff236 (diff)
Merge branch 'master' of github.com:kanzure/pokemon-reverse-engineering-tools
Diffstat (limited to 'pokemontools/gfx.py')
-rw-r--r--pokemontools/gfx.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pokemontools/gfx.py b/pokemontools/gfx.py
index 2ea6b54..37dd1b6 100644
--- a/pokemontools/gfx.py
+++ b/pokemontools/gfx.py
@@ -5,12 +5,15 @@ import sys
import png
from math import sqrt, floor, ceil
-import crystal
+import configuration
+config = configuration.Config()
+
import pokemon_constants
import trainers
+import romstr
if __name__ != "__main__":
- rom = crystal.load_rom()
+ rom = romstr.RomStr(filename=config.rom_path)
def split(list_, interval):