-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathWallaceAndGromitInProjectZoo.asl
50 lines (44 loc) · 1.41 KB
/
WallaceAndGromitInProjectZoo.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
// Start was done by xZeko as I got busy with another ASL
state("Zoo_no_sse") // Two .exe's pogu, which work with the same addresses
{
byte splitter : 0x470770; // Such a powerful address, not only does it have a value for loading, main menu, and split, it also only took 5 minutes to find
int start : 0x46EAA0; // 0 main menu
int start2 : 0x478064; // 3 main menu
int start3 : 0x474840; // 0 main menu
}
state("Zoo_SSE")
{
byte splitter : 0x470770;
int start : 0x46EAA0; // 0 main menu
int start2 : 0x478064; // 3 main menu
int start3 : 0x474840; // 0 main menu
}
startup
{
settings.Add("missions", true, "All Levels");
vars.missions = new Dictionary<string,string> // Ik you can do int,string but it always reads errors for me so ICBA to struggle with it
{
{"170","Mines"},
{"130","Volcano"},
{"139","Warehouse"},
{"43","Ice House"},
{"78","Diamond-o-Matic"},
};
foreach (var Tag in vars.missions)
{
settings.Add(Tag.Key, true, Tag.Value, "missions");
};
}
start
{
return ((current.start == 16777472) && (current.start2 == 4) && (old.start3 == 1) || (current.start == 256) && (current.start2 == 4) && (old.start3 == 1));
}
split
{
return (settings[current.splitter.ToString()] && (current.splitter != old.splitter));
}
isLoading
{
return (current.splitter == 0) ||
(current.splitter == 12);
}