AntiLagSwitch [+]

While Switch #1000 is ON, event-pages-checks on the current map will not be called after receiving key-inputs or operating with switches, variables, items, party-actors or timers.

Originally made and first released by bugmenot.

RPG2000
1.00UNKNOWN2000-05-072000-06-192000-07-112000-11-132000-11-152000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
RPG2003
1.00UNKNOWN1UNKNOWN21.0.2.1
1.0.2.1
1.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.6.0
1.0.6.0
1.0.7.0
1.0.7.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
1.101.111.12mp210414

Segment 1/6

Offsets

RPG2000
2000-12-27
1.07
00486060h
00085460h
RPG2003
1.0.8.0
1.0.8.0
004ACA40h
000ABE40h

Sourcecode

PROC__00486060h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, ECX
			XOR EDX, EDX
			MOV EAX, EDI
			CALL PROC__0045E524h
			CMP EAX, 2
			JNZ __0048608Fh
			XOR EDX, EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0045E524h
			MOV EDX, EAX
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			CALL PROC__00469EE0h
			MOV EBX, EAX
			JMP __0048609Bh
__0048608Fh:
			XOR EDX, EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0045E524h
			MOV EBX, EAX
__0048609Bh:
			XOR EDX, EDX
			MOV EAX, EDI
			CALL PROC__0045E524h
			DEC EAX
			JNZ __004860B4h
			XOR EDX, EDX
			INC EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0045E524h
			JMP __004860B6h
__004860B4h:
			MOV EAX, EBX
__004860B6h:
			MOV ESI, EBX
			MOV EBX, EAX
			SUB EBX, ESI
			JGE __04860C2h
			MOV ESI, EAX
			NEG EBX
__004860C2h:
			INC EBX
__004860C3h:
			MOV EDX, 3
			MOV EAX, EDI
			CALL PROC__0045E524h
			SUB EAX, 1
			JC __004860D8h
			JZ __004860EAh
			JMP __004860FDh
__004860D8h:
			MOV CL, 1
__004860DAh:
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV EDX, ESI
			CALL PROC__00469E84h
			JMP __00486109h
__004860EAh:
			XOR ECX, ECX
			JMP __004860DAh
PROC__004860EEh:
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV EDX, ESI
			CALL PROC__00469E6Ch
			RET
PROC__004860FDh:
			CALL PROC__004860EEh
			MOV ECX, EAX
			XOR CL, 1
			JMP __004860DAh
