jak-project/test/goalc/source_templates/with_game/test-condition-boolean.gc
2020-10-08 00:05:01 -04:00

22 lines
285 B
Common Lisp

(let ((total 0))
(if (true-func)
(+! total 1)
(+! total 999)
)
(if (false-func)
(+! total 999)
(+! total 1)
)
(if (not (true-func))
(+! total 999)
(+! total 1)
)
(if (not (false-func))
(+! total 1)
(+! total 999)
)
total
)