//招喚獸全圖打(可調範圍)TWMS100~CRC //----------------------------------------------- [ENABLE] registersymbol(IwallEXP) alloc(IwallEXP, 2048) label(IwallEXP00) label(IwallEXP01) registersymbol(IwallTimes) alloc(IwallTimes, 4) registersymbol(x2) alloc(x2, 4) registersymbol(x1) alloc(x1, 4) registersymbol(y1) alloc(y1, 4) registersymbol(y2) alloc(y2, 4) registersymbol(Timer) alloc(Timer, 4) IwallTimes: dd 0 Timer: dd 1f4// 500ms x2: dd 3e8 // 1000 y2: dd 1f4 //500 IwallEXP: mov edx,[00AE6464] // mov edx,[edx+18] sub edx,[Timer] //每 500 ms 換下一張圖 cmp edx,[IwallTimes] jl IwallEXP01 mov edx,[00AE6464] // mov edx,[edx+18] mov [IwallTimes],edx mov edx,[x2] mov [x1],edx sub [x2],1f4 mov edx,[y2] mov [y1],edx cmp [x2], FFFFFC18 jge IwallEXP01 mov [x2],3e8 sub [y2],1f4 cmp [y2], FFFFFE0C jge IwallEXP01 mov [y2],1f4 IwallEXP01: mov edx,[00AE62C4] mov edx,[edx+0d2c] add edx,[x1] cmp ecx,edx jg IwallEXP00 sub edx,1f4 // 500 cmp ecx,edx jl IwallEXP00 mov edx,[00AE62C4] mov edx,[edx+0d30] add edx,[y1] cmp eax,edx jg IwallEXP00 sub edx,1f4 cmp eax,edx jl IwallEXP00 mov ecx,[00AE62C4] mov ecx,[ecx+0d2c] mov eax,[00AE62C4] mov eax,[eax+0d30] mov [ebx+00000484],ecx jmp 0063A1DC //----------------------------- IwallEXP00: mov [ebx+00000484],ecx jmp 0063A1DC 0063A1D6: jmp IwallEXP [DISABLE] 0063A1D6: db 89 8B 84 04 00 dealloc(IwallEXP) unregistersymbol(IwallEXP) unregistersymbol(IwallTimes) dealloc(IwallTimes) unregistersymbol(x1) dealloc(x1) unregistersymbol(y1) dealloc(y1) unregistersymbol(x2) dealloc(x2) unregistersymbol(y2) dealloc(y2) unregistersymbol(Timer) dealloc(Timer) |