From a30f27a0f2b461ce1a480dae1c216b604edece8b Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Sun, 19 Jun 2022 13:37:51 +0100 Subject: [PATCH] `logic-target` PAL patch --- decompiler/config/jak1_pal.jsonc | 2 +- goal_src/engine/target/logic-target.gc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/decompiler/config/jak1_pal.jsonc b/decompiler/config/jak1_pal.jsonc index 967e1150e0..b2e7c832f2 100644 --- a/decompiler/config/jak1_pal.jsonc +++ b/decompiler/config/jak1_pal.jsonc @@ -6,7 +6,7 @@ // if you want to filter to only some object names. // it will make the decompiler much faster. - "allowed_objects": ["target-racer-h", "eichar-ag", "deathcam-ag", "balloon-ag"], + "allowed_objects": ["logic-target", "eichar-ag", "deathcam-ag", "balloon-ag"], "banned_objects": [], //////////////////////////// diff --git a/goal_src/engine/target/logic-target.gc b/goal_src/engine/target/logic-target.gc index d96f6113d9..d6d5f68512 100644 --- a/goal_src/engine/target/logic-target.gc +++ b/goal_src/engine/target/logic-target.gc @@ -2026,6 +2026,8 @@ ) (activate-hud self) (set! (-> self fp-hud) (the-as handle #f)) + ;; PAL patch here + (set! (-> self burn-proc) (the-as handle #f)) (set! (-> self water) (new 'process 'water-control self 9 0.0 8192.0 2048.0)) (set! (-> self water flags) (water-flags wt04 wt05 wt06 wt07 wt22)) (reset-target-state #t)