-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFrankStone.asl
More file actions
56 lines (44 loc) · 1.95 KB
/
FrankStone.asl
File metadata and controls
56 lines (44 loc) · 1.95 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
state("CastingFrankStone-Win64-Shipping")
{
}
init
{
IntPtr gEngine = vars.Helper.ScanRel(3, "48 89 05 ???????? 48 85 c9 74 ?? e8 ???????? 48 8d 4d");
vars.Helper["chapter"] = vars.Helper.MakeString(gEngine, 0x10A8, 0x38, 0x0, 0x30, 0x190, 0x18, 0x380, 0x0);
vars.Helper["chapter"].FailAction = MemoryWatcher.ReadFailAction.SetZeroOrNull;
}
update
{
vars.Helper.Update(); //The splitter will not work without this
vars.Helper.MapPointers();
}
startup
{
Assembly.Load(File.ReadAllBytes("Components/asl-help")).CreateInstance("Basic");
vars.Helper.GameName = "The Casting of Frank Stone";
}
start
{
return current.chapter == "The Burning Maw";
}
split
{
return (
(current.chapter == "In The House of Darkness" && old.chapter == "The Burning Maw") ||
(current.chapter == "A Curiosity On Main Street" && old.chapter == "In The House of Darkness") ||
(current.chapter == "These Walls Have Eyes" && old.chapter == "A Curiosity On Main Street") ||
(current.chapter == "The Phantom Of Cedar Steel" && old.chapter == "These Walls Have Eyes") ||
(current.chapter == "Beyond The Gate" && old.chapter == "The Phantom Of Cedar Steel") ||
(current.chapter == "A Perilous Place" && old.chapter == "Beyond The Gate") ||
(current.chapter == "Mystery Manor" && old.chapter == "A Perilous Place") ||
(current.chapter == "Hunting Ground" && old.chapter == "Mystery Manor") ||
(current.chapter == "In The House Of Madness" && old.chapter == "Hunting Ground") ||
(current.chapter == "All Paths Must Cross" && old.chapter == "In The House Of Madness") ||
(current.chapter == "Closing The Noose" && old.chapter == "All Paths Must Cross") ||
(current.chapter == "Murder Mill" && old.chapter == "Closing The Noose") ||
(current.chapter == "The Massacre At Gerant Manor" && old.chapter == "Murder Mill")
);
}
isLoading
{
}