- UID
- 60310
- 帖子
- 157
- 主題
- 70
- 精華
- 0
- 積分
- 183
- 楓幣
- 2702
- 威望
- 103
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 85
- 閱讀權限
- 20
- 性別
- 保密
- 在線時間
- 1592 小時
- 註冊時間
- 2014-5-13
- 最後登入
- 2023-2-3
|
//g1612疾風
//無敵,走.跳怪跟隨,怪不擊退,走怪掉落,攻擊不停,紅點斷線
//左趴,設定定點,啟動走怪掉落,紅點斷線
//右趴, 停止走怪掉落,紅點斷線
[enable]
alloc(MyLR,2048)
registersymbol(MyLR)
alloc(MyPt1,4)
registersymbol(MyPt1)
label(GoLRback)
label(GoLR)
label(GoLR2)
label(GoLR5)
label(NoBack)
label(MyLR1)
label(MyLRend)
label(nokb)
label(nokb1)
label(JmpLR1)
label(JmpLR)
label(JmpLRback)
label(shunyi)
label(Right)
label(Left)
label(MobEnd)
label(GoLR1)
label(GoLR3)
label(GoLR6)
label(x03)
label(x04)
label(x05)
alloc(ra,4)
alloc(rx,4)
MyPt1:
dd 0
01E15CFC:
DD MyLR
//================================
MyLR:
cmp [esp+38],00ADD6B9 //怪不擊退
je nokb1
cmp [esp+2c],01518A17 //無敵
je shunyi
cmp [esp+2c],01612A81 //跳怪跟隨
je JmpLR1
cmp [esp+2c],0161223C //走怪跟隨
je MyLR1
cmp [esp+30],01601610 //走怪掉落,016083d1
jle MyLRend
cmp [esp+30],0160202c //走怪掉落,01601610-0160202c
jge MyLRend
cmp [ra],1
jne MyLRend
cmp [ebp+4],016083d1
jne MyLRend
mov [ebp+4],NoBack
jmp MyLRend
MyLR1:
mov [esp+2c],GoLR
jmp MyLRend
MyLRend:
cmp [01E2CBF4],0
je x05
push eax
mov eax,[01E2CBF4]
mov eax,[eax+8b4]
cmp eax,b //左趴,啟動
jne x04
mov [ra],1
mov eax,[01E2CBF4]
mov eax,[eax+D0f0]
mov [rx],eax
jmp x03
x04:
cmp eax,a //右趴,off
jne x03
mov [ra],0
jmp x03
x03:
mov eax,[01E2CBF4] //攻不停
mov [eax+bf84], 0
mov eax,[01E2CBF4] //放不停
mov [eax+bf94], 0
pop eax
cmp [ra],1
jne x05
push eax
mov eax,[01e312c0] //紅點斷線
cmp [eax+2c],0
pop eax
jne 00000000
x05:
jmp 00d428e0
//================================
shunyi:
mov [esp+2c],0151bb1b
jmp MyLRend
//================================
NoBack:
cmp [esi],01c02928
jne 016083d1
mov eax,[esi]
mov eax,[eax+08]
push 00
lea ecx,[ebp+08]
push ecx
lea edx,[esp+20]
push edx
mov ecx,esi
call 016002d0
Left:
Right:
MobEnd:
jmp 016083e5
//================================
nokb1:
mov [esp+38],nokb
jmp MyLRend
nokb:
mov edi,[esp+00000094]
mov [esi+0000008c],eax
cmp edi,01
mov ecx,[esp+14]
call 00ab2f50
jmp 00ADD6D8 //jnl next
//================================
JmpLR1:
mov [esp+2c],JmpLR
jmp MyLRend
JmpLR:
mov eax,[rx]
cmp eax,[esi+820]
mov eax,2
jg JmpLRback
mov eax,3
JmpLRback:
jmp 01612A81
//================================
GoLR:
add [esi+00000498],bp
mov ecx,eax
mov eax,aaaaaaab
mul ecx
shr edx,1
mov [esi+000004bc],ecx
lea edx,[edx+edx*2]
sub ecx,edx
sub ecx,ebp
mov [esi+000004c4],ebp
push ecx
inc ecx
GoLR3:
GoLR1:
mov eax,[rx]
cmp ecx, 1 //0左1停2右
je GoLR5
jg GoLR2
cmp eax,[esi+820]
mov eax,5
jl GoLRback
mov eax,1
jmp GoLRback
GoLR2:
cmp eax,[esi+820]
mov eax,5
jg GoLRback
mov eax,1
jmp GoLRback
GoLR5:
mov eax,1
GoLRback:
push eax
mov ecx,[esi+000007d4]
call 004a98e0
GoLR6:
mov ecx,[esi+000007d0]
jmp 01612268
//============================
[disable]
01E15CFC:
dd 00d428e0
dealloc(MyLR)
unregistersymbol(MyLR)
dealloc(MyPt1) |
|