Last active
December 21, 2020 11:57
-
-
Save RipperRooTMUF/9d386e92fdfd13a8361aec21bee510c6 to your computer and use it in GitHub Desktop.
A basic LiveSplit ASL script for the game POD: Planet of Death
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
state("PODX3Dfx") | |
{ | |
byte TrackID : 0x1BFF5C; | |
byte Countdown : 0x1EAC80; | |
byte Finish : 0x137104; | |
//byte Finish : 0x13D394; | |
} | |
start | |
{ | |
//If the first track is loaded | |
if (current.TrackID == 0) | |
{ | |
//Starts the timer when the announcer says "GO!" | |
return old.Countdown == 0 && current.Countdown > 6; | |
} | |
} | |
split | |
{ | |
//Splits when the player crosses the finish line | |
return old.Finish < current.Finish; | |
} | |
reset | |
{ | |
//If the first track is loaded | |
if (current.TrackID == 0) | |
{ | |
//Starts the timer when the announcer says "4" | |
return old.Countdown == 5 && current.Countdown == 4; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment