supSMS-GeckoCode/QFSGT/make.py

22 lines
890 B
Python
Raw Normal View History

2024-02-24 04:51:15 +09:00
from supSMSGecko import make_xml, symbols
def main(g, ver):
S = symbols[ver]
g.C2(S['TMarDirector_direct'] + 0x88, 'src/onAreaInit.s')
g.C2(S['TMarDirector_delete_0'], 'src/onAreaDeinit.s')
g.C2(S['TMarDirector_fireGetStar'] + (0x48 if ver in ['GMSJ01', 'GMSE01'] else 0x84), 'src/onShineGet.s')
g.C2(S['TBathtub_startDemo'] + (0x21c if ver in ['GMSJ01', 'GMSJ0A'] else 0x21c), 'src/onBrowserFightDone.s')
g.C2(S['TCardLoad_changeScene'] + {
'GMSJ01': 0x1278,
'GMSE01': 0x1384,
'GMSP01': 0x13b0,
'GMSJ0A': 0x13b0,
}[ver], 'src/onFileStart.s')
g.C2(S['TMarDirector_nextStateInitialize'] + (0x56c if ver == 'GMSJ01' else 0x5bc), 'src/onMiss.s')
g.C2(S['TMarDirector_changeState'] + 0x328, 'src/onExitArea.s')
g.C2(S['TMarDirector_setNextStage'] + 0x50, 'src/onLoadingZone.s')
g.C2(S['TGCConsole2_drawWater'] - 0x28c, 'src/showTimer.s')
make_xml(main)