aboutsummaryrefslogtreecommitdiffstats
path: root/extras/print_pc_items.py
diff options
context:
space:
mode:
authorKuroiIeWa5Da < tyuki@adu.me >2012-01-19 15:43:01 -0600
committerKuroiIeWa5Da < tyuki@adu.me >2012-01-19 15:43:01 -0600
commitda7fd359ebe20e37b3b566c056a7228e8e71d6ca (patch)
tree102c8351b7fcd0836b08de17996413d6284b22be /extras/print_pc_items.py
parentAdded the 2 extra extracted music files to the repository (diff)
parentMerge in Sanky/pokered (W_PARTYMON stuff) (diff)
downloadpokeyellow-da7fd359ebe20e37b3b566c056a7228e8e71d6ca.tar.gz
pokeyellow-da7fd359ebe20e37b3b566c056a7228e8e71d6ca.tar.xz
pokeyellow-da7fd359ebe20e37b3b566c056a7228e8e71d6ca.zip
kanzure Merge
hg-commit-id: 21fa90b84836
Diffstat (limited to 'extras/print_pc_items.py')
-rw-r--r--extras/print_pc_items.py9
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())
+