From 414f8b2347f21249462774a22eeb17004ace523c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 21 Aug 2022 09:58:16 -0400 Subject: [The Looker] Time starts on player movement --- TheLooker.asl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'TheLooker.asl') diff --git a/TheLooker.asl b/TheLooker.asl index f1fefd4..2def3cf 100644 --- a/TheLooker.asl +++ b/TheLooker.asl @@ -5,6 +5,9 @@ state("The Looker") { bool witnessModeActive: "UnityPlayer.dll", 0x01968940, 0x88, 0x648, 0x218, 0x0, 0xB8, 0x28, 0x180; + float playerX: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x43C; + float playerY: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x440; + float playerZ: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x444; } startup { @@ -169,7 +172,7 @@ update } start { - return current.witnessModeActive; + return current.witnessModeActive || (current.playerX != old.playerX) || (current.playerY != old.playerY) || (current.playerZ != old.playerZ); } split { -- cgit 1.4.1