From b1fd7ad927397281c9de7ce9e271f57e9691f26b Mon Sep 17 00:00:00 2001 From: warblgarbl <136350269+warblgarbl@users.noreply.github.com> Date: Sun, 15 Dec 2024 20:31:10 -0500 Subject: [PATCH] Get retail tick count for submap scripts --- src/main/java/legend/game/scripting/GameVarParam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/legend/game/scripting/GameVarParam.java b/src/main/java/legend/game/scripting/GameVarParam.java index ab078a805..86505051e 100644 --- a/src/main/java/legend/game/scripting/GameVarParam.java +++ b/src/main/java/legend/game/scripting/GameVarParam.java @@ -39,7 +39,7 @@ public int get() { return switch(this.index) { case 0 -> Scus94491BpeSegment_8004.engineState_8004dd20.ordinal(); case 1 -> Scus94491BpeSegment_800b.pregameLoadingStage_800bb10c; - case 2 -> Scus94491BpeSegment_800b.tickCount_800bb0fc; + case 2 -> Scus94491BpeSegment_800b.tickCount_800bb0fc / currentEngineState_8004dd04.tickMultiplier(); case 3 -> currentEngineState_8004dd04.getScriptInput(SCRIPTS.joypadInput); case 4 -> currentEngineState_8004dd04.getScriptInput(SCRIPTS.joypadPress); case 5 -> Scus94491BpeSegment_800b.gameState_800babc8.gold_94;