supSMS-GeckoCode/InstantLevelSelectExtra/make.py

14 lines
348 B
Python
Raw Normal View History

2024-02-09 16:12:17 +09:00
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_as_input=[
'.set $LevelSelect.area, 0x817F0028',
'.set $LevelSelect.epFlag, 0x817F002A',
'.set $LevelSelect.AreaLock, 0x817F002B',
]);
make_xml(main)