-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFear Extraction Point.asl
More file actions
66 lines (59 loc) · 1.43 KB
/
Fear Extraction Point.asl
File metadata and controls
66 lines (59 loc) · 1.43 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
state("FEARXP")
{
int loading1 : 0x2173B8;
string60 map1 : 0x21007F;
int cutscene : 0x214DA4;
}
startup
{
settings.Add("missions", true, "Missions");
vars.missions = new Dictionary<string,string>
{
{"Church_02.World00p","Contamination - Metastasis"},
{"Warehouse_01.World00p","Flight - Ambush"},
{"Warehouse_02.World00p","Flight- Holiday"},
{"Warehouse_03.World00p","flight- Desolation"},
{"Subway_01.World00p","Descent - Terminus"},
{"Subway_02.World00p","Descent - Orange Line"},
{"Subway_03.World00p","Descent - The L"},
{"Office_01.World00p","Malice - Leviathan"},
{"Hospital_01.World00p","Extraction Point - Malignancy"},
{"Hospital_02.World00p","Extraction Point - Dark Heart"},
{"Hospital_03.World00p","Epilogue"},
};
foreach (var Tag in vars.missions)
{
settings.Add(Tag.Key, true, Tag.Value, "missions");
};
}
init
{
vars.doneMaps = new List<string>();
}
start
{
if ((current.map1 == "Church_01.World00p") && (current.loading1 != 0) && (current.cutscene == 0))
{
vars.doneMaps.Clear();
return true;
}
}
isLoading
{
return (current.loading1 == 0) || (current.cutscene != 0);
}
reset
{
return (current.map1 == "XP_Intro.World00p");
}
split
{
if (current.map1 != old.map1)
{
if (settings[current.map1])
{
vars.doneMaps.Add(old.map1);
return true;
}
}
}