diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-08-21 09:58:16 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-08-21 09:58:16 -0400 |
commit | 414f8b2347f21249462774a22eeb17004ace523c (patch) | |
tree | b8df3705e9c0119b51c22cef0631db20dc70afe8 /TheLooker.asl | |
parent | 86f32d6389c5c99ad56c4deb89a8feff0b31d322 (diff) | |
download | autosplitters-414f8b2347f21249462774a22eeb17004ace523c.tar.gz autosplitters-414f8b2347f21249462774a22eeb17004ace523c.tar.bz2 autosplitters-414f8b2347f21249462774a22eeb17004ace523c.zip |
[The Looker] Time starts on player movement
Diffstat (limited to 'TheLooker.asl')
-rw-r--r-- | TheLooker.asl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TheLooker.asl b/TheLooker.asl index f1fefd4..2def3cf 100644 --- a/TheLooker.asl +++ b/TheLooker.asl | |||
@@ -5,6 +5,9 @@ | |||
5 | 5 | ||
6 | state("The Looker") { | 6 | state("The Looker") { |
7 | bool witnessModeActive: "UnityPlayer.dll", 0x01968940, 0x88, 0x648, 0x218, 0x0, 0xB8, 0x28, 0x180; | 7 | bool witnessModeActive: "UnityPlayer.dll", 0x01968940, 0x88, 0x648, 0x218, 0x0, 0xB8, 0x28, 0x180; |
8 | float playerX: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x43C; | ||
9 | float playerY: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x440; | ||
10 | float playerZ: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x444; | ||
8 | } | 11 | } |
9 | 12 | ||
10 | startup { | 13 | startup { |
@@ -169,7 +172,7 @@ update | |||
169 | } | 172 | } |
170 | 173 | ||
171 | start { | 174 | start { |
172 | return current.witnessModeActive; | 175 | return current.witnessModeActive || (current.playerX != old.playerX) || (current.playerY != old.playerY) || (current.playerZ != old.playerZ); |
173 | } | 176 | } |
174 | 177 | ||
175 | split { | 178 | split { |