From c26a0475ec357672af7af923b0d9925c95fd6ea7 Mon Sep 17 00:00:00 2001 From: dallmeyer <2515356+dallmeyer@users.noreply.github.com> Date: Thu, 16 May 2024 11:20:26 -0700 Subject: [PATCH] yay --- goal_src/jak2/engine/mods/mod-custom-code.gc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/goal_src/jak2/engine/mods/mod-custom-code.gc b/goal_src/jak2/engine/mods/mod-custom-code.gc index 9aea3501e6..b53fae9a18 100644 --- a/goal_src/jak2/engine/mods/mod-custom-code.gc +++ b/goal_src/jak2/engine/mods/mod-custom-code.gc @@ -22,6 +22,11 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;; (defun runs-every-frame () + (let ((r (region-lookup-by-id 681))) + (when r + (set! (-> r on-enter) '(when (not (task-closed? "consite-find-baron-resolution")) (scene-play "consite-find-baron-res"))) ;; consite skip allowed + ) + ) ;; (increase-power-cell-by-one) This is a call to increase-power-cell-by-one defined in mod-common-functions.gc ;; Sample code to turn jak pink whenever he's doing the jetboard hover glitch