mirror of
https://github.com/zeldaret/tmc
synced 2026-06-28 03:03:15 -04:00
Merge pull request #433 from octorock/objectUtils
Decompile rest of objectUtils
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user