mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-03-21 17:24:42 -05:00
9 lines
278 B
Python
9 lines
278 B
Python
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']))
|