diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-01-19 15:06:44 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-01-19 15:06:44 -0600 |
commit | 24eac9ae3fdc78810f3ed0c327f4550a47e27d2e (patch) | |
tree | 2e42fc5f53dd118dff29ffcc1300c85b2911eade /extras/print_pc_items.py | |
parent | 2b1a6f582221a38d97ca478c2c037f0a5c2f11e9 (diff) |
simple tool to dump pc item constants
hg-commit-id: 749bc5943ca9
Diffstat (limited to 'extras/print_pc_items.py')
-rw-r--r-- | extras/print_pc_items.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/print_pc_items.py b/extras/print_pc_items.py new file mode 100644 index 00000000..0fedbedd --- /dev/null +++ b/extras/print_pc_items.py @@ -0,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()) + |