冰楓論壇
標題:
TwMS v217.3 ICS 人物左右走
[打印本頁]
作者:
prt
時間:
2019-7-11 07:00
標題:
TwMS v217.3 ICS 人物左右走
//TwMS v217.3 ICS 人物左右走
[ENABLE]
Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
//-----------------------------------------------
AutoLRRange:
DD A //距離 16進制 A=10
//-----------------------------------------------
AutoLRICSEntry:
Cmp [Esp], 009DD213
Jne ICSReturn
Mov [Esp], AutoLRMain
ICSReturn:
Jmp GetFocus
//-------------------
AutoLRMain:
Cmp [AutoLRRange], 0
Je 009DD213
Push Eax
Inc [AutoLRValue]
Mov Eax, [AutoLRRange]
Cmp Eax, [AutoLRValue]
Jge GoLeft
Add Eax, [AutoLRRange]
Cmp Eax, [AutoLRValue]
Jge GoRight
Mov [AutoLRValue], 1
Jmp GoLeft
GoLeft:
Mov [Ebp-1C], FFFFFFFF
Pop Eax
Jmp 009DD035
GoRight:
Mov [Ebp-1C], 00000001
Pop Eax
Jmp 009DD035
//-----------------------------------------------
03D21150:
DD AutoLRICSEntry
[DISABLE]
03D21150:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
複製代碼
作者:
frank12500
時間:
2019-8-5 16:25
請問這怎麼設定?
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