supSMS-GeckoCode/InstantLevelSelectExtra/make.py

13 lines
339 B
Python

from supSMSGecko import make_xml, symbols
def main(g, ver):
S = symbols[ver]
# Instant Level Select main function
g.C2(0x220 + S['TApplication_gameLoop'], 'src/main.s', extra_ld_input=[
'$LevelSelect.area = 0x817F0028;',
'$LevelSelect.epFlag = 0x817F002A;',
'$LevelSelect.AreaLock = 0x817F002B;',
]);
make_xml(main)