shithub: pokered

Download patch

ref: 24eac9ae3fdc78810f3ed0c327f4550a47e27d2e
parent: 2b1a6f582221a38d97ca478c2c037f0a5c2f11e9
author: Bryan Bishop <kanzure@gmail.com>
date: Thu Jan 19 10:06:44 EST 2012

simple tool to dump pc item constants

hg-commit-id: 749bc5943ca9


--- /dev/null
+++ b/extras/print_pc_items.py
@@ -1,0 +1,9 @@
+#!/usr/bin/python
+#author: Bryan Bishop <kanzure@gmail.com>
+#date: 2012-01-19
+#spit out some constants
+
+for x in range(1, 51):
+    print "BOXITEM%.2d     EQU $%s" % (x, ("%.2x" % (0xd539+(x*2))).upper())
+    print "BOXCOUNT%.2d    EQU $%s" % (x, ("%.2x" % (0xd539+(x*2)+1)).upper())
+