Skip to content

Commit

Permalink
Merge pull request #24 from dallmeyer/flying-lurker-slowdown
Browse files Browse the repository at this point in the history
slowdown flying lurkers to make basin cell and MP race reasonable
  • Loading branch information
Zedb0T authored Sep 14, 2022
2 parents 23b7761 + bd2116e commit f424c00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion data/goal_src/jak1/levels/ogre/flying-lurker.gc
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@
(f1-10 (* 0.000012207031 f0-10))
(f0-12 (fmax -0.5 (fmin 0.5 f1-10)))
)
(set! (-> self speed) (+ (* (+ 0.5 f0-12) (- arg2 arg3)) arg3))
;; slow down flying lurkers to 70% for flutflut
(set! (-> self speed) (* 0.7 (+ (* (+ 0.5 f0-12) (- arg2 arg3)) arg3)))
)
)
;; PAL patch here
Expand Down
5 changes: 4 additions & 1 deletion data/goal_src/jak1/levels/rolling/rolling-robber.gc
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@
(set! f30-0 (- f30-0))
)
)
;; slow down flying lurkers to 50% for flutflut
(*! f30-0 0.5)
(set! (-> self speed) f30-0)
f30-0
)
Expand Down Expand Up @@ -629,7 +631,8 @@
(if (< (vector-dot gp-1 (-> self tangent)) 0.0)
(set! f0-1 (- f0-1))
)
(set! (-> self speed) f0-1)
;; slow down flying lurkers to 50% for flutflut
(set! (-> self speed) (* f0-1 0.5))
)
(ja-channel-push! 1 (seconds 0.2))
(loop
Expand Down

0 comments on commit f424c00

Please sign in to comment.