-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSirenHeadTheSirensForest.asl
68 lines (58 loc) · 1.21 KB
/
SirenHeadTheSirensForest.asl
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
state("Sirean Head")
{
byte loading1 :"UnityPlayer.dll", 0x135FE9B;
}
startup
{
settings.Add("missions", true, "All Levels");
settings.SetToolTip("missions", "IDK why I added this customization lol");
vars.missions = new Dictionary<string,string>
{
{"2","Level 2"},
{"3","Level 3"},
{"4","Level 4"},
};
foreach (var Tag in vars.missions)
{
settings.Add(Tag.Key, true, Tag.Value, "missions");
};
}
init
{
vars.counter = 1;
vars.oldcounter = 1;
vars.value = 0;
}
update
{
if (current.loading1 == 5)
{
vars.value = current.loading1;
}
if ((current.loading1 != old.loading1) && (current.loading1 != 5) && (vars.value != current.loading1))
{
vars.value = current.loading1;
vars.counter++;
}
}
start
{
if ((current.loading1 == 5) && (old.loading1 != 5))
{
vars.counter = 1;
vars.oldcounter = 1;
return true;
}
}
split
{
if ((vars.counter != vars.oldcounter) && (settings[(vars.counter.ToString())]))
{
vars.oldcounter++;
return true;
}
}
isLoading
{
return (current.loading1 != 5);
}