Damage Popup Color Glitch Fix

Refreshing the palette of damage-pop-graphics in the engine's default battle-system when the windowskin gets swapped.

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.101.111.12mp210414
00488320h
00087720h

Sourcecode

			CALL PROC__004EFF22h

Bytes

E8FD7B0600

Segment 2/2

Offsets

RPG2003
1.101.111.12mp210414
004EFEC0h
000E78C0h

Sourcecode

PROC__004EFEC0h:
			MOV EAX, [EAX+7Ch]
			PUSH EAX
			MOV BYTE PTR [EAX+610h], 1
			ADD EAX, 8
			MOV EDX, EAX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EAX, [EAX+18h]
			MOV EAX, [EAX+04h]
			ADD EAX, 8
			MOV ECX, 1024
			CALL PROC__00402924h
			POP EAX
			CALL PROC__00467384h
			RET
PROC__004EFEF1h:
			PUSH EBX
			PUSH ESI
			PUSH EDI
			MOV EBX, EAX
			CALL PROC__00475714h
			MOV EDX, EAX
			MOV ESI, 0
__004EFF02h:
			CMP ESI, EDI
			JGE __004EFF1Eh
			MOV EAX, EBX
			MOV EDX, ESI
			CALL PROC__0047571Ch
			CALL PROC__004EFEC0h
			INC ESI
			JMP __004EFF02h
__004EFF1Eh:
			POP EDI
			POP ESI
			POP EBX
			RET
PROC__004EFF22h:
			CALL PROC__00467ABCh
			MOV EAX, [004CDDC8h]
			MOV EAX, [EAX]
			TEST EAX, EAX
			JZ __004EFF3Bh
			CALL PROC__004EFEF1h
__004EFF3Bh:
			MOV EAX, [004CDE64h]
			MOV EAX, [EAX]
			TEST EAX, EAX
			JZ __004EFF4Fh
			CALL PROC__004EFEF1h
__004EFF4Fh:
			RET

Bytes

8B407C 50 C6801006000001 83C008 8BD0 A17CDC4C00 8B00 8B4018 8B4004 83C008 B900040000 E83A2AF1FF
58 E89474F7FF
C3

53 56 57 8BD8 E81958F8FF
8BF8 BE00000000 3BF7 0F8D14000000
8BC3 8BD6 E80958F8FF
E8A8FFFFFF
46 E9E4FFFFFF 5F 5E 5B C3

E8957BF7FF
A1C8DD4C00 8B00 85C0 0F8405000000
E8B6FFFFFF
A164DE4C00 8B00 85C0 0F8405000000
E8A2FFFFFF
C3