Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- //Controlled MISS/HIT (used with PG) eMS v58
- Alloc(miss,128)
- Alloc(missCount,20)
- Registersymbol(misses)
- Registersymbol(hits)
- Registersymbol(damage)
- Label(hitCount)
- Label(misses)
- Label(hits)
- Label(damage)
- Label(firstHit)
- Label(resetAll)
- Label(rtnMiss)
- missCount:
- dd FFFFFFFF
- hitCount:
- dd 0
- misses:
- dd 5 //Times you miss
- hits:
- dd 3 //Times you get hit
- damage:
- dd 2 //Controlled damage you are being hit with during the hits
- miss:
- inc [missCount]
- push ebx
- mov ebx,[misses]
- cmp [missCount],ebx
- jge firstHit
- pop ebx
- xor eax,eax
- rtnMiss:
- jmp 007A1234 // 83 7D 10 00 ? ? ? ? ? ? ? ? 8B ? ? ? (search 2x on bms)
- firstHit:
- mov ebx,[hits]
- cmp [hitCount],ebx
- jge resetAll
- inc [hitCount]
- mov ebx,[damage]
- mov [ebp+8],ebx
- pop ebx
- jmp rtnMiss
- resetAll:
- pop ebx
- mov [hitCount],0
- mov [missCount],0
- jmp rtnMiss
- 007AA3B9: // 0F 84 ? ? ? ? 8B 47 04 8D 4F 04 FF 50 10 8B
- jmp miss
- db 90
- [DISABLE]
- 007AA3B9:
- db 0F 84 93 0C 00 00
- dealloc(miss)
- dealloc(missCount)
- unregistersymbol(misses)
- unregistersymbol(hits)
- unregistersymbol(fixedDmg)
- unregistersymbol(damage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement