[jak1] Allow skipping credits in speedrunner mode (#3981)

Speedrunners have seen the Jak 1 credits once or twice, I think we can
let them skip
This commit is contained in:
Matt Dallmeyer
2025-07-22 11:07:36 -07:00
committed by GitHub
parent a34ab9aa30
commit 690cc04625
@@ -47,7 +47,6 @@
(speed float)
(touch-time time-frame)))
(defmethod get-unlit-skel ((this plat-eco-finalboss))
*plat-eco-finalboss-unlit-sg*)
@@ -115,7 +114,6 @@
(active symbol))
:allow-misaligned)
(deftype sage-finalboss (process-taskable)
((redsage handle)
(bluesage handle)
@@ -137,7 +135,6 @@
(:states
sage-finalboss-credits))
(defmethod relocate ((this sage-finalboss) (offset int))
(dotimes (v1-0 9)
(if (nonzero? (-> this particle v1-0 part)) (&+! (-> this particle v1-0 part) offset)))
@@ -606,7 +603,8 @@
(set! (-> self credit-fade) 1.0)
(sage-finalboss-credit-particle)
(set! s5-0 (draw-end-credits (the int f30-0)))
(if (and *cheat-mode* (cpad-pressed? 0 triangle)) (set! s5-0 #t))
;; og:preserve-this allow credits skip in speedrunner mode
(if (and (or *cheat-mode* (-> *pc-settings* speedrunner-mode?)) (cpad-pressed? 0 triangle)) (set! s5-0 #t))
(cond
((paused?))
((and (< 1300.0 f30-0) (cpad-hold? 0 circle x))