shithub: pokered

Download patch

ref: ed39e6aa81dc3eba6dded341b5a83f33e7e4ab59
parent: d2f4073eb9b8a39c2356be0de10867aabe95dd3a
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 24 10:37:31 EST 2012

trainer headers are 12 bytes

hg-commit-id: bac5f2cf5ed3


--- a/extras/pretty_trainer_headers.py
+++ b/extras/pretty_trainer_headers.py
@@ -91,9 +91,9 @@
         label = "$" + hex(partial_pointer)[2:]
         #sys.exit(0)
 
-    #output += spacing + "dw " + label + " ; " + hex(partial_pointer) + " TextEndBattle\n"
+    output += spacing + "dw " + label + " ; " + hex(partial_pointer) + " TextEndBattle\n"
 
-    output += "; " + hex(address+10) + "\n"
+    output += "; " + hex(address+12) + "\n"
 
     return output