__00486109h:
			INC ESI
			DEC EBX
			JNZ __004860C3h
			MOV EAX, [0049AC98h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__0048C648h
			POP EDI
			POP ESI
			POP EBX
			RET
PROC__00486120h:
			XCHG EAX, EBX
			DEC EBX
			MOV AL, [0049ABA9h]
			TEST AL, AL
			JZ __00486130h
			PUSH -1
			POP EBX
			JMP __00486136h
__00486130h:
			INC EAX
			MOV [0049ABA9h], AL
__00486136h:
			NOP
			RET
PROC__004ACA40h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, ECX
			XOR EDX, EDX
			MOV EAX, EDI
			CALL PROC__0047967Ch
			CMP EAX, 2
			JNZ __004ACA6Fh
			XOR EDX, EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0047967Ch
			MOV EDX, EAX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			CALL PROC__0048B398h
			MOV EBX, EAX
			JMP __004ACA7Bh
__004ACA6Fh:
			XOR EDX, EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0047967Ch
			MOV EBX, EAX
__004ACA7Bh:
			XOR EDX, EDX
			MOV EAX, EDI
			CALL PROC__0047967Ch
			DEC EAX
			JNZ __004ACA94h
			XOR EDX, EDX
			INC EDX
			INC EDX
			MOV EAX, EDI
			CALL PROC__0047967Ch
			JMP __004ACA96h
__004ACA94h:
			MOV EAX, EBX
__004ACA96h:
			MOV ESI, EBX
			MOV EBX, EAX
			SUB EBX, ESI
			JGE __04ACAA2h
			MOV ESI, EAX
			NEG EBX
__004ACAA2h:
			INC EBX
__004ACAA3h:
			MOV EDX, 3
			MOV EAX, EDI
			CALL PROC__0047967Ch
			SUB EAX, 1
			JC __004ACAB8h
			JZ __004ACACAh
			JMP __004ACADDh
__004ACAB8h:
			MOV CL, 1
__004ACABAh:
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EDX, ESI
			CALL PROC__0048B33Ch
			JMP __004ACAE9h
__004ACACAh:
			XOR ECX, ECX
			JMP __004ACABAh
PROC__004ACACEh:
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EDX, ESI
			CALL PROC__0048B324h
			RET
PROC__004ACADDh:
			CALL PROC__004ACACEh
			MOV ECX, EAX
			XOR CL, 1
			JMP __004ACABAh
__004ACAE9h:
			INC ESI
			DEC EBX
			JNZ __004ACAA3h
			MOV EAX, [004CDD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__004AB8B4h
			POP EDI
			POP ESI
			POP EBX
			RET
PROC__004ACB00h:
			XCHG EAX, EBX
			DEC EBX
			MOV AL, [004CDC81h]
			TEST AL, AL
			JZ __004ACB10h
			PUSH -1
			POP EBX
			JMP __004ACB16h
__004ACB10h:
			INC EAX
			MOV [004CDC81h], AL
__004ACB16h:
			NOP
			RET

Bytes

53 56 57 8BF9 33D2 8BC7 E8B684FDFF
83F802 751C
31D2 42 8BC7 E8A784FDFF
8BD0 A1A4AB4900 8B00 E8553EFEFF
8BD8 EB0C
31D2 42 8BC7 E88B84FDFF
8BD8 33D2 8BC7 E88084FDFF
48 750D
31D2 42 42 8BC7 E87284FDFF
EB02
8BC3 8BF3 8BD8 2BDE 7D04
89C6 F7DB 43 BA03000000 8BC7 E85584FDFF
83E801 7204
7414
EB25
B101 A1A4AB4900 8B00 8BD6 E89C3DFEFF
EB1F
33C9 EBEC
A1A4AB4900 8B00 8BD6 E8703DFEFF
C3

E8ECFFFFFF
8BC8 80F101 EBD1
46 4B 75B6
A198AC4900 8B00 8B4018 E82C650000
5F 5E 5B C3

93 4B A0A9AB4900 84C0 7405
6AFF 5B EB06
40 A2A9AB4900 90 C3
53 56 57 8BF9 33D2 8BC7 E82ECCFCFF
83F802 751C
31D2 42 8BC7 E81FCCFCFF
8BD0 A17CDC4C00 8B00 E82DE9FDFF
8BD8 EB0C
31D2 42 8BC7 E803CCFCFF
8BD8 33D2 8BC7 E8F8CBFCFF
48 750D
31D2 42 42 8BC7 E8EACBFCFF
EB02
8BC3 8BF3 8BD8 2BDE 7D04
89C6 F7DB 43 BA03000000 8BC7 E8CDCBFCFF
83E801 7204
7414
EB25
B101 A17CDC4C00 8B00 8BD6 E874E8FDFF
EB1F
33C9 EBEC
A17CDC4C00 8B00 8BD6 E848E8FDFF
C3

E8ECFFFFFF
8BC8 80F101 EBD1
46 4B 75B6
A174DD4C00 8B00 8B4018 E8B8EDFFFF
5F 5E 5B C3

93 4B A081DC4C00 84C0 7405
6AFF 5B EB06
40 A281DC4C00 90 C3

Segment 2/6

Offsets

RPG2000
2000-12-27
1.07
004869DBh
00085DDBh
RPG2003
1.0.8.0
1.0.8.0
004AD3CEh
000AC7CEh

Sourcecode

__004869DBh:
			MOV EAX, [0049AC98h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
__004AD3CEh:
			MOV EAX, [004CDD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]

Bytes

A198AC4900 8B00 8B4018
A174DD4C00 8B00 8B4018

Segment 3/6

Offsets

RPG2000
2000-12-27
1.07
0048C64Dh
0008BA4Dh
RPG2003
1.0.8.0
1.0.8.0
004AB8B9h
000AACB9h

Sourcecode

			CALL PROC__0045A8E4h
			CALL PROC__00486120h
			CALL PROC__00475714h
			CALL PROC__004ACB00h

Bytes

E892E2FCFF
E8C99AFFFF
E8569EFCFF
E83D120000

Segment 4/6

Offsets

RPG2000
2000-12-27
1.07
004971DFh
000965DFh
RPG2003
1.0.8.0
1.0.8.0
004903ABh
0008F7ABh

Sourcecode

			JMP __0049725Dh
			JMP __00490429h

Bytes

EB7C
EB7C

Segment 5/6

Offsets

RPG2000
2000-12-27
1.07
00497239h
00096639h
RPG2003
1.0.8.0
1.0.8.0
00490405h
0008F805h

Sourcecode

			dd CASE__0049726Bh
			dd CASE__00497272h
			dd CASE__00490437h
			dd CASE__0049043Eh

Bytes

6B724900 72724900
37044900 3E044900

Segment 6/6

Offsets

RPG2000
2000-12-27
1.07
0049725Dh
0009665Dh
RPG2003
1.0.8.0
1.0.8.0
00490429h
0008F829h

Sourcecode

			XOR EAX, EAX
			MOV [0049AB49h], AL
			MOV EAX, [ESI]
			JMP __004971E1h
CASE__0049726Bh:
			MOV EAX, [0049AB50h]
			JMP __0049727Eh
CASE__00497272h:
			MOV EAX, [0049AB88h]
			JMP __0049727Eh
			XOR EAX, EAX
			MOV [004CDC81h], AL
			MOV EAX, [ESI]
			JMP __004903ADh
CASE__00490437h:
			MOV EAX, [004CDC1Ch]
			JMP __0049044Ah
CASE__0049043Eh:
			MOV EAX, [004CDC60h]
			JMP __0049044Ah

Bytes

31C0 A2A9AB4900 8B06 E976FFFFFF
A150AB4900 EB0C
A188AB4900 EB05
31C0 A281DC4C00 8B06 E976FFFFFF
A11CDC4C00 EB0C
A160DC4C00 EB05