TBBPatch

The modified RPG_RT.exe from a preview-demo that later evolved into Revolution Patch. TBB is short for TurnBasedBattle and it's what it says on the tin. In the sourcecode showcased here, a lot of things are named similar to how their purpose got described in RevPatch's patch.asm file.

Originally made and first released by Cherry.

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

Offsets

RPG2003
1.0.8.0
1.0.8.0
0045CE54h
0005C254h

Sourcecode

PROC__0045CE54h:
			PUSH EAX
			CALL PROC__004C069Ch
			TEST AL, AL
			POP EAX
			JZ __0045CE70h
			CMP DWORD PTR [EAX+14h], 0
			JE __0045CE70h
			MOV AL, 1
			RET
__0045CE70h:
			XOR EAX, EAX
			RET
PROC__0045CE73h:
			PUSH EAX
			CALL PROC__004C0688h
			TEST AL, AL
			POP EAX
			JZ __0045CE8Fh
			CMP DWORD PTR [EAX+14h], 0
			JE __0045CE8Fh
			MOV AL, 1
			RET
__0045CE8Fh:
			XOR EAX, EAX
			RET
PROC__0045CE92h:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDB74h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045CE9Eh:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004A6014h
			TEST EAX, EAX
			JZ __0045CEE2h
			PUSH EAX
			CALL PROC__0045CE54h
			TEST AL, AL
			POP EAX
			JZ __0045CED5h
			CMP DWORD PTR [EAX+44h], 00048058h
			JA __0045CEDBh
			CMP DWORD PTR [EAX+44h], 0000004Bh
			JB __0045CEDBh
__0045CED5h:
			INC ESI
			JMP __0045CE9Eh
__0045CEDBh:
			XOR EAX, EAX
			JMP __0045CEE7h
__0045CEE2h:
			MOV EAX, 1
__0045CEE7h:
			POP ESI
			POP EBX
			RET
PROC__0045CEEAh:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDE64h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045CEF6h:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004BE860h
			TEST EAX, EAX
			JZ __0045CF3Ah
			PUSH EAX
			CALL PROC__0045CE73h
			TEST AL, AL
			POP EAX
			JZ __0045CF2Dh
			CMP DWORD PTR [EAX+44h], 00048058h
			JA __0045CF33h
			CMP DWORD PTR [EAX+44h], 0000001Eh
			JB __0045CF33h
__0045CF2Dh:
			INC ESI
			JMP __0045CEF6h
__0045CF33h:
			XOR EAX, EAX
			JMP __0045CF3Fh
__0045CF3Ah:
			MOV EAX, 1
__0045CF3Fh:
			POP ESI
			POP EBX
			RET
PROC__0045CF42h:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDB74h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045CF4Eh:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004A6014h
			TEST EAX, EAX
			JZ __0045CF77h
			PUSH EAX
			CALL PROC__0045CE54h
			TEST AL, AL
			POP EAX
			JZ __0045CF77h
			MOV [EAX+44h], EDI
			INC ESI
			JMP __0045CF4Eh
__0045CF77h:
			POP ESI
			POP EBX
			RET
PROC__0045CF7Ah:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDE64h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045CF86h:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004BE860h
			TEST EAX, EAX
			JZ __0045CFBEh
			PUSH EAX
			CALL PROC__0045CE73h
			TEST AL, AL
			POP EAX
			JZ __0045CFB8h
			MOV [EAX+44h], EDI
			CMP EDI, 0
			JLE __0045CFB8h
			SUB EDI, 150
			INC ESI
			JMP __0045CF86h
__0045CFBEh:
			POP ESI
			POP EBX
			RET
PROC__0045CFC1h:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			PUSH EAX
			CALL PROC__0048B924h
			MOV EDX, EAX
			POP EAX
			CALL PROC__0048B538h
			POP ECX
			POP EDX
			POP EAX
			RET
PROC__0045CFDDh:
			CALL PROC__0045D0A9h
			CALL PROC__0045D0E5h
			CMP DWORD PTR [004CEFF4h], 0
			JNE __0045D025h
			PUSH EDI
			XOR EDI, EDI
			CALL PROC__0045CF7Ah
			POP EDI
			CALL PROC__0045CE92h
			TEST EAX, EAX
			JZ __0045D056h
			PUSH EDI
			MOV EDI, 000493E1h
			CALL PROC__0045CF7Ah
			POP EDI
			MOV DWORD PTR [004CEFF4h], 1
			JMP __0045D056h
__0045D025h:
			PUSH EDI
			XOR EDI, EDI
			CALL PROC__0045CF42h
			POP EDI
			CALL PROC__0045CEEAh
			TEST EAX, EAX
			JZ __0045D056h
			PUSH EDI
			MOV EDI, 000493E1h
			CALL PROC__0045CF42h
			POP EDI
			MOV DWORD PTR [004CEFF4h], 0
			CALL PROC__0045CFC1h
__0045D056h:
			RET
PROC__0045D057h:
			CALL PROC__004BE8E0h
			MOV EAX, [004CDD38h]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+16h], 0
			JE __0045D08Bh
			PUSH EDI
			MOV EDI, 000493E1h
			CALL PROC__0045CF42h
			XOR EDI, EDI
			CALL PROC__0045CF7Ah
			POP EDI
			MOV DWORD PTR [004CEFF4h], 0
			RET
__0045D08Bh:
			PUSH EDI
			MOV EDI, 000493C2h
			CALL PROC__0045CF7Ah
			XOR EDI, EDI
			CALL PROC__0045CF42h
			POP EDI
			MOV DWORD PTR [004CEFF4h], 1
			RET
PROC__0045D0A9h:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDB74h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045D0B5h:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004A6014h
			TEST EAX, EAX
			JZ __0045D0E2h
			PUSH EAX
			CALL PROC__0045CE54h
			TEST AL, AL
			POP EAX
			JNZ __0045D0DCh
			MOV DWORD PTR [EAX+44h], 0
__0045D0DCh:
			INC ESI
			JMP __0045D0B5h
			POP ESI
			POP EBX
			RET
__0045D0E5h:
			PUSH EBX
			PUSH ESI
			MOV EBX, [004CDE64h]
			MOV EBX, [EBX]
			XOR ESI, ESI
__0045D0F1h:
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__004BE860h
			TEST EAX, EAX
			JZ __0045D11Eh
			PUSH EAX
			CALL PROC__0045CE73h
			TEST AL, AL
			POP EAX
			JNZ __0045D118h
			MOV DWORD PTR [EAX+44h], 0
__0045D118h:
			INC ESI
			JMP __0045D0F1h
__0045D11Fh:
			POP ESI
			POP EBX
			RET
PROC__0045D121h:
			ADD ECX, [ESP+0Ch]
			ADD ECX, EBP
			ADD ECX, [EBX+18h]
			RET
PROC__0045D12Bh:
			ADD ECX, [ESP+08h]
			ADD ECX, EBP
			ADD ECX, [EBX+18h]
			RET
PROC__0045D135h:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			PUSH EAX
			CALL PROC__0048BC84h
			MOV EDX, EAX
			POP EAX
			CALL PROC__0048B538h
			POP ECX
			POP EDX
			POP EAX
			JMP __004C1178h
PROC__0045D155h:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			PUSH EAX
			CALL PROC__0048BAE4h
			MOV EDX, EAX
			POP EAX
			CALL PROC__0048B538h
			POP ECX
			POP EDX
			POP EAX
			JMP __004C1178h
PROC__0045D175h:
			PUSH EBX
			MOV EBX, EAX
			MOV EAX, [004CDD38h]
			MOV EAX, [EAX]
			PUSH EAX
__0045D180h:
			MOV EAX, [ESP]
			MOV BYTE PTR [EAX+10h], 0
			CALL PROC__00497244h
			MOV EAX, [ESP]
			MOV BYTE PTR [EAX+10h], 1
			DEC EBX
			TEST EBX, EBX
			JNZ __0045D180h
			POP EAX
			POP EBX
			RET
__0045D19Fh:
			MOV EDX, [004CDC7Ch]
			CMP AL, 2
			JNE __0045D1C0h
			PUSH EAX
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			CMP BYTE PTR [EAX+08h], 0
			POP EAX
			JNE __004C650Eh
__0045D1C0h:
			CMP AL, 6
			JE __004C650Eh
			JMP __004C650Ah
PROC__0045D1CDh:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			PUSH EBX
			MOV EBX, [004CDC7Ch]
			MOV EBX, [EBX]
			MOV EAX, EBX
			MOV EDX, 3360
			CALL PROC__0048B324h
			XOR AL, 1
			MOV ECX, EAX
			MOV EAX, EBX
			MOV EDX, 3360
			CALL PROC__0048B33Ch
			MOV EAX, [004CDD74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			CALL PROC__004AB8B4h
			MOV EAX, EBX
			MOV EDX, 3361
			CALL PROC__0048B324h
			TEST EAX, EAX
			JE __0045D224h
			POP EBX
			POP ECX
			POP EDX
			POP EAX
			RET
PROC__0045D229h:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EDX, 3360
			CALL PROC__0048B324h
			TEST AL, AL
			POP ECX
			POP EDX
			POP EAX
			RET
__0045D243h:
			MOV EDX, 3361
			MOV ECX, [004CEFF4h]
			RET
__0045D24Fh:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EDX, 3361
			CALL PROC__0048B398h
			AND EAX, 1
			CALL [CASE__0045D26Ah+EAX*4]
			POP ECX
			POP EDX
			POP EAX
			RET
CASE__0045D26Ah:
			dd PROC__0045D06Dh
			dd PROC__0045D08Bh
PROC__0045D272h:
			PUSH EAX
			MOV EDX, 3361
			CALL PROC__0048B398h
			TEST EAX, 80000000h
			JNZ __0045D2B4h
			MOV EDX, EAX
			MOV EAX, [004CDDC8h]
			MOV EAX, [EAX]
			CALL PROC__004B4870h
			MOV ECX, -1
			TEST EAX, EAX
			JZ __0045D2E3h
			XOR ECX, ECX
			CMP DWORD PTR [EAX+44h], 00048058h
			SETL CL
			JMP __0045D2E3h
__0045D2B4h:
			NOT EAX
			INC EAX
			MOV EDX, EAX
			MOV EAX, [004CDE64h]
			MOV EAX, [EAX]
			CALL PROC__004BE860h
			MOV ECX, -1
			TEST EAX, EAX
			JZ __0045D2E3h
			XOR ECX, ECX
			CMP DWORD PTR [EAX+44h], 00048058h
			SETL CL
			JMP __0045D2E3h
__0045D2E3h:
			MOV EDX, 3362
			POP EAX
			RET
__0045D2EAh:
			PUSH EAX
			PUSH EDX
			PUSH ECX
			MOV EDX, 3361
			CALL PROC__0048B398h
			TEST EAX, 80000000h
			JNE __0045D343h
			MOV EDX, EAX
			MOV EAX, [004CDDC8h]
			MOV EAX, [EAX]
			CALL PROC__004B4870h
			TEST EAX, EAX
			JZ __0045D386h
			MOV DWORD PTR [EAX+44h], 000493E1h
			PUSH EAX
			MOVE EAX, [ESP+0Ch]
			MOV EDX, 3362
			CALL PROC__0048B398h
			TEST EAX, EAX
			POP EAX
			JZ __0045D386h
			MOV DWORD PTR [EAX+44h], 0
			JMP __0045D386h
__0045D343h:
			NOT EAX
			MOV EDX, EAX
			MOV EAX, [004CDE64h]
			MOV EAX, [EAX]
			CALL PROC__004BE860h
			TEST EAX, EAX
			JZ __0045D386h
			MOV DWORD PTR [EAX+44h], 000493E1h
			PUSH EAX
			MOV EAX, [ESP+0Ch]
			MOV EDX, 3362
			CALL PROC__0048B398h
			TEST EAX, EAX
			POP EAX
			JZ __0045D386h
			MOV DWORD PTR [EAX+44h], 0
			JMP __0045D386h
__0045D386h:
			POP ECX
			POP EDX
			POP EAX
			RET
__0045D38Ah:
			PUSH EAX
			PUSH EBX
			MOV EDX, 3361
			CALL PROC__0048B398h
			ADD EAX, 3
			MOV EBX, [004CDD60h]
			MOV EBX, [EBX]
			MOV BYTE PTR [EBX+08h], AL
			POP EBX
			POP EAX
			RET
__0045D3A7h:
			PUSH EAX
			PUSH EBX
			MOV EDX, 3361
			CALL PROC__0048B398h
			AND EAX, 1
			MOV EBX, [004CDD60h]
			MOV EBX, [EBX]
			MOV BYTE PTR [EBX+10h], AL
			POP EBX
			POP EAX
			RET
__0045D3C4h:
			PUSH EAX
			PUSH EBX
			MOV EDX, 3361
			CALL PROC__0048B398h
			AND EAX, 1
			MOV EBX, [004CDD60h]
			MOV EBX, [EBX]
			MOV BYTE PTR [EBX+14h], AL
			POP EBX
			POP EAX
			RET
__0045D3E1h:
			PUSH EAX
			PUSH EBX
			MOV EDX, 3361
			CALL PROC__0048B398h
			MOV EDX, 3362
			XOR ECX, ECX
			LEA EBX, [EAX-01h]
			MOV EAX, [004CDB74h]
			MOV EAX, [EAX]
			CMP EBX, [EAX+04h]
			JGE __0045D40Eh
			MOV EAX, [EAX+08h]
			MOVZX ECX, [EAX+EBX*2]
__0045D40Eh:
			POP EBX
			POP EAX
			RET
__0045D411h:
			CMP EDX, 3360
			JNE __0045D42Eh
			DEC ECX
			CMP ECX, 8
			JAE __0045D42Eh
			CALL [CASE__0045D438h+ECX*4]
__0045D42Eh:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EDI, ECX
			JMP __0048B3B5h
CASE__0045D438h:
			dd __0045D243h
			dd __0045D24Fh
			dd __0045D272h
			dd __0045D2EAh
			dd __0045D38Ah
			dd __0045D3A7h
			dd __0045D3C4h
			dd __0045D3E1h

Bytes

50 E842380600
84C058 0F840D000000
83781400 0F8403000000
B001 C3

33C0 C3

50 E80F380600
84C0 58 0F840D000000
83781400 0F8403000000
B001 C3

33C0 C3

53 56 8B1D74DB4C00 8B1B 33F6 8BC3 8BD6 E86D910400
85C0 0F8433000000
50 E89FFFFFFF
84C0 58 0F8417000000
81784458800400 0F8710000000 8378444B 0F8206000000
46 E9C3FFFFFF
33C0 E905000000
B801000000 5E 5B C3

53 56 8B1D64DE4C00 8B1B 33F6 8BC3 8BD6 E861190600
85C0 0F8433000000
50 E866FFFFFF
84C0 58 0F8417000000
81784458800400 0F8710000000
8378441E 0F8206000000
46 E9C3FFFFFF
33C0 E905000000
B801000000 5E 5B C3

53 56 8B1D74DB4C00 8B1B 33F6 8BC3 8BD6 E8BD900400
85C0 0F8418000000
50 E8EFFEFFFF
84C0 58 0F8403000000
897844 46 E9D7FFFFFF
5E 5B C3

53 56 8B1D64DE4C00 8B1B 33F6 8BC3 8BD6 E8D1180600
85C0 0F8427000000
50 E8D6FEFFFF
84C0 58 0F8412000000
897844 83FF00 0F8E06000000
81EF96000000 46 E9C8FFFFFF
5E 5B C3

50 52 51 A17CDC4C00 8B00 50 E853E90200
8BD0 58 E85FE50200
59 5A 58 C3

E8C7000000
E8FE000000
833DF4EF4C0000 0F8531000000
57 33FF E87EFFFFFF
5F E890FEFFFF
85C0 0F844C000000
57 BFE1930400
E865FFFFFF
5F C705F4EF4C0001000000 E931000000
57 33FF E815FFFFFF
5F E8B7FEFFFF
85C0 0F841B000000
57 BFE1930400 E8FCFEFFFF
5F C705F4EF4C0000000000 E86BFFFFFF
C3

E884180600
A138DD4C00 8B00 80781600 0F841E000000
57 BFE1930400 E8CAFEFFFF
33FF E8FBFEFFFF
5F C705F4EF4C0000000000 C3

57 BFC2930400 E8E4FEFFFF
33FF E8A5FEFFFF
5F C705F4EF4C0001000000 C3

53 56 8B1D74DB4C00 8B1B 33F6 8BC3 8BD6 E8568F0400
85C0 0F841C000000
50 E888FDFFFF
84C0 58 0F8507000000
C7404400000000
46 E9D3FFFFFF
5E 5B C3

53 56 8B1D64DE4C00 8B1B 33F6 8BC3 8BD6 E866170600
85C0 0F841C000000
50 E86BFDFFFF
84C0 58 0F8507000000
C7404400000000 46 E9D3FFFFFF
5E 5B C3

034C240C 03CD 034B18 C3

034C2408 03CD 034B18 C3

50 52 51 A17CDC4C00 8B00 50 E83FEB0200
8BD0 58 E8EBE30200
59 5A 58 E923400600
50 52 51 A17CDC4C00 8B00 50 E87FE90200
8BD0 58 E8CBE30200
59 5A 58 E903400600

53 8BD8 A138DD4C00 8B00 50 8B0424 C6401000 E8B8A00300
8B0424 C6401001 4B 85DB 0F85E4FFFFFF
58 5B C3

8B157CDC4C00 3C02 0F8513000000
50 A160DD4C00 8B00 80780800 58 0F854E930600
3C06 0F8446930600
E93D930600
50 52 51 53 8B1D7CDC4C00 8B1B 8BC3 BA200D0000 E83FE10200
3401 8BC8 8BC3 BA200D0000 E847E10200
A174DD4C00 8B00 8B4018 E8B0E60400
8BC3 BA210D0000 E814E10200
85C0 0F840C000000
A160DC4C00 8B00 E8303E0400
5B 59 5A 58 C3

50 52 51 A17CDC4C00 8B00 BA200D0000 E8E7E00200
84C0 59 5A 58 C3

BA210D0000 8B0DF4EF4C00 C3

50 52 51 BA210D0000 E83CE10200
83E001 FF14856AD24500
59 5A 58 C3

6DD04500 8BD04500

50 BA210D0000 E81BE10200
A900000080 0F852C000000
8BD0 A1C8DD4C00 8B00 E8DA750500
B9FFFFFFFF 85C0 0F8440000000
33C9 81784458800400 0F9CC1 E92F000000
F7D0 40 8BD0 A164DE4C00 8B00 E89B150600
B9FFFFFFFF 85C0 0F8411000000 33C9 81784458800400 0F9CC1 E900000000
BA220D0000 58 C3

50 52 51 BA210D0000 E8A1E00200
A900000080 0F8541000000
8BD0 A1C8DD4C00 8B00 E860750500
85C0 0F846E000000
C74044E1930400 50 8B44240C BA220D0000 E86AE00200
85C0 58 0F844F000000
C7404400000000 E943000000
F7D0 8BD0 A164DE4C00 8B00 E80D150600
85C0 0F842B000000
C74044E1930400 50 8B44240C BA220D0000 E827E00200
85C0 58 0F840C000000
C7404400000000 E900000000
59 5A 58 C3

50 53 BA210D0000 E802E00200
83E003 8B1D60DD4C00 8B1B 884308 5B 58 C3

50 53 BA210D0000 E8E5DF0200
83E001 8B1D60DD4C00 8B1B 884310 5B 58 C3

50 53 BA210D0000 E8C8DF0200
83E001 8B1D60DD4C00 8B1B 884314 5B 58 C3

50 53 BA210D0000 E8ABDF0200
BA210D0000 33C9 8D58FF A174DB4C00 8B00 3B5804 0F8D07000000
8B4008 0FB70C 58 5B 58 C3

81FA200D0000 0F8511000000
49 83F908 0F8307000000 FF148D38D44500
53 56 57 8BF9 E97DDF0200

43D24500 4FD24500 72D24500 EAD24500 8AD34500 A7D34500 C4D34500 E1D34500

Segment 2/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0048B3B0h
0008A7B0h

Sourcecode

			JMP __0049B3B0h				; RevP.SetVarCommand

Bytes

E95C20FDFF

Segment 3/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495022h
00094422h

Sourcecode

			JMP __0049504Bh				; Enable escape command

Bytes

EB27

Segment 4/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004950D7h
000944D7h

Sourcecode

			PUSH 76					; Actor-command-window has 4 lines again
			PUSH 0
			LEA ECX, [EDI+04h]

Bytes

6A4C 6A00 8D4F04

Segment 5/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495581h
00094981h

Sourcecode

			JMP __004955C2h				; Show MaxHP in battle-layout #1

Bytes

EB3F

Segment 6/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049591Eh
00094D1Eh

Sourcecode

			CALL PROC__0045CFDDh			; RevP.CheckTurns
			MOV EAX, 1
			7 NOPs

Bytes

E8BA76FCFF
B801000000 90 90 90 90 90 90 90

Segment 7/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495C6Bh
0009506Bh

Sourcecode

			CALL PROC__0045CFDDh			; RevP.CheckTurns
			MOV EBP, 1
			9 NOPs

Bytes

E86D73FCFF
BD01000000 90 90 90 90 90 90 90 90 90

Segment 8/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496959h
00095D59h

Sourcecode

			JMP __0049699Ch				; Hide ATB in transparent battle-layout #2

Bytes

EB41

Segment 9/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496A0Ah
00095E0Ah

Sourcecode

			JB __00496A5Bh				; Hide ATB in battle-layout #1
			JE __00496A5Bh				; Hide ATB in battle-layout #2

Bytes

724F
744D

Segment 10/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496B07h
00095F07h

Sourcecode

			CALL PROC__0045D121h			; RevP.AdjustMPBar1

Bytes

E81566FCFF

Segment 11/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496B3Ah
00095F3Ah

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E8EC65FCFF

Segment 12/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496B6Dh
00095F6Dh

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E8B965FCFF

Segment 13/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496B9Dh
00095F9Dh

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E88965FCFF

Segment 14/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496BC8h
00095FC8h

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E85E65FCFF

Segment 15/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496C01h
00096001h

Sourcecode

			CALL PROC__0045D121h			; RevP.AdjustMPBar1

Bytes

E81B65FCFF

Segment 16/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496C47h
00096047h

Sourcecode

			CALL PROC__0045D121h			; RevP.AdjustMPBar1

Bytes

E8D564FCFF

Segment 17/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496C7Ah
0009607Ah

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E8AC64FCFF

Segment 18/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496CACh
000960ACh

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E87A64FCFF

Segment 19/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496CD9h
000960D9h

Sourcecode

			CALL PROC__0045D12Bh			; RevP.AdjustMPBar2

Bytes

E84D64FCFF

Segment 20/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496CEDh
000960EDh

Sourcecode

			JMP __00496D32h				; Hide ATB in battle-layout #3

Bytes

EB43

Segment 21/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497136h
00096536h

Sourcecode

			4 NOPs					; Allow transparent window in battle-layout #1

Bytes

90 90 90 90

Segment 22/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004977DBh
00096BDBh

Sourcecode

			CALL PROC__0045D057h			; RevP.InitBattleTurns

Bytes

E87758FCFF

Segment 23/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
00499F44h
00099344h

Sourcecode

			2 NOPs					; Enable escape command

Bytes

90 90

Segment 24/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A2C0h
000996C0h

Sourcecode

			PUSH 32					; Increase enemy flashing intensity
			PUSH 112

Bytes

6A20 6A70

Segment 25/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A2D0h
000996D0h

Sourcecode

			CALL PROC__0045D135h			; RevP.PlayEnemyAttackSound

Bytes

E8602EFCFF

Segment 26/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A377h
00099777h

Sourcecode

			PUSH 0					; Flash black when no action
			PUSH 32
			PUSH 112
			MOV ECX, 0
			MOV EDX, 0
			MOV EAX, EBX
			CALL PROC__0045D155h			; RevP.PlayBuzzer

Bytes

6A00 6A20 6A70 B900000000 BA00000000 8BC3 E8C72DFCFF

Segment 27/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A79Ch
00099B9Ch

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 28/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A7FCh
00099BFCh

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 29/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A87Ch
00099C7Ch

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 30/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A8CAh
00099CCAh

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 31/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A91Ch
00099D1Ch

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 32/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049A970h
00099D70h

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 33/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049B9F7h
0009ADF7h

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 34/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049CCC2h
0009C0C2h

Sourcecode

			MOV ECX, 90
			MOV EDX, 15

Bytes

B95A000000 BA0F000000

Segment 35/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004A0EFAh
000A02FAh

Sourcecode

			CALL PROC__0045D229h			; RevP.OnSwitchMenuItemClick
			2 NOPs

Bytes

E82AC3FBFF
90 90

Segment 36/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004A26BBh
000A1ABBh

Sourcecode

			CALL PROC__0045D1CDh			; Rev.CheckSwitchMenuItem
			JMP __004A26D8h

Bytes

E80DABFBFF
EB16

Segment 37/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004BE896h
000BDC96h

Sourcecode

			JMP __004BE8B9h

Bytes

EB21

Segment 38/38

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C6500h
000C5900h

Sourcecode

			JMP __0045D19Fh				; Rev.TransparentWindowInTitle

Bytes

E99A6CF9FF