Skip to content

Instantly share code, notes, and snippets.

@Dalet
Last active October 8, 2015 19:20
Show Gist options
  • Save Dalet/1cf593288ae4318986e1 to your computer and use it in GitHub Desktop.
Save Dalet/1cf593288ae4318986e1 to your computer and use it in GitHub Desktop.
Load removal LiveSplit ASL scripts for Two Worlds Epic Edition
state("twoworlds")
{
bool isLoading : "TwoWorlds.exe", 0x006B4460, 0x680, 0x4, 0x41c;
bool isLoading_win8 : "TwoWorlds.exe", 0x006B4594, 0xB48, 0x18, 0xA9C;
}
start
{
}
reset
{
}
split
{
}
isLoading
{
if (Environment.OSVersion.Version < new Version(6, 2))
return current.isLoading;
else
return current.isLoading_win8;
}
gameTime
{
}
state("twoworlds_radeon")
{
bool isLoading : "TwoWorlds_RADEON.exe", 0x00669FC0, 0x680, 0x4, 0x41c;
}
start
{
}
reset
{
}
split
{
}
isLoading
{
return current.isLoading;
}
gameTime
{
}
state("twoworlds")
{
bool isLoading : "TwoWorlds.exe", 0x0068A0E4, 0x680, 0x4, 0x41c;
int cutsceneFrame : "TwoWorlds.exe", 0x6915C8, 0xfc, 0xb8, 0x14, 0x124;
}
start
{
return current.cutsceneFrame == 0 && old.cutsceneFrame != 0;
}
split
{
return current.cutsceneFrame > 0 && old.cutsceneFrame == 0;
}
isLoading
{
return current.isLoading;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment