diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2022-02-22 09:17:17 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2022-03-06 00:31:54 +0100 |
| commit | abb02729633091d8f02efda99a9cbb8b71674e89 (patch) | |
| tree | e7f9996a5569a24e648efab90651983af902e165 /src/enemy | |
| parent | 6206ff831a25330b1887d4d8cfa8435166fe7fa8 (diff) | |
Decompile rest of objectUtils
Diffstat (limited to 'src/enemy')
| -rw-r--r-- | src/enemy/bladeTrap.c | 4 | ||||
| -rw-r--r-- | src/enemy/bombarossa.c | 4 | ||||
| -rw-r--r-- | src/enemy/lakituCloud.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/enemy/bladeTrap.c b/src/enemy/bladeTrap.c index f5531def..d534242a 100644 --- a/src/enemy/bladeTrap.c +++ b/src/enemy/bladeTrap.c @@ -14,7 +14,7 @@ void BladeTrap(Entity* this) { if (this->action == 0) { this->action = 1; this->child = GetCurrentRoomProperty(this->type); - sub_080A2CC0(this, &this->child, &this->field_0x74.HWORD); + sub_080A2CC0(this, (u16**)&this->child, &this->field_0x74.HWORD); } if (!(this->direction & 0x80)) { LinearMoveUpdate(this); @@ -24,6 +24,6 @@ void BladeTrap(Entity* this) { if (!(this->direction & 0x80)) { EnqueueSFX(SFX_METAL_CLINK); } - sub_080A2CC0(this, &this->child, &this->field_0x74.HWORD); + sub_080A2CC0(this, (u16**)&this->child, &this->field_0x74.HWORD); } } diff --git a/src/enemy/bombarossa.c b/src/enemy/bombarossa.c index f3455a21..4004edb5 100644 --- a/src/enemy/bombarossa.c +++ b/src/enemy/bombarossa.c @@ -27,7 +27,7 @@ void Bombarossa_OnTick(BombarossaEntity* this) { InitializeAnimation(super, 0); if (super->type != 0) { super->child = GetCurrentRoomProperty(super->type); - sub_080A2CC0(super, &super->child, &this->unk_0x76); + sub_080A2CC0(super, (u16**)&super->child, &this->unk_0x76); } } @@ -68,7 +68,7 @@ void sub_0803350C(BombarossaEntity* this) { } if (--this->unk_0x76 == 0) { - sub_080A2CC0(super, &super->child, &this->unk_0x76); + sub_080A2CC0(super, (u16**)&super->child, &this->unk_0x76); } } diff --git a/src/enemy/lakituCloud.c b/src/enemy/lakituCloud.c index dda0a902..25616556 100644 --- a/src/enemy/lakituCloud.c +++ b/src/enemy/lakituCloud.c @@ -118,7 +118,7 @@ void sub_0803CDD8(Entity* this) { void sub_0803CE14(Entity* this) { u8 direction; - sub_080A2CC0(this, &this->child, &this->field_0x74.HWORD); + sub_080A2CC0(this, (u16**)&this->child, &this->field_0x74.HWORD); direction = this->direction; if (direction & 0x80) { |
