TopAlt

Replaces the second battle-layout you can choose in the database with a variant of the first layout that features a vertically inverted interface. This was made to operate in combination with a DynRPG-plugin that can swap the battle-layout mid-game.

Originally made and first released by bugmenot.

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

Offsets

RPG2003
1.0.8.0
1.0.8.0
004950C2h
000944C2h

Sourcecode

			JNE __004950D3h

Bytes

750F

Segment 2/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004950CCh
000944CCh

Sourcecode

			CALL PROC__00495166h
			JMP __004950E1h
__004950D3h:
			PUSH 76
			PUSH 68
			PUSH 0
			LEA ECX, [EDI+0Ch]
			CALL PROC__00495166h
__004950E1h:
			NOP
			JMP __0049516Fh

Bytes

E895000000
EB0E
6A4C 6A44 6A00 8D4F0C E885000000
90 E988000000

Segment 3/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495164h
00094564h

Sourcecode

			JMP __0049518Bh
PROC__00495166h:
			CMP DWORD PTR [EDX+08h], 1
			JNE __0049516Eh
			XOR ECX, ECX
__0049516Eh:
			RET
__0049516Fh:
			MOV EDX, EBX
			CALL PROC__004C63DCh
			XOR EBX, EBX
			JMP __004950E7h
PROC__0049517Dh:
			MOV EDX, [004CDD60h]
			MOV EDX, [EDX]
			NOP
			JMP __00498A84h

Bytes

EB25
837A0801 7502
31C9 C3

8BD3 E866120300
33DB E96AFFFFFF
8B1560DD4C00 8B12 90 E9F9380000

Segment 4/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049530Fh
0009470Fh

Sourcecode

			NOP
			CALL PROC__00496AAAh

Bytes

90 E895170000

Segment 5/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495337h
00094737h

Sourcecode

			CMP DWORD PTR [EDX+08h], 2
			JE __0049535Ah

Bytes

837A0802 741D

Segment 6/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495349h
00094749h

Sourcecode

			NOP
			CALL PROC__0049517Dh

Bytes

90 E82EFEFFFF

Segment 7/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049557Dh
0009497Dh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __004955C2h

Bytes

83780802 743F

Segment 8/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495725h
00094B25h

Sourcecode

			CALL PROC__00497FEDh

Bytes

E8C3280000

Segment 9/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495737h
00094B37h

Sourcecode

			CMP DWORD PTR [ECX+08h], 2
			JE __00495747h

Bytes

83790802 740A

Segment 10/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495A4Eh
00094E4Eh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JNE __00495AB5h

Bytes

83780802 7561

Segment 11/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495AE6h
00094EE6h

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 12/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00495DB8h
000951B8h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __00495E43h

Bytes

83780802 0F8481000000

Segment 13/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049612Ah
0009552Ah

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 14/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049621Fh
0009561Fh

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 15/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004962AFh
000956AFh

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 16/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496317h
00095717h

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 17/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049638Ah
0009578Ah

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 18/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004963E5h
000957E5h

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 19/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496469h
00095869h

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 20/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004964CCh
000958CCh

Sourcecode

			JMP __004964D9h

Bytes

EB0B

Segment 21/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004964EBh
000958EBh

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 22/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496503h
00095903h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __00496588h

Bytes

83780802 747F

Segment 23/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049653Ah
0009593Ah

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 24/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496926h
00095D26h

Sourcecode

			JMP __004969A3h
__00496928h:
			CMP DWORD PTR [EAX+08h], 1
			JE __00496935h
			MOV EAX, [ESI+A0h]
			RET
__00496935h:
			MOV ECX, 208
			MOV EAX, [ESI+A0h]
			RET
PROC__00496941h:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			XOR ECX, ECX
			XOR EDX, EDX
			CMP DWORD PTR [EAX+08h], 1
			JE __00496955h
			MOV EAX, EBX
			RET
__00496955h:
			MOV ECX, 208
			MOV EAX, EBX
			RET
PROC__0049695Dh:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			CMP DWORD PTR [EAX+08h], 1
			JE __0049696Bh
			RET
__0049696Bh:
			MOV ECX, 208
			RET
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP

Bytes

EB7B
83780801 7407
8B86A0000000 C3

B9D0000000 8B86A0000000 C3

A160DD4C00 8B00 31C9 33D2 83780801 7403
8BC3 C3

B9D0000000 8BC3 C3

A160DD4C00 8B00 83780801 7401
C3

B9D0000000 C3

90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90

Segment 25/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496A0Ch
00095E0Ch

Sourcecode

			JZ __00496A1Ah

Bytes

740C

Segment 26/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496A60h
00095E60h

Sourcecode

__00496A60h:
			JE __00496A68h
			XOR ECX, ECX
			MOV EAX, [ESI+7Ch]
			RET
__00496A68h:
			MOV ECX, 208
			MOV EAX, [ESI+7Ch]
			RET
PROC__00496A71h:
			CMP DWORD PTR [EDX+08h], 1
			JE __00496A7Dh
			MOV EAX, 160
			RET
__00496A7Dh:
			CMP DWORD PTR [EDX+10h], 0
			JNE __00496A86h
			XOR EAx, EAX
			RET
__00496A86h:
			MOV EAX, -12
			RET
PROC__00496A8Ch:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			XOR EDX, EDX
			CMP DWORD PTR [EAX+08h], 1
			JE __00496AA1h
			XOR ECX, ECX
			MOV EAX, [EBX+7Ch]
			RET
__00496AA1h:
			MOV ECX, 208
			MOV EAX, [EBX+7Ch]
			RET
PROC__00496AAAh:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			NOP
			JMP __00496928h

Bytes

7406
31C9 8B467C C3

B9D0000000 8B467C C3

837A0801 7406
B8A0000000 C3

837A1000 7503
31C0 C3

B8F4FFFFFF C3

A160DD4C00 8B00 33D2 83780801 7406
31C9 8B437C C3

B9D0000000 8B437C C3

A160DD4C00 8B00 90 E971FEFFFF

Segment 27/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00496E34h
00096234h

Sourcecode

			NOP
			CALL PROC__00496941h

Bytes

90 E807FBFFFF

Segment 28/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497129h
00096529h

Sourcecode

			CMP DWORD PTR [EAX+08h]
			JE __0049713Ah

Bytes

83780802 740B

Segment 29/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497D22h
00097122h

Sourcecode

			JZ __00497D26h

Bytes

7402

Segment 30/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497D44h
00097144h

Sourcecode

			JMP __00497E31h
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			(200 more NOPs)

Bytes

E9E8000000
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90

Segment 31/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497E6Ch
0009726Ch

Sourcecode

			NOP
			NOP

Bytes

90 90

Segment 32/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497EEEh
000972EEh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __00497F0Dh

Bytes

83780802 7419

Segment 33/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497F6Bh
0009736Bh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JNE __00497FBFh
			MOV EBX, 9

Bytes

83780802 754E
BB09000000

Segment 34/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00497FEBh
000973EBh

Sourcecode

			JMP __00498032h
PROC__00497FEDh:
			MOV ECX, [004CDD60h]
			MOV ECX, [ECX]
			CMP DWORD PTR [ECX+08h], 1
			JE __00498001h
			MOV ESI, 160
			RET
__00498001h:
			CMP DWORD PTR [ECX+10h], 0
			JNE __0049800Ah
			XOR ESI, ESI
			RET
__0049800Ah:
			MOV ESI, -12
			RET
PROC__00498010h:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			CMP DWORD PTR [EAX+08h], 1
			JE __00498023h
			MOV ECX, 136
			RET
__00498023h:
			MOV ECX, 72
			RET
PROC__00498029h:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			JMP __0049806Dh

Bytes

EB45
8B0D60DD4C00 8B09 83790801 7406
BEA0000000 C3

83791000 7503
31F6 C3

BEF4FFFFFF C3

A160DD4C00 8B00 83780801 7406 B988000000 C3

