Replaces the command-function of ATB in the engine's default menu with closing the menu and activating switch #1008.
Sourcecode shown here may not fully resemble the original release and is based on SROA.
Originally made and first released by bugmenot.
dd __SubProc__ATB ; 00499DC2h
dd __SubProc__ATB ; 0049C40Eh
dd __SubProc__ATB ; 004A0AF2h
dd __SubProc__ATB ; 004A26B6h
dd __SubProc__ATB ; 004A19EAh
C29D4900
0EC44900
F20A4A00
B6264A00
EA194A00
NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP __SubProc__ATB: MOV EDX, 1008 ; ATBSwitch MOV EAX, [004C2DACh] ; TLcfgSystem MOV EAX, [EAX] MOV CL, 1 ; Set ON CALL PROC__00485FFCh ; TLcfgSystem.SetSwitch MOV EAX, [004C2DACh] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__00486618h ; TLcfgSystem.SoundGetDecision MOV EDX, EAX MOV EAX, [004C2DACh] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__00486220h ; TLcfgSystem.SoundPlay JMP __00499E4Ch NOP NOP
NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP __SubProc__ATB: MOV EDX, 1008 ; ATBSwitch MOV EAX, [004C5A94h] ; TLcfgSystem MOV EAX, [EAX] MOV CL, 1 ; Set ON CALL PROC__00486308h ; TLcfgSystem.SetSwitch MOV EAX, [004C5A94h] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__00486924h ; TLcfgSystem.SoundGetDecision MOV EDX, EAX MOV EAX, [004C5A94h] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048652Ch ; TLcfgSystem.SoundPlay JMP __0049C498h NOP NOP
NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP __SubProc__ATB: MOV EDX, 1008 ; ATBSwitch MOV EAX, [004CCC7Ch] ; TLcfgSystem MOV EAX, [EAX] MOV CL, 1 ; Set ON CALL PROC__0048B16Ch ; TLcfgSystem.SetSwitch MOV EAX, [004CCC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B754h ; TLcfgSystem.SoundGetDecision MOV EDX, EAX MOV EAX, [004CCC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B368h ; TLcfgSystem.SoundPlay JMP __004A0B7Ch NOP NOP
NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP __SubProc__ATB: MOV EDX, 1008 ; ATBSwitch MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] MOV CL, 1 ; Set ON CALL PROC__0048B33Ch ; TLcfgSystem.SetSwitch MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B924h ; TLcfgSystem.SoundGetDecision MOV EDX, EAX MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B538h ; TLcfgSystem.SoundPlay JMP __004A2740h NOP NOP
NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP __SubProc__ATB: MOV EDX, 1008 ; ATBSwitch MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] MOV CL, 1 ; Set ON CALL PROC__0048B2F8h ; TLcfgSystem.SetSwitch MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B8E0h ; TLcfgSystem.SoundGetDecision MOV EDX, EAX MOV EAX, [004CDC7Ch] ; TLcfgSystem MOV EAX, [EAX] CALL PROC__0048B4F4h ; TLcfgSystem.SoundPlay JMP __004A1A74h NOP NOP
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 BAF0030000 A1AC2D4C00 8B00 B101 E827C2FEFF A1AC2D4C00 8B00 E837C8FEFF 8BD0 A1AC2D4C00 8B00 E831C4FEFF EB5B 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 BAF0030000 A1945A4C00 8B00 B101 E8E79FFEFF A1945A4C00 8B00 E8F7A5FEFF 8BD0 A1945A4C00 8B00 E8F1A1FEFF EB5B 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 BAF0030000 A17CCC4C00 8B00 B101 E867A6FEFF A17CCC4C00 8B00 E843ACFEFF 8BD0 A17CCC4C00 8B00 E849A8FEFF EB5B 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 BAF0030000 A17CDC4C00 8B00 B101 E8738CFEFF A17CDC4C00 8B00 E84F92FEFF 8BD0 A17CDC4C00 8B00 E8558EFEFF EB5B 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 BAF0030000 A17CDC4C00 8B00 B101 E8FB98FEFF A17CDC4C00 8B00 E8D79EFEFF 8BD0 A17CDC4C00 8B00 E8DD9AFEFF EB5B 90 90