mirror of
https://github.com/zeldaret/tmc
synced 2026-06-25 10:02:06 -04:00
Extract some data
And split up subtasks and world events.
This commit is contained in:
@@ -116,7 +116,7 @@ void CameraTarget_Action2(Entity* this) {
|
||||
u32 bVar3;
|
||||
u32 temp;
|
||||
u32 temp2;
|
||||
const struct_080C9CBC* ptr;
|
||||
const KinstoneWorldEvent* ptr;
|
||||
|
||||
if ((this->type != 1) &&
|
||||
(((u8)(gUnk_03003DF0.unk_4[3] - 1) >= 100 || (this->child != *(Entity**)(gUnk_03003DF0.unk_4 + 8))))) {
|
||||
@@ -132,7 +132,7 @@ void CameraTarget_Action2(Entity* this) {
|
||||
} else {
|
||||
bVar2 = this->type2;
|
||||
}
|
||||
ptr = gUnk_080C9CBC + bVar2;
|
||||
ptr = gKinstoneWorldEvents + bVar2;
|
||||
bVar1 = ptr->unk6;
|
||||
bVar3 = bVar1 & 1;
|
||||
this->palette.b.b0 = bVar3;
|
||||
|
||||
Reference in New Issue
Block a user