shithub: pokecrystal

Download patch

ref: 57d11561b0bb0c5e2233a2a2eb86d481e98b0cc3
parent: fa63fe8ab211035395690fd7cdcc5f901f082568
author: Bryan Bishop <[email protected]>
date: Fri May 4 22:48:44 EDT 2012

looks like text commands might mess up the preprocessor?

--- a/preprocessor.py
+++ b/preprocessor.py
@@ -12,7 +12,8 @@
                     PointerLabelBeforeBank, \
                     PointerLabelAfterBank, \
                     MoneyByteParam, \
-                    ItemFragment
+                    ItemFragment, \
+                    text_command_classes
 
 macros = command_classes + \
     [
@@ -22,7 +23,7 @@
     PeopleEvent,
     DataByteWordMacro,
     ItemFragment,
-    ]
+    ] #+ [x[1] for x in text_command_classes]
 
 chars = {
 "ガ": 0x05,