diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 13:33:09 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 13:33:09 -0400 |
commit | ecd5a680b2f048a3aa7dd6b93f4da9768fdc347c (patch) | |
tree | fe56f92982cccccf7450a72eca57b7053173911a | |
parent | 70ac364620612da17de42d3ac040fd61716e8f1d (diff) |
TObject: Add `{set,clear}_flag_3()`
-rw-r--r-- | include/pso/TObject.h | 2 | ||||
-rw-r--r-- | src/pso/TObject2.cpp | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h index 8532d5a..62f02ef 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -17,6 +17,8 @@ public: TObject *up; TObject *down; public: + void set_flag_3(); + void clear_flag_3(); void set_flag_0(); void set_flag_9(); u32 get_flag_9(); diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp index 157544c..1b82a64 100644 --- a/src/pso/TObject2.cpp +++ b/src/pso/TObject2.cpp @@ -15,3 +15,11 @@ u32 TObject::get_flag_9() { void TObject::set_flag_0() { set_flags(1); } + +void TObject::clear_flag_3() { + clear_flags(8); +} + +void TObject::set_flag_3() { + set_flags(8); +} |