IdleAnimFixed (FIX)

Reduces waiting-time after an item in the default battle-system was used to 64 frames instead of a full idle-animation-length which can be much higher when using custom battler-animations.

This is the fixed revision released less than a day after the initial patch which originally had introduced some problems.

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

Offsets

RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
1.101.111.12mp210414
0049A396h
00099796h
0049958Ah
0009898Ah

Sourcecode

			MOV AL, BYTE PTR [EAX+04h]
			CMP AL, 4
			JNE __0049A3AEh
			CMP BYTE PTR [EBX+B8h], 0
			JNE __0049A3AEh
			POP EDX
			PUSH 1
			JMP __0049A445h
__0049A3AEh:
			MOV BYTE PTR [EBX+B8h], 2
			MOV BYTE PTR [EBX+0Fh], AL
			MOV AL, BYTE PTR [EAX+04h]
			CMP AL, 4
			JNE __004995A2h
			CMP BYTE PTR [EBX+B8h], 0
			JNE __004995A2h
			POP EDX
			PUSH 1
			JMP __00499639h
__0049A3A2h:
			MOV BYTE PTR [EBX+B8h], 2
			MOV BYTE PTR [EBX+0Fh], AL

Bytes

8A4004 3C04 7511
80BBB800000000 7508
5A 6A01 E997000000
C683B800000002 88430F
8A4004 3C04 7511
80BBB800000000 7508
5A 6A01 E997000000
C683B800000002 88430F

Segment 2/2

Offsets

RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
1.101.111.12mp210414
004BBFBBh
000BB3BBh
004B3045h
000B2445h

Sourcecode

			AND EAX, 3
			CMP EAX, 3
			JNE __004BBFC6h
			AND EAX, 1
__004BBFC6h:
			MOV DWORD PTR [EBX+28Ch], EAX
			CMP BYTE PTR [EBX+50h], 5
			JNE __004BBFE8h
			CMP DWORD PTR [EBX+328h], 128
			JL __004BBFE8h
			CMP BYTE PTR [EBX+0Fh], 3
			JNE __004BBFE8h
			MOV BYTE PTR [EBX+50h], 15
__004BBFE8h:
			JMP __004BC0D8h
			14 NOPs
			AND EAX, 3
			CMP EAX, 3
			JNE __004B3050h
			AND EAX, 1
__004B3050h:
			MOV DWORD PTR [EBX+28Ch], EAX
			CMP BYTE PTR [EBX+50h], 5
			JNE __004B3072h
			CMP DWORD PTR [EBX+328h], 128
			JL __004B3072h
			CMP BYTE PTR [EBX+0Fh], 3
			JNE __004B3072h
			MOV BYTE PTR [EBX+50h], 15
__004B3072h:
			JMP __004B308Ch
			24 NOPs

Bytes

83E003 83F803 7503
83E001 89838C020000
807B5005 7516
81BB2803000080000000 7C0A
807B0F03 7504
C643500F E9EB000000
90 90 90 90 90 90 90 90 90 90 90 90 90 90
83E003 83F803 7503
83E001 89838C020000 807B5005 7516
81BB2803000080000000 7C0A
807B0F03 7504
C643500F EB18
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90