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)