Advertisement
Guest User

Clustertruck Autosplitter

a guest
Oct 25th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. state("Clustertruck")
  2. {
  3. int level : "mono.dll", 0x001F5500, 0x8, 0x3A8, 0x0, 0x30, 0x344;
  4. byte isPlaying: "mono.dll", 0x0020911C, 0x128, 0x270, 0x7C0, 0x64, 0x631;
  5. }
  6.  
  7. split
  8. {
  9. // we get the current world, as the splits are done in worlds, not 90 individual levels :P
  10. // the last statement might happen, I'm actually not sure if the world resets to 1 after beating the game...
  11. return ((current.level - 1) / 10 > (old.level - 1) / 10) || (current.level == 1 && old.level == 90);
  12. }
  13.  
  14. start
  15. {
  16. return (current.isPlaying == 1 && old.isPlaying == 0) && current.level == 1;
  17. }
  18.  
  19. reset
  20. {
  21. return (current.level == 1 && old.level != 1) && (current.isPlaying == 0);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement