Conflicts:
	main.asm
This commit is contained in:
IIMarckus 2013-05-13 01:07:13 -06:00
commit 7d458509d3
4 changed files with 400 additions and 293 deletions

8
extras/generate_sys.py Normal file
View file

@ -0,0 +1,8 @@
import json
import analyze_incbins
analyze_incbins.scan_for_predefined_labels()
with open('../pokered.sym', 'w') as sym:
for label in json.load(open('labels.json')):
sym.write('{0:x}:{1} {2}\n'.format(label['bank_id'], label['local_pointer'][1:], label['label']))