Skip to content

Instantly share code, notes, and snippets.

@RibShark
Created April 6, 2018 19:27
Show Gist options
  • Select an option

  • Save RibShark/429ad04b9827baa9ba684f4e7b8957eb to your computer and use it in GitHub Desktop.

Select an option

Save RibShark/429ad04b9827baa9ba684f4e7b8957eb to your computer and use it in GitHub Desktop.
Kao the Kangaroo Round 2 Autosplitter
state("Kao2")
{
int levelID : "Kao2.exe", 0x22B7D4;
bool inMenu : "Kao2.exe", 0x23D9AC;
bool isLoading: "Kao2.exe", 0x22451C;
}
start
{
return old.levelID == 0 && !old.isLoading && old.inMenu && !current.inMenu;
}
reset
{
return current.levelID == 0 && old.levelID != 0;
}
isLoading
{
/*return current.isLoading;*/ // load times are not removed on the leaderboards currently
}
split
{
return current.levelID != old.levelID && old.levelID != 1 && old.levelID != 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment