mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 20:56:09 -04:00
[jak2] prepare scf-get-territory usage (#2890)
This commit is contained in:
@@ -785,12 +785,12 @@
|
||||
(set! (-> obj current-options)
|
||||
(cond
|
||||
((demo?)
|
||||
(if (= (scf-get-territory) 1)
|
||||
(if (= (scf-get-territory) GAME_TERRITORY_SCEE)
|
||||
*game-options*
|
||||
*game-options-demo*
|
||||
)
|
||||
)
|
||||
((and (= (scf-get-territory) 2) (not (and (= *progress-cheat* 'language) (cpad-hold? 0 l2) (cpad-hold? 0 r2))))
|
||||
((and (= (scf-get-territory) GAME_TERRITORY_SCEI) (not (and (= *progress-cheat* 'language) (cpad-hold? 0 l2) (cpad-hold? 0 r2))))
|
||||
*game-options*
|
||||
)
|
||||
(else
|
||||
@@ -801,7 +801,7 @@
|
||||
)
|
||||
(('graphic-options)
|
||||
(set! (-> obj current-options)
|
||||
(if (or (= (scf-get-territory) 1) (and (= *progress-cheat* 'pal) (cpad-hold? 0 l2) (cpad-hold? 0 r2)))
|
||||
(if (or (= (scf-get-territory) GAME_TERRITORY_SCEE) (and (= *progress-cheat* 'pal) (cpad-hold? 0 l2) (cpad-hold? 0 r2)))
|
||||
*graphic-title-options-pal*
|
||||
*graphic-options*
|
||||
)
|
||||
@@ -3475,7 +3475,7 @@
|
||||
(set! (-> *progress-state* graphic-options-last-move) (current-time))
|
||||
(set! (-> arg0 selected-option) #f)
|
||||
(cond
|
||||
((< (-> *progress-state* graphic-options-item-selected) (if (= (scf-get-territory) 1)
|
||||
((< (-> *progress-state* graphic-options-item-selected) (if (= (scf-get-territory) GAME_TERRITORY_SCEE)
|
||||
3
|
||||
2
|
||||
)
|
||||
@@ -3502,7 +3502,7 @@
|
||||
(set! (-> arg0 option-index) (-> *progress-state* graphic-options-item-selected))
|
||||
)
|
||||
(else
|
||||
(set! (-> *progress-state* graphic-options-item-selected) (if (= (scf-get-territory) 1)
|
||||
(set! (-> *progress-state* graphic-options-item-selected) (if (= (scf-get-territory) GAME_TERRITORY_SCEE)
|
||||
3
|
||||
2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user