Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [enable]
- alloc(WallVac,100)
- alloc(NoVac,24)
- alloc(MobDied,100)
- alloc(coords,8)
- alloc(Counter,1)
- registersymbol(coords)
- registersymbol(Counter)
- Counter:
- db 00
- coords:
- dd 00000000 //X Coord
- dd 00000000 //Y Coord
- 00A93E77: // set coords //a1 ?? ?? ?? ?? 8b 50 ?? 83 c0 ??
- jmp WallVac
- 00695548: // on death //33 ed 83 c4 ?? 39 ae ?? ?? ?? ??
- jmp MobDied
- WallVac:
- cmp [esp],008409E5 // filter char //8b 8e ?? ?? ?? ?? 8b 54 24 ?? 8b ??
- je NoVac
- cmp [Counter],0C // only vac 6 or so mobs
- je NoVac
- inc [Counter]
- add ecx,000001C8
- mov edx,[coords]
- mov [ecx],edx // mov x into left
- mov [ecx+08],edx // and right
- mov edx,[coords+04]
- mov [ecx+04],edx // mov y into left
- mov [ecx+0C],edx // and right
- jmp 00A60B5C // jmp to ret
- NoVac:
- mov eax,[00DC67F0]
- jmp 00A93E7C //8b 50 ?? 83 c0 ?? 81 c1 ?? ?? ?? ??
- MobDied:
- sub [Counter],02
- xor ebp,ebp
- add esp,14
- cmp [esi+000002A4],ebp
- jmp 0068DBC8
- [disable]
- 00A60B57:
- mov eax,[00DC67F0]
- 0068DBC8:
- xor ebp,ebp
- add esp,14
- cmp [esi+000002A4],ebp
- unregistersymbol(Counter)
- unregistersymbol(coords)
- dealloc(coords)
- dealloc(WallVac)
- dealloc(NoVac)
- dealloc(MobDied)
- Kpoch to Lino
Add Comment
Please, Sign In to add comment