Skip to content

Commit

Permalink
[jak2] also allow analog for play select fast scroll (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManDude authored Sep 23, 2023
1 parent 2e43e18 commit 4871f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goal_src/jak2/engine/ui/progress/progress.gc
Original file line number Diff line number Diff line change
Expand Up @@ -2881,14 +2881,14 @@
)
)
;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this)
((or (cpad-pressed? 0 left) (and (cpad-hold? 0 left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
((or (cpad-pressed? 0 left l-analog-left) (and (cpad-hold? 0 left l-analog-left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
(when (> (-> obj task-index) 0)
(set! (-> obj last-move) (current-time))
(set! s4-0 #t)
(set! (-> obj task-index) (max (- (-> obj task-index) 5) 0))
(set! (-> arg0 sliding-height) 0.0)))
;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this)
((or (cpad-pressed? 0 right) (and (cpad-hold? 0 right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
((or (cpad-pressed? 0 right l-analog-right) (and (cpad-hold? 0 right l-analog-right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
(let ((max-task-index -1))
(dotimes (s2-0 (-> *game-info* play-list length))
(let* ((v1-41 (-> *game-info* play-list s2-0))
Expand Down

0 comments on commit 4871f5d

Please sign in to comment.