B948000000 C3

A160DD4C00 8B00 EB3B

Segment 35/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
0049806Bh
0009746Bh

Sourcecode

			JMP __00498092h
__0049806Dh:
			CMP DWORD PTR [EAX+08h], 1
			JE __00498079h
			MOV ECX, 154
			RET
__00498079h:
			MOV ECX, 66
			RET
PROC__0049807Fh:
			MOV EAX, [004CDD60h]
			MOV EAX, [EAX]
			XOR EDX, EDX
			CMP DWORD PTR [EAX+08h], 1
			NOP
			JMP __00496A60h

Bytes

EB25
83780801 7406
B99A000000 C3

B942000000 C3

A160DD4C00 8B00 33D2 83780801 90 E9CEE9FFFF

Segment 36/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498199h
00097599h

Sourcecode

			JMP __004981AAh

Bytes

EB0F

Segment 37/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498274h
00097674h

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 38/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498303h
00097703h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __0049831Fh

Bytes

83780802 7416

Segment 39/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004984CAh
000978CAh

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 40/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498584h
00097984h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __00498592h

Bytes

83780802 7408

Segment 41/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498A69h
00097E69h

Sourcecode

			NOP
			NOP
			NOP
			NOP
			NOP
			NOP

Bytes

90 90 90 90 90 90

Segment 42/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498A78h
00097E78h

Sourcecode

			JC __00498A9Eh

Bytes

7224

Segment 43/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498A84h
00097E84h

Sourcecode

			CMP DWORD PTR [EDX+08h], 1
			JE __00498A91h
			LEA ECX, [EAX+A0h]
			RET
__00498A91h:
			XOR ECX, ECX
			RET

Bytes

837A0801 7407
8D88A0000000 C3

31C9 C3

Segment 44/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498A94h
00097E94h

Sourcecode

			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP

Bytes

90 90 90 90 90 90 90 90 90 90

Segment 45/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498B51h
00097F51h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __00498C7Fh

Bytes

83780802 0F8424010000

Segment 46/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498B89h
00097F89h

Sourcecode

			CMP DWORD PTR [EAX+08h], 1

Bytes

83780801

Segment 47/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
00498BA4h
00097FA4h

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JNE __00498BC1

Bytes

83780802 7517

Segment 48/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004AD7FCh
000ACBFCh

Sourcecode

			SUB EAX, 2

Bytes

83E802

Segment 49/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C71DEh
000C65DEh

Sourcecode

			NOP
			CALL PROC__0049695Dh

Bytes

90 E879F7FCFF

Segment 50/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C8859h
000C7C59h

Sourcecode

			CALL PROC__00496A8Ch

Bytes

E82EE2FCFF

Segment 51/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C889Fh
000C7C9Fh

Sourcecode

			MOV EDX, [004CDD60h]
			MOV EDX, [EAX]
			CALL PROC__00496A71h

Bytes

8B1560DD4C00 8B12 E8C5E1FCFF

Segment 52/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C8C9Ah
000C809Ah

Sourcecode

			CALL PROC__0049807Fh

Bytes

E8E0F3FCFF

Segment 53/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C8CABh
000C80ABh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __004C8DA1h

Bytes

83780802 0F84EC000000

Segment 54/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C8CD9h
000C80D9h

Sourcecode

			CALL PROC__00498010h

Bytes

E832F3FCFF

Segment 55/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C8D41h
000C8141h

Sourcecode

			CALL PROC__00498029h

Bytes

E8E3F2FCFF

Segment 56/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C9005h
000C8405h

Sourcecode

			MOV EDX, [004CDD60h]
			MOV EDX, [EDX]
			CALL PROC__00496A71h

Bytes

8B1560DD4C00 8B12 E85FDAFCFF

Segment 57/57

Offsets

RPG2003
1.0.8.0
1.0.8.0
004C949Dh
000C889Dh

Sourcecode

			CMP DWORD PTR [EAX+08h], 2
			JE __004C94AEh

Bytes

83780802 740B