- UID
- 87482
- 帖子
- 214
- 主題
- 24
- 精華
- 0
- 積分
- 53
- 楓幣
- -551
- 威望
- 51
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 16
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 42 小時
- 註冊時間
- 2014-12-31
- 最後登入
- 2023-8-15
|
//TwMS_175.1_ICS_怪物跟隨+走怪掉落+怪物加速+怪物不退(合併)
//Thanks: kkmomo, jo26254158
[Enable]
Alloc(MobLRMain, 512)
Alloc(MobSpeed, 4)
Alloc(WalkDown, 4)
Label(MobSpeedMain)
Label(MobNoBack)
Label(NDFA)
Label(Right)
Label(Left)
Label(Back)
Label(Fake)
MobSpeed:
DD 0F
WalkDown:
DD 01
MobLRMain:
cmp [esp+3C], 0083DA8F
je MobSpeedMain
Cmp [Esp+3C],0080E28B
je MobNoBack
cmp [esp+DC], 00EA4B3B
je NDFA
jmp 0099F498 //
MobSpeedMain:
mov eax,[esp+38]
add eax,[MobSpeed]
mov [esp+10],eax
mov [esp+28],eax
jmp 0099F498
MobNoBack:
Mov [ESP+3C],0080E29E
Ret
NDFA:
mov [esp+DC], Fake
jmp 0099F498
Fake:
cmp [esi], 013771E4
jne 00EA4B3B //
mov eax,[esi]
push ebx
lea ecx,[ebp+08]
push ecx
lea ecx,[ebp-18]
push ecx
mov ecx,esi
push 00EA4B4B
mov eax,[01656D6C] //人物座標
mov eax,[eax+143C] //Axis-X offset
cmp eax,[esp+254]
jg Right
jl Left
mov [ecx+160], 0
jmp Back
Left:
mov [ecx+150], 5
mov [ecx+160], -1
jmp Back
Right:
mov [ecx+150], 4
mov [ecx+160], 1
Back:
cmp [WalkDown], 1
je 00E9F4E3
jmp 00EAC359
01619A44:
DD MobLRMain
[Disable]
01619A44:
DD 0099F498
DeAlloc(MobLRMain)
DeAlloc(MobSpeed)
DeAlloc(WalkDown)
DeAlloc(MobSpeedMain)
DeAlloc(NDFA)
|
|