夢魘君NightMare 發表於 2017-11-30 05:52:02

TwMS v203.1_ICS_人物左右走+紅點斷線


Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)

AutoLRRange:
DD 0 //左右走距離 16進制 A=10

AutoLRICSEntry:
Cmp   , 0086885C
Jne   ICSReturn
Mov   , AutoLRMain
ICSReturn:
Jmp   GetFocus

AutoLRMain:

//不要紅點停止請刪除以下
Push Ebx
mov ebx,
Mov Ebx,
Cmp Ebx,         1   //紅點人數:1人(自己也要算+1)
Pop Ebx
Jge GetFocus
//不要紅點停止請刪除以上

Cmp   , 0
Je    0086885C  
Push  Eax
Inc   
Mov   Eax,
Cmp   Eax,
Jge   GoLeft
Add   Eax,
Cmp   Eax,
Jge   GoRight
Mov   , 1
Jmp   GoLeft

GoLeft:
Mov   , FFFFFFFF
Pop   Eax
Jmp   00868EC9

GoRight:
Mov   , 00000001
Pop   Eax
Jmp   00868EC9

0308F6B8:
DD AutoLRICSEntry


0308F6B8:
DD GetFocus

Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)

wujohn 發表於 2017-12-3 21:41:06

這個好像沒有紅點斷線功能吧 , 應該是紅點暫停
頁: [1]
查看完整版本: TwMS v203.1_ICS_人物左右走+紅點斷線