TwMS v150_ICS_人物自動左右
//Twms1.50.1人物自動左右
//更新:冰楓
[ENABLE]
registersymbol(Updatebingfeng)
alloc(Updatebingfeng,1024)
registersymbol(MyAuto)
alloc(MyAuto,1024)
registersymbol(MyAutoLR)
alloc(MyAutoLR,1024)
registersymbol(MyAutoLRKey)
alloc(MyAutoLRKey,4)
registersymbol(MyAutoLRKeyLR)
alloc(MyAutoLRKeyLR,4)
label(MyAutoLR00)
label(MyAutoLR01)
label(MyAutoLR02)
00E25EC0:
DD Updatebingfeng
//-----------------------------------------------
MyAutoLRKey:
DD 1
MyAutoLRKeyLR:
DD 0
//-----------------------------------------------
Updatebingfeng:
cmp [esp],009895B7
jne GetFocus
mov [esp],MyAutoLR
jmp GetFocus
MyAuto:
cmp eax,edi
jne MyAutoLR
MyAutoLR:
cmp [MyAutoLRKey],0
je MyAutoLR00
add [MyAutoLRKeyLR],1
cmp [MyAutoLRKeyLR],A
jle MyAutoLR01
cmp [MyAutoLRKeyLR],14
jle MyAutoLR02
mov [MyAutoLRKeyLR],1
jmp MyAutoLR01
MyAutoLR01:
mov [ebp-4],ffffffff
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
MyAutoLR02:
mov [ebp-4],1
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
MyAutoLR00:
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
[DISABLE]
00E25EC0:
DD GetFocus
unregistersymbol(Updatebingfeng)
dealloc(Updatebingfeng)
unregistersymbol(MyAutoLR)
dealloc(MyAutoLR)
//更新:冰楓
[ENABLE]
registersymbol(Updatebingfeng)
alloc(Updatebingfeng,1024)
registersymbol(MyAuto)
alloc(MyAuto,1024)
registersymbol(MyAutoLR)
alloc(MyAutoLR,1024)
registersymbol(MyAutoLRKey)
alloc(MyAutoLRKey,4)
registersymbol(MyAutoLRKeyLR)
alloc(MyAutoLRKeyLR,4)
label(MyAutoLR00)
label(MyAutoLR01)
label(MyAutoLR02)
00E25EC0:
DD Updatebingfeng
//-----------------------------------------------
MyAutoLRKey:
DD 1
MyAutoLRKeyLR:
DD 0
//-----------------------------------------------
Updatebingfeng:
cmp [esp],009895B7
jne GetFocus
mov [esp],MyAutoLR
jmp GetFocus
MyAuto:
cmp eax,edi
jne MyAutoLR
MyAutoLR:
cmp [MyAutoLRKey],0
je MyAutoLR00
add [MyAutoLRKeyLR],1
cmp [MyAutoLRKeyLR],A
jle MyAutoLR01
cmp [MyAutoLRKeyLR],14
jle MyAutoLR02
mov [MyAutoLRKeyLR],1
jmp MyAutoLR01
MyAutoLR01:
mov [ebp-4],ffffffff
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
MyAutoLR02:
mov [ebp-4],1
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
MyAutoLR00:
xor eax,eax
xor ebx,ebx
cmp [ebp-04],eax
jmp 0098988A
[DISABLE]
00E25EC0:
DD GetFocus
unregistersymbol(Updatebingfeng)
dealloc(Updatebingfeng)
unregistersymbol(MyAutoLR)
dealloc(MyAutoLR)
留言
張貼留言