diff options
| author | Aetias <aetias@outlook.com> | 2024-06-22 15:30:46 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-06-22 15:30:46 +0200 |
| commit | 28597a0698afc5d980ebc0ba2ea1e7aafef71e8e (patch) | |
| tree | 2713f1603e8d6fbaaa5bd51a4500948ebcc59764 /src/00_Core/Actor/Actor.cpp | |
| parent | 20f86e89260c896a83a79e8da90ea673de5bf7b5 (diff) | |
Decomp `Actor`
Diffstat (limited to 'src/00_Core/Actor/Actor.cpp')
| -rw-r--r-- | src/00_Core/Actor/Actor.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/00_Core/Actor/Actor.cpp b/src/00_Core/Actor/Actor.cpp index d70f6c71..8c72d316 100644 --- a/src/00_Core/Actor/Actor.cpp +++ b/src/00_Core/Actor/Actor.cpp @@ -287,18 +287,20 @@ ARM bool Actor::func_ov00_020c195c() { struct UnkStruct2 { /* 0 */ u32 mUnk_0; - /* 4 */ s32 mUnk_4; + /* 4 */ u32 mUnk_4; /* 8 */ }; extern UnkStruct2 data_027e077c; -extern u8 *data_02056be4; +extern u8 data_02056be4[]; extern "C" bool func_ov05_02103f4c(s32 param1); extern s32 data_027e103c; ARM bool Actor::func_ov00_020c198c() { + u32 unk1 = data_027e077c.mUnk_0; + u32 unk2 = data_027e077c.mUnk_4; if ( data_027e077c.mUnk_0 != data_027e077c.mUnk_4 - || (data_02056be4[data_027e077c.mUnk_0] & 1) != 0 - || (data_02056be4[data_027e077c.mUnk_0] & 4) != 0 + || (data_02056be4[unk1] & 1) != 0 + || (data_02056be4[unk2] & 4) != 0 || func_ov05_02103f4c(data_027e103c) || gPlayer->mHealth <= 0 ) { |
