AntiLag(Fast)

Perform event-pages-checks on map only once per frame if a command changing switches, variables, party, inventory or timers was executed in the previous frame. This is similar to how it's done in PF-version of Maniac Patch.

Can increase performance dramatically, but is absolutely incompatible to most already existing games.

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/3

Offsets

RPG2000
2000-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
00432CACh
000320ACh
00432C3Ch
0003203Ch
00432D38h
00032138h
00432D7Ch
0003217Ch
00432ED0h
000322D0h
004332E0h
000326E0h
004332E0h
000326E0h
RPG2003
1.001.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
00446C4Ch
0004604Ch
00446C2Ch
0004602Ch
00446D30h
00046130h
00446D30h
00046130h
00446D30h
00046130h

Sourcecode

PROC__00432CACh:
			RET
__00432CADh:
			CALL PROC__0045A8E4h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00432CC3h
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00432CC3h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00432CC8h:
			MOV EBP, [0049AC98h]
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00432CDCh
			RET
__00432CDCh:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [0049AC98h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00432CF0h
			RET
PROC__00432CF0h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045A8E4h
			JMP __0048C654h
PROC__00432C3Ch:
			RET
__00432C3Dh:
			CALL PROC__0045A7E4h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00432C53h
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00432C53h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00432C58h:
			MOV EBP, [0049AC98h]
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00432C6Ch
			RET
__00432C6Ch:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [0049AC98h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00432C80h
			RET
PROC__00432C80h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045A7E4h
			JMP __0048C564h
PROC__00432D38h:
			RET
__00432D39h:
			CALL PROC__0045F7E8h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00432D4Fh
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00432D4Fh:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00432D54h:
			MOV EBP, [0049FC78h]
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00432D68h
			RET
__00432D68h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [0049FC78h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00432D7Ch
			RET
PROC__00432D7Ch:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045F7E8h
			JMP __00491754h
PROC__00432D7Ch:
			RET
__00432D7Dh:
			CALL PROC__0045F904h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00432D93h
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00432D93h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00432D98h:
			MOV EBP, [0049FC78h]
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00432DACh
			RET
__00432DACh:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [0049FC78h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00432DC0h
			RET
PROC__00432DC0h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045F904h
			JMP __00491870h
PROC__00432ED0h:
			RET
__00432ED1h:
			CALL PROC__0045FA14h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00432EE7h
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00432EE7h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00432EECh:
			MOV EBP, [0049FC78h]
			MOV EAX, [0049FB8Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00432F00h
			RET
__00432F00h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [0049FC78h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00432F14h
			RET
PROC__00432F14h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045FA14h
			JMP __00488B0Ch
PROC__004332E0h:
			RET
__004332E1h:
			CALL PROC__0045FE24h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __004332F7h
			MOV EAX, [004A0B8Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__004332F7h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__004332FCh:
			MOV EBP, [004A0C78h]
			MOV EAX, [004A0B8Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00433310h
			RET
__00433310h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004A0C78h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00433324h
			RET
PROC__00433324h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0045FE24h
			JMP __004894DCh
PROC__004332E0h:
			RET
__004332E1h:
			CALL PROC__00460020h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __004332F7h
			MOV EAX, [004A0B8Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__004332F7h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__004332FCh:
			MOV EBP, [004A0C78h]
			MOV EAX, [004A0B8Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00433310h
			RET
__00433310h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004A0C78h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00433324h
			RET
PROC__00433324h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__00460020h
			JMP __00493194h
PROC__00446C4Ch:
			RET
__00446C4Dh:
			CALL PROC__004708FCh
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00446C63h
			MOV EAX, [004C2DACh]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00446C63h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00446C68h:
			MOV EBP, [004C2EACh]
			MOV EAX, [004C2DACh]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00446C7Ch
			RET
__00446C7Ch:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004C2EACh]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00446C90h
			RET
PROC__00446C90h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__004708FCh
			JMP __004B1F08h
PROC__00446C2Ch:
			RET
__00446C2Dh:
			CALL PROC__00470874h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00446C43h
			MOV EAX, [004C5A94h]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00446C43h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00446C48h:
			MOV EBP, [004C5B94h]
			MOV EAX, [004C5A94h]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00446C5Ch
			RET
__00446C5Ch:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004C5B94h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00446C70h
			RET
PROC__00446C70h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__00470874h
			JMP __004A5360h
PROC__00446D30h:
			RET
__00446D31h:
			CALL PROC__0047563Ch
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00446D47h
			MOV EAX, [004CCC7Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00446D47h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00446D4Ch:
			MOV EBP, [004CCD74h]
			MOV EAX, [004CCC7Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00446D60h
			RET
__00446D60h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004CCD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00446D74h
			RET
PROC__00446D74h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__0047563Ch
			JMP __004BB6F8h
PROC__00446D30h:
			RET
__00446D31h:
			CALL PROC__00475714h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00446D47h
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00446D47h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00446D4Ch:
			MOV EBP, [004CDD74h]
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00446D60h
			RET
__00446D60h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004CDD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00446D74h
			RET
PROC__00446D74h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__00475714h
			JMP __004AB8C0h
PROC__00446D30h:
			RET
__00446D31h:
			CALL PROC__00475714h
			XCHG EAX, EBX
			DEC EBX
			TEST EBX, EBX
			JL __00446D47h
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+05h], 1
__00446D47h:
			POP EDI
			POP ESI
			POP EBX
			RET
			NOP
PROC__00446D4Ch:
			MOV EBP, [004CDD74h]
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+05h], 1
			JE __00446D60h
			RET
__00446D60h:
			MOV BYTE PTR [EAX+05h], 0
			MOV EAX, [004CDD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__00446D74h
			RET
PROC__00446D74h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, EAX
			CALL PROC__00475714h
			JMP __004BD1C0h

Bytes

C3

E8327C0200
93 4B 85DB 7C0B
A1A4AB4900 8B00 C6400501 5F 5E 5B C3 90

8B2D98AC4900 A1A4AB4900 8B00 80780501 7401
C3

C6400500 A198AC4900 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8EA7B0200
E955990500
C3

E8A27B0200
93 4B 85DB 7C0B
A1A4AB4900 8B00 C6400501 5F 5E 5B C3 90

8B2D98AC4900 A1A4AB4900 8B00 80780501 7401
C3

C6400500 A198AC4900 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E85A7B0200
E9D5980500
C3

E8AACA0200
93 4B 85DB 7C0B
A18CFB4900 8B00 C6400501 5F 5E 5B C3 90

8B2D78FC4900 A18CFB4900 8B00 80780501 7401
C3

C6400500 A178FC4900 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E862CA0200
E9C9E90500
C3

E882CB0200
93 4B 85DB 7C0B
A18CFB4900 8B00 C6400501 5F 5E 5B C3 90

8B2D78FC4900 A18CFB4900 8B00 80780501 7401
C3

C6400500 A178FC4900 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E83ACB0200
E9A1EA0500
C3

E83ECB0200
93 4B 85DB 7C0B
A18CFB4900 8B00 C6400501 5F 5E 5B C3 90

8B2D78FC4900 A18CFB4900 8B00 80780501 7401
C3

C6400500 A178FC4900 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8F6CB0200
E9E95C0500
C3

E83ECB0200
93 4B 85DB 7C0B
A18C0B4A00 8B00 C6400501 5F 5E 5B C3 90

8B2D780C4A00 A18C0B4A00 8B00 80780501 7401
C3

C6400500 A1780C4A00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8F6CA0200
E9A9610500
C3

E83ACD0200
93 4B 85DB 7C0B
A18C0B4A00 8B00 C6400501 5F 5E 5B C3 90

8B2D780C4A00 A18C0B4A00 8B00 80780501 7401
C3

C6400500 A1780C4A00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8F2CC0200
E961FE0500
C3

E8AA9C0200
93 4B 85DB 7C0B
A1AC2D4C00 8B00 C6400501 5F 5E 5B C3 90

8B2DAC2E4C00 A1AC2D4C00 8B00 80780501 7401
C3

C6400500 A1AC2E4C00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8629C0200
E969B20600
C3

E8429C0200
93 4B 85DB 7C0B
A1945A4C00 8B00 C6400501 5F 5E 5B C3 90

8B2D945B4C00 A1945A4C00 8B00 80780501 7401
C3

C6400500 A1945B4C00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8FA9B0200
E9E1E60500
C3

E806E90200
93 4B 85DB 7C0B
A17CCC4C00 8B00 C6400501 5F 5E 5B C3 90

8B2D74CD4C00 A17CCC4C00 8B00 80780501 7401
C3

C6400500 A174CD4C00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E8BEE90200
E9754A0700
C3

E8DEE90200
93 4B 85DB 7C0B
A17CDC4C00 8B00 C6400501 5F 5E 5B C3 90

8B2D74DD4C00 A17CDC4C00 8B00 80780501 7401
C3

C6400500 A174DD4C00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E896E90200
E93D4B0600
C3

E8DEE90200
93 4B 85DB 7C0B
A17CDC4C00 8B00 C6400501 5F 5E 5B C3 90

8B2D74DD4C00 A17CDC4C00 8B00 80780501 7401
C3

C6400500 A174DD4C00 8B00 8B4018 E801000000
C3

53 56 57 8BF8 E896E90200
E93D640700

Segment 2/3

Offsets

RPG2000
2000-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
0047B73Ah
0007AB3Ah
0047B64Ah
0007AA4Ah
004805A2h
0007F9A2h
004806BEh
0007FABEh
0048146Ah
0008086Ah
00481E3Ah
0008123Ah
00481FBAh
000813BAh
RPG2003
1.001.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
0049ACE2h
0009A0E2h
0049D32Eh
0009C72Eh
004A1A12h
000A0E12h
004A35D6h
000A29D6h
004A290Ah
000A1D0Ah

Sourcecode

			NOP
			CALL PROC__00432CC8h
			NOP
			CALL PROC__00432C58h
			NOP
			CALL PROC__00432D54h
			NOP
			CALL PROC__00432D98h
			NOP
			CALL PROC__00432EECh
			NOP
			CALL PROC__004332FCh
			NOP
			CALL PROC__004332FCh
			NOP
			CALL PROC__00446C68h
			NOP
			CALL PROC__00446C48h
			NOP
			CALL PROC__00446D4Ch
			NOP
			CALL PROC__00446D4Ch
			NOP
			CALL PROC__00446D4Ch

Bytes

90 E88875FBFF
90 E87876FBFF
90 E8AC27FBFF
90 E8D426FBFF
90 E87C1AFBFF
90 E8BC14FBFF
90 E83C13FBFF
90 E880BFFAFF
90 E81499FAFF
90 E83453FAFF
90 E87037FAFF
90 E83C44FAFF

Segment 3/3

Offsets

RPG2000
2000-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
0048C64Fh
0008BA4Fh
0048C55Fh
0008B95Fh
0049174Fh
00090B4Fh
0049186Bh
00090C6Bh
00488B07h
00087F07h
004894D7h
000888D7h
0049318Fh
0009258Fh
RPG2003
1.001.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004B1F03h
000B1303h
004A535Bh
000A475Bh
004BB6F3h
000BAAF3h
004AB8BBh
000AACBBh
004BD1BBh
000BC5BBh

Sourcecode

			JMP __00432CADh
			JMP __00432C3Dh
			JMP __00432D39h
			JMP __00432D7Dh
			JMP __00432ED1h
			JMP __004332E1h
			JMP __004332E1h
			JMP __00446C4Dh
			JMP __00446C2Dh
			JMP __00446D31h
			JMP __00446D31h
			JMP __00446D31h

Bytes

E95966FAFF
E9D966FAFF
E9E515FAFF
E90D15FAFF
E9C5A3FAFF
E9059EFAFF
E94D01FAFF
E9454DF9FF
E9CD18FAFF
E939B6F8FF
E971B4F9FF
E9719BF8FF