-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmeet the robinsons.asl
118 lines (108 loc) · 2.92 KB
/
meet the robinsons.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
state("wilbur")
{
string50 map : 0x328810;
string50 wrbro : 0x328897;
byte loading1 : 0x2FBC5C;
}
startup
{
settings.Add("l1", false, "All Levels");
settings.Add("l2", true, "WR Splits");
vars.missions5 = new Dictionary<string,string>
{
{"a1_robinson","Entering Robinson's house"},
{"a1_robinson_storage","Storage Room"},
{"a1_robinson_trainroom","Entering Training Room"},
{"a1_robinsonhouse_ext","Exterior of House"},
{"a1_subbasement","Entering Basement"},
{"a1_subbasement2","Basement Part 2"},
{"a1_subbasement3","Basement Part 3"},
{"a1_subbasement_boss","Fighting Basement Boss"},
{"a1_sciencefair","Science Fair"},
{"a2_altfuture","Trainsit Station"},
{"a2_altfuture_warehouse","Industrial District 1"},
{"a2_oldtown","Old Town 1"},
{"a2_altfuture_warehouse2","Future Warehouse Part 2"},
{"a2_oldtown2","Old Town Part 2"},
{"a2_lizzy","Hive"},
{"a2_lizzy_boss","Hive Thrown Room"},
{"a2_magma","Magma Industires Transit"},
{"a2_magma_interior","Magma Industries Backdoor"},
{"a2_prometheus","Magma Industries Prometheus"},
{"a3_robinson","Robinson House Pre-Doris"},
{"a3_industries","Doris Fight"},
};
foreach (var Tag in vars.missions5)
{
settings.Add(Tag.Key, true, Tag.Value, "l1");
};
vars.missions1 = new Dictionary<string,string>
{
{@"a1_robinson_storage\","Garage Early"},
{@"a1_subbasement\","Basement 1"},
{@"a1_subbasement2\","Basement 2"},
{@"a1_subbasement3\","Basement 3"},
{@"a1_sciencefair\","Science Fair"},
{@"a2_robinson\","Walk Through Walks"},
{@"a2_altfuture_warehouse\","Industrial District"},
{@"a2_oldtown\","Havoc Gloves Early"},
{@"a2_oldtown2\","Starving Orphans Skip"},
{@"a2_lizzy\","Hive Skip"},
{@"a2_lizzy_boss\","Puzzle Skip"},
{@"a2_prometheus\","Prometheus"},
{@"a3_robinson\","Mega Dorris"},
};
foreach (var Tag in vars.missions1)
{
settings.Add(Tag.Key, true, Tag.Value, "l2");
};
}
init
{
vars.doneMaps = new List<string>();
vars.doneMaps2 = new List<string>();
}
start
{
if (current.map == "a1_egypt")
{
vars.doneMaps.Clear();
vars.doneMaps2.Clear();
vars.doneMaps.Add(current.map);
vars.doneMaps2.Add(current.wrbro);
return true;
}
}
split
{
if (settings["All Levels"])
{
if (current.map != old.map)
{
if (settings[current.map])
{
vars.doneMaps.Add(old.map);
return true;
}
}
}
else
{
if (current.wrbro != old.wrbro)
{
if (settings[current.wrbro])
{
vars.doneMaps2.Add(old.wrbro);
return true;
}
}
}
}
reset
{
return (current.map == "fronted");
}
isLoading
{
return (current.loading1 == 1);
}