-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathJKJA.asl
More file actions
69 lines (60 loc) · 1.18 KB
/
JKJA.asl
File metadata and controls
69 lines (60 loc) · 1.18 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
67
68
69
state("jasp", "Vanilla")
{
bool isLoaded : 0x897C9C;
bool finalSplit : 0x835AB4;
int mapNumber : 0x480CD0;
}
state("jasp", "Speed Academy")
{
bool isLoaded : 0x56050C;
bool finalSplit : 0x6FED9C;
int mapNumber : 0x552AD8;
}
state("jasp", "Speed Academy v0.9")
{
bool isLoaded : 0x54B48C;
bool finalSplit : 0x5E9058;
int mapNumber : 0x53DAA8;
}
init
{
if (game.MainModule.ModuleMemorySize == 14618624 ||
game.MainModule.FileVersionInfo.ProductName == "Speed Academy")
{
if (game.MainModule.FileVersionInfo.FileMajorPart >= 0 &&
game.MainModule.FileVersionInfo.FileMinorPart >= 9)
{
version = "Speed Academy v0.9";
}
else
{
version = "Speed Academy";
}
}
else
{
version = "Vanilla";
}
timer.IsGameTimePaused = false;
}
split
{
return (old.mapNumber != current.mapNumber && current.mapNumber > 2 && old.mapNumber == 0 && current.mapNumber != 24) ||
(current.mapNumber == 78 && current.finalSplit);
}
start
{
return (current.isLoaded && !old.isLoaded) && current.mapNumber == 24;
}
reset
{
return current.mapNumber == 24 && old.mapNumber != 24;
}
isLoading
{
return !current.isLoaded;
}
exit
{
timer.IsGameTimePaused = true;
}