shithub: pokecrystal

Download patch

ref: 8124e7694052ec6b53ca843205a9b5366f120df5
parent: 4c4517121331d8db6e508432e4e872a02299a94f
author: Bryan Bishop <[email protected]>
date: Sat May 19 20:24:25 EDT 2012

move around the trainers.py import line

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -63,6 +63,14 @@
 # Import the characters from its module.
 from chars import chars, jap_chars
 
+from trainers import *
+
+# for fixing trainer_group_names
+import re
+
+trainer_group_pointer_table_address    = 0x39999
+trainer_group_pointer_table_address_gs = 0x3993E
+
 class Size():
     """a simple way to track whether or not a size
     includes the first value or not, like for
@@ -3435,14 +3443,6 @@
             deps.extend(self.trainerfrag.get_dependencies(recompute=recompute, global_dependencies=global_dependencies))
         self.dependencies = deps
         return deps
-
-from trainers import *
-
-# for fixing trainer_group_names
-import re
-
-trainer_group_pointer_table_address    = 0x39999
-trainer_group_pointer_table_address_gs = 0x3993E
 
 trainer_group_table = None
 class TrainerGroupTable: