the itr only for a specific state
But sadly I don't know the way removing the freezing sound like that play along with the itr/effect: 30.
Code:
invoke JmpPatch, 0042FD16h, addr Specific_state_itr_effect
;============split============
ss_r1 dd 0042FD1Bh
ss_r2 dd 0042FD7Dh
ss_c1 dd 004170B0h
;============split============
Specific_state_itr_effect proc
cmp eax,30 ; itr/effect: 30
jnz short r1
jmp dword ptr [ss_r1]
r1: cmp eax,33 ; itr/effect: 33 (new interaction effect)
jnz short r2
mov eax,dword ptr ds:[esi+edi*4+194h]
mov ecx,dword ptr ds:[eax+78h]
mov edx,dword ptr ds:[eax+368h]
imul ecx,ecx,178h
cmp dword ptr ds:[ecx+edx+7ACh],11 ; check if the state is 11
je short ss1
cmp dword ptr ds:[ecx+edx+7ACh],16 ; check if the state is 16
jnz short r2
ss1:mov dword ptr ds:[eax+70h],383 ; go to the frame 383
fstp st
mov ecx,dword ptr ds:[esi+edi*4+194h]
mov dword ptr ds:[ecx+88h],0
mov edx,dword ptr ds:[esi+edi*4+194h]
mov eax,dword ptr ds:[edx+10h]
push 0Eh
push eax
call dword ptr [ss_c1]
fldz
add esp,8
r2: jmp dword ptr [ss_r2]
Specific_state_itr_effect endp