jak2: focus-test? macro, fix (zero? (logand ...)) -> (not (logtest? ...)) detection (#2321)

There are *a lot* of file changes and while I have carefully gone
through every gsrc change to fix up manual patches, there might still be
spots that I missed.
This commit is contained in:
Hat Kid
2023-03-15 03:57:31 +01:00
committed by GitHub
parent 9a28cc5a79
commit a857061e96
451 changed files with 4094 additions and 5017 deletions
@@ -169,7 +169,7 @@ Seen take in - `true-func` which takes no args TODO - seems fishy
(new 'static 'sound-id)
)
)
(and (zero? (logand (focus-status dead in-air in-head pole flut tube pilot mech dark) (-> *target* focus-status)))
(and (not (logtest? (focus-status dead in-air in-head pole flut tube pilot mech dark) (-> *target* focus-status)))
(and (or (and (< (-> (target-pos 0) y) (+ (-> self root-override root-prim prim-core world-sphere y) (-> self talk-height)))
(let ((s5-0 (get-trans self 2))
(f30-0 (if (= (-> gp-0 distance) 0.0)