Created
April 17, 2021 09:03
-
-
Save bakapear/9fb780950ef34a08604b3d88d8f922b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AutoSplitter for LaserCatJump https://dopamine-overdose.itch.io/lasercatjump | |
// | |
// levelIdentifier values: (couldnt find a better one sorry) | |
// Start: 49, Audio: 47, Credits: 36, Select: 53 | |
// 1: 99, 2: 113, 3: 92, 4: 107, 5: 138, 6: 118 | |
state("LaserCatJump") | |
{ | |
byte levelIdentifier: "UnityPlayer.dll", 0x013274F8, 0x4E8; | |
} | |
init | |
{ | |
vars.levels = new byte[] {49, 99, 113, 92, 107, 138, 118, 36}; | |
} | |
start | |
{ | |
if(current.levelIdentifier == vars.levels[1]) return true; | |
} | |
split | |
{ | |
if(Array.IndexOf(vars.levels, current.levelIdentifier) > Array.IndexOf(vars.levels, old.levelIdentifier)) return true; | |
} | |
reset | |
{ | |
if(current.levelIdentifier == vars.levels[0]) return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment