ref: e222c8f30facc8ec5904a79e8438f293427fe556
dir: /extras/print_pc_items.py/
#!/usr/bin/python #author: Bryan Bishop <[email protected]> #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())