mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
simple tool to dump pc item constants
hg-commit-id: 749bc5943ca9
This commit is contained in:
parent
2b1a6f5822
commit
24eac9ae3f
9
extras/print_pc_items.py
Normal file
9
extras/print_pc_items.py
Normal file
|
@ -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())
|
||||
|
Loading…
Reference in a new issue