TwMS v149_ICS_人物自動左右走


因為有人要我就Po囉...

//TwMS v149_ICS_AutoLR

[Enable]
RegisterSymbol(AutoLRRange)
Alloc(AutoLRICS, 512)
Label(AutoLRRange)
Label(AutoLRValue)
Label(AutoLRMain)
Label(GoLeft)
Label(GoRight)
Label(JneBack)

AutoLRICS:
cmp dword ptr [AutoLRRange],00
je GetFocus
mov eax,00982C68
cmp [esp],eax
jne GetFocus
mov [esp],AutoLRMain
jmp GetFocus

AutoLRMain:
push eax
inc [AutoLRValue]
mov eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jnl GoLeft
add eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jnl GoRight
mov [AutoLRValue],00000001

GoLeft:
mov [ebp-04],FFFFFFFF
pop eax
jmp JneBack

GoRight:
mov [ebp-04],00000001
pop eax

JneBack:
push 00982F3B
ret

AutoLRRange: //改距離
DD 0A
AutoLRValue:
DD 00

00E198C8:
DD AutoLRICS
[Disable]
00E198C8:
DD GetFocus
DeAlloc(AutoLRICS)
UnRegisterSymbol(AutoLRRange)

留言

張貼留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)