ta0926 發表於 2017-7-6 18:58:22

TwMS V199.2_ICS_走怪跟隨

//V1992走怪跟隨

alloc(MyLR,4096)
registersymbol(MyLR)
label(MyLRend)
label(GoLRback)
label(GoLR)
label(GoLR1)
label(GoLR2)
label(GoLR5)

//================================
MyLR:
        cmp ,01cf8b9c        //走怪跟隨
        je GoLR1
        jmp MyLRend
MyLRend:
        jmp 011edf30
//================================
GoLR1:
        mov ,GoLR
        jmp MyLRend
//================================
GoLR:
        mov esi,eax
        mov ,00000001
        mov eax,aaaaaaab
        mov ,esi
        mul esi
        shr edx,1
        lea ecx,
        sub esi,ecx
        mov ecx,
        dec esi
        push esi
        inc esi
        mov eax,
        mov eax,
        cmp esi, 1
        je GoLR5
        jg GoLR2
        cmp eax,
        mov eax,5
        jl GoLRback
        mov eax,1
        jmp GoLRback
GoLR2:
        cmp eax,
        mov eax,5
        jg GoLRback
        mov eax,1
        jmp GoLRback
GoLR5:
        mov eax,1
GoLRback:
        mov ecx,
        push eax
        call 0047a4a0
        mov ecx,
        jmp 01cf8bc4

02ebdce4:
DD MyLR

02ebdce4:
dd 011edf30
dealloc(MyLR)
unregistersymbol(MyLR)

s882506 發表於 2017-7-13 08:40:15

問這是控怪嗎

s882506 發表於 2017-7-13 08:40:16

問這是控怪嗎

cp3941l6 發表於 2017-7-13 09:49:49

不是~

是怪物會跟著你人物跑~

不過這能搭怪物落下更好~

讓在台階上的怪物也會掉下來跟你跑~

感謝大大分享~

呂柏揚 發表於 2017-7-22 13:53:26

請問能調整怪物走路速度嗎
頁: [1]
查看完整版本: TwMS V199.2_ICS_走怪跟隨