Advertisement
HolywoodJack

TankContactExplosion

Jun 20th, 2017
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. {$CLEO}
  2. 0000:
  3.  
  4. //-----------TankContactExplosion-----------//
  5.  
  6. REPEAT
  7. wait 250
  8. UNTIL 0256: player $PLAYER_CHAR defined
  9.  
  10. 0AC6: 31@ = label @TankContactExplosion offset
  11.  
  12. IF 0AA9: is_game_version_original
  13. THEN
  14. 0085: 0@ = 31@
  15. 0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
  16. 0085: 1@ = 31@
  17. 1@ += 4
  18. 0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
  19. ELSE
  20. 0085: 0@ = 31@
  21. 0@ += 8
  22. 0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
  23. 0085: 1@ = 31@
  24. 1@ += 0x0C
  25. 0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
  26. END
  27.  
  28. 0A8C: write_memory 0@ size 4 value 1@ virtual_protect 0
  29. 0A93: end_custom_thread
  30.  
  31. :TankContactExplosion
  32. HEX
  33. CA 80 6A 00 41 60 6D 00 EA 88 6A 00 71 68 6D 00 41 75 74 68 6F 72 3A 20 48 6F 6C 6C 79 77 6F 6F 64 20 4A 61 63 6B
  34. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement