forked from drtchops/asl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbioshock_trilogy.asl
More file actions
42 lines (38 loc) · 1.02 KB
/
bioshock_trilogy.asl
File metadata and controls
42 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
state("bioshock")
{
int isLoading : 0x8D666C;
}
state("Bioshock2")
{
bool isSaving : 0xF42EE8;
bool isLoading : 0x10B8010, 0x278;
}
state("BioshockInfinite")
{
int pauseGame : 0x13D2A58, 0x534, 0x780, 0x730, 0x2f4;
int pauseGame2 : 0x13D33C4, 0x35c, 0x704, 0x7c0, 0x2f4;
int pauseGame3 : 0x141E1A0, 0x378, 0x640, 0x780, 0x230, 0x2f4;
int loadingScreen : 0x137CF94, 0x3BC, 0x19C;
int playerControl : 0x1423D18, 0x2c;
}
isLoading
{
if (timer.CurrentSplit.Name.ToLower().Contains("setup")) {
return true;
} else if (game.ProcessName.ToLower() == "bioshock") {
return current.isLoading != 0;
} else if (game.ProcessName.ToLower() == "bioshock2") {
return current.isSaving || current.isLoading;
} else {
return current.loadingScreen != 0 || (
current.pauseGame == 0 &&
current.pauseGame2 == 0 &&
current.pauseGame3 == 0 &&
current.playerControl == 0
);
}
}
exit
{
timer.IsGameTimePaused = true;
}