IdleAnimFixed

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 first release-version of said patch which introduced some more problems and is not available for download anymore. If it was downloaded too early, get it again and patch over.

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

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 __004BBFE2h
			CMP DWORD PTR [EBX+328h], 128
			JL __004BBFE2h
			MOV BYTE PTR [EBX+50h], 15
__004BBFE2h:
			JMP __004BC0D8h
			20 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 __004B306Ch
			CMP DWORD PTR [EBX+328h], 128
			JL __004B306Ch
			MOV BYTE PTR [EBX+50h], 15
__004B306Ch:
			JMP __004B308Ch
			30 NOPs

Bytes

83E003 83F803 7503
83E001 89838C020000 807B5005 7510
81BB2803000080000000 7C04
C643500F E9F1000000
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90
83E003 83F803 7503
83E001 89838C020000 807B5005 7510
81BB2803000080000000 7C04
C643500F EB1E
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