mirror of
https://github.com/open-goal/jak-project
synced 2026-08-10 11:14:50 -04:00
[decomp] add a bunch of flag enums (#1350)
* update refs * first pass * update refs 2 * update * update * update * stuff and things * accidentally wiped this * fancy decomp for static sound specs * clang * 5 more refs
This commit is contained in:
+11
-8
@@ -3824,15 +3824,18 @@
|
||||
(function "Play" #f (lambda () (play #t #t)))
|
||||
(function "Start" #f (lambda () (the-as int (start 'debug (get-or-create-continue! *game-info*)))))
|
||||
(function "Stop" #f (lambda () (stop 'debug)))
|
||||
(flag "Invulnerable" #f (lambda ((arg0 int) (arg1 debug-menu-msg))
|
||||
(when (= arg1 (debug-menu-msg press))
|
||||
(if *target*
|
||||
(set! (-> *target* state-flags) (logxor (-> *target* state-flags) 16))
|
||||
)
|
||||
)
|
||||
(the-as symbol (and *target* (logtest? (-> *target* state-flags) 16)))
|
||||
)
|
||||
(flag
|
||||
"Invulnerable"
|
||||
#f
|
||||
(lambda ((arg0 int) (arg1 debug-menu-msg))
|
||||
(when (= arg1 (debug-menu-msg press))
|
||||
(if *target*
|
||||
(set! (-> *target* state-flags) (logxor (-> *target* state-flags) (state-flags sf04)))
|
||||
)
|
||||
)
|
||||
(the-as symbol (and *target* (logtest? (-> *target* state-flags) (state-flags sf04))))
|
||||
)
|
||||
)
|
||||
(function
|
||||
"Reset Trans"
|
||||
#f
|
||||
|
||||
Reference in New Issue
Block a user