SuperMonkeyBallBananaBlitzHD.asl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. state("SMBBBHD")
  2. {
  3. byte decided : "UnityPlayer.dll", 0x010BF87C, 0x28, 0x88, 0x24, 0xA0, 0xC0, 0x90;
  4. int isNotLoading : "mono-2.0-bdwgc.dll", 0x0039B56C, 0x794, 0x90, 0x2C;
  5. int state : "mono-2.0-bdwgc.dll", 0x0039B56C, 0x79C, 0x4C, 0x10, 0xE8;
  6. int stage : "mono-2.0-bdwgc.dll", 0x0039B56C, 0x7AC, 0x20, 0x6C, 0x28;
  7. int world : "mono-2.0-bdwgc.dll", 0x0039B56C, 0x7AC, 0x20, 0x6C, 0x24;
  8. float igt : "mono-2.0-bdwgc.dll", 0x0039CC58, 0x48, 0x6DC, 0x44, 0x90, 0x10;
  9. }
  10. init
  11. {
  12. timer.IsGameTimePaused = false;
  13. game.Exited += (s, e) => timer.IsGameTimePaused = true;
  14. vars.betStages = null;
  15. }
  16. startup
  17. {
  18. settings.Add("BBB", true, "Super Monkey Ball Banana Blitz HD");
  19. settings.Add("1", true, "Splits Every Stage", "BBB");
  20. settings.Add("2", false, "Splits Every World", "BBB");
  21. settings.Add("3", false, "Splits Bonus levels", "BBB");
  22. settings.SetToolTip("1", "This is will split every stage, disable if you want to split worlds.");
  23. settings.SetToolTip("2", "This will split every world, Disable the 1st and 3rd option if you use this one");
  24. settings.SetToolTip("3", "Disable options 1 and 2 if you want to split only on bonus stages");
  25. }
  26. start
  27. {
  28. return ((current.stage == 0) && (current.world == 0) && (current.decided == 1 && old.decided == 0));
  29. }
  30. split
  31. {
  32. if (settings["BBB"])
  33. {
  34. return ((settings["1"] && current.stage != old.stage) ||
  35. (settings["2"] && current.world != old.world) ||
  36. (settings["3"] && current.stage != old.stage && current.stage == 8) ||
  37. (current.stage == 9 && current.world == 9 && current.state != old.state && current.state == 10));
  38. }
  39. }
  40. isLoading
  41. {
  42. return current.isNotLoading != 1;
  43. }