SHARE
TWEET

Untitled

a guest Jun 19th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ENABLE]
  2. Alloc(addyy,302)
  3. Alloc(addxx,302)
  4. Alloc(MobChar,34)
  5. Alloc(VacXCoord,34)
  6. Alloc(VacYCoord,34)
  7. RegisterSymbol(MobChar)
  8. RegisterSymbol(VacXCoord)
  9. RegisterSymbol(VacYCoord)
  10. Label(StoreCoords)
  11. Label(FilterMobY)
  12. Label(FilterMobX)
  13. Label(goyy)
  14. Label(goxx)
  15. Label(CSReturny)
  16. Label(CSReturnx)
  17.  
  18. addyy:
  19. cmp [MobChar],1
  20. je FilterMobY
  21. jmp CSReturny
  22.  
  23. addxx:
  24. cmp [MobChar],1
  25. je FilterMobX
  26. push eax
  27. mov eax,[00ab26e4]
  28. cmp [eax+9b4],C
  29. je StoreCoords
  30. pop eax
  31. jmp CSReturnx
  32.  
  33. FilterMobY:
  34. push eax
  35. mov eax,[00ab2318] //CHARACTER POINTER
  36. mov eax,[eax+0F24]  //pID OFFSET
  37. cmp esi,eax
  38. pop eax
  39. je CSReturny
  40. mov eax,[VacYCoord]
  41. jmp CSReturny
  42.  
  43. FilterMobX:
  44. push eax
  45. mov eax,[00ab2318] //CHARACTER POINTER
  46. mov eax,[eax+0F24]  //pID OFFSET
  47. cmp esi,eax
  48. pop eax
  49. je CSReturnx
  50. mov eax,[VacXCoord]
  51. jmp CSReturnx
  52.  
  53. StoreCoords:
  54. mov eax,[00ab26e4]
  55. mov eax,[eax+978]
  56. mov edx,[eax+84]
  57. mov [VacXCoord],edx
  58. mov edx,[eax+88]
  59. mov [VacYCoord],edx
  60. pop eax
  61. jmp CSReturnx
  62.  
  63. CSReturnx:
  64. mov [ebx], eax
  65. mov edi,[ebp+10]
  66. jmp goxx
  67.  
  68. CSReturny:
  69. mov [edi],eax
  70. mov ebx,[ebp+14]
  71. jmp goyy
  72.  
  73. 008C24F3:
  74. jmp addyy
  75. goyy:
  76.  
  77. 008C248E:
  78. jmp addxx
  79. goxx:
  80.  
  81. MobChar:
  82. dd 00
  83.  
  84. VacXCoord:
  85. dd 00
  86.  
  87. VacYCoord:
  88. dd 00
  89.  
  90. [DISABLE]
  91. 008C24F3:
  92. mov [edi],eax
  93. mov ebx,[ebp+14]
  94.  
  95. 008C248E:
  96. mov [ebx],eax
  97. mov edi,[ebp+10]
  98.  
  99. Dealloc(addyy)
  100. Dealloc(addxx)
  101. Dealloc(MobChar)
  102. Dealloc(VacXCoord)
  103. Dealloc(VacYCoord)
  104. UnregisterSymbol(MobChar)
  105. UnregisterSymbol(VacXCoord)
  106. UnregisterSymbol(VacYCoord)
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top