Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions Sonic Robo Blast 2/autosplitter_srb2.asl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,26 @@ state("srb2win", "2.2.13")
int isPlaying : 0x5D8AA0;
}

state("srb2win", "2.2.15")
{
int start : 0x5273F4;
int split : 0x654960;
int level : 0x2DAF98;
int framecounter : 0x63E53C;
int msframecounter : 0x63E638;
int mframecounter : 0x642DCC;
int exitCountdown : 0x63E518;
int TBonus : 0x6549F0;
int RBonus : 0x654A04;
int LBonus : 0x654A1C;
int TA : 0x642DB8;
int emerald : 0x63CC38;
string13 mod_id : 0x642E00;
string8 music : 0xB691C8;
int isWatching : 0x400a04;
int isPlaying : 0xBD7080;
}

init
{
if (modules.First().ModuleMemorySize == 22024192) version = "2.1.25 - 64 bits";
Expand All @@ -124,8 +144,9 @@ init
if (modules.First().ModuleMemorySize == 84541440) version = "2.2.10";
if (modules.First().ModuleMemorySize == 84672512) version = "2.2.11";
if (modules.First().ModuleMemorySize == 82452480) version = "2.2.13";
if (modules.First().ModuleMemorySize == 13348864) version = "2.2.15";

if(version == "2.2.8" || version == "2.2.10" || version == "2.2.11" || version == "2.2.13")
if(version == "2.2.8" || version == "2.2.10" || version == "2.2.11" || version == "2.2.13" || version == "2.2.15")
{
vars.branch = 2;
}
Expand All @@ -143,7 +164,7 @@ init
var result = MessageBox.Show(timer.Form,
"Your game version is not supported by this script version\n"
+ "You have to use the good version of the game\n"
+ "This script version works with SRB2 V2.1.25 and V2.2.8/2.2.10/2.2.11\n"
+ "This script version works with SRB2 V2.1.25 and V2.2.8/2.2.10/2.2.11/2.2.13/2.2.15\n"
+ "\nClick Yes to open the game update page.",
"SRB2 Livesplit Script",
MessageBoxButtons.YesNo,
Expand Down