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 | |
| parent | player id, money, and coins (diff) | |
| download | pokeyellow-24eac9ae3fdc78810f3ed0c327f4550a47e27d2e.tar.gz pokeyellow-24eac9ae3fdc78810f3ed0c327f4550a47e27d2e.tar.xz pokeyellow-24eac9ae3fdc78810f3ed0c327f4550a47e27d2e.zip | |
simple tool to dump pc item constants
hg-commit-id: 749bc5943ca9
Diffstat (limited to 'extras')
| -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()) + |